Merged revisions 87775 via svnmerge from
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: http://svn.digium.com/svn/asterisk/trunk@87776 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
f74129bc6e
commit
738af18d9c
|
@ -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++;
|
||||
}
|
||||
}
|
||||
|
|
Reference in New Issue