]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Support "channels" in addition to "channel" in chan_dahdi.conf.
authorRussell Bryant <russell@russellbryant.com>
Tue, 27 Jul 2010 16:06:58 +0000 (16:06 +0000)
committerRussell Bryant <russell@russellbryant.com>
Tue, 27 Jul 2010 16:06:58 +0000 (16:06 +0000)
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

channels/chan_dahdi.c

index 20accac2689c5625cc812250d4a2decd0f902074..c24d01106867e8259f1158ca1cf4eeec6b817930 100644 (file)
@@ -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;