[asterisk-dev] [Code Review] Add AGIEXITONHANGUP variable.
rmudgett
reviewboard at asterisk.org
Mon Feb 13 11:43:06 CST 2012
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/1734/#review5485
-----------------------------------------------------------
/trunk/res/res_agi.c
<https://reviewboard.asterisk.org/r/1734/#comment10103>
What mmichelson said could also be applied to this line.
/trunk/res/res_agi.c
<https://reviewboard.asterisk.org/r/1734/#comment10102>
Locate the exit_on_hangup check here.
/trunk/res/res_agi.c
<https://reviewboard.asterisk.org/r/1734/#comment10101>
A better place for this check would be right after sending the SIGHUP signal or HANGUP message to the AGI script. Located above.
- rmudgett
On Feb. 12, 2012, 1:05 p.m., Russell Bryant wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/1734/
> -----------------------------------------------------------
>
> (Updated Feb. 12, 2012, 1:05 p.m.)
>
>
> Review request for Asterisk Developers.
>
>
> Summary
> -------
>
> This patch adds a variable AGIEXITONHANGUP for res_agi. If this variable is set to "yes" on a channel, AGI() will exit immediately once a channel hangup has been detected. This was the behavior of AGI() in Asterisk 1.4 and earlier and is still desired by some people.
>
>
> Diffs
> -----
>
> /trunk/CHANGES 354937
> /trunk/res/res_agi.c 354937
>
> Diff: https://reviewboard.asterisk.org/r/1734/diff
>
>
> Testing
> -------
>
> Wrote a simple AGI script that executes HANGUP and observed differences in behavior between Asterisk versions and then with/without this variable enabled.
>
>
> Thanks,
>
> Russell
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20120213/41d211de/attachment-0001.htm>
More information about the asterisk-dev
mailing list