Asterisk won't start after configuring ZAPTEL


#1

I have configured /etc/asterisk/zapata.conf, but now Asterisk refuses to start:

Aug 5 10:47:29 ERROR[1076842624]: chan_zap.c:5976 mkintf: Unable to get parameters
Aug 5 10:47:29 ERROR[1076842624]: chan_zap.c:9478 setup_zap: Unable to register channel '1-15’
Aug 5 10:47:29 WARNING[1076842624]: loader.c:328 ast_load_resource: chan_zap.so: load_module failed, returning -1
== Unregistered channel type ‘Tor’
== Unregistered channel type 'Zap’
Aug 5 10:47:29 WARNING[1076842624]: loader.c:423 load_modules: Loading module chan_zap.so failed!

Here is the /proc/zaptel/1 file(seems to be correct, and log Messages too indicates the initialization is correct.):

Span 1: WCT1/0 “Digium Wildcard TE110P T1/E1 Card 0” HDB3/CCS/CRC4 RED
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 HDLCFCS
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 Clear
25 WCT1/0/25 Clear
26 WCT1/0/26 Clear
27 WCT1/0/27 Clear
28 WCT1/0/28 Clear
29 WCT1/0/29 Clear
30 WCT1/0/30 Clear
31 WCT1/0/31 Clear

In BERONET instructions for install the device was indicated as
Span 1: TE1/0/1 “TE110P (PCI) Card 0 Span 1” HDB3/CCS/CRC4 ClockSource IRQ misses: 0
1 TE1/0/1/1 Clear (In use)

/etc/zaptel file:
span=1,1,0,ccs,hdb3,crc4
bchan=1-15
dchan=16
bchan=17-31

/etc/asterisk/zapata.conf

[channels]
switchtype = euroisdn
signalling = bri_cpe
pridialplan = local
language=it
context=home
overlapdial=yes
usecallerid=yes
hidecallerid=yes
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=no
echocancel=yes
echocancelwhenbridged=yes
rxgain=0.0
txgain=0.0
callgroup=1
pickupgroup=1
immediate=no
musiconhold=default
group=1
channel => 1-15
channel => 17-31

I must say that cable is not connected since I have no E1 in my office!

Any idea?

Regards and thank you…

Mauro