diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-04-27 19:36:05 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-04-27 19:36:05 +0000 |
commit | d3d954584ae909a772deb8c2398f99296a42ab68 (patch) | |
tree | 32c868fb3ee8406349aac5ec4673a243051e2231 /main | |
parent | 965fbdf08409ce7ab9b86927542404325691d7e7 (diff) |
Merged revisions 190726 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r190726 | tilghman | 2009-04-27 14:34:48 -0500 (Mon, 27 Apr 2009) | 4 lines
Don't warn on pipe in the System call.
(closes issue #14979)
Reported by: pj
........
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@190727 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main')
-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 49d1ab189..b861fda85 100644 --- a/main/pbx.c +++ b/main/pbx.c @@ -939,7 +939,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); |