[Home]

Summary:ASTERISK-12992: chan_gtalk and app_jack don't work together when originating a call from the CLI
Reporter:phsultan (phsultan)Labels:
Date Opened:2008-10-30 10:17:19Date Closed:2011-07-26 15:04:47
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Channels/chan_gtalk
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:For some reason, the following command does not work :
CLI> originate gtalk/gtalk_account/p*******@gmail.com application Jack i(system:playback_1)o(system:capture_1)

The Googletalk account is actually called, but the call hangs up as soon as it's been accepted by the Googletalk buddy.

j**********@googlemail.com => Asterisk's Gtalk account (gtalk_account)
p**********@gmail.com      => the Gtalk buddy to call

****** ADDITIONAL INFORMATION ******

JABBER: gtalk_account INCOMING: <iq to="j**********@googlemail.com/Talk2A00094E" type="set" id="440" from="p**********@gmail.com/Talk.v1040702EDB6"><session type="accept" id="5edc07e774db31bb" initiator="j**********@googlemail.com/Talk2A00094E" xmlns="http://www.google.com/session"><description xml:lang="en" xmlns="http://www.google.com/session/phone"><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="110" name="speex" clockrate="8000" bitrate="11000"/><payload-type id="106" name="telephone-event" clockrate="8000"/></description></session></iq>

[Oct 28 16:20:33] DEBUG[18581] res_jabber.c: JABBER: Handling paktype IQ

[Oct 28 16:20:33] DEBUG[18581] chan_gtalk.c: The client is guest

[Oct 28 16:20:33] VERBOSE[18581] logger.c: [Oct 28 16:20:33]

JABBER: gtalk_account OUTGOING: <iq type='result' from='j**********@googlemail.com/Talk2A00094E' to='p**********@gmail.com/Talk.v1040702EDB6' id='440'/>

[Oct 28 16:20:33] VERBOSE[18581] logger.c: [Oct 28 16:20:33]     -- Launching Jack(i(system:playback_1)o(system:capture_1)) on Gtalk/p**********@gmail.com-18d4

[Oct 28 16:20:33] DEBUG[18581] channel.c: Hanging up channel 'Gtalk/p**********@gmail.com-18d4'

[Oct 28 16:20:33] VERBOSE[18581] logger.c: [Oct 28 16:20:33]

JABBER: gtalk_account OUTGOING: <iq type='set' from='j**********@googlemail.com/Talk2A00094E' to='p**********@gmail.com/Talk.v1040702EDB6' id='aaaah'><session type='terminate' id='5edc07e774db31bb' initiator='j**********@googlemail.com/Talk2A00094E' xmlns='http://www.google.com/session'/></iq>

[Oct 28 16:20:33] DEBUG[18581] pbx.c: Function result is '2008-10-28 16:20:26'

[Oct 28 16:20:33] DEBUG[18581] pbx.c: Function result is 'p**********@gmail.com/Talk.v1040702EDB6'

[Oct 28 16:20:33] DEBUG[18581] pbx.c: Function result is 'google-in'

[Oct 28 16:20:33] DEBUG[18581] pbx.c: Function result is 'Gtalk/p**********@gmail.com-18d4'

[Oct 28 16:20:33] DEBUG[18581] pbx.c: Function result is ''

[Oct 28 16:20:33] DEBUG[18581] pbx.c: Function result is 'JACK'

[Oct 28 16:20:33] DEBUG[18581] pbx.c: Function result is 'i(system:playback_1)o(system:capture_1)'

[Oct 28 16:20:33] DEBUG[18581] pbx.c: Function result is '7'

[Oct 28 16:20:33] DEBUG[18581] pbx.c: Function result is '0'

[Oct 28 16:20:33] DEBUG[18581] pbx.c: Function result is 'ANSWERED'

[Oct 28 16:20:33] DEBUG[18581] pbx.c: Function result is 'DOCUMENTATION'

[Oct 28 16:20:33] DEBUG[18581] pbx.c: Function result is ''

[Oct 28 16:20:33] DEBUG[18581] pbx.c: Function result is 'britney.spears.net-1225207226.0'

[Oct 28 16:20:33] DEBUG[18581] pbx.c: Function result is ''

[Oct 28 16:20:33] DEBUG[18581] pbx.c: Function result is ''

[Oct 28 16:20:33] DEBUG[18581] cdr_sqlite3_custom.c: About to log: INSERT INTO cdr (calldate,clid,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,accountcode,uniqueid,userfield,test) VALUES ('2008-10-28 16:20:26','p**********@gmail.com/Talk.v1040702EDB6','google-in','Gtalk/p**********@gmail.com-18d4','','JACK','i(system:playback_1)o(system:capture_1)','7','0','ANSWERED','DOCUMENTATION','','britney.spears.net-1225207226.0','','')

[Oct 28 16:20:33] VERBOSE[18581] logger.c: [Oct 28 16:20:33]

JABBER: gtalk_account INCOMING: <iq to="j**********@googlemail.com/Talk2A00094E" id="aaaah" type="result" from="p**********@gmail.com/Talk.v1040702EDB6"/>

[Oct 28 16:20:33] DEBUG[18581] res_jabber.c: JABBER: Handling paktype IQ

Comments:By: Leif Madsen (lmadsen) 2008-12-22 11:33:11.000-0600

Reassigned to russell to see if he can take this over. If not, then he will reassign somewhere else :)

By: Russell Bryant (russell) 2011-07-26 15:04:40.776-0500

Per the Asterisk maintenance timeline page at http://www.asterisk.org/asterisk-versions maintenance (bug) support for the 1.4 and 1.6.x branches has ended. For continued maintenance support please move to the 1.8 branch which is a long term support (LTS) branch. For more information about branch support, please see https://wiki.asterisk.org/wiki/display/AST/Asterisk+Versions

If this is still an issue, please open a new issue so it can be re-triaged appropriately. Thanks!