Merged revisions 87775 via svnmerge from
authorSteve Murphy <murf@digium.com>
Wed, 31 Oct 2007 04:20:40 +0000 (04:20 +0000)
committerSteve Murphy <murf@digium.com>
Wed, 31 Oct 2007 04:20:40 +0000 (04:20 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r87775 | murf | 2007-10-30 21:51:52 -0600 (Tue, 30 Oct 2007) | 1 line

Included some verbage in the check_includes func, to inform the user that included contexts that have no match in the AEL, might be OK, as AEL cannot check in the extensions.conf or the in-memory contexts, as they may not be there at the time of the check.
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@87776 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/ael/pval.c

index 184560f..4c26d1a 100644 (file)
@@ -818,8 +818,9 @@ static void check_includes(pval *includes)
                /* find a matching context name */
                struct pval *that_other_context = find_context(incl_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);
+                       ast_log(LOG_WARNING, "Warning: file %s, line %d-%d: The included context '%s' cannot be found.\n\
+ (You may ignore this warning if '%s' exists in extensions.conf, or is created by another module. I cannot check for those.)\n",
+                                       includes->filename, includes->startline, includes->endline, incl_context, incl_context);
                        warns++;
                }
        }