[Asterisk-Users] Zapata: No such device or address

Ronald Wiplinger ronald at elmit.com
Sat Nov 27 08:24:53 MST 2004


I got this nice TDM22B with two green modules left and two modules right

/var/log/messages shows:
Nov 26 23:47:48 dns kernel: Zapata Telephony Interface Registered on 
major 196
Nov 27 00:37:53 dns kernel: Freshmaker version: 71
Nov 27 00:37:56 dns kernel: Freshmaker passed register test
Nov 27 00:37:56 dns kernel: Module 0: Installed -- AUTO FXS/DPO
Nov 27 00:37:56 dns kernel: Module 1: Installed -- AUTO FXS/DPO
Nov 27 00:37:56 dns kernel: Module 2: Installed -- AUTO FXO (FCC mode)
Nov 27 00:37:56 dns kernel: Module 3: Installed -- AUTO FXO (FCC mode)
Nov 27 00:37:56 dns kernel: Found a Wildcard TDM: Wildcard TDM400P REV 
E/F (4 modules)



zaptel.conf

loadzone=tw
defaultzone=tw
fxoks=1-2       ; FXS modules   (fxoks -> FXS module)



fxsks=3-4       ; FXO modules   (fxsks -> FXO module)


zapata.conf

[trunkgroups]

[channels]
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
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
rxgain=0.0
txgain=0.0
group=1
callgroup=1
pickupgroup=1

immediate=no
busydetect=yes
callprogress=yes
progzone=tw




signalling=fxo_ks
echocancel=yes ; You can set this to 32, 64, 128, tweak to your needs.
echocancelwhenbridge=yes
echotrainig=400 ; Asterisk trains to the beginning of the call, number 
is in milliseconds
callerid=asreceived
group=1
context=default
channel => 1


signalling=fxo_ks
echocancel=yes ; You can set this to 32, 64, 128, tweak to your needs.
echocancelwhenbridge=yes
echotrainig=400 ; Asterisk trains to the beginning of the call, number 
is in milliseconds
callerid=asreceived
group=1
context=default
channel => 2

signalling=fxs_ks
group=3
context=incoming_88097680
channel => 3

signalling=fxs_ks
group=3
context=incoming_88097681
channel => 4



extensions.conf
[globals]
CONSOLE=Console/dsp                ; Console interface for demo
TRUNK=Zap/g1                    ; Trunk interface

[incoming_88097680]
exten => _**7680,1,Ringing
exten => _**7680,2,Answer
exten => _**7680,3,Dial(SIP/601,20,tr)
exten => _**7680,4,Voicemail,u601
exten => _**7680,105,Voicemail,b601



How do I design an extension for my two phones directly on the TDM card?

I just try to restart Astrisk, but it gives me:

[chan_zap.so] => (Zapata Telephony w/PRI)
== Parsing '/etc/asterisk/zapata.conf': Found
WARNING[9980]: chan_zap.c:783 zt_open: Unable to specify channel 1: No 
such device or address
ERROR[9980]: chan_zap.c:6316 mkintf: Unable to open channel 1: No such 
device of address
here = 0, tmp->channel = 1, channel = 1
ERROR[9980]: chan_zap.c:9274 setup_zap: Unable to register channel '1'
WARNING[9980]: loader.c:396 ast_load_resource: chan_zap.so: load_module 
failed, returning -1
== Unregistered channel type 'Zap'
WARNING[9980]: loader.c:500 load_modules: Loading module chan_zap.so 
failed!
Ouch ... error while writing audio data: : Broken pipe


It seems I have something broken, but what and how to fix it?

bye

Ronald




More information about the asterisk-users mailing list