diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-09-04 17:33:47 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-09-04 17:33:47 +0000 |
commit | d7c58972e113a7bfbe163c9c0d827bf6e2f39d12 (patch) | |
tree | d580828a590719c32c4bdfe3f6bf759501dbf6c3 | |
parent | 67c5f1bbb8108df470013596c001090edb4b86d8 (diff) |
Merged revisions 216547 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r216547 | tilghman | 2009-09-04 12:31:44 -0500 (Fri, 04 Sep 2009) | 3 lines
Enable turning off the application delimiter warning with the 'dontwarn' option.
Suggested on the -dev list, and implemented in an alternate way by me.
........
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@216549 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | UPGRADE-1.6.txt | 6 | ||||
-rw-r--r-- | main/pbx.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/UPGRADE-1.6.txt b/UPGRADE-1.6.txt index c6ed5404b..9d09ab002 100644 --- a/UPGRADE-1.6.txt +++ b/UPGRADE-1.6.txt @@ -71,6 +71,12 @@ Core: You now only need to quote strings in configuration files if you literally want quotation marks within a string. +* Any applications run that contain the pipe symbol but not a comma symbol will + get a warning printed to the effect that the application delimiter has changed. + However, there are legitimate reasons why this might be useful in certain + situations, so this warning can be turned off with the dontwarn option in + asterisk.conf. + * The logger.conf option 'rotatetimestamp' has been deprecated in favor of 'rotatestrategy'. This new option supports a 'rotate' strategy that more closely mimics the system logger in terms of file rotation. diff --git a/main/pbx.c b/main/pbx.c index a2e3f7a9b..a072c9a41 100644 --- a/main/pbx.c +++ b/main/pbx.c @@ -952,7 +952,7 @@ int pbx_exec(struct ast_channel *c, /*!< Channel */ if (app->module) u = __ast_module_user_add(app->module, c); if (strcasecmp(app->name, "system") && !ast_strlen_zero(data) && - strchr(data, '|') && !strchr(data, ',')) { + strchr(data, '|') && !strchr(data, ',') && !ast_opt_dont_warn) { ast_log(LOG_WARNING, "The application delimiter is now the comma, not " "the pipe. Did you forget to convert your dialplan? (%s(%s))\n", app->name, (char *) data); |