mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 18:19:30 +00:00
change default setting for autofallthrough
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41475 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -96,6 +96,11 @@ PBX Core:
|
||||
not set, it uses the transferee variable. If not set in any channel, it will
|
||||
attempt to use the last non macro context. If not possible, it will default
|
||||
to the current context.
|
||||
|
||||
* The autofallthrough setting introduced in Asterisk 1.2 now defaults to 'yes';
|
||||
if your dialplan relies on the ability to 'run off the end' of an extension
|
||||
and wait for a new extension without using WaitExten() to accomplish that,
|
||||
you will need set autofallthrough to 'no' in your extensions.conf file.
|
||||
|
||||
Command Line Interface:
|
||||
|
||||
|
@@ -27,13 +27,13 @@ writeprotect=no
|
||||
;
|
||||
; If autofallthrough is set, then if an extension runs out of
|
||||
; things to do, it will terminate the call with BUSY, CONGESTION
|
||||
; or HANGUP depending on Asterisk's best guess (strongly recommended).
|
||||
; or HANGUP depending on Asterisk's best guess. This is the default.
|
||||
;
|
||||
; If autofallthrough is not set, then if an extension runs out of
|
||||
; things to do, asterisk will wait for a new extension to be dialed
|
||||
; things to do, Asterisk will wait for a new extension to be dialed
|
||||
; (this is the original behavior of Asterisk 1.0 and earlier).
|
||||
;
|
||||
autofallthrough=yes
|
||||
;autofallthrough=no
|
||||
;
|
||||
; If clearglobalvars is set, global variables will be cleared
|
||||
; and reparsed on an extensions reload, or Asterisk reload.
|
||||
|
@@ -240,7 +240,7 @@ static int pbx_builtin_importvar(struct ast_channel *, void *);
|
||||
AST_MUTEX_DEFINE_STATIC(globalslock);
|
||||
static struct varshead globals = AST_LIST_HEAD_NOLOCK_INIT_VALUE;
|
||||
|
||||
static int autofallthrough = 0;
|
||||
static int autofallthrough = 1;
|
||||
|
||||
AST_MUTEX_DEFINE_STATIC(maxcalllock);
|
||||
static int countcalls = 0;
|
||||
|
Reference in New Issue
Block a user