dect
/
asterisk
Archived
13
0
Fork 0

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:
murf 2007-10-31 04:20:40 +00:00
parent f74129bc6e
commit 738af18d9c
1 changed files with 3 additions and 2 deletions

View 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++;
}
}