From b88343b248521e6b6308c7964aea72402f96a01d Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Mon, 27 Apr 2009 19:34:48 +0000 Subject: [PATCH] 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 --- main/pbx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main/pbx.c b/main/pbx.c index 1aad50dfb0..e3e936ec15 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);