diff options
Diffstat (limited to 'channels/chan_dahdi.c')
-rw-r--r-- | channels/chan_dahdi.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c index bc4a0125c..951219d22 100644 --- a/channels/chan_dahdi.c +++ b/channels/chan_dahdi.c @@ -13741,11 +13741,14 @@ static int process_dahdi(struct dahdi_chan_conf *confp, const char *cat, struct #endif ) { int iscrv; - if (options && PROC_DAHDI_OPT_NOCHAN) + if (options & PROC_DAHDI_OPT_NOCHAN) { + ast_log(LOG_WARNING, "Channel '%s' ignored.\n", v->value); continue; + } iscrv = !strcasecmp(v->name, "crv"); if (build_channels(confp, iscrv, v->value, reload, v->lineno, &found_pseudo)) return -1; + ast_log(LOG_DEBUG, "Channel '%s' configured.\n", v->value); } else if (!strcasecmp(v->name, "buffers")) { int res; char policy[21] = ""; @@ -14525,7 +14528,7 @@ static int process_dahdi(struct dahdi_chan_conf *confp, const char *cat, struct } else if (!strcasecmp(v->name, "mwilevel")) { mwilevel = atoi(v->value); } - } else if (!(options && PROC_DAHDI_OPT_NOWARN) ) + } else if (!(options & PROC_DAHDI_OPT_NOWARN) ) ast_log(LOG_WARNING, "Ignoring %s at line %d.\n", v->name, v->lineno); } if (dahdichan[0]) { |