Review Board 1.7.16


Add AGIEXITONHANGUP variable.

Review Request #1734 - Created Feb. 12, 2012 and submitted

Russell Bryant
trunk
Reviewers
asterisk-dev
Asterisk
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.
Wrote a simple AGI script that executes HANGUP and observed differences in behavior between Asterisk versions and then with/without this variable enabled.

Diff revision 1 (Latest)

  1. /trunk/CHANGES: Loading...
  2. /trunk/res/res_agi.c: Loading...
/trunk/CHANGES
Revision 354937 New Change
[20] 185 lines
[+20]
186
   of Asterisk servers to both Message Waiting Indication (MWI) and/or
186
   of Asterisk servers to both Message Waiting Indication (MWI) and/or
187
   Device State (presence) information.  This module is very similar to, and
187
   Device State (presence) information.  This module is very similar to, and
188
   is a replacement for the res_ais module that was in previous releases of
188
   is a replacement for the res_ais module that was in previous releases of
189
   Asterisk.
189
   Asterisk.
190

    
   
190

   

    
   
191
AGI

    
   
192
---

    
   
193
 * A new channel variable, AGIEXITONHANGUP, has been added which allows

    
   
194
   Asterisk to behave like it did in Asterisk 1.4 and earlier where the

    
   
195
   AGI application would exit immediately after a channel hangup is detected.

    
   
196

   
191
------------------------------------------------------------------------------
197
------------------------------------------------------------------------------
192
--- Functionality changes from Asterisk 1.8 to Asterisk 10 -------------------
198
--- Functionality changes from Asterisk 1.8 to Asterisk 10 -------------------
193
------------------------------------------------------------------------------
199
------------------------------------------------------------------------------
194

    
   
200

   
195
Text Messaging
201
Text Messaging
[+20] [20] 1938 lines
/trunk/res/res_agi.c
Revision 354937 New Change
 
  1. /trunk/CHANGES: Loading...
  2. /trunk/res/res_agi.c: Loading...

https://reviewboard.asterisk.org/ runs on a server provided by Digium, Inc. and uses bandwidth donated to the open source Asterisk community by API Digital Communications in Huntsville, AL USA.
Please report problems with this site to asteriskteam@digium.com.