[Home]

Summary:ASTERISK-14991: AGI not destroyed when got hangup while Get Data or Get Option command
Reporter:Arkadiusz Malka (yarns)Labels:
Date Opened:2009-10-15 01:46:39Date Closed:2011-06-07 14:00:26
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Resources/res_agi
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:One of my context calls FastAGI, when its execuing command Get Data or Get Option and got hangup from callee its not destroy agi channel.

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

AGI Tx >> agi_network: yes
AGI Tx >> agi_network_script: customivr
<IAX2/gsm1-595>AGI Tx >> agi_request: agi://192.168.1.215/customivr
<IAX2/gsm1-595>AGI Tx >> agi_channel: IAX2/gsm1-595
<IAX2/gsm1-595>AGI Tx >> agi_language: en
<IAX2/gsm1-595>AGI Tx >> agi_type: IAX2
<IAX2/gsm1-595>AGI Tx >> agi_uniqueid: 1255588520.256
<IAX2/gsm1-595>AGI Tx >> agi_version: 1.6.1.6
<IAX2/gsm1-595>AGI Tx >> agi_callerid: 2601
<IAX2/gsm1-595>AGI Tx >> agi_calleridname: unknown
<IAX2/gsm1-595>AGI Tx >> agi_callingpres: 0
<IAX2/gsm1-595>AGI Tx >> agi_callingani2: 0
<IAX2/gsm1-595>AGI Tx >> agi_callington: 0
<IAX2/gsm1-595>AGI Tx >> agi_callingtns: 0
<IAX2/gsm1-595>AGI Tx >> agi_dnid: unknown
<IAX2/gsm1-595>AGI Tx >> agi_rdnis: unknown
<IAX2/gsm1-595>AGI Tx >> agi_context: DialOut
<IAX2/gsm1-595>AGI Tx >> agi_extension: s
<IAX2/gsm1-595>AGI Tx >> agi_priority: 1
<IAX2/gsm1-595>AGI Tx >> agi_enhanced: 0.0
<IAX2/gsm1-595>AGI Tx >> agi_accountcode:
<IAX2/gsm1-595>AGI Tx >> agi_threadid: 1136396608
<IAX2/gsm1-595>AGI Tx >>
<IAX2/gsm1-595>AGI Rx << ANSWER
<IAX2/gsm1-595>AGI Tx >> 200 result=0
<IAX2/gsm1-595>AGI Rx << GET FULL VARIABLE "${wybrany}"
<IAX2/gsm1-595>AGI Tx >> 200 result=1 (693697988)
<IAX2/gsm1-595>AGI Rx << GET FULL VARIABLE "${wybrany}"
<IAX2/gsm1-595>AGI Tx >> 200 result=1 (693697988)
<IAX2/gsm1-595>AGI Rx << STREAM FILE "silence/1" "#"
<IAX2/gsm1-595>AGI Tx >> 200 result=0 endpos=8000
<IAX2/gsm1-595>AGI Rx << STREAM FILE "Plktl/Plktlankietastart" "*#"
<IAX2/gsm1-595>AGI Tx >> 200 result=0 endpos=195285
<IAX2/gsm1-595>AGI Rx << GET DATA "Plktl/Plktlankietapyt1" 15000 4
[Oct 15 08:36:10] WARNING[4723]: chan_iax2.c:1265 iax2_sched_replace: Unable to cancel schedule ID 19365.  This is probably a bug (chan_iax2.c: iax2_sched_replace, line 1265).
<IAX2/gsm1-595>AGI Tx >> 200 result=40
<IAX2/gsm1-595>AGI Rx << STREAM FILE "silence/1" "#"
<IAX2/gsm1-595>AGI Tx >> 200 result=0 endpos=8000
<IAX2/gsm1-595>AGI Rx << GET OPTION "Plktl/Plktlankietapyt2" "#"
<IAX2/gsm1-595>AGI Tx >> 200 result=0 endpos=97501
<IAX2/gsm1-595>AGI Rx << STREAM FILE "silence/1" "#"
<IAX2/gsm1-595>AGI Tx >> 511 Command Not Permitted on a dead channel
<IAX2/gsm1-595>AGI Rx << STREAM FILE "opcjaniedostepna" "#"
<IAX2/gsm1-595>AGI Tx >> 511 Command Not Permitted on a dead channel
<IAX2/gsm1-595>AGI Rx << STREAM FILE "silence/1" "#"
<IAX2/gsm1-595>AGI Tx >> 511 Command Not Permitted on a dead channel
<IAX2/gsm1-595>AGI Rx << GET OPTION "Plktl/Plktlankietapyt2" "#"
<IAX2/gsm1-595>AGI Tx >> 511 Command Not Permitted on a dead channel
Comments:By: Arkadiusz Malka (yarns) 2009-10-15 14:40:50

Tested on other asterisk versions:
- 1.4.26.2 - works fine
- 1.6.0.15 - broken

By: Leif Madsen (lmadsen) 2009-10-26 08:49:56

What is the earliest version in one of the branches where this issue presents itself?

i.e. you say 1.6.1.6 has the issue; which number does it first present itself, where 'x' is the version in the 1.6.1.x series.

Thanks!

By: Arkadiusz Malka (yarns) 2009-10-27 04:58:45

Will make some test today or tomorrow and give you answer as fast as i can.

By: Leif Madsen (lmadsen) 2009-12-21 09:38:12.000-0600

Closed due to lack of response from reporter. Please reopen if you're able to provide additional information. Thanks!