I have successfully installed B400P using Bristuff in asterisk server and it works fine.
Now I want to add one more A400p card as I need to connect some Analog fax machine into this server.
However whenever I plug in the A400p card and restart the server I get the error either cannot find channel 1 or cannot find span 1.
Any one has a manual for two cards installed into one server?
hello, yidiyuehan:
i think it can be done. have you add A400p conf files in zaptel and zapata conf? make sure load the wctdm. please post the error messages to forum.
Regards!
james.zhu
hi, james, thanks for your support. Below are some messages:
lspci -vv
01:00.0 ISDN controller: Cologne Chip Designs GmbH ISDN network Controller [HFC-4S] (rev 01)
Subsystem: Cologne Chip Designs GmbH: Unknown device e888
Flags: medium devsel, IRQ 185
I/O ports at c400
Memory at dfefe000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [40] Power Management version 2
01:01.0 Network controller: Tiger Jet Network Inc. Tiger3XX Modem/ISDN interface
Subsystem: Unknown device b100:0001
Flags: bus master, medium devsel, latency 64, IRQ 225
I/O ports at c800
Memory at dfeff000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [40] Power Management version 2
[root@PT8 ~]# tail /var/log/asterisk/full
Nov 13 12:32:15 ERROR[4564] chan_misdn.c: Unable to initialize mISDN
Nov 13 12:32:15 VERBOSE[4564] logger.c: [chan_zap.so]Nov 13 12:32:15 VERBOSE[4564] logger.c: [chan_zap.so] => (Zapata Telephony w/PRI)
Nov 13 12:32:15 VERBOSE[4564] logger.c: == Parsing '/etc/asterisk/zapata.conf': Nov 13 12:32:15 VERBOSE[4564] logger.c: == Parsing '/etc/asterisk/zapata.conf': Found
Nov 13 12:32:15 VERBOSE[4564] logger.c: == Parsing '/etc/asterisk/zapata_additional.conf': Nov 13 12:32:15 VERBOSE[4564] logger.c: == Parsing '/etc/asterisk/zapata_additional.conf': Found
Nov 13 12:32:15 WARNING[4564] chan_zap.c: Unable to specify channel 1: No such device or address
Nov 13 12:32:15 ERROR[4564] chan_zap.c: Unable to open channel 1: No such device or address
here = 0, tmp->channel = 1, channel = 1
Nov 13 12:32:15 ERROR[4564] chan_zap.c: Unable to register channel '1'
Nov 13 12:32:15 WARNING[4564] loader.c: chan_zap.so: load_module failed, returning -1
Nov 13 12:32:15 WARNING[4564] loader.c: Loading module chan_zap.so failed!
[root@PT8 ~]# ztcfg -vvvvvvvvvvvvvvvvvv
Zaptel Configuration
======================
SPAN 1: CCS/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1)
SPAN 2: CCS/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1)
SPAN 3: CCS/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1)
SPAN 4: CCS/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1)
ZT_SPANCONFIG failed on span 6: No such device or address (6)
zaptel.conf
loadzone=sg
defaultzone=sg
fxols=1
fxsls=2-4
# qozap span definitions
# most of the values should be bogus because we are not really zaptel
span=5,5,0,ccs,ami
span=6,6,0,ccs,ami
span=7,7,0,ccs,ami
span=8,8,0,ccs,ami
bchan=5,6
dchan=7
bchan=8,9
dchan=10
bchan=11,12
dchan=13
bchan=14,15
dchan=16
zapata.conf:
[trunkgroups]
[channels]
;
; Default language
;
musiconhold=default
language=en
rxwink=300 ; Atlas seems to use long (250ms) winks
usecallerid=yes
callerid=asreceived
hidecallerid=no
callwaiting=yes
callwaitingcallerid=yes
restrictcid=no
usecallingpres=yes
threewaycalling=yes
useincomingcalleridonzaptransfer=yes
echocancel=yes
transfer=yes ;flash-hook call transfer
cancallforward=yes
callreturn=yes ; whether or not to support call back to the previous number,
;with call trace (*69) and call back the number
echocancelwhenbridged=no
; echotraining need the click; or maybe set it lower as 128
callprogress=no
immediate=no
jitterbuffers=6 ; 4 is default
echotraining=yes ; if u have the clicking noise with FXO, then turn it off as
rxgain=9.0
txgain=-1.0
faxdetect=both
;faxdetect=incoming
;faxdetect=outgoing
#include zapata_additional.conf
hello, i think your asterisk fail loading because of your zapata_additional.conf. do you have any info in zapata_additional.conf? maybe there are some spelling errors or syntax errors in your zapata_additional.conf. please check that.
Regards!
james.zhu
I tried to remove one of the card and modify the zaptel.conf and zapata.conf and it works with either of the cards.
The error only happens with boths cards installed in one server. I also tried to delete file zapata_additional.conf and remove the line #include zapata_additional.conf in zapata.conf.
[root@PT7 ~]# ztcfg -vv
Zaptel Configuration
======================
SPAN 1: CCS/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1)
SPAN 2: CCS/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1)
SPAN 3: CCS/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1)
SPAN 4: CCS/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1)
ZT_SPANCONFIG failed on span 6: No such device or address (6)
[root@PT7 ~]# tail /var/log/asterisk/full
Nov 13 14:46:05 WARNING[5460] pbx.c: Context 'ivr-2' tries includes nonexistent context 'ivr-2-custom'
Nov 13 14:46:05 WARNING[5460] pbx.c: Context 'ivr-2' tries includes nonexistent context 'ext-findmefollow'
Nov 13 14:46:05 WARNING[5460] pbx.c: Context 'app-callwaiting-cwon' tries includes nonexistent context 'app-callwaiting-cwon-custom'
Nov 13 14:46:05 WARNING[5460] pbx.c: Context 'app-callwaiting-cwoff' tries includes nonexistent context 'app-callwaiting-cwoff-custom'
Nov 13 14:46:05 WARNING[5460] chan_zap.c: Unable to specify channel 1: No such device or address
Nov 13 14:46:05 ERROR[5460] chan_zap.c: Unable to open channel 1: No such device or address
here = 0, tmp->channel = 1, channel = 1
Nov 13 14:46:05 ERROR[5460] chan_zap.c: Unable to register channel '1'
Nov 13 14:46:05 WARNING[5460] loader.c: chan_zap.so: load_module failed, returning -1
Nov 13 14:46:05 WARNING[5460] loader.c: Loading module chan_zap.so failed!