aboutsummaryrefslogtreecommitdiffstats
path: root/pbx
diff options
context:
space:
mode:
authormurf <murf@f38db490-d61c-443f-a65b-d21fe96a405b>2007-10-31 03:51:52 +0000
committermurf <murf@f38db490-d61c-443f-a65b-d21fe96a405b>2007-10-31 03:51:52 +0000
commit2a44536ad7596ee0c57b865b21b141d11a2c1d46 (patch)
tree4a16095241d34b94449366bd97f396880cadda95 /pbx
parent34629d9a619d8273ec321a41cae9880442f40e4e (diff)
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/branches/1.4@87775 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx')
-rw-r--r--pbx/pbx_ael.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/pbx/pbx_ael.c b/pbx/pbx_ael.c
index 96719fe54..1a53c744b 100644
--- a/pbx/pbx_ael.c
+++ b/pbx/pbx_ael.c
@@ -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++;
}
}