What I try to do is catch a signal when I an outgoing call is answered and when is closed. I simple want to count the time of my calls. I searched a lot. I even used dbus-monitor to examine the difference of an answered outgoing call and an unanswered one.This is the result.
So I tried to connect the dbus signal to my slot with the following code
signal sender=:1.17 -> dest=(null destination) serial=1824 path=/com/nokia/csd/call/1; interface=com.nokia.csd.Call.Instance; member=AudioConnect
Sadly nothing happens. Does anyone know how can I understand when my call is answered and when the call is terminated in order to count the time?
bus.connect("com.nokia.csd.Call.Instance", "/com/nokia/csd/call/1", "com.nokia.csd.Call.Instance", "AudioConnect", this, SLOT(handleCall(const QDBusMessage&)));