<div><br></div><div>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(<a href="mailto:prawin1111@gmail.com">prawin1111@gmail.com</a>) to another gmail account(<a href="mailto:mail_under_test@gmail.com">mail_under_test@gmail.com</a>) through Gtalk.</div>
<div><br></div><div><div><span class="Apple-style-span" style="background-color: rgb(255, 255, 51);"><i>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</i></span></div>
<div><span class="Apple-style-span" style="background-color: rgb(255, 255, 51);"><i> object path "/com/nokia/MissionControl/requests/r4"</i></span></div><div><span class="Apple-style-span" style="background-color: rgb(255, 255, 51);"><i> array [</i></span></div>
<div><span class="Apple-style-span" style="background-color: rgb(255, 255, 51);"><i> dict entry(</i></span></div><div><span class="Apple-style-span" style="background-color: rgb(255, 255, 51);"><i> string "org.freedesktop.Telepathy.ChannelRequest.Account"</i></span></div>
<div><span class="Apple-style-span" style="background-color: rgb(255, 255, 51);"><i> variant object path "/org/freedesktop/Telepathy/Account/gabble/jabber/prawin1111_40gmail_2ecom0"</i></span></div>
<div><span class="Apple-style-span" style="background-color: rgb(255, 255, 51);"><i> )</i></span></div><div><span class="Apple-style-span" style="background-color: rgb(255, 255, 51);"><i> dict entry(</i></span></div>
<div><span class="Apple-style-span" style="background-color: rgb(255, 255, 51);"><i> string "org.freedesktop.Telepathy.ChannelRequest.UserActionTime"</i></span></div><div><span class="Apple-style-span" style="background-color: rgb(255, 255, 51);"><i> variant uint64 1234133</i></span></div>
<div><span class="Apple-style-span" style="background-color: rgb(255, 255, 51);"><i> )</i></span></div><div><span class="Apple-style-span" style="background-color: rgb(255, 255, 51);"><i> dict entry(</i></span></div>
<div><span class="Apple-style-span" style="background-color: rgb(255, 255, 51);"><i> string "org.freedesktop.Telepathy.ChannelRequest.PreferredHandler"</i></span></div><div><span class="Apple-style-span" style="background-color: rgb(255, 255, 51);"><i> variant string ""</i></span></div>
<div><span class="Apple-style-span" style="background-color: rgb(255, 255, 51);"><i> )</i></span></div><div><span class="Apple-style-span" style="background-color: rgb(255, 255, 51);"><i> dict entry(</i></span></div>
<div><span class="Apple-style-span" style="background-color: rgb(255, 255, 51);"><i> string "org.freedesktop.Telepathy.ChannelRequest.Interfaces"</i></span></div><div><span class="Apple-style-span" style="background-color: rgb(255, 255, 51);"><i> variant array [</i></span></div>
<div><span class="Apple-style-span" style="background-color: rgb(255, 255, 51);"><i> ]</i></span></div><div><span class="Apple-style-span" style="background-color: rgb(255, 255, 51);"><i> )</i></span></div>
<div><span class="Apple-style-span" style="background-color: rgb(255, 255, 51);"><i> dict entry(</i></span></div><div><span class="Apple-style-span" style="background-color: rgb(255, 255, 51);"><i> string "org.freedesktop.Telepathy.ChannelRequest.Requests"</i></span></div>
<div><span class="Apple-style-span" style="background-color: rgb(255, 255, 51);"><i> variant array [</i></span></div><div><span class="Apple-style-span" style="background-color: rgb(255, 255, 51);"><i> array [</i></span></div>
<div><span class="Apple-style-span" style="background-color: rgb(255, 255, 51);"><i> dict entry(</i></span></div><div><span class="Apple-style-span" style="background-color: rgb(255, 255, 51);"><i> string "org.freedesktop.Telepathy.Channel.TargetHandleType"</i></span></div>
<div><span class="Apple-style-span" style="background-color: rgb(255, 255, 51);"><i> variant uint32 1</i></span></div><div><span class="Apple-style-span" style="background-color: rgb(255, 255, 51);"><i> )</i></span></div>
<div><span class="Apple-style-span" style="background-color: rgb(255, 255, 51);"><i> dict entry(</i></span></div><div><span class="Apple-style-span" style="background-color: rgb(255, 255, 51);"><i> string "org.freedesktop.Telepathy.Channel.TargetID"</i></span></div>
<div><span class="Apple-style-span" style="background-color: rgb(255, 255, 51);"><i> variant string "<a href="mailto:mail_under_test@gmail.com">mail_under_test@gmail.com</a>"</i></span></div>
<div><span class="Apple-style-span" style="background-color: rgb(255, 255, 51);"><i> )</i></span></div><div><span class="Apple-style-span" style="background-color: rgb(255, 255, 51);"><i> dict entry(</i></span></div>
<div><span class="Apple-style-span" style="background-color: rgb(255, 255, 51);"><i> string "org.freedesktop.Telepathy.Channel.ChannelType"</i></span></div><div><span class="Apple-style-span" style="background-color: rgb(255, 255, 51);"><i> variant string "org.freedesktop.Telepathy.Channel.Type.StreamedMedia"</i></span></div>
<div><span class="Apple-style-span" style="background-color: rgb(255, 255, 51);"><i> )</i></span></div><div><span class="Apple-style-span" style="background-color: rgb(255, 255, 51);"><i> ]</i></span></div>
<div><span class="Apple-style-span" style="background-color: rgb(255, 255, 51);"><i> ]</i></span></div><div><span class="Apple-style-span" style="background-color: rgb(255, 255, 51);"><i> )</i></span></div>
<div><span class="Apple-style-span" style="background-color: rgb(255, 255, 51);"><i> ]</i></span></div></div><div><br></div><div>Please anybody help me writing python-dbus code or dbus-send command for the above dbus-monitor trace.</div>
<div>Thanks in advance.</div><div><br></div><div><br></div><div><br></div><br><br><div class="gmail_quote">On Wed, Oct 6, 2010 at 10:35 AM, praveen koduru <span dir="ltr"><<a href="mailto:prawin1111@gmail.com">prawin1111@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I am looking for voice call through Gtalk on N900 from command line like dbus-send command or python-dbus. <div><br></div>
<div>I am able to set the status i.e GTalk presence(Online/Offline/Busy) through mc-tool command, </div>
<div><i><span style="background-color:rgb(255, 255, 51)">mc-tool <account> <presence></span></i></div><div><i><span style="background-color:rgb(255, 255, 51)"><br>
</span></i></div><div><i><span style="background-color:rgb(255, 255, 51)"><b><u>python-dbus way:</u></b></span></i></div><div><i><span style="background-color:rgb(255, 255, 51)"><div>
<span style="background-color:rgb(255, 255, 51)">xmppaccount="/org/freedesktop/Telepathy/Account/gabble/jabber/prawin1111_40gmail_2ecom0"</span></div><div><span style="background-color:rgb(255, 255, 51)"><br>
</span></div><div><span style="background-color:rgb(255, 255, 51)">def set_status(presence_type):</span></div><div><span style="background-color:rgb(255, 255, 51)"> print "screen has been off for defined number of seconds"</span></div>
<div><span style="background-color:rgb(255, 255, 51)"> sessionbus = dbus.SessionBus()</span></div><div><span style="background-color:rgb(255, 255, 51)"> gmailobj = sessionbus.get_object('org.freedesktop.Telepathy.AccountManager', xmppaccount)</span></div>
<div><span style="background-color:rgb(255, 255, 51)"> gmailinterface=dbus.Interface(gmailobj, 'org.freedesktop.DBus.Properties')</span></div><div><span style="background-color:rgb(255, 255, 51)"> gmailstruct=dbus.Struct((dbus.UInt32(presence_type), '', ''))</span></div>
<div><span style="background-color:rgb(255, 255, 51)"> gmailinterface.Set('org.freedesktop.Telepathy.Account', 'RequestedPresence', gmailstruct)</span></div><div><span style="background-color:rgb(255, 255, 51)"><br>
</span></div><div><span style="background-color:rgb(255, 255, 51)">bus = dbus.SystemBus()</span></div><div><span style="background-color:rgb(255, 255, 51)">set_status(telepathy.constants.CONNECTION_PRESENCE_TYPE_BUSY)</span></div>
</span></i></div><div><i><span style="background-color:rgb(255, 255, 51)"><br></span></i></div><div><br></div><div>And also I am able to do voice call through GSM network using dbus-send command. </div>
<div><i><span style="background-color:rgb(255, 255, 51)">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</span></i></div>
<div><br></div><div>But i need to make a voice call through Gtalk using dbus-send or python-dbus. </div><div>Thanks for the time. and Help needed.</div><div><div><br></div><div><br></div><div><br></div><div><br></div><div>
<br></div><div><br></div><div><br></div></div>
</blockquote></div><br>