diff options
Diffstat (limited to 'pbx')
-rw-r--r-- | pbx/pbx_config.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pbx/pbx_config.c b/pbx/pbx_config.c index b295c57d6..3d7502196 100644 --- 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); } } } |