summaryrefslogtreecommitdiff
path: root/pbx/pbx_ael.c
diff options
context:
space:
mode:
authorSteve Murphy <murf@digium.com>2006-11-13 17:32:16 +0000
committerSteve Murphy <murf@digium.com>2006-11-13 17:32:16 +0000
commit4115ea029df2c101c65481e86bd6fdbe3cb0a250 (patch)
treea2636012a5db27a69389bf62d5691daaa24796f7 /pbx/pbx_ael.c
parent34e40c93bc5cae56c955efe2569b4c24b36cb9fb (diff)
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
Diffstat (limited to 'pbx/pbx_ael.c')
-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 3796713cf..4e22dcd78 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++;