[zaptel-commits] mattf: branch 1.2 r2307 - /branches/1.2/wct4xxp/base.c

zaptel-commits at lists.digium.com zaptel-commits at lists.digium.com
Wed Mar 14 09:03:18 MST 2007


Author: mattf
Date: Wed Mar 14 11:03:18 2007
New Revision: 2307

URL: http://svn.digium.com/view/zaptel?view=rev&rev=2307
Log:
Fix bug in J1 mode configuration.

Modified:
    branches/1.2/wct4xxp/base.c

Modified: branches/1.2/wct4xxp/base.c
URL: http://svn.digium.com/view/zaptel/branches/1.2/wct4xxp/base.c?view=diff&rev=2307&r1=2306&r2=2307
==============================================================================
--- branches/1.2/wct4xxp/base.c (original)
+++ branches/1.2/wct4xxp/base.c Wed Mar 14 11:03:18 2007
@@ -858,7 +858,7 @@
 	struct t4_span *ts = wc->tspans[span];
 
 	oldnotclear = ts->notclear;
-	if (ts->spantype == TYPE_T1) {
+	if ((ts->spantype == TYPE_T1) || (ts->spantype == TYPE_J1)) {
 		for (i=0;i<24;i++) {
 			j = (i/8);
 			if (ts->span.chans[i].flags & ZT_FLAG_CLEAR) {



More information about the zaptel-commits mailing list