[asterisk-users] Zaptel kernel module load order
Joel Hill
jhill at asteriskit.com.au
Mon Apr 30 17:31:39 MST 2007
It's generally not recommended to put an analog and digital card in the
same box, however that being said.... Try this.
Write a little hack in /etc/rc.local
/sbin/modprobe wct4xxp
sleep 5
/sbin/modprobe wct4xxp
sleep 5
/sbin/ztcfg
sleep 5
/sbin/modprobe wctdm
sleep 5
/sbin/ztcfg
/usr/sbin/safe_asterisk
the rc.local script is loaded after all the others so it won't effect
anything else, and we had some trouble with some low heat VIA
motherboards so we did the modprobe twice for the PRI.
Hope this helps.
Cheers,
Joel Hill
Support Engineer
Asterisk IT
On Mon, 2007-04-30 at 19:14 -0500, Mitch Jackson wrote:
> Evening,
>
> My latest asterisk box is having a difficult problem. It is
> configured with one TE210P and TDM400P with four FXO modules. I'm
> running FC6.
>
> The TE210P only has a single PRI.
>
> When the system boots, it is completely random what order the zaptel
> modules will get loaded in. Sometimes zttool shows the FXO as the
> last span, sometimes as the first. When it does load as the first,
> which happens more often, nothing will initialize properly. When this
> happens, I have to unload all the zaptel modules, and re-load them
> over and over again, until the hardware comes up in the correct order.
> The order it is loaded is in no way related to what order I load the
> modules on the command line. This problems makes it unlikely that
> asterisk will start properly if the system is rebooted.
>
> Is there something I can do to ensure the modules get loaded in the
> correct order?
>
> Here's my config files, if they will help...
>
> # cat /etc/zaptel.conf
> span=1,1,0,esf,b8zs
> bchan=1-23
> dchan=24
> defaultzone=us
> loadzone=us
>
> span=2,1,0,esf,b8zs
> bchan=25-47
> dchan=48
> defaultzone=us
> loadzone=us
>
> fxoks=49-52
> defaultzone=us
> loadzone=us
>
> # cat /etc/asterisk/zapata.conf
> [channels]
> language=en
> switchtype=national
> context=incoming
> faxdetect=none
> signalling=pri_cpe
> group=1
> echocancel=yes
> resetinterval=never
> channel => 1-23
>
> language=en
> switchtype=national
> context=incoming
> faxdetect=none
> signalling=pri_cpe
> group=3
> echocancel=yes
> resetinterval=never
> channel => 25-47
>
>
> signalling=fxo_ks
> usecallerid=yes
> callerid=Fidelity Reserves
> group=2
> threewaycalling=no
> context=outgoing
> channel => 49-52
>
>
>
>
>
> Thanks for any help,
>
> /Mitch
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list