[asterisk-bugs] [Asterisk 0017393]: [patch] AGISTATUS bug in Asterisk 1.6.2.7
Asterisk Bug Tracker
noreply at bugs.digium.com
Mon Sep 20 06:50:22 CDT 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=17393
======================================================================
Reported By: siby
Assigned To: tilghman
======================================================================
Project: Asterisk
Issue ID: 17393
Category: Resources/res_agi
Reproducibility: always
Severity: minor
Priority: normal
Status: confirmed
Target Version: 1.6.2.15
Asterisk Version: SVN
JIRA: SWP-1529
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-25 05:18 CDT
Last Modified: 2010-09-20 06:50 CDT
======================================================================
Summary: [patch] AGISTATUS bug in Asterisk 1.6.2.7
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 the 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.
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
duplicate of 0017385 AGISTATUS bug in Asterisk 1.6.1.8
======================================================================
----------------------------------------------------------------------
(0127125) Delvar (reporter) - 2010-09-20 06:50
https://issues.asterisk.org/view.php?id=17393#c127125
----------------------------------------------------------------------
im not sure it would have to be tested, the code was added for a reason
probably something to do with AGI/DeadAGI integration, removing it may
break something else, i don't really have time to test it properly at the
moment but the fix above seems to work well for me so im good :)
Issue History
Date Modified Username Field Change
======================================================================
2010-09-20 06:50 Delvar Note Added: 0127125
======================================================================
More information about the asterisk-bugs
mailing list