[asterisk-dev] [Code Review] Add AGIEXITONHANGUP variable.

Russell Bryant reviewboard at asterisk.org
Sun Feb 12 13:05:39 CST 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/1734/
-----------------------------------------------------------

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/20120212/d191e1d7/attachment.htm>


More information about the asterisk-dev mailing list