|Summary:||ASTERISK-16813: [regression] DeadAGI sends signal and closes AGI I/O when a caller hangs up.|
|Reporter:||Andy Sackheim (asackheim)||Labels:|
|Date Opened:||2010-10-14 08:49:42||Date Closed:||2011-12-13 12:24:34.000-0600|
|Description:||In previous versions of Asterisk, (for example 220.127.116.11), when a caller would hangup when running a script in deadAGI mode, the result of the AGI call would be -1 and the script could continue to do post call processing on that AGI connection until the code exited.|
A change was made which causes a signal to be sent to the AGI script which kills that process. Even if the kill is turned off by parameter, the I/O Channel from the script back to Asterisk is closed.
For example a STREAM FILE command is running and the user hangs up...
****** ADDITIONAL INFORMATION ******
This was broken by previous revision (From the revision log):
Modified Wed Jul 30 19:03:44 2008 UTC (2 years, 2 months ago) by tilghman
File length: 67965 byte(s)
Diff to previous 116466
launch_netscript sometimes returns -1, which fails to set AGISTATUS. Map
failure to -1, so that AGISTATUS is always set.
(closes issue ASTERISK-12487)
Reported by: smw1218
The "fix" is to undo this Revision and find another way to fix the original issue.
|Comments:||By: Matt Jordan (mjordan) 2011-12-13 12:24:24.978-0600|
Per the Asterisk maintenance timeline page at http://www.asterisk.org/asterisk-versions maintenance (bug) support for the 1.4 and 1.6.x branches has ended. For continued maintenance support please move to the 1.8 branch which is a long term support (LTS) branch. For more information about branch support, please see https://wiki.asterisk.org/wiki/display/AST/Asterisk+Versions.
As DeadAGI is no longer supported in 1.8 and later, this issue will be closed.