how to make a voice call in Qt(maemo) ?
we want to trigger a phone call from our Qt (Maemo) application , .. please guide us what header files/ classes we need for it, thanks
It was possible with XQTelephony. Check this [wiki.forum.nokia.com] link
But now with Qt Mobility QtTelephony should be handling it. But could not locate any api in this module for making call. Although call monitoring and other info is provided.
The Qt Telephony Events API used to be a candidate for the 1.1.0 release of Qt Mobility, but was removed for various reasons (in particular, it wasn’t “broad” enough in scope, I believe).
In any event, currently there is no Qt or Qt Mobility API to make calls, as far as I know. You’ll have to use Maemo-specific APIs to do so (most likely, using the Telepathy library, I think).
Starting a call on maemo5 using telepathy isn’t too hard. Have a look at http://maemo.crochik.com/qt-development/telepathy [maemo.crochik.com] and make sure to let me know if you need any further help
I haven’t tested but I am pretty sure it will work because you can just type an URL like “tel://+..” and it will start the phone application. It will not start the call but will launch the application and before launching the phone application will launch the browser application. For an occasional use maybe OK.
If you just want to initiate a phone call, you can also use the Maemo 5-specific D-Bus API:
There are also lots of other examples there. Instead of using the dbus-send command line utility, you can use the QtDBus module to make the D-Bus calls: