dect
/
asterisk
Archived
13
0
Fork 0

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/trunk@216547 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
tilghman 2009-09-04 17:31:44 +00:00
parent 7acc8bcaf3
commit 5b68ca1a7e
2 changed files with 7 additions and 1 deletions

View File

@ -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.

View File

@ -1361,7 +1361,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);