[Asterisk-bsd] Bug in latest zaptel or asterisk port?
Chris St Denis
chris at aebc.com
Thu Jul 7 18:50:41 CDT 2005
I upgraded the zaptel and asterisk ports and now asterisk won't start. Any
ideas what may have broke it in the new port?
I've already sent this to the maintainer but haven't gotten a response so I
am hoping somebody in this list can help.
I have a TE410P. The zaptel drivers themselves seem to be getting loaded ok.
I'm running FreeBSD 5.3
new_gateway# uname -a
FreeBSD new_gateway.voip.aebc.com 5.3-RELEASE-p10 FreeBSD 5.3-RELEASE-p10
#0: Thu Apr 28 12:18:56 PDT 2005 root@:/usr/obj/usr/src/sys/GATEWAY
i386
It gives this error:
---------------------
Jul 5 17:57:28 WARNING[15632]: Unable to specify channel 1: Device not
configured
Jul 5 17:57:28 ERROR[15632]: Unable to open channel 1: Device not
configured
here = 0, tmp->channel = 1, channel = 1
Jul 5 17:57:28 ERROR[15632]: Unable to register channel '1-23'
Jul 5 17:57:28 WARNING[15632]: chan_zap.so: load_module failed,
returning -1
Jul 5 17:57:28 WARNING[15632]: Loading module chan_zap.so failed!
---------------------
>From /var/log/messages
-----------------------
Jul 5 16:35:21 new_gateway kernel: Zapata Telephony Interface Registered on
major 196
Jul 5 16:35:21 new_gateway kernel: wct4xxp0: <Wildcard TE405/410P Xilinx>
mem 0xfebfec00-0xfebfec7f irq 20 at device 5.0 on pci0
Jul 5 16:35:21 new_gateway kernel: wct4xxp0: [GIANT-LOCKED]
Jul 5 16:35:21 new_gateway kernel: TE410P version c01a009b
Jul 5 16:35:21 new_gateway kernel: FALC version: 00000005, Board ID: 00
Jul 5 16:35:21 new_gateway kernel: TE410P: Launching card: 0
Jul 5 16:35:21 new_gateway kernel: TE410P: Setting up global serial
parameters for unit 0
------------------------
My zaptel.conf (unchanged)
--------------------------
new_gateway# cat zaptel.conf
# This is a ZAP interface file
span=1,0,0,esf,b8zs
#span=2,0,0,esf,b8zs
#span=3,0,0,esf,b8zs
#span=4,0,0,esf,b8zs
#bchan=1-23,25-47,49-71,73-95
#dchan=24,48,72,96
bchan=1-23
dchan=24
#bchan=1-23,25-47,49-71
#dchan=24,48,72
loadzone=us
defaultzone=us
--------------------------
Here is my zapata.conf
--------------------
cat /usr/local/etc/asterisk/zapata.conf;
; Zapata telephony interface
;
; Configuration file
[channels]
busydetect=1
busycount=7
relaxdtmf=yes
;callreturn=yes
callwaiting=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
usecallerid=yes
echocancel=yes
echocancelwhenbridged=yes
;echotraining=yes ;800
rxgain=0.0
txgain=0.0
;pickupgroup=1-4
immediate=no
callerid=asreceived
context=pstn-in
;signalling=pri_net
signalling=pri_cpe
group=1
channel => 1-23
;channel => 25-47
;channel => 49-71
;channel => 73-95
-----------------------------
The device is in /dev
----------------
new_gateway# ll /dev/zap/
total 0
crw-rw-r-- 1 root wheel 232, 254 Jul 5 16:35 channel
crw-rw-r-- 1 root wheel 232, 0 Jul 5 16:35 ctl
crw-rw-r-- 1 root wheel 232, 255 Jul 5 16:35 pseudo
crw-rw-r-- 1 root wheel 232, 253 Jul 5 16:35 timer
Installed software
---------------------
new_gateway# pkg_version -v
asterisk-1.0.7_7 = up-to-date with port
autoconf-2.53_3 = up-to-date with port
autoconf-2.59_2 = up-to-date with port
bison-1.75_2 = up-to-date with port
cvsup-without-gui-16.1h < needs updating (port has 16.1h_2)
expat-1.95.8_1 < needs updating (port has 1.95.8_3)
gettext-0.14.5 = up-to-date with port
gmake-3.80_2 = up-to-date with port
help2man-1.35.1 = up-to-date with port
ispell-3.2.06_12 < needs updating (port has 3.2.06_13)
libiconv-1.9.2_1 = up-to-date with port
libogg-1.1.2_1,3 = up-to-date with port
libpri-1.0.6 = up-to-date with port
libslang-1.4.9 = up-to-date with port
libtool-1.3.5_2 = up-to-date with port
libtool-1.5.18 = up-to-date with port
m4-1.4.3 = up-to-date with port
mpg123-0.59r_17 = up-to-date with port
mysql-client-4.0.24_1 = up-to-date with port
newt-0.51.0_2 = up-to-date with port
ngrep-1.43 = up-to-date with port
openldap-client-2.2.24 < needs updating (port has 2.2.27)
p5-gettext-1.03 = up-to-date with port
perl-5.8.6_2 < needs updating (port has 5.8.7)
pico-4.62 = up-to-date with port
popt-1.7 = up-to-date with port
portaudit-0.5.10 = up-to-date with port
speex-1.0.4_1,1 < needs updating (port has 1.0.5,1)
zaptel-0.10 = up-to-date with port
More information about the Asterisk-BSD
mailing list