[asterisk-bugs] [Asterisk 0012610]: Make a Call from Gtalk to specific SIP user through Asterisk

noreply at bugs.digium.com noreply at bugs.digium.com
Fri May 9 15:41:57 CDT 2008


The following issue has been RESOLVED. 
====================================================================== 
http://bugs.digium.com/view.php?id=12610 
====================================================================== 
Reported By:                Sukhbir
Assigned To:                russell
====================================================================== 
Project:                    Asterisk
Issue ID:                   12610
Category:                   Channels/chan_gtalk
Reproducibility:            sometimes
Severity:                   minor
Priority:                   normal
Status:                     resolved
Asterisk Version:           1.4.19 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 won't fix
Fixed in Version:           
====================================================================== 
Date Submitted:             05-08-2008 06:25 CDT
Last Modified:              05-09-2008 15:41 CDT
====================================================================== 
Summary:                    Make a Call from Gtalk to specific SIP user through
Asterisk
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 at gmail.com/Talk5174D819" type="set" id="599"
from="vinod09scorpion at gmail.com/Talk.v1047DB98CF9"><session type="initiate"
id="4030617892" initiator="vinod09scorpion at 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 at gmail.com,1 failed so falling back to exten 's'
    -- Executing [s at default:1] Answer("Gtalk/vinod09scorpion-b254", "") in
new stack

JABBER: asterisk OUTGOING: <iq type='result'
from='parwanoo.cellebrum at gmail.com/Talk5174D819'
to='vinod09scorpion at gmail.com/Talk.v1047DB98CF9' id='599'/>

JABBER: asterisk OUTGOING: <iq type='set'
to='vinod09scorpion at gmail.com/Talk.v1047DB98CF9'
from='parwanoo.cellebrum at gmail.com/Talk5174D819' id='aaaad'><session
xmlns='http://www.google.com/session' type='accept'
initiator='vinod09scorpion at 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 at default:2] Wait("Gtalk/vinod09scorpion-b254", "4") in
new stack

JABBER: asterisk OUTGOING: <iq
from='parwanoo.cellebrum at gmail.com/Talk5174D819'
to='vinod09scorpion at gmail.com/Talk.v1047DB98CF9' type='set'
id='aaaae'><session type='transport-accept' id='4030617892'
initiator='vinod09scorpion at 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 at gmail.com/Talk5174D819'
to='vinod09scorpion at gmail.com/Talk.v1047DB98CF9' type='set'
id='aaaaf'><session type='transport-info' id='4030617892'
initiator='vinod09scorpion at 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 at 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 at gmail.com/Talk5174D819</jid></bind></iq>

JABBER: asterisk OUTGOING: <presence
from='parwanoo.cellebrum at gmail.com/Talk5174D819'><status>&quot;Sweeti&quot;</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 at 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 at default:5] JabberReceive("Gtalk/vinod09scorpion-b254",
"asterisk|NEW") in new stack

JABBER: asterisk INCOMING: <iq
to="parwanoo.cellebrum at gmail.com/Talk5174D819" id="roster"
type="result"><query xmlns="jabber:iq:roster"><item
jid="vinod09scorpion at gmail.com" subscription="both"/></query></iq>

JABBER: asterisk INCOMING:

JABBER: asterisk INCOMING: <presence
from="vinod09scorpion at gmail.com/Talk.v1047DB98CF9"
to="parwanoo.cellebrum at 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



   
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
05-09-08 15:41  russell        Status                   assigned => resolved
05-09-08 15:41  russell        Resolution               reopened => won't fix
======================================================================




More information about the asterisk-bugs mailing list