Summary:ASTERISK-16136: AGISTATUS bug in Asterisk
Reporter:S (siby)Labels:
Date Opened:2010-05-24 12:09:06Date Closed:2010-05-25 09:21:34
Versions:Frequency of
Description:I was just verifying different states of AGISTATUS variable i.e SUCCESS,FAILURE,NOTFOUND and HANGUP.

I have noticed a what looks like a bug in the behaviour for teh case HANGUP.

In this test case, I am trying to hang up the call (from caller side) while it is still executing the AGI script.

When i do this i recive an AGISTATUS of FAILURE when I was expecting HANGUP, as per the 'show application' explination.

here is a simple setup to replicate teh issue,


exten => _X.,1,Answer()
exten => _X.,n,AGI(agi-test.php)
exten => _X.,n,NoOp(AGISTATUS: ${AGISTATUS})
exten => _X.,n,Hangup()
exten => h,1,NoOp(AGISTATUS: ${AGISTATUS})



Any help/advice would be very much appreciated.
Comments:By: Jason Parker (jparker) 2010-05-24 12:09:52

Per the Asterisk maintenance timeline page at http://www.asterisk.org/asterisk-versions maintenance (bug) support for the 1.6.0 and 1.6.1 branches has ended. For continued maintenance support please move to the 1.6.2 branch.

More information on this change can be found in the release announcement: http://www.asterisk.org/node/49924

By: S (siby) 2010-05-25 05:15:17

I upgraded Asterisk to Asterisk and can see the same error message

By: Paul Belanger (pabelanger) 2010-05-25 09:21:33

Please do not open duplicate issues of the same problem.  We can simply update the information in the issue.