[Asterisk-Users] loading zaptel drivers automatically upon reboot
Carlos Alperin
calperin at senecacom.net
Sat Jan 14 14:37:39 MST 2006
Of course,
/etc/zaptel.conf
[root at SIP2-MI etc]# cat zaptel.conf
# Autogenerated by ./genzaptelconf -- do not hand edit
# Zaptel Configuration File
#
# This file is parsed by the Zaptel Configurator, ztcfg
#
# It must be in the module loading order
# Span 1: WCT1/0 "Digium Wildcard T100P T1/PRI Card 0" B8ZS/ESF ClockSource
span=1,1,1,esf,b8zs
bchan=1-23
dchan=24
# Global data
loadzone = us
defaultzone = us
/etc/asterisk/Zapata.conf
[root at SIP2-MI asterisk]# cat zapata.conf
[channels]
language=en
context=default
switchtype=national
signalling=fxo_ls
rxwink=300 ; Atlas seems to use long (250ms) winks
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
rxgain=1.4
txgain=1.4
group=1
callgroup=1
pickupgroup=1
immediate=no
faxdetect=both
musiconhold=default
switchtype = national
signalling = pri_cpe
group = 0
channel => 1-23
cat /proc/zaptel/1
[root at SIP2-MI asterisk]# cat /proc/zaptel/1
Span 1: WCT1/0 "Digium Wildcard T100P T1/PRI Card 0" B8ZS/ESF ClockSource
1 WCT1/0/1 Clear
2 WCT1/0/2 Clear
3 WCT1/0/3 Clear
4 WCT1/0/4 Clear
5 WCT1/0/5 Clear
6 WCT1/0/6 Clear
7 WCT1/0/7 Clear
8 WCT1/0/8 Clear
9 WCT1/0/9 Clear
10 WCT1/0/10 Clear
11 WCT1/0/11 Clear
12 WCT1/0/12 Clear
13 WCT1/0/13 Clear
14 WCT1/0/14 Clear
15 WCT1/0/15 Clear
16 WCT1/0/16 Clear
17 WCT1/0/17 Clear
18 WCT1/0/18 Clear
19 WCT1/0/19 Clear
20 WCT1/0/20 Clear
21 WCT1/0/21 Clear
22 WCT1/0/22 Clear
23 WCT1/0/23 Clear
24 WCT1/0/24 HDLCFCS
And as I told before, if I reboot the machine only zaptel is loaded, not
wct1xxp.
If I top zaptel as service, and restart it then zaptel loads wct1xxp. After
that asterisk loads fine.
Thanks for any help.
Carlos Alperin
More information about the asterisk-users
mailing list