[asterisk-bugs] [Asterisk 0017385]: AGISTATUS bug in Asterisk 1.6.1.8

Asterisk Bug Tracker noreply at bugs.digium.com
Mon May 24 12:09:52 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17385 
====================================================================== 
Reported By:                siby
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17385
Category:                   Addons/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.1 - SECURITY ONLY! Test 1.6.2 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-05-24 12:09 CDT
Last Modified:              2010-05-24 12:09 CDT
====================================================================== 
Summary:                    AGISTATUS bug in Asterisk 1.6.1.8
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, 

extensions.conf

[test]
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})

agi-test.php

#!/usr/bin/php
<?php
sleep(7);
?>

Any help/advice would be very much appreciated.

====================================================================== 

---------------------------------------------------------------------- 
 (0122304) qwell (administrator) - 2010-05-24 12:09
 https://issues.asterisk.org/view.php?id=17385#c122304 
---------------------------------------------------------------------- 
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 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-05-24 12:09 qwell          Note Added: 0122304                          
======================================================================




More information about the asterisk-bugs mailing list