mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-30 02:26:23 +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:
@@ -97,6 +97,11 @@ PBX Core:
|
|||||||
attempt to use the last non macro context. If not possible, it will default
|
attempt to use the last non macro context. If not possible, it will default
|
||||||
to the current context.
|
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:
|
Command Line Interface:
|
||||||
|
|
||||||
* 'show channels concise', designed to be used by applications that will parse
|
* 'show channels concise', designed to be used by applications that will parse
|
||||||
|
@@ -27,13 +27,13 @@ writeprotect=no
|
|||||||
;
|
;
|
||||||
; If autofallthrough is set, then if an extension runs out of
|
; If autofallthrough is set, then if an extension runs out of
|
||||||
; things to do, it will terminate the call with BUSY, CONGESTION
|
; 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
|
; 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).
|
; (this is the original behavior of Asterisk 1.0 and earlier).
|
||||||
;
|
;
|
||||||
autofallthrough=yes
|
;autofallthrough=no
|
||||||
;
|
;
|
||||||
; If clearglobalvars is set, global variables will be cleared
|
; If clearglobalvars is set, global variables will be cleared
|
||||||
; and reparsed on an extensions reload, or Asterisk reload.
|
; 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);
|
AST_MUTEX_DEFINE_STATIC(globalslock);
|
||||||
static struct varshead globals = AST_LIST_HEAD_NOLOCK_INIT_VALUE;
|
static struct varshead globals = AST_LIST_HEAD_NOLOCK_INIT_VALUE;
|
||||||
|
|
||||||
static int autofallthrough = 0;
|
static int autofallthrough = 1;
|
||||||
|
|
||||||
AST_MUTEX_DEFINE_STATIC(maxcalllock);
|
AST_MUTEX_DEFINE_STATIC(maxcalllock);
|
||||||
static int countcalls = 0;
|
static int countcalls = 0;
|
||||||
|
Reference in New Issue
Block a user