diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-08-07 01:17:14 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-08-07 01:17:14 +0000 |
commit | a7060738ab2d40649e5f917e17b718dbc7643b51 (patch) | |
tree | b1da0fa55f764d01d0cace47e0e73625465987a7 /channels/chan_dahdi.c | |
parent | d76edc5aec1436124861ebac6b9d44f5eb16ddce (diff) |
For backwards compatibility with previous 1.4 versions which used "zapchan"
in users.conf, ensure that we still support it.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@136304 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_dahdi.c')
-rw-r--r-- | channels/chan_dahdi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c index 78581978e..44804a812 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)) |