From f00ee57d3cf8749f186ebe4434480a3a05239a40 Mon Sep 17 00:00:00 2001 From: mattf Date: Wed, 14 Mar 2007 16:03:18 +0000 Subject: Fix bug in J1 mode configuration. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2307 5390a7c7-147a-4af0-8ec9-7488f05a26cb --- wct4xxp/base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wct4xxp') diff --git a/wct4xxp/base.c b/wct4xxp/base.c index 98f068c..5f3e89a 100644 --- a/wct4xxp/base.c +++ b/wct4xxp/base.c @@ -858,7 +858,7 @@ static void __set_clear(struct t4 *wc, int span) 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) { -- cgit v1.2.3