[Jingle] Unable to set up Jingle call with Google

Justin Uberti juberti at google.com
Tue Jul 26 13:17:13 UTC 2011


I think the issue is that you need to address the session-initiate to a full
JID, not a bare JID.

On Tue, Jul 26, 2011 at 8:52 AM, Aaron Clauson <aaron at sipsorcery.com> wrote:

> I'm attempting to set up a Jingle call with the Gmail Talk Gadget but so
> far
> have been unable to get the session-initiate request accepted. Since Google
> doesn't support XEP-0176 yet (anyone know if XEP-0177 is planned?) I guess
> that means the Gingle transport mechanism is still required and that also
> corresponds to the XMPP requests I receive if I initiate a call from the
> Gmail Talk Gadget to my client. The problem I've got is if I send a
> session-initiate using the same format back to Google I get an error.
>
> Here's an example of a session-initiate request I get from the Gmail Talk
> Gadget, repetitive elements removed for brevity:
>
> <iq type="set" to="yyy at gmail.com/532EE424" id="92B08E4B3E31A634"
> from="xxx at gmail.com/TalkGadgetE7E5E3AA">
>  <jin:jingle action="session-initiate" sid="c1961324837"
> initiator="xxx at gmail.com/TalkGadgetE7E5E3AA"
> xmlns:jin="urn:xmpp:jingle:1">
>  <jin:content name="audio" creator="initiator">
>   <rtp:description media="audio" xmlns:rtp="urn:xmpp:jingle:apps:rtp:1">
>    ....
>    <rtp:payload-type id="0" name="PCMU" clockrate="8000">
>     <rtp:parameter name="bitrate" value="64000"/>
>    </rtp:payload-type>
>   </rtp:description>
>   <p:transport xmlns:p="http://www.google.com/transport/p2p"/>
>  </jin:content>
>  </jin:jingle>
>  <ses:session type="initiate" id="c1961324837"
> initiator="xxx at gmail.com/TalkGadgetE7E5E3AA"
> xmlns:ses="http://www.google.com/session">
>  <pho:description xmlns:pho="http://www.google.com/session/phone">
>   ....
>   <pho:payload-type id="0" name="PCMU" bitrate="64000" clockrate="8000"/>
>  </pho:description>
>  </ses:session>
> </iq>
>
> Here's the request I send from my client to Google:
>
> <iq id="504547" from="yyy at gmail.com/BF55B275" to="xxx at gmail.com"
> type="set">
>  <jingle action="session-initiate" initiator="yyy at gmail.com/BF55B275"
> sid="491285" xmlns="urn:xmpp:jingle:1">
>  <content creator="initiator" name="audio">
>   <description media="audio" xmlns="urn:xmpp:jingle:apps:rtp:1">
>    <payload-type id="0" name="PCMU" clockrate="8000">
>     <parameter name="bitrate" value="64000" />
>    </payload-type>
>   </description>
>   <transport xmlns="http://www.google.com/transport/p2p" />
>  </content>
>  </jingle>
>  <session type="initiate" id="491285" initiator="yyy at gmail.com/BF55B275"
> xmlns="http://www.google.com/session">
>  <description xmlns="http://www.google.com/session/phone">
>   <payload-type id="0" name="PCMU" bitrate="64000" clockrate="8000" />
>  </description>
>  </session>
> </iq>
>
> And the error response for my request is:
>
> <iq id="504547" from="xxx at gmail.com" to="yyy at gmail.com/BF55B275"
> type="error">
>  <jingle action="session-initiate" initiator="yyyp at gmail.com/BF55B275"
> sid="491285" xmlns="urn:xmpp:jingle:1">
>  <content creator="initiator" name="audio">
>   <description media="audio" xmlns="urn:xmpp:jingle:apps:rtp:1">
>    <payload-type id="0" name="PCMU" clockrate="8000">
>     <parameter name="bitrate" value="64000"/>
>    </payload-type>
>   </description>
>   <transport xmlns="http://www.google.com/transport/p2p"/>
>  </content>
>  </jingle>
>  <session type="initiate" id="491285" initiator="yyy at gmail.com/BF55B275"
> xmlns="http://www.google.com/session">
>  <description xmlns="http://www.google.com/session/phone">
>   <payload-type id="0" name="PCMU" bitrate="64000" clockrate="8000"/>
>  </description>
>  </session>
>  <error code="501" type="cancel">
>  <feature-not-implemented xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>
>  </error>
> </iq>
>
> Anybody got any hints for what I'm doing wrong or pointers to some
> documentation that have examples of connecting to Google with Jingle?
>
> Aaron
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.jabber.org/pipermail/jingle/attachments/20110726/bff38f20/attachment.htm>


More information about the Jingle mailing list