projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9657a8
)
Don't warn on pipe in the System call.
author
Tilghman Lesher
<tilghman@meg.abyt.es>
Mon, 27 Apr 2009 19:34:48 +0000
(19:34 +0000)
committer
Tilghman Lesher
<tilghman@meg.abyt.es>
Mon, 27 Apr 2009 19:34:48 +0000
(19:34 +0000)
(closes issue #14979)
Reported by: pj
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@190726
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
main/pbx.c
patch
|
blob
|
history
diff --git
a/main/pbx.c
b/main/pbx.c
index
1aad50d
..
e3e936e
100644
(file)
--- 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);