diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2009-04-27 19:34:48 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2009-04-27 19:34:48 +0000 |
commit | b88343b248521e6b6308c7964aea72402f96a01d (patch) | |
tree | 862ab2acf9b3c0a0d45c003ff67eef8c594e2dde /main/pbx.c | |
parent | a9657a86bff4b20caa22882bb9865a120b791b24 (diff) |
Don't warn on pipe in the System call.
(closes issue #14979)
Reported by: pj
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@190726 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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); |