[Asterisk-Users] Zap failed

Ugur GUNCER ugur.guncer at telebizz.org.uk
Fri Sep 16 10:23:38 MST 2005


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

Asterisk 1.0.9, Copyright (C) 1999-2004 Digium.
Written by Mark Spencer <markster at digium.com>
....
 [chan_zap.so] => (Zapata Telephony w/PRI)
  == Parsing '/etc/asterisk/zapata.conf': Found
Sep 16 20:36:51 ERROR[6750]: chan_zap.c:6246 mkintf: Unable to get
parameters
Sep 16 20:36:51 ERROR[6750]: chan_zap.c:9191 setup_zap: Unable to register
channel '1-15'
Sep 16 20:36:51 WARNING[6750]: loader.c:345 ast_load_resource: chan_zap.so:
load_module failed, returning -1
  == Unregistered channel type 'Tor'
  == Unregistered channel type 'Zap'
Sep 16 20:36:51 WARNING[6750]: loader.c:440 load_modules: Loading module
chan_zap.so failed!
sip:/etc # Ouch ... error while writing audio data: : Broken pipe




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

 cat /proc/zaptel/1
Span 1: WCT1/0 "Digium Wildcard E100P E1/PRA Card 0" HDB3/CCS 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 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

Ztcfg -vvvvvv
Zaptel Configuration
======================

SPAN 1: CCS/HDB3 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.


/etc/zaptel file:
span=1,1,0,ccs,hdb3

bchan=1-15,17-31
dchan=16

loadzone=us
defaultzone=us

/etc/asterisk/zapata.conf

[channels]
switchtype = euroisdn
signalling = pri_net
pridialplan = local
language=en
context=ivr-in
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 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4548 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20050916/1406a45e/smime.bin


More information about the asterisk-users mailing list