[Asterisk-Dev] possible bug, only first E1 span seems to be initializing in wct4xxp.ko driver

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Tue Oct 18 11:05:22 MST 2005


On Tuesday 18 October 2005 07:56, Dinesh Nair wrote:
> look at the comment /* WHY BITSHIFT x ? */, and you'd see that the
> if() block is only executed when x==0 if t1e1=1 (as it should be if
> E1 is selected). hence, for subsequent spans, the else block will be
> executed which would set the spans for T1 (or J1, depending on
> j1mode) behaviour. the behaviour seems to be correct if t1e1=0, i.e
> it sets all spans as either T1 or J1.

t1e1override, though, is not a boolean parameter; it's a bitwise
parameter.  You set the corresponding of each of 4 bits if you want
the corresponding span to be an E1.

-- 
Tilghman



More information about the asterisk-dev mailing list