I think I have Zaptel and Zapata configured correctly (see configs below), but Asterisk won’t start and returns the error shown in the log.
Can anyone see what I’ve got wrong in the configs (listed below)?
If I comment out the FXS configuration in Zapata.conf, asterisk will start. I also moved the FXS daugher card from channel 1 to 2 and get the same problem. I’ve looked through posts and documents and think that I’ve got it configured right - could it be that the daughter card is bad?. Also, the green LED is on for channels 3 & 4, but not 2. I don’t want to jump to this conclusion and spend $80 on another daughter card until I get a few more opinions.
Thanks for the help
# tail /var/log/asterisk/full
Nov 25 13:34:02 DEBUG[23037] chan_zap.c: Updated conferencing on 4, with 0 conference users
Nov 25 13:34:02 VERBOSE[23037] logger.c: – Registered channel 4, FXS Kewlstart signalling
Nov 25 13:34:02 WARNING[23037] chan_zap.c: Unable to specify channel 2: No such device
Nov 25 13:34:02 ERROR[23037] chan_zap.c: Unable to open channel 2: No such device
here = 0, tmp->channel = 2, channel = 2
Nov 25 13:34:02 ERROR[23037] chan_zap.c: Unable to register channel '2’
Nov 25 13:34:02 WARNING[23037] loader.c: chan_zap.so: load_module failed, returning -1
Nov 25 13:34:02 VERBOSE[23037] logger.c: – Unregistered channel 1
Nov 25 13:34:02 VERBOSE[23037] logger.c: – Unregistered channel 2
Nov 25 13:34:02 WARNING[23037] loader.c: Loading module chan_zap.so failed!
Here’s how my config files are set up:
zaptel.conf configuation:
fxoks=2
fxsks=3-4
loadzone = us
defaultzone=us
zapata.conf configuration
[trunkgroups]
[channels]
language=en
#include zapata_additional.conf ;include zap extensions defined in freePBX/AMP
usecallerid=yes
echocancel=yes
echocancelwhenbridged=no
echotraining=800
rxgain=0.0
txgain=0.0
;
; The Digium TDM400P has FXO daughter cards on ports 3 & 4
; These will connect to the phone service.
signalling=fxs_ks
group=3
context=incoming
channel => 3-4
;
; The Digium TDM400P has FXS daughter cards on port 2
; This will connect to an analog phone.
signalling=fxo_ks
group=4
context=internal
channel => 2
;
faxdetect=incoming