From 8c5bf67f4af93977de77299bf76e6a757c0f4434 Mon Sep 17 00:00:00 2001 From: Steve Murphy Date: Wed, 31 Oct 2007 04:20:40 +0000 Subject: 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: https://origsvn.digium.com/svn/asterisk/trunk@87776 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- res/ael/pval.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/res/ael/pval.c b/res/ael/pval.c index 184560f75..4c26d1aa1 100644 --- a/res/ael/pval.c +++ b/res/ael/pval.c @@ -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++; } } -- cgit v1.2.3