]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Included some verbage in the check_includes func, to inform the user that included...
authorSteve Murphy <murf@digium.com>
Wed, 31 Oct 2007 03:51:52 +0000 (03:51 +0000)
committerSteve Murphy <murf@digium.com>
Wed, 31 Oct 2007 03:51:52 +0000 (03:51 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@87775 65c4cc65-6c06-0410-ace0-fbb531ad65f3

pbx/pbx_ael.c

index 96719fe54c1791fb45c9dad5e1d5d7030cb9f83b..1a53c744b55dd0a3f9addeefbd3c4db8e09ec096 100644 (file)
@@ -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++;
                }
        }