https://origsvn.digium.com/svn/asterisk/branches/1.8
........
r279636 | russell | 2010-07-26 16:53:30 -0500 (Mon, 26 Jul 2010) | 2 lines
Ignore a control subclass of -1 in ast_waitfordigit_full().
........
r279815 | russell | 2010-07-27 11:06:58 -0500 (Tue, 27 Jul 2010) | 4 lines
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/trunk@279816
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
}
/* 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;
case AST_CONTROL_SRCCHANGE:
case AST_CONTROL_CONNECTED_LINE:
case AST_CONTROL_REDIRECTING:
+ case -1:
/* Unimportant */
break;
default: