[Home]

Summary:ASTERISK-17993: Inbound Google Chat calls fail
Reporter:Malcolm Davenport (mdavenport)Labels:
Date Opened:2011-06-09 10:43:37Date Closed:2011-08-30 13:30:02
Priority:MajorRegression?
Status:Closed/CompleteComponents:
Versions:10 Frequency of
Occurrence
Constant
Related
Issues:
Environment:SVN-trunk-r322544Attachments:
Description:Inbound calls from Google Chat clients to Asterisk (as well as other software that could connect yesterday) fail.  Outbound calls to Google Chat clients still work.

Captures to follow.  mygmailb@gmail.com calls mygmail@gmail.com

Here are the messages we receive when we try to initiate a call from the Google Chat web client.  Note that Asterisk doesn't respond.

JABBER: asterisk INCOMING: <iq type="set" to="mygmail@gmail.com/Talk7DEF9C7B" id="88EF90C40491E9E9" from="mygmailb@gmail.com/gmail.636F96B8"><jin:jingle action="session-initiate" sid="c1937803251" initiator="mygmailb@gmail.com/gmail.636F96B8" xmlns:jin="urn:xmpp:jingle:1"><jin:content name="audio"><rtp:description media="audio" xmlns:rtp="urn:xmpp:jingle:apps:rtp:1"><rtp:payload-type id="103" name="ISAC" clockrate="16000"><rtp:parameter name="bitrate" value="32000"/></rtp:payload-type><rtp:payload-type id="104" name="ISAC" clockrate="32000"><rtp:parameter name="bitrate" value="56000"/></rtp:payload-type><rtp:payload-type id="119" name="ISACLC" clockrate="16000"><rtp:parameter name="bitrate" value="40000"/></rtp:payload-type><rtp:payload-type id="99" name="speex" clockrate="16000"><rtp:parameter name="bitrate" value="22000"/></rtp:payload-type><rtp:payload-type id="97" name="IPCMWB" clockrate="16000"><rtp:parameter name="bitrate" value="80000"/></rtp:payload-type><rtp:payload-type id="9" name="G722"

JABBER: asterisk INCOMING: clockrate="16000"><rtp:parameter name="bitrate" value="64000"/></rtp:payload-type><rtp:payload-type id="102" name="iLBC" clockrate="8000"><rtp:parameter name="bitrate" value="13300"/></rtp:payload-type><rtp:payload-type id="98" name="speex" clockrate="8000"><rtp:parameter name="bitrate" value="11000"/></rtp:payload-type><rtp:payload-type id="3" name="GSM" clockrate="8000"><rtp:parameter name="bitrate" value="13200"/></rtp:payload-type><rtp:payload-type id="100" name="EG711U" clockrate="8000"><rtp:parameter name="bitrate" value="64000"/></rtp:payload-type><rtp:payload-type id="101" name="EG711A" clockrate="8000"><rtp:parameter name="bitrate" value="64000"/></rtp:payload-type><rtp:payload-type id="0" name="PCMU" clockrate="8000"><rtp:parameter name="bitrate" value="64000"/></rtp:payload-type><rtp:payload-type id="8" name="PCMA" clockrate="8000"><rtp:parameter name="bitrate" value="64000"/></rtp:payload-type><rtp:payload-type id="117" name="red" clockrate="8000"/><rtp:payload-type id="106" name="

JABBER: asterisk INCOMING: telephone-event" clockrate="8000"/><rtp:encryption/></rtp:description><p:transport xmlns:p="http://www.google.com/transport/p2p"/></jin:content></jin:jingle><ses:session type="initiate" id="c1937803251" initiator="mygmailb@gmail.com/gmail.636F96B8" xmlns:ses="http://www.google.com/session"><pho:description xmlns:pho="http://www.google.com/session/phone"><pho:payload-type id="103" name="ISAC" bitrate="32000" clockrate="16000"/><pho:payload-type id="104" name="ISAC" bitrate="56000" clockrate="32000"/><pho:payload-type id="119" name="ISACLC" bitrate="40000" clockrate="16000"/><pho:payload-type id="99" name="speex" bitrate="22000" clockrate="16000"/><pho:payload-type id="97" name="IPCMWB" bitrate="80000" clockrate="16000"/><pho:payload-type id="9" name="G722" bitrate="64000" clockrate="16000"/><pho:payload-type id="102" name="iLBC" bitrate="13300" clockrate="8000"/><pho:payload-type id="98" name="speex" bitrate="11000" clockrate="8000"/><pho:payload-type id="3" name="GSM" bitrate="

