Dear All,
I have been developing a QT application for Maemo known as Conference
Manager. The code is hosted at
https://garage.maemo.org/projects/confmgr. I am facing a problem with
connecting to the com.nokia.csd.Call.Instance interface. I want to
know when my dialed call is answered. I have looked at both CallStatus
and AudioConnect members but my QDBusConnection.connect method returns
false. I don't know why. I have gone through all the previous postings
and tried to duplicate the code but still it does not work for me.
I don't know if this is a problem with process permissions? I am
pasting the code snippet below. I have tried various alternatives but
my connect method is still failing (returning a false status). Any
help would be greatly appreciated. The full source is available in the
git project above. Eagerly waiting for a revelation.
QDBusConnection connection = mDBusUtility.getConnection();
bool status = connection.connect(QString(""), CSD_CALL_INSTANCE_PATH,
CSD_CALL_INSTANCE_INTERFACE,
QString("AudioConnect"),this, SLOT(sendDTMF(const QDBusMessage&)));
if(!status)
{
qDebug() << "Failed to connect to Dbus signal AudioConnect in
interface "<< CSD_CALL_INSTANCE_INTERFACE;
QString error = "DBus Error: " + mDBusUtility.getErrorMessage();
92 mDBusUtility.displayNotification(error);
}
--
BR; Naresh
visit me at:
http://www.naresh.se/
_______________________________________________
maemo-developers mailing list
[email protected]
https://lists.maemo.org/mailman/listinfo/maemo-developers