[Home]

Summary:ASTERISK-07928: channel hangs on FastAGI in Asterisk 1.4
Reporter:Matt Florell (mflorell)Labels:
Date Opened:2006-10-13 10:27:50Date Closed:2006-10-26 09:38:01
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Resources/res_agi
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Using a FastAGI server that works perfectly in Asterisk 1.2.X tree, in 1.4 locks each channel that runs through it even though it reports that it completes with status 0

   -- Executing [917274514920@default:1] AGI("IAX2/261iax-12", "agi://127.0.0.1:4577/call_log") in new stack
AGI Tx >> agi_network_script: call_log
AGI Tx >> agi_request: agi://127.0.0.1:4577/call_log
AGI Tx >> agi_channel: IAX2/261iax-12
AGI Tx >> agi_language: en
AGI Tx >> agi_type: IAX2
AGI Tx >> agi_uniqueid: 1160752579.9
AGI Tx >> agi_callerid: 261
AGI Tx >> agi_calleridname: 261iax
AGI Tx >> agi_callingpres: 0
AGI Tx >> agi_callingani2: 0
AGI Tx >> agi_callington: 0
AGI Tx >> agi_callingtns: 0
AGI Tx >> agi_dnid: 917275551212
AGI Tx >> agi_rdnis: unknown
AGI Tx >> agi_context: default
AGI Tx >> agi_extension: 917275551212
AGI Tx >> agi_priority: 1
AGI Tx >> agi_enhanced: 0.0
AGI Tx >> agi_accountcode: 261iax
AGI Tx >>
   -- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0


And that's it. the channel is locked there:

show channels verbose
Channel              Context              Extension        Prio State   Application  Data                      CallerID        Duration Accountcode BridgedTo
IAX2/261iax-12       default              917275551212        1 Ring    AGI          agi://127.0.0.1:4577/call 261             00:05:51 261iax      (None)

The FastAGI script does not do any channel redirection like CONTEXT, PRIORITY or anything else, it is just a logger.



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

Might be related to this bug:
http://bugs.digium.com/view.php?id=7628

Also, bug exists on 1.4 SVN:
Asterisk SVN-branch-1.4-r45026
Comments:By: Serge Vecher (serge-v) 2006-10-26 09:38:01

Looks like this was fixed by markster in 1.4 r46142, and trunk r46141. Thanks!