[svn-commits] kpfleming: trunk r41475 - in /trunk: ./ configs/ main/

svn-commits at lists.digium.com svn-commits at lists.digium.com
Wed Aug 30 14:44:06 MST 2006


Author: kpfleming
Date: Wed Aug 30 16:44:05 2006
New Revision: 41475

URL: http://svn.digium.com/view/asterisk?rev=41475&view=rev
Log:
change default setting for autofallthrough

Modified:
    trunk/UPGRADE.txt
    trunk/configs/extensions.conf.sample
    trunk/main/pbx.c

Modified: trunk/UPGRADE.txt
URL: http://svn.digium.com/view/asterisk/trunk/UPGRADE.txt?rev=41475&r1=41474&r2=41475&view=diff
==============================================================================
--- trunk/UPGRADE.txt (original)
+++ trunk/UPGRADE.txt Wed Aug 30 16:44:05 2006
@@ -96,6 +96,11 @@
   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:
 

Modified: trunk/configs/extensions.conf.sample
URL: http://svn.digium.com/view/asterisk/trunk/configs/extensions.conf.sample?rev=41475&r1=41474&r2=41475&view=diff
==============================================================================
--- trunk/configs/extensions.conf.sample (original)
+++ trunk/configs/extensions.conf.sample Wed Aug 30 16:44:05 2006
@@ -27,13 +27,13 @@
 ;
 ; 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.

Modified: trunk/main/pbx.c
URL: http://svn.digium.com/view/asterisk/trunk/main/pbx.c?rev=41475&r1=41474&r2=41475&view=diff
==============================================================================
--- trunk/main/pbx.c (original)
+++ trunk/main/pbx.c Wed Aug 30 16:44:05 2006
@@ -240,7 +240,7 @@
 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;



More information about the svn-commits mailing list