[Home]

Summary:ASTERISK-22569: JABBER_RECEIVE function crash Asterisk
Reporter:Andrea Sannucci (voztovoice)Labels:
Date Opened:2013-09-21 11:26:36Date Closed:2017-10-11 13:31:50
Priority:MajorRegression?Yes
Status:Closed/CompleteComponents:Resources/res_jabber
Versions:1.8.23.1 Frequency of
Occurrence
Constant
Related
Issues:
Environment:CentOS 6.4 32bitAttachments:( 0) backtrace.txt
Description:Using this block of dialplan:

[google-in]
exten => s,1,NoOp( Call from Gtalk )
same => n,SendText(Hola,Como te llamas?)
same => n,Set(nombre=${JABBER_RECEIVE(campus.voztovoice,${CALLERID(name)},20)})
same => n,SendText(Hola ${nombre}, bienvenido en VozToVoice)
same => n,Set(CALLERID(name)=${nombre})
same => n,Wait(2)
same => n,SendText(Espera un momento mientras te comunicamos con un operador)
same => n,Dial(SIP/1000,30)
same => n,Hangup()

When a GTalk user call Gtalk user configurated on Asterisk, the PBX crash.
Comments:By: Andrea Sannucci (voztovoice) 2013-09-21 11:29:32.057-0500

BackTrace

By: Matt Jordan (mjordan) 2013-09-26 14:41:53.681-0500

Thank-you for reporting this issue.

Please note that {{chan_gtalk}}, {{chan_jingle}}, and {{res_jabber}} are extended support modules in Asterisk 1.8; as such, development support for them comes from the Asterisk Development community. Response times for your issue may reflect that.

The modules you are using here in Asterisk 1.8 are deprecated in Asterisk 11. Upgrading to Asterisk 11 will allow you to take advantage of {{chan_motif}} and {{res_xmpp}}, which are core supported modules. If you can reproduce this in Asterisk 11, please attach a backtrace from that version of Asterisk as well.

By: Andrea Sannucci (voztovoice) 2013-09-27 08:57:15.921-0500

Thank you Matt.

I can wait, don't worry.

Regards

By: Corey Farrell (coreyfarrell) 2017-10-11 13:31:50.333-0500

res_jabber no longer exists in any currently supported version of Asterisk. If you haven't already you should switch to res_xmpp / chan_motif.  On quick scan of the source it does not look like res_xmpp has this issue.  If I'm wrong please open a new ticket.