« Posts tagged jingle info

Requesting Jingle Info Server Addresses of Google Talk

I’m using PSI (XMPP application client) with XML console and sends an IQ get containing a <query/> element qualified by the ‘google:jingleinfo’ namespace :

XML
<iq type='get'
from='cuonglb@gmail.com/psi'
to='cuonglb@gmail.com'
id='ji-request-1'>
<query xmlns='google:jingleinfo'/>
</iq>

and result :

XML
<iq from="cuonglb@gmail.com" type="result" to="cuonglb@gmail.com/cuonglb-de8CF233B1" id="ji-request-1" >
<query xmlns="google:jingleinfo">
<stun>
<server host="stun.l.google.com" udp="19302" />
<server host="stun4.l.google.com" udp="19302" />
<server host="stun1.l.google.com" udp="19302" />
<server host="stun3.l.google.com" udp="19302" />
<server host="stun2.l.google.com" udp="19302" />
</stun>
<relay>
<token>CAESGgoRY3VvbmdsYkBnbWFpbC5jb20QtPHA9MUkGhCxyfdjVL3w0j0Ref2K6iVC</token>
<server host="relay.google.com" udp="19295" tcp="19294" tcpssl="443" />
</relay>
</query>
</iq>

psi_01