[asterisk-commits] murf: trunk r47554 - /trunk/pbx/pbx_ael.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon Nov 13 10:32:17 MST 2006


Author: murf
Date: Mon Nov 13 11:32:16 2006
New Revision: 47554

URL: http://svn.digium.com/view/asterisk?view=rev&rev=47554
Log:
AEL need not complain about parkedcalls not being found... just confuses users

Modified:
    trunk/pbx/pbx_ael.c

Modified: trunk/pbx/pbx_ael.c
URL: http://svn.digium.com/view/asterisk/trunk/pbx/pbx_ael.c?view=diff&rev=47554&r1=47553&r2=47554
==============================================================================
--- trunk/pbx/pbx_ael.c (original)
+++ trunk/pbx/pbx_ael.c Mon Nov 13 11:32:16 2006
@@ -859,7 +859,7 @@
 		char *incl_context = p4->u1.str;
 		/* find a matching context name */
 		struct pval *that_other_context = find_context(incl_context);
-		if (!that_other_context) {
+		if (!that_other_context&&strcmp(incl_context,"parkedcalls")!=0) {
 			ast_log(LOG_WARNING, "Warning: file %s, line %d-%d: The included context '%s' cannot be found.\n",
 					includes->filename, includes->startline, includes->endline, incl_context);
 			warns++;



More information about the asterisk-commits mailing list