[maemo-developers] dbus-send command/python dbus way for launching voip call through GTalk on N900

From: praveen koduru prawin1111 at gmail.com
Date: Wed Oct 6 08:05:00 EEST 2010
I am looking for voice call through Gtalk on N900 from command line like
dbus-send command or python-dbus.

I am able to set the status i.e GTalk presence(Online/Offline/Busy)  through
mc-tool command,
*mc-tool <account> <presence>*
*
*
*python-dbus way:*
*
xmppaccount="/org/freedesktop/Telepathy/Account/gabble/jabber/prawin1111_40gmail_2ecom0"

def set_status(presence_type):
   print "screen has been off for defined number of  seconds"
   sessionbus = dbus.SessionBus()
   gmailobj =
sessionbus.get_object('org.freedesktop.Telepathy.AccountManager',
xmppaccount)
   gmailinterface=dbus.Interface(gmailobj,
'org.freedesktop.DBus.Properties')
   gmailstruct=dbus.Struct((dbus.UInt32(presence_type), '', ''))
   gmailinterface.Set('org.freedesktop.Telepathy.Account',
'RequestedPresence', gmailstruct)

bus = dbus.SystemBus()
set_status(telepathy.constants.CONNECTION_PRESENCE_TYPE_BUSY)
*
*
*

And also I am able to do voice call through GSM network using dbus-send
command.
*dbus-send --system --type=method_call --print-reply
--dest=com.nokia.csd.Call /com/nokia/csd/call com.nokia.csd.Call.CreateWith
string:"$NUMBER" uint32:0*

But i need to make a voice call through Gtalk using dbus-send or
python-dbus.
Thanks for the time. and Help needed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.maemo.org/pipermail/maemo-developers/attachments/20101006/9ae59fb5/attachment.htm>
More information about the maemo-developers mailing list