[asterisk-dev] [Code Review]: Add AGIEXITONHANGUP variable.
Russell Bryant
reviewboard at asterisk.org
Mon Feb 13 18:42:09 CST 2012
> On Feb. 13, 2012, 11:19 a.m., Mark Michelson wrote:
> > /trunk/res/res_agi.c, line 3490
> > <https://reviewboard.asterisk.org/r/1734/diff/1/?file=24155#file24155line3490>
> >
> > You can just call ast_true() here. ast_true() calls ast_strlen_zero() itself and will return 0 if ast_strlen_zero() evaluates true.
Done
- Russell
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/1734/#review5484
-----------------------------------------------------------
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/20120214/1c3fd3d5/attachment.htm>
More information about the asterisk-dev
mailing list