res_agi: Add AGIEXITONHANGUP variable.
authorRussell Bryant <russell@russellbryant.com>
Tue, 14 Feb 2012 00:43:50 +0000 (00:43 +0000)
committerRussell Bryant <russell@russellbryant.com>
Tue, 14 Feb 2012 00:43:50 +0000 (00:43 +0000)
commit33322e38f0a0a0fa6f6d9be8500a6135a6a5715b
treedf77c0cca9e8c1a5aa33582c515291bcea33ca95
parentb978e785ddaa2179b467051e8b70451ee5e42ec5
res_agi: Add AGIEXITONHANGUP variable.

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.

Review: https://reviewboard.asterisk.org/r/1734/

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@355102 65c4cc65-6c06-0410-ace0-fbb531ad65f3
CHANGES
res/res_agi.c