diff --git a/UPGRADE.txt b/UPGRADE.txt index 13abcd7a2c..c039945a83 100644 --- a/UPGRADE.txt +++ b/UPGRADE.txt @@ -51,6 +51,15 @@ From 1.6.2 to 1.6.3: 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: * The 'canreinvite' option support by the SIP, MGCP and Skinny channel drivers diff --git a/main/asterisk.c b/main/asterisk.c index dbf4793144..53e785803f 100644 --- a/main/asterisk.c +++ b/main/asterisk.c @@ -167,7 +167,7 @@ int daemon(int, int); /* defined in libresolv of all places */ /*! @{ */ 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 */