Summary:ASTERISK-09966: res_agi behaviour change in 1.2 & 1.4
Reporter:Donny Kavanagh (donnyk)Labels:
Date Opened:2007-07-26 23:05:48Date Closed:2007-07-30 13:35:28
Versions:Frequency of
Description:This effects i believe 1.2.20+ and 1.4.8+

While this is not the 'accepted behavior' deadagi has been used alot to run agi's on a live channel when a user does not want the script to exit when a hangup has been detected.  This was used with the popular package a2billing
(http://trac.asterisk2billing.org) and as a result i've seen alot of complaints in #asterisk about it.

When i finally had time to follow up on the problem it turns out to be a change in handle_exec within res_agi which was due to bug ASTERISK-9732.


This issue has already been solved in trunk as res_agi will no longer close the control connection when it sends a sighup.  Should we backport that fix? or just revert the original behavior of returning whatever the application returns.
Comments:By: Tilghman Lesher (tilghman) 2007-07-30 13:28:48

Fixed in 77782,77783,77784.

By: Donny Kavanagh (donnyk) 2007-07-30 13:35:28

Behavior reverted.