[asterisk-users] Fw: Remove a TDM Card
Tony at plack.net
Wed Nov 28 08:48:14 CST 2007
> Hi, sorry for my insistence but this is a big problem for me..my
> steps for remove card are ok ? Thanks.
> ----- Original Message -----
> From: "Sasa" <sasa at shoponweb.it>
> To: <asterisk-users at lists.digium.com>
> Sent: Monday, November 26, 2007 4:25 PM
> Subject: [asterisk-users] Remove a TDM Card
>> Hi, I would like remove a Digium TDM2400P from Asterisk (version
>> 1.2.13) box
>> but when I remove card from the PC after reboot Asterisk not
>> started correctly. On box now with TDM Card I have:
>> root at voip:~# lsmod
>> Module Size Used by zaphfc
>> 16796 6 wctdm24xxp 63552
>> zaptel 192132 26
>> The kernel version is:
>> ..then I have in /etc/rc.d/rc.modules:
>> ..both files are identical:
>> /sbin/modprobe zaptel
>> /sbin/modprobe zaphfc modes=3 && /sbin/ztcfg -vvvvvv
>> /sbin/modprobe wctdm24xxp && /sbin/ztcfg -vvvvvv
>> ..in zapata.conf I have:
>> group = 3
>> channel => 1-5
>> ..and in zaptel.conf I have:
>> ..now my dobious is about correct steps for remove TDM Card from
>> PC, I think that:
>> - remove line configuration in zapata.conf and zaptel.conf -
>> remove in rc.modules and rc.modules-126.96.36.199 line:
>> /sbin/modprobe wctdm24xxp && /sbin/ztcfg -vvvvvv - rmmod
>> wctdm24xxp - reboot
>> ..this procedure is ok ?
1.2.13 has some exploits and you should consider running something newer. 1.2 branch has no official support.
You should make sure to load ztdummy in place of your tdm card. If I remember correctly 1.2 requires a timing source.
modules-188.8.131.52 is for an old kernel and shouldn't apply to the current 184.108.40.206.
Normally the TDM card provides this 1000Hz timing source when available, but ztdummy can mimic this timing from the kernel clock source.
ztdummy may (or may not) have issues with your kernel version as a timing source. I believe kernel 2.6.21 or better solved a few problems with clock sources.
Other than that, your steps are fine.
More information about the asterisk-users