[asterisk-dev] [Code Review] AGI script not being notified of call hangup.
Russell Bryant
reviewboard at asterisk.org
Tue Jun 14 11:49:57 CDT 2011
> On 2011-06-14 06:58:15, astmiv wrote:
> > Has been running for 2 months without a problem on a production system.
Thanks for the update. The patch went in a while back.
- Russell
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/1165/#review3715
-----------------------------------------------------------
On 2011-04-08 12:56:30, rmudgett wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/1165/
> -----------------------------------------------------------
>
> (Updated 2011-04-08 12:56:30)
>
>
> Review request for Asterisk Developers and Russell Bryant.
>
>
> Summary
> -------
>
> If the call that the dialplan started an AGI script for is hungup while
> the AGI script is in the middle of a command then the AGI script is not
> notified of the hangup. There are many AGI Exec commands that this can
> happen with. The reported applications have been: Background, Wait, Read,
> and Dial. Also the AGI Get Data command.
>
> I have restored the AGI script's ability to return the AGI_RESULT_HANGUP
> value in run_agi(). It previously only could return AGI_RESULT_SUCCESS or
> AGI_RESULT_FAILURE after the DeadAGI and AGI applications were merged.
>
>
> This addresses bugs 17954, 18492 and 18935.
> https://issues.asterisk.org/jira/browse/17954
> https://issues.asterisk.org/jira/browse/18492
> https://issues.asterisk.org/jira/browse/18935
>
>
> Diffs
> -----
>
> /branches/1.8/main/channel.c 313111
> /branches/1.8/res/res_agi.c 313111
>
> Diff: https://reviewboard.asterisk.org/r/1165/diff
>
>
> Testing
> -------
>
> I have setup an AGI script to:
> exec Background tt-monkeys
> exec Dial SIP phone
>
> The AGI script stops running when expected with the patch and proceeds to
> dial the SIP phone without it.
>
>
> Thanks,
>
> rmudgett
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20110614/e7c831b0/attachment.htm>
More information about the asterisk-dev
mailing list