diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-04-27 19:34:48 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-04-27 19:34:48 +0000 |
commit | 3cc822709b22c4011802ffd8b9fb12ea79659d6b (patch) | |
tree | 862ab2acf9b3c0a0d45c003ff67eef8c594e2dde /main/pbx.c | |
parent | 1434971f7b48ebe4fe5678ad19cbe8951648cd69 (diff) |
Don't warn on pipe in the System call.
(closes issue #14979)
Reported by: pj
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@190726 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/pbx.c')
-rw-r--r-- | main/pbx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/main/pbx.c b/main/pbx.c index 1aad50dfb..e3e936ec1 100644 --- a/main/pbx.c +++ b/main/pbx.c @@ -1339,7 +1339,8 @@ int pbx_exec(struct ast_channel *c, /*!< Channel */ c->data = data; if (app->module) u = __ast_module_user_add(app->module, c); - if (!ast_strlen_zero(data) && strchr(data, '|') && !strchr(data, ',')) { + if (strcasecmp(app->name, "system") && !ast_strlen_zero(data) && + strchr(data, '|') && !strchr(data, ',')) { 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); |