JABBER: asterisk INCOMING: 13200" clockrate="8000"/><pho:payload-type id="100" name="EG711U" bitrate="64000" clockrate="8000"/><pho:payload-type id="101" name="EG711A" bitrate="64000" clockrate="8000"/><pho:payload-type id="0" name="PCMU" bitrate="64000" clockrate="8000"/><pho:payload-type id="8" name="PCMA" bitrate="64000" clockrate="8000"/><pho:payload-type id="117" name="red" clockrate="8000"/><pho:payload-type id="106" name="telephone-event" clockrate="8000"/><rtp:encryption xmlns:rtp="urn:xmpp:jingle:apps:rtp:1"><pho:usage/></rtp:encryption></pho:description></ses:session></iq>

...

And here's what we get from Google. after we hang up the Google Chat client:

JABBER: asterisk INCOMING: <iq type="set" to="mygmail@gmail.com/Talk7DEF9C7B" id="81AFFB653D08DCC3" from="mygmailb@gmail.com/gmail.636F96B8"><jin:jingle action="session-terminate" sid="c1937803251" xmlns:jin="urn:xmpp:jingle:1"><ses:reason xmlns:ses="http://www.google.com/session"><ses:connectivity-error/></ses:reason><pho:call-ended xmlns:pho="http://www.google.com/session/phone"/></jin:jingle><ses:session type="terminate" id="c1937803251" initiator="mygmailb@gmail.com/gmail.636F96B8" xmlns:ses="http://www.google.com/session"><ses:reason><ses:connectivity-error/></ses:reason><pho:call-ended xmlns:pho="http://www.google.com/session/phone"/></ses:session></iq>


Comments:By: Leif Madsen (lmadsen) 2011-06-13 14:24:31.799-0500

Can you test the patch on ASTERISK-17849 and see if that helps?

By: Malcolm Davenport (mdavenport) 2011-06-13 14:47:08.878-0500

won't matter; that doesn't affect this.  this is because google's signaling changed radically and we don't know how to deal with the new signaling they're feeding us.

By: Terry Wilson (twilson) 2011-06-14 17:57:55.974-0500

I deleted the link with ASTERISK-17849 as they aren't actually related. Google Voice inbound calls still work, it is just coming from Google Talk that doesn't.

By: Malcolm Davenport (mdavenport) 2011-06-15 09:18:02.836-0500

I think inbound Google Voice calls are still a bit spotty with respect to the DTMF timing issue.  More on that, later.

By: Sebastien Peterson (morchea) 2011-06-29 05:51:28.469-0500

I can Confirm I am having the same issue on 1.8.4.3 ... killing me.
Thanks for looking into solving this. Cheers,
Seb

By: Sebastien Peterson (morchea) 2011-07-06 02:49:54.613-0500

BTW, GTalk still works in FreeSwitch. So they must be following the RFC in a way that works.
Cheers,
Seb

By: Malcolm Davenport (mdavenport) 2011-07-08 10:02:26.722-0500

See:

https://reviewboard.asterisk.org/r/1312/

By: Sebastien Peterson (morchea) 2011-07-10 15:10:35.594-0500

Thanks for that Malcolm.. that just made my day!
Cheers.

By: Bob M (manchicken) 2011-07-20 17:34:58.861-0500

Yes thanks - Patch is working here until Google messes with things some more :)

By: Leif Madsen (lmadsen) 2011-08-30 13:30:02.987-0500

Closing this as the changes have been merged.