mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
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:
@@ -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))
|
||||
|
Reference in New Issue
Block a user