projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f19ff5a
)
This small update will generate WARNINGS if there is garbage in your extensions.conf...
author
Steve Murphy
<murf@digium.com>
Thu, 21 Dec 2006 15:52:44 +0000
(15:52 +0000)
committer
Steve Murphy
<murf@digium.com>
Thu, 21 Dec 2006 15:52:44 +0000
(15:52 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48723
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
pbx/pbx_config.c
patch
|
blob
|
history
diff --git
a/pbx/pbx_config.c
b/pbx/pbx_config.c
index
b295c57
..
3d75021
100644
(file)
--- a/
pbx/pbx_config.c
+++ b/
pbx/pbx_config.c
@@
-1482,6
+1482,8
@@
static int pbx_load_config(const char *config_file)
data = "";
if (ast_context_add_switch2(con, appl, data, !strcasecmp(v->name, "eswitch"), registrar))
ast_log(LOG_WARNING, "Unable to include switch '%s' in context '%s'\n", v->value, cxt);
+ } else {
+ ast_log(LOG_WARNING, "==!!== Unknown directive: %s at line %d -- IGNORING!!!\n", v->name, v->lineno);
}
}
}