[svn-commits] tilghman: trunk r190726 - /trunk/main/pbx.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Apr 27 14:34:55 CDT 2009


Author: tilghman
Date: Mon Apr 27 14:34:48 2009
New Revision: 190726

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=190726
Log:
Don't warn on pipe in the System call.
(closes issue #14979)
 Reported by: pj

Modified:
    trunk/main/pbx.c

Modified: trunk/main/pbx.c
URL: http://svn.digium.com/svn-view/asterisk/trunk/main/pbx.c?view=diff&rev=190726&r1=190725&r2=190726
==============================================================================
--- trunk/main/pbx.c (original)
+++ trunk/main/pbx.c Mon Apr 27 14:34:48 2009
@@ -1339,7 +1339,8 @@
 	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);




More information about the svn-commits mailing list