tdm400... all circuits are busy

Hello;

I have searched everywhere and I just can’t figure this one out. Need help…

I have a TDM400 4FXO cards configured. It seems to be configured but I don;t think Asterisk is seeing it.

This is what I’m getting…
voipCLI> zap show channels
Chan Extension Context Language MOH Interpret
pseudo default default
voip
CLI> quit
Executing last minute cleanups
[root@voip asterisk]# ztcfg -vv

Zaptel Version: 1.4.12.1
Echo Canceller: MG2
Configuration

Channel map:

Channel 01: FXS Kewlstart (Default) (Slaves: 01)
Channel 02: FXS Kewlstart (Default) (Slaves: 02)
Channel 03: FXS Kewlstart (Default) (Slaves: 03)
Channel 04: FXS Kewlstart (Default) (Slaves: 04)

4 channels to configure.

These are my conf files: ;zapata.conf ;General options [channel] usecallerid=yes hidecallerid=no callwaitingcallerid=yes callwaiting=yes threewaycalling=yes transfer=yes echocancel=yes echocancelwhenbridged=yes rxgain=0.0 txgain=0.0 #include "zapata-channels.conf" #include "zapata_additional.conf"

;zapata-channels.conf
; Autogenerated by ./genzaptelconf – do not hand edit

; Span 1: WCTDM/0 “Wildcard TDM400P REV I Board 1” (MASTER)
;;; line="1 WCTDM/0/0 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-zaptel
channel => 1
context=default

;;; line="2 WCTDM/0/1 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-zaptel
channel => 2
context=default

;;; line="3 WCTDM/0/2 FXSKS RED"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-zaptel
channel => 3
context=default

;;; line="4 WCTDM/0/3 FXSKS RED"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-zaptel
channel => 4
context=default

;zapata_additional.conf
;------------------------------------------------------------------------------
; Do NOT edit this file as it is auto-generated by FreePBX. All modifications t$
; this file must be done via the web gui. There are alternative files to make $
; custom modifications, details at: http://freepbx.org/configuration_files $
;------------------------------------------------------------------------------
;

Thanks!!!

Kurt

the drivers for zaptel seem to be happy and see everything correctly (output from ztcfg). But you are right asterisk does not seem to see it. have you reloaded asterisk since running the genzaptelconf program? asterisk needs to be restarted once that has happened. it’s sometimes easier to just reboot and let all the drivers reload properly on start up.

in the asterisk cli type: show modules like _zap
You should get several listed and chan_zap should be listed and in use.

Hello;

Thanks for the reply!!! I just figured it out…

In my zapata.conf
I had [channel] should be [channels]

Was beating my self to death… Finally got it!! thanks again!!

Kurt