From: Steve Murphy Date: Mon, 13 Nov 2006 17:32:16 +0000 (+0000) Subject: AEL need not complain about parkedcalls not being found... just confuses users X-Git-Tag: 1.6.0-beta1~3^2~4011 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4115ea029df2c101c65481e86bd6fdbe3cb0a250;p=thirdparty%2Fasterisk.git AEL need not complain about parkedcalls not being found... just confuses users git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47554 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/pbx/pbx_ael.c b/pbx/pbx_ael.c index 3796713cf2..4e22dcd78e 100644 --- a/pbx/pbx_ael.c +++ b/pbx/pbx_ael.c @@ -859,7 +859,7 @@ static void check_includes(pval *includes) 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++;