[asterisk-commits] tilghman: branch 1.4 r136304 - /branches/1.4/channels/chan_dahdi.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Aug 6 20:17:14 CDT 2008


Author: tilghman
Date: Wed Aug  6 20:17:14 2008
New Revision: 136304

URL: http://svn.digium.com/view/asterisk?view=rev&rev=136304
Log:
For backwards compatibility with previous 1.4 versions which used "zapchan"
in users.conf, ensure that we still support it.

Modified:
    branches/1.4/channels/chan_dahdi.c

Modified: branches/1.4/channels/chan_dahdi.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_dahdi.c?view=diff&rev=136304&r1=136303&r2=136304
==============================================================================
--- branches/1.4/channels/chan_dahdi.c (original)
+++ branches/1.4/channels/chan_dahdi.c Wed Aug  6 20:17:14 2008
@@ -10789,7 +10789,7 @@
 			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))




More information about the asterisk-commits mailing list