From 9ee603ac6792d409bb98020e3986c5d27703afe9 Mon Sep 17 00:00:00 2001 From: mattf Date: Wed, 14 Mar 2007 16:08:55 +0000 Subject: Merged revisions 2307 via svnmerge from https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r2307 | mattf | 2007-03-14 10:03:18 -0600 (Wed, 14 Mar 2007) | 2 lines Fix bug in J1 mode configuration. ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2308 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 b48dacb..9b86342 100644 --- a/wct4xxp/base.c +++ b/wct4xxp/base.c @@ -977,7 +977,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