maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Look for incoming calls (https://talk.maemo.org/showthread.php?t=57612)

Lullen 2010-07-02 06:52

Look for incoming calls
 
How do I know if there is an incoming call? My guess is that I should use the dbus but there is really no info about it so I am asking you for help. What I want to do is whenever I get a call the phone will automaticlly end the call and I should get a "missed call" pop-up.

matrim 2010-07-02 10:57

Re: Look for incoming calls
 
You should look up the com.nokia.csd.Call DBus methods. In particular com.nokia.csd.Call.Instance.CallStatus

The only thing is that I think these are only for GSM calls, and you might need to use telepathy for VoIP calls.

Lullen 2010-07-02 23:30

Re: Look for incoming calls
 
Been looking a bit for that but I did not find anything explaining the com.nokia.csd.Call. Where can I find info about it?

qwerty12 2010-07-02 23:54

Re: Look for incoming calls
 
It's undocumented.

Since I'm a stalker and somehow know that you use Qt: http://talk.maemo.org/showthread.php?t=50718

You'll also want "End current phone call" from http://wiki.maemo.org/Phone_control, too.

EDIT: Babyphone is a brilliant Qt application to look at for this stuff

Lullen 2010-07-03 12:29

Re: Look for incoming calls
 
Do not stalk me! :(
Thanks I will look in to it!


All times are GMT. The time now is 02:05.

vBulletin® Version 3.8.8