Support "channels" in addition to "channel" in chan_dahdi.conf.

Review: https://reviewboard.asterisk.org/r/804


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@279815 65c4cc65-6c06-0410-ace0-fbb531ad65f3
certified/1.8.6
Russell Bryant 15 years ago
parent 62330bc1c2
commit ccfad47983

@ -16203,7 +16203,7 @@ static int process_dahdi(struct dahdi_chan_conf *confp, const char *cat, struct
}
/* Create the interface list */
if (!strcasecmp(v->name, "channel")) {
if (!strcasecmp(v->name, "channel") || !strcasecmp(v->name, "channels")) {
if (options & PROC_DAHDI_OPT_NOCHAN) {
ast_log(LOG_WARNING, "Channel '%s' ignored.\n", v->value);
continue;

Loading…
Cancel
Save