summaryrefslogtreecommitdiff
path: root/main/pbx.c
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2009-09-04 17:31:44 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2009-09-04 17:31:44 +0000
commitad69df830d5454f971ba7c7ba1c477066731d4bd (patch)
tree0e753580b8b3d9da9894f48f67f1713eb4091a30 /main/pbx.c
parent7348bacf0550d8aed3e3d1dfc671d5613ecc1a68 (diff)
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: https://origsvn.digium.com/svn/asterisk/trunk@216547 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/pbx.c')
-rw-r--r--main/pbx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/pbx.c b/main/pbx.c
index 9aa3b31db..d8b7ff33c 100644
--- a/main/pbx.c
+++ b/main/pbx.c
@@ -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);