Thread
:
Answering calls programmatically
View Single Post
roman4
2010-06-23 , 21:52
Posts: 5 | Thanked: 8 times | Joined on Jun 2010
#
2
If you answer the call immediately as you receive the call indication the phone seems to be in a specific call state where answering is not allowed yet.
If you answer the call using the described DBUS message after a delay of e.g. 1 s it works out fine.
Another (probably better) approach is to register to the CallStatus DBUS message ("com.nokia.csd.Call", "/com/nokia/csd/call/1", "com.nokia.csd.Call.Instance.CallStatus") and wait for a call status >= 2 (=CSD_CALL_STATUS_COMING) after the "Coming" message.
Best regards,
Roman
Quote & Reply
|
The Following 2 Users Say Thank You to roman4 For This Useful Post:
ceefour
,
clasificado
roman4
View Public Profile
Send a private message to roman4
Find all posts by roman4