[asterisk-commits] murf: branch 1.4 r47553 - /branches/1.4/pbx/pbx_ael.c

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


Author: murf
Date: Mon Nov 13 11:13:20 2006
New Revision: 47553

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

Modified:
    branches/1.4/pbx/pbx_ael.c

Modified: branches/1.4/pbx/pbx_ael.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/pbx/pbx_ael.c?view=diff&rev=47553&r1=47552&r2=47553
==============================================================================
--- branches/1.4/pbx/pbx_ael.c (original)
+++ branches/1.4/pbx/pbx_ael.c Mon Nov 13 11:13:20 2006
@@ -812,7 +812,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