[asterisk-users] Fw: Remove a TDM Card

Jon Pounder JonP at inline.net
Wed Nov 28 08:53:41 CST 2007


Quoting Tony Plack <Tony at plack.net>:

>
>> Hi, sorry for my insistence but this is a big problem for me..my
>> steps for remove card are ok ? Thanks.


its not much help but I have found in general asterisk is not too  
graceful about zap numbering and even starting when the cards in place  
don't match the configuration.

yeah the config is wrong but sometimes there are legitimate reasons  
for that like taking a card out for 5min to try something you should  
be able to still boot the remaining system without it, or add the  
configs before putting the card in. Bigger issue is getting around the  
renumbering of channels when you remove hardware at the "bottom"



>>
>> ------
>>
>> Salvatore.
>>
>> ----- 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
>>>                   5
>>> zaptel                   192132                 26
>>> zaphfc,wctdm24xxp
>>>
>>> The kernel version is:
>>> 2.6.19.2
>>>
>>> ..then I have in /etc/rc.d/rc.modules:
>>> rc.modules
>>> rc.modules-2.4.33.3
>>>
>>> ..both files are identical:
>>>
>>> #!/bin/sh
>>> /sbin/modprobe zaptel
>>> /sbin/modprobe zaphfc modes=3 && /sbin/ztcfg -vvvvvv
>>> /sbin/modprobe wctdm24xxp && /sbin/ztcfg -vvvvvv
>>>
>>> ..in zapata.conf I have:
>>>
>>> signalling=fxs_ls
>>> group = 3
>>> channel => 1-5
>>>
>>> ..and in zaptel.conf I have:
>>> fxsls=1-24
>>>
>>> ..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-2.4.33.3 line:
>>> /sbin/modprobe wctdm24xxp && /sbin/ztcfg -vvvvvv - rmmod
>>> wctdm24xxp - reboot
>>>
>>> ..this procedure is ok ?
>>> Thanks.
>>>
>>> ------
>>>
>>> Salvatore.
>>>
>
> 1.2.13 has some exploits and you should consider running something   
> newer.  1.2 branch has no official support.
>
> However...
>
> You should make sure to load ztdummy in place of your tdm card.  If   
> I remember correctly 1.2 requires a timing source.
> modules-2.4.33.3 is for an old kernel and shouldn't apply to the   
> current 2.6.19.2.
>
> 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.
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>



Jon Pounder

    _/_/_/  _/    _/  _/       _/_/_/  _/    _/  _/_/_/_/
     _/    _/_/  _/  _/         _/    _/_/  _/  _/_/
    _/    _/  _/_/  _/         _/    _/  _/_/  _/
_/_/_/  _/    _/  _/_/_/_/ _/_/_/  _/    _/  _/_/_/_/


Inline Internet Systems Inc.
Thorold, Ontario, Canada

Tools to Power Your e-Business Solutions
www.inline.net
www.ihtml.com
www.ihtmlmerchant.com
www.opayc.com

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.





More information about the asterisk-users mailing list