]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
AEL need not complain about parkedcalls not being found... just confuses users
authorSteve Murphy <murf@digium.com>
Mon, 13 Nov 2006 17:13:20 +0000 (17:13 +0000)
committerSteve Murphy <murf@digium.com>
Mon, 13 Nov 2006 17:13:20 +0000 (17:13 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47553 65c4cc65-6c06-0410-ace0-fbb531ad65f3

pbx/pbx_ael.c

index 4d32e456e3f628eb9544a8b6c6f981bab11e6085..199c544ce8239a4c192283b02b9d0569041450f6 100644 (file)
@@ -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++;