[asterisk-commits] tilghman: trunk r220417 - in /trunk: UPGRADE.txt main/asterisk.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Sep 24 17:53:26 CDT 2009


Author: tilghman
Date: Thu Sep 24 17:53:23 2009
New Revision: 220417

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=220417
Log:
Change the default behavior of Set, AGI, and pbx_realtime to 1.6 behavior by default (starting in 1.6.3).

Modified:
    trunk/UPGRADE.txt
    trunk/main/asterisk.c

Modified: trunk/UPGRADE.txt
URL: http://svnview.digium.com/svn/asterisk/trunk/UPGRADE.txt?view=diff&rev=220417&r1=220416&r2=220417
==============================================================================
--- trunk/UPGRADE.txt (original)
+++ trunk/UPGRADE.txt Thu Sep 24 17:53:23 2009
@@ -50,6 +50,15 @@
 * The app_dahdiscan.c file has been removed, but the dialplan app DAHDIScan still 
   remains. It now exists within app_chanspy.c and retains the exact same 
   functionality as before. 
+
+* The default behavior for Set, AGI, and pbx_realtime has been changed to implement
+  1.6 behavior by default, if there is no [compat] section in asterisk.conf.  In
+  prior versions, the behavior defaulted to 1.4 behavior, to assist in upgrades.
+  Specifically, that means that pbx_realtime and res_agi expect you to use commas
+  to separate arguments in applications, and Set only takes a single pair of
+  a variable name/value.  The old 1.4 behavior may still be obtained by setting
+  app_set, pbx_realtime, and res_agi each to 1.4 in the [compat] section of
+  asterisk.conf.
 
 From 1.6.1 to 1.6.2:
 

Modified: trunk/main/asterisk.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/asterisk.c?view=diff&rev=220417&r1=220416&r2=220417
==============================================================================
--- trunk/main/asterisk.c (original)
+++ trunk/main/asterisk.c Thu Sep 24 17:53:23 2009
@@ -167,7 +167,7 @@
 /*! @{ */
 
 struct ast_flags ast_options = { AST_DEFAULT_OPTIONS };
-struct ast_flags ast_compat = { 7 };
+struct ast_flags ast_compat = { 0 };
 
 int option_verbose;				/*!< Verbosity level */
 int option_debug;				/*!< Debug level */




More information about the asterisk-commits mailing list