aboutsummaryrefslogtreecommitdiffstats
path: root/pbx
diff options
context:
space:
mode:
authormurf <murf@f38db490-d61c-443f-a65b-d21fe96a405b>2006-11-13 17:13:20 +0000
committermurf <murf@f38db490-d61c-443f-a65b-d21fe96a405b>2006-11-13 17:13:20 +0000
commitfc1955b000839a89492bc16fc20328924feb60fc (patch)
treedfab2c2926c6dce1730f9c035b4b190d7c4ed91e /pbx
parent45087bad5ec7c40d41e91b0b1a0feb25e796fed7 (diff)
AEL need not complain about parkedcalls not being found... just confuses users
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47553 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx')
-rw-r--r--pbx/pbx_ael.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pbx/pbx_ael.c b/pbx/pbx_ael.c
index 4d32e456e..199c544ce 100644
--- a/pbx/pbx_ael.c
+++ b/pbx/pbx_ael.c
@@ -812,7 +812,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++;