I did dbus-monitor on manual voip Gtalk call and from the dump, I think that
the below trace is actually making the call. here I called from my Gmail
account(prawin1...@gmail.com) to another gmail account(
mail_under_t...@gmail.com) through Gtalk.

*method call sender=:1.17 -> dest=org.freedesktop.Telepathy.Client.CallUI
serial=262 path=/org/freedesktop/Telepathy/Client/CallUI;
interface=org.freedesktop.Telepathy.Client.Interface.Requests;
member=AddRequest*
*   object path "/com/nokia/MissionControl/requests/r4"*
*   array [*
*      dict entry(*
*         string "org.freedesktop.Telepathy.ChannelRequest.Account"*
*         variant             object path
"/org/freedesktop/Telepathy/Account/gabble/jabber/prawin1111_40gmail_2ecom0"
*
*      )*
*      dict entry(*
*         string "org.freedesktop.Telepathy.ChannelRequest.UserActionTime"*
*         variant             uint64 1234133*
*      )*
*      dict entry(*
*         string "org.freedesktop.Telepathy.ChannelRequest.PreferredHandler"
*
*         variant             string ""*
*      )*
*      dict entry(*
*         string "org.freedesktop.Telepathy.ChannelRequest.Interfaces"*
*         variant             array [*
*            ]*
*      )*
*      dict entry(*
*         string "org.freedesktop.Telepathy.ChannelRequest.Requests"*
*         variant             array [*
*               array [*
*                  dict entry(*
*                     string
"org.freedesktop.Telepathy.Channel.TargetHandleType"*
*                     variant                         uint32 1*
*                  )*
*                  dict entry(*
*                     string "org.freedesktop.Telepathy.Channel.TargetID"*
*                     variant                         string "
mail_under_t...@gmail.com"*
*                  )*
*                  dict entry(*
*                     string "org.freedesktop.Telepathy.Channel.ChannelType"
*
*                     variant                         string
"org.freedesktop.Telepathy.Channel.Type.StreamedMedia"*
*                  )*
*               ]*
*            ]*
*      )*
*   ]*

Please anybody help me writing python-dbus code or dbus-send command for the
above dbus-monitor trace.
Thanks in advance.





On Wed, Oct 6, 2010 at 10:35 AM, praveen koduru <prawin1...@gmail.com>wrote:

> 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.
>
>
>
>
>
>
>
>
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to