Not logged in. · Lost password · Register
Forum: Community Jingle Discussion RSS
Gtalk Voip
Gtalk VOIP implementation

Announcement

11-16-2005, 12:33 by halr9000
Subject: Psi Groupchat (new address)
Join us at the Psi Groupchat (MUC)! Room name: psi@conference.psi-im.org
shoan #1
Member since 01/2008 · 1 post · Location: India
Group memberships: Members
Show profile · Link to this post
Subject: Gtalk Voip
Hello ,
I am trying to implement the Gtalk voip client.
In that to call a buddy the first stanza tht must be sent is as follows:

<iq to="xyz@gmail.com/Talk.v104D273568E" type="set" id="203"><session xmlns="http://www.google.com/session" type="initiate" id="4259145837" initiator="abc@gmail.com/Talk.v104E40E936E"><description xmlns="http://www.google.com/session/phone" xml:lang="en"><payload-type xmlns="http://www.google.com/session/phone" id="103" name="ISAC" clockrate="16000"/><payload-type xmlns="http://www.google.com/session/phone" id="97" name="IPCMWB" clockrate="16000" bitrate="80000"/><payload-type xmlns="http://www.google.com/session/phone" id="99" name="speex" clockrate="16000" bitrate="22000"/><payload-type xmlns="http://www.google.com/session/phone" id="4" name="G723" clockrate="8000" bitrate="6300"/><payload-type xmlns="http://www.google.com/session/phone" id="98" name="speex" clockrate="8000" bitrate="11000"/><payload-type xmlns="http://www.google.com/session/phone" id="100" name="EG711U" clockrate="8000" bitrate="64000"/><payload-type xmlns="http://www.google.com/session/phone" id="101" name="EG711A" clockrate="8000" bitrate="64000"/><payload-type xmlns="http://www.google.com/session/phone" id="0" name="PCMU" clockrate="8000" bitrate="64000"/><payload-type xmlns="http://www.google.com/session/phone" id="8" name="PCMA" clockrate="8000" bitrate="64000"/><payload-type xmlns="http://www.google.com/session/phone" id="13" name="CN" clockrate="8000"/><payload-type xmlns="http://www.google.com/session/phone" id="102" name="iLBC" clockrate="8000" bitrate="13300"/><payload-type xmlns="http://www.google.com/session/phone" id="106" name="telephone-event" clockrate="8000"/></description><transport xmlns="http://www.google.com/transport/p2p"/></session></iq>



Then Gtalk sever replies with the 2 stanzas as follows:

<iq to="abc@gmail.com/Talk.v104E40E936E" id="203" type="result" from="xyz@gmail.com/Talk.v104D273568E"/>

<iq to="abc@gmail.com/Talk.v104E40E936E" type="set" id="200" from="xyz@gmail.com/Talk.v104D273568E"><session type="transport-accept" id="4259145837" initiator="kaaustubh@gmail.com/Talk.v104E40E936E" xmlns="http://www.google.com/session"><transport xmlns="http://www.google.com/transport/p2p"/></session></iq>


Then after everytime Gtalk sever communicates with the client the "transport Info" stanza it sends the encrypted username and passwd with tht stanza.

eg:

<iq to="abc@gmail.com/Talk.v104E40E936E" type="set" id="202" from="xyz@gmail.com/Talk.v104D273568E"><session type="transport-info" id="4259145837" initiator="kaaustubh@gmail.com/Talk.v104E40E936E" xmlns="http://www.google.com/session"><transport xmlns="http://www.google.com/transport/p2p"><candidate name="rtp" address="169.254.2.2" port="2535" preference="1" username="W0knXRzOnN95OhnG" protocol="udp" generation="0" password="B9xNGgwVZneHPiVi" type="local" network="0"/></transport></session></iq>

I want to know how the username and passwd are encrypted in tht?
legoscia #2
Member since 01/2004 · 40 posts
Group memberships: Members
Show profile · Link to this post
They are not encrypted at all.  They are just randomly generated for this connection; that's why they look strange.
Close Smaller – Larger + Reply to this post:
Smilies: :mellow: :huh: ^_^ :o ;) :P :D :lol: B) :rolleyes: -_- <_< :) :wub: :angry: :( :unsure: :wacko: :blink: :ph34r:
Special characters:
Go to forum
Unclassified NewsBoard devel of 20051113 © 2003-5 by Yves Goergen
Current time: 05-17-2008, 11:38:18 (UTC -04:00)