Summary: | ASTERISK-11996: Make a Call from Gtalk to specific SIP user through Asterisk | ||
Reporter: | Sukhbir (sukhbir) | Labels: | |
Date Opened: | 2008-05-08 06:25:28 | Date Closed: | 2008-05-10 04:04:11 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Channels/chan_gtalk |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | Hi All, I am trying to make a call from Gtalk user to specific SIP user using Asterisk PBX. I have done neccessary changes that is required to do that. I have added two below given Applications in Asterisk code: 1. JabberReceive 2. JabberAuthorize After successfully compiling and installing Asterisk. When i make a call from Gtalk user to specific SIP user through Asterisk then sometime it works. But most of the times it does not work. I am not able to find the reason for that. I am able to make a call from SIP user to Gtalk user through Asterisk. I am giving error logs please try to solve it /************************* LOGS ****************************/ JABBER: asterisk INCOMING: <iq to="parwanoo.cellebrum@gmail.com/Talk5174D819" type="set" id="599" from="vinod09scorpion@gmail.com/Talk.v1047DB98CF9"><session type="initiate" id="4030617892" initiator="vinod09scorpion@gmail.com/Talk.v1047DB98CF9" xmlns="http://www.google.com/session"><description xml:lang="en" xmlns="http://www.google.com/session/phone"><payload-type id="103" name="ISAC" clockrate="16000"/><payload-type id="97" name="IPCMWB" clockrate="16000" bitrate="80000"/><payload-type id="99" name="speex" clockrate="16000" bitrate="22000"/><payload-type id="4" name="G723" clockrate="8000" bitrate="6300"/><payload-type id="98" name="speex" clockrate="8000" bitrate="11000"/><payload-type id="100" name="EG711U" clockrate="8000" bitrate="64000"/><payload-type id="101" name="EG711A" clockrate="8000" bitrate="64000"/><payload-type id="0" name="PCMU" clockrate="8000" bitrate="64000"/><payload-type id="8" name="PCMA" clockrate="8000" bitrate="64000"/><payload-type id="13" name="CN" clockrate="8000"/><payload-type id="102" name=" JABBER: asterisk INCOMING: iLBC" clockrate="8000" bitrate="13300"/><payload-type id="106" name="telephone-event" clockrate="8000"/></description><transport xmlns="http://www.google.com/transport/p2p"/></session></iq> == Starting Gtalk/vinod09scorpion-b254 at default,parwanoo.cellebrum@gmail.com,1 failed so falling back to exten 's' -- Executing [s@default:1] Answer("Gtalk/vinod09scorpion-b254", "") in new stack JABBER: asterisk OUTGOING: <iq type='result' from='parwanoo.cellebrum@gmail.com/Talk5174D819' to='vinod09scorpion@gmail.com/Talk.v1047DB98CF9' id='599'/> JABBER: asterisk OUTGOING: <iq type='set' to='vinod09scorpion@gmail.com/Talk.v1047DB98CF9' from='parwanoo.cellebrum@gmail.com/Talk5174D819' id='aaaad'><session xmlns='http://www.google.com/session' type='accept' initiator='vinod09scorpion@gmail.com/Talk.v1047DB98CF9' id='4030617892'><description xmlns='http://www.google.com/session/phone' xml:lang='en'><payload-type id='0' name='PCMU' clockrate='8000' bitrate='64000'/><payload-type id='100' name='EG711U' clockrate='8000' bitrate='64000'/><payload-type id='8' name='PCMA' clockrate='8000' bitrate='64000'/><payload-type id='101' name='EG711A' clockrate='8000' bitrate='64000'/><payload-type id='106' name='telephone-event' clockrate='8000'/></description><transport xmlns='http://www.google.com/transport/p2p'/></session></iq> -- Executing [s@default:2] Wait("Gtalk/vinod09scorpion-b254", "4") in new stack JABBER: asterisk OUTGOING: <iq from='parwanoo.cellebrum@gmail.com/Talk5174D819' to='vinod09scorpion@gmail.com/Talk.v1047DB98CF9' type='set' id='aaaae'><session type='transport-accept' id='4030617892' initiator='vinod09scorpion@gmail.com/Talk.v1047DB98CF9' xmlns='http://www.google.com/session'><transport xmlns='http://www.google.com/transport/p2p'/></session></iq> JABBER: asterisk OUTGOING: <iq from='parwanoo.cellebrum@gmail.com/Talk5174D819' to='vinod09scorpion@gmail.com/Talk.v1047DB98CF9' type='set' id='aaaaf'><session type='transport-info' id='4030617892' initiator='vinod09scorpion@gmail.com/Talk.v1047DB98CF9' xmlns='http://www.google.com/session'><transport xmlns='http://www.google.com/transport/p2p'><candidate name='rtp' address='172.21.13.5' port='14620' username='117761114a46d9ae' password='771faa091e7fc18e' preference='1.00' protocol='udp' type='local' network='0' generation='0'/></transport></session></iq> [May 8 16:44:42] WARNING[1812]: res_jabber.c:1675 aji_recv_loop: JABBER: socket read error JABBER: asterisk OUTGOING: <?xml version='1.0'?><stream:stream xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client' to='gmail.com' version='1.0'> JABBER: asterisk INCOMING: <?xml version="1.0" encoding="UTF-8"?><stream:stream from="gmail.com" id="0070FB36E0251245" version="1.0" xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client"><stream:features><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"><required/></starttls><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>X-GOOGLE-TOKEN</mechanism></mechanisms></stream:features> JABBER: asterisk OUTGOING: <starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/> -- Executing [s@default:3] Playback("Gtalk/vinod09scorpion-b254", "/usr/media/notreg") in new stack -- <Gtalk/vinod09scorpion-b254> Playing '/usr/media/notreg' (language 'en') JABBER: asterisk INCOMING: <proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls"/> JABBER: asterisk OUTGOING: <?xml version='1.0'?><stream:stream xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client' to='gmail.com' version='1.0'> JABBER: asterisk INCOMING: <?xml version="1.0" encoding="UTF-8"?><stream:stream from="gmail.com" id="CC4FABB36DD54CC9" version="1.0" xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client"> JABBER: asterisk INCOMING: <stream:features><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>PLAIN</mechanism><mechanism>X-GOOGLE-TOKEN</mechanism></mechanisms></stream:features> JABBER: asterisk OUTGOING: <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AHBhcndhbm9vLmNlbGxlYnJ1bQBzcGljZW1vYmlsZQ==</auth> JABBER: asterisk INCOMING: <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl"/> JABBER: asterisk OUTGOING: <?xml version='1.0'?><stream:stream xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client' to='gmail.com' version='1.0'> JABBER: asterisk INCOMING: <?xml version="1.0" encoding="UTF-8"?><stream:stream from="gmail.com" id="CB84DC907912A102" version="1.0" xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client"> JABBER: asterisk INCOMING: <stream:features><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></stream:features> JABBER: asterisk OUTGOING: <iq type='set' id='aaaag'><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'><resource>Talk5174D819</resource></bind></iq> JABBER: asterisk OUTGOING: <iq type='set' id='auth'><session xmlns='urn:ietf:params:xml:ns:xmpp-session'/></iq> JABBER: asterisk INCOMING: <iq id="aaaag" type="result"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>parwanoo.cellebrum@gmail.com/Talk5174D819</jid></bind></iq> JABBER: asterisk OUTGOING: <presence from='parwanoo.cellebrum@gmail.com/Talk5174D819'><status>"Sweeti"</status><c node='http://www.asterisk.org/xmpp/client/caps' ver='asterisk-xmpp' ext='voice-v1' xmlns='http://jabber.org/protocol/caps'/></presence> JABBER: asterisk OUTGOING: <iq type='get' id='roster'><query xmlns='jabber:iq:roster'/></iq> JABBER: asterisk INCOMING: JABBER: asterisk INCOMING: <iq type="result" id="auth"/> -- Executing [s@default:4] JabberAuthorize("Gtalk/vinod09scorpion-b254", "asterisk") in new stack [May 8 16:44:51] WARNING[1838]: res_jabber.c:1549 ast_aji_send: JABBER: Not connected can't send -- Executing [s@default:5] JabberReceive("Gtalk/vinod09scorpion-b254", "asterisk|NEW") in new stack JABBER: asterisk INCOMING: <iq to="parwanoo.cellebrum@gmail.com/Talk5174D819" id="roster" type="result"><query xmlns="jabber:iq:roster"><item jid="vinod09scorpion@gmail.com" subscription="both"/></query></iq> JABBER: asterisk INCOMING: JABBER: asterisk INCOMING: <presence from="vinod09scorpion@gmail.com/Talk.v1047DB98CF9" to="parwanoo.cellebrum@gmail.com/Talk5174D819"><priority>24</priority><c node="http://www.google.com/xmpp/client/caps" ver="1.0.0.104" ext="share-v1 voice-v1" xmlns="http://jabber.org/protocol/caps"/><x stamp="20080508T08:23:24" xmlns="jabber:x:delay"/><status/><x xmlns="vcard-temp:x:update"><photo/></x></presence> Thanks in Advance | ||
Comments: | By: Leif Madsen (lmadsen) 2008-05-08 06:35:21 Severity of this issue is not major :) By: Russell Bryant (russell) 2008-05-08 10:16:35 What is JabberReceive and JabberAuth? Where did you get them? We do not support patched versions of Asterisk here ... By: Russell Bryant (russell) 2008-05-08 10:22:35 Closed because we don't support patched versions By: Sukhbir (sukhbir) 2008-05-09 00:11:40 Hi Russell, I have got this patch from fllowing link. By: Sukhbir (sukhbir) 2008-05-09 00:17:54 Hi Russell, Thanks for Quick response I have got this patch from following link: http://bugs.digium.com/view.php?id=8659 If u do not support these Applications (JabberReceive and JabberAuth).Can u help me, how can i call to specific SIP user from Gtalk user through Asterisk PBX.I would appreciate u'r effort if u could help me. Thanks By: phsultan (phsultan) 2008-05-10 04:04:11 Let's keep this report closed. Please take a look at this one, which is related : http://bugs.digium.com/view.php?id=12569 |