From d0721c085fed80975285ed1ae455323bf5c74192 Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Thu, 7 Aug 2008 01:17:14 +0000 Subject: [PATCH] For backwards compatibility with previous 1.4 versions which used "zapchan" in users.conf, ensure that we still support it. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@136304 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_dahdi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c index 78581978e5..44804a8122 100644 --- a/channels/chan_dahdi.c +++ b/channels/chan_dahdi.c @@ -10789,7 +10789,7 @@ static int process_dahdi(struct dahdi_chan_conf *confp, const char *cat, struct iscrv = !strcasecmp(v->name, "crv"); if (build_channels(confp, iscrv, v->value, reload, v->lineno, &found_pseudo)) return -1; - } else if (!strcasecmp(v->name, "dahdichan")) { + } else if (!strcasecmp(v->name, "zapchan") || !strcasecmp(v->name, "dahdichan")) { ast_copy_string(dahdichan, v->value, sizeof(dahdichan)); } else if (!strcasecmp(v->name, "usedistinctiveringdetection")) { if (ast_true(v->value)) -- 2.47.3