[asterisk-bugs] [Asterisk 0013199]: Channel var AGISTATUS is not set for many AGI/DeadAGI failure conditions

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Oct 14 16:28:39 CDT 2010


The following issue has been set as RELATED TO issue 0018143. 
====================================================================== 
https://issues.asterisk.org/view.php?id=13199 
====================================================================== 
Reported By:                smw1218
Assigned To:                svnbot
====================================================================== 
Project:                    Asterisk
Issue ID:                   13199
Category:                   Resources/res_agi
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           1.6.0-beta9 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 134414 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2008-07-30 13:16 CDT
Last Modified:              2010-10-14 16:28 CDT
====================================================================== 
Summary:                    Channel var AGISTATUS is not set for many
AGI/DeadAGI failure conditions
Description: 
Under any network failure for FastAGI (and possibly many other failure
conditions) AGI does not set the AGISTATUS channel variable.  This make
dial plan recovery code much more difficult. This is trivial to reproduce:

exten => 150,1,Answer()
exten => 150,n,AGI(agi://dummyhost/dummyapp/dummy)
exten => 150,n,NoOp(${AGISTATUS})
exten => 150,n,HangUp()

Since "dummyhost" does not exist, AGI will fail to connect but not set the
AGISTATUS to "FAILURE"


======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0018143 DeadAGI sends signal and closes AGI I/O...
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-10-14 16:28 lmadsen        Relationship added       related to 0018143  
======================================================================




More information about the asterisk-bugs mailing list