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
This commit is contained in:
Tilghman Lesher
2008-08-07 01:17:14 +00:00
parent 57e3570b62
commit d0721c085f

View File

@@ -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))