[asterisk-users] Red Alarm TE420 with E1s - R2

Tzafrir Cohen tzafrir.cohen at xorcom.com
Tue Dec 4 01:49:09 CST 2007


On Mon, Dec 03, 2007 at 09:56:51PM +0100, Philipp Kempgen wrote:
> Tilghman Lesher wrote:
> > On Monday 03 December 2007 12:40, Roger C. Beraldi Martins wrote:
> >> Thanks understood I will use this configurations for de last span. But
> >> I think the Carlos Chávez are right about this. I realy forgot to put
> >> jumpers to set E1 mode in TE420 card, if it's come with the jumpers
> >> open (and I believe this) probably this is the problem.
> >>
> >> I don't know what parameter must be put on the module load to make
> >> card up in E1 mode,  then tomorrow I will have physical access on the
> >> card and I will put all jumpers closed.
> > 
> > modprobe wct4xxp t1e1override=15
> > 
> > t1e1override is a bitwise parameter, 0 being all T1, 15 being all E1 and
> > numbers in between as different combinations of T1 and E1 for the various
> > ports.
> 
> afaik you need to make this change permanent by setting
> it in /etc/default/zaptel (Debian and CentOS) resp.
> /etc/sysconfig/zaptel (CentOS).
> 
> MODULES="$MODULES wct4xxp"     # TE4xxP - Quad Span T1/E1 Card
> wct4xxp_ARGS="t1e1override=15" # Additional parameters for TE4xxP driver

No. The proper way to set module parameters is in /etc/modprobe.conf or 
in a file under /etc/modprobe.d (depending what your distribution uses .
modprobe of 2.6 can use either). Put there the line:

  options wct4xxp t1e1override=15

I hope noone still uses 2.4 nowadays but there are some equivalent files
for the 2.4 modutils.

That hack of the zaptel init.d script means that if you just run
'modprobe wct4xxp' those arguments are not used. Which is why I
recommend noone to use it.

In fact, I'd like to deprecate it for exactly that reason.

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-users mailing list