Configuration problem TDM400P with 2 fxo cards and 1 fxs

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

Hi

Whats the output of dmesg and lsmod ?

This should show if the cards loading OK

Thanks, that helps a lot. I’m new to Linux so didn’t know those commands - clearly, I have to plug in the cable.

Here’s the important parts from dmesg:

zaptel: module not supported by Novell, setting U taint flag.
Zapata Telephony Interface Registered on major 196
Zaptel Version: 1.2.4 Echo Canceller: KB1

wctdm: module not supported by Novell, setting U taint flag.

ProSLIC on module 1 failed to powerup within 504 ms (0 mV only)

– DID YOU REMEMBER TO PLUG IN THE HD POWER CABLE TO THE TDM400P??
Unable to do INITIAL ProSLIC powerup on module 1
Unable to do INITIAL ProSLIC powerup on module 1
Module 1: FAILED FXS (FCC)
Module 2: Installed – AUTO FXO (FCC mode)
Module 3: Installed – AUTO FXO (FCC mode)
Found a Wildcard TDM: Wildcard TDM400P REV I (2 modules)

OOPS… guess I missed the HD POWER CABLE step