aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/pbx.c3
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);