View Single Post
epage's Avatar
Posts: 1,684 | Thanked: 1,562 times | Joined on Jun 2008 @ Austin, TX
#691
Originally Posted by fcrochik View Post
Now I am curious... Can't you just listen for the "coming" dbus signal:

Code:
    if ( !QDBusConnection::systemBus().connect("com.nokia.csd.Call", "/com/nokia/csd/call",
        "com.nokia.csd.Call", "Coming", this, SLOT(callComing(QDBusObjectPath,QString))
    ) ) return false;
and after checking if the number matches your gv number accept the call with another dbus call?

Code:
dbus-send --system --print-reply --dest=com.nokia.csd.Call /com/nokia/csd/call/1 com.nokia.csd.Call.Instance.Answer
Or is the problem that you are trying to also handle call backs on other "accounts" like skype ?
I thought I had read in some documentation that Coming wasn't enough, you have to check the call status which I haven't had a chance to play with yet.

Though the call API only works with Cell, I was hoping the Coming and Answer calls would work with any CM. Vain hope but it is there. Otherwise unless we can get telepathy automation working I'm fine with at least giving those who work with cell that much

Originally Posted by fcrochik View Post
p.s. I started playing with telepathy following your advice and have already something that works... The next version of mycontacts will be able to start calls and send sms using TOR (and any other telepathy account for that matter). Thanks!
How did you get calls and SMS working with Telepathy? A couple of us have given up on it I was planning on posting on the telepathy list some thoughts I had on client automation.
__________________
770, n810, n900, Ideapad S10-3t
TheOneRing, DialCentral, Gonvert, Quicknote, Multilist, ejpi, nQa, Waters of Shiloah
Programming Blog