mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 04:11:08 +00:00
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/branches/1.4@87775 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -835,8 +835,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
Block a user