[asterisk-users] Red Alarm TE420 with E1s - R2
Philipp Kempgen
philipp.kempgen at amooma.de
Tue Dec 4 08:36:19 CST 2007
Tzafrir Cohen wrote:
> On Mon, Dec 03, 2007 at 09:56:51PM +0100, Philipp Kempgen wrote:
>> Tilghman Lesher wrote:
>>> 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.
So what I said wasn't plain wrong. (In fact it works.)
It just might not be the best solution.
If it shouldn't be used there should be a note about this in
/etc/default/zaptel. The example invites people to actually
use it. How can they know that the example is considered
"bad practice"?
Regards,
Philipp Kempgen
--
amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de
Let's use IT to solve problems and not to create new ones.
Asterisk? -> http://www.das-asterisk-buch.de
Geschäftsführer: Stefan Wintermeyer
Handelsregister: Neuwied B 14998
More information about the asterisk-users
mailing list