[Asterisk-Users] ERROR[5539]: chan_zap.c:9750 setup_zap: Unable to load config zapata.conf

Yousef Herzallah Yousef.Herzallah at logostech.it
Tue Jun 14 02:35:11 MST 2005


Hi, 
I have this error, I have a digium card TE110P Tiger3xx
When I'm load the dirvers by this command modprobe wcte11xp I got this
error 

"Notice: Configuration file is /etc/zaptel.conf
line 0: Unable to open master device '/dev/zap/ctl'

1 error(s) detected

FATAL: Error running install command for wct1xxp
"

when I'm Lunch the command ztcfg -vv
I got this error.
Zaptel Configuration
======================

SPAN 1: ESF/B8ZS Build-out: 0 db (CSU)/0-133 feet (DSX-1)

Channel map:

Channel 01: Individual Clear channel (Default) (Slaves: 01)
Channel 02: Individual Clear channel (Default) (Slaves: 02)
Channel 03: Individual Clear channel (Default) (Slaves: 03)
Channel 04: Individual Clear channel (Default) (Slaves: 04)
Channel 05: Individual Clear channel (Default) (Slaves: 05)
Channel 06: Individual Clear channel (Default) (Slaves: 06)
Channel 07: Individual Clear channel (Default) (Slaves: 07)
Channel 08: Individual Clear channel (Default) (Slaves: 08)
Channel 09: Individual Clear channel (Default) (Slaves: 09)
Channel 10: Individual Clear channel (Default) (Slaves: 10)
Channel 11: Individual Clear channel (Default) (Slaves: 11)
Channel 12: Individual Clear channel (Default) (Slaves: 12)
Channel 13: Individual Clear channel (Default) (Slaves: 13)
Channel 14: Individual Clear channel (Default) (Slaves: 14)
Channel 15: Individual Clear channel (Default) (Slaves: 15)
Channel 16: D-channel (Default) (Slaves: 16)
Channel 17: Individual Clear channel (Default) (Slaves: 17)
Channel 18: Individual Clear channel (Default) (Slaves: 18)
Channel 19: Individual Clear channel (Default) (Slaves: 19)
Channel 20: Individual Clear channel (Default) (Slaves: 20)
Channel 21: Individual Clear channel (Default) (Slaves: 21)
Channel 22: Individual Clear channel (Default) (Slaves: 22)
Channel 23: Individual Clear channel (Default) (Slaves: 23)
Channel 24: Individual Clear channel (Default) (Slaves: 24)
Channel 25: Individual Clear channel (Default) (Slaves: 25)
Channel 26: Individual Clear channel (Default) (Slaves: 26)
Channel 27: Individual Clear channel (Default) (Slaves: 27)
Channel 28: Individual Clear channel (Default) (Slaves: 28)
Channel 29: Individual Clear channel (Default) (Slaves: 29)
Channel 30: Individual Clear channel (Default) (Slaves: 30)
Channel 31: Individual Clear channel (Default) (Slaves: 31)

31 channels configured.

ZT_SPANCONFIG failed on span 1: No such device or address (6)



my configuration are

/etc/zaptel.conf 
span=1,1,0,esf,b8zs
bchan=1-15,17-31	# set this to 1-15,17-31 for E1
dchan=16 		# set this to 16 for E1

defaultzone=it 
loadzone=it

/etc/asterisk/zapata.conf

signalling=pri_cpe ; pri_cpe = PRI slave ; pri_net = PRI master
switchtype=euroisdn
echocancel=yes ; You can set this to 32, 64, or 128, tweak to your
needs.
echocancelwhenbridged=yes
; Asterisk trains to the beginning of the call, number is in
milliseconds
echotraining=400
callerid=asreceived
group=1
context=default	; Points to the default context of your extensions.conf 
channel => 1-15,17-31 	; Set this to 1-15,17-31 for E1

In the end of the [default] context of extensions.conf file

exten => 1234567,1,Dial,Zap/g1/${EXTEN} ; Press any 7 digit number and
try to dial that number through Zap channel 1

exten => s,1,Wait(1)
exten => s,2,Answer
exten => s,2,Playback(demo-congrats) ; Plays the demo-congrats file
after answering the line
exten => s,3,Hangup



Thank you,



More information about the asterisk-users mailing list