Hi all, I have been all day trying to configure my tdm400p card but I have a problem…
I dont have zapata.conf , only have zapata-channels.conf and /etc/zaptel.conf
I have centos 5.4.
zaptel 1.4.12.1
asterisk 1.4.35
libpri 1.4.11
I installed zaptel normally:
make clean
make
make install
make config
Everthing seem to be ok, I didnt get any error installing asterisk, zaptel, and even reinstall all.
zapata-channels.conf
; Autogenerated by /usr/sbin/genzaptelconf -- do not hand edit
; Zaptel Channels Configurations (zapata.conf)
;
; This is not intended to be a complete zapata.conf. Rather, it is intended
; to be #include-d by /etc/zapata.conf that will include the global settings
;
; Span 1: WCTDM/0 "Wildcard TDM400P REV I Board 1" (MASTER)
;;; line="1 WCTDM/0/0 FXSKS RED"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 1
context=default
;;; line="2 WCTDM/0/1 FXSKS RED"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 2
context=default
;;; line="3 WCTDM/0/2 FXSKS RED"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 3
context=default
;;; line="4 WCTDM/0/3 FXOKS"
signalling=fxo_ks
callerid="Channel 4" <6004>
mailbox=6004
group=5
context=from-internal
channel => 4
callerid=
mailbox=
group=
context=default[/code]
[code] ztcfg -vvv
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: FXO Kewlstart (Default) (Slaves: 04)
4 channels to configure.[/code]
[code]lszaptel:
### Span 1: WCTDM/0 "Wildcard TDM400P REV I Board 1" (MASTER)
1 FXO FXSKS RED
2 FXO FXSKS RED
3 FXO FXSKS RED
4 FXS FXOKS
zaptel.conf
[code]# It must be in the module loading order
Span 1: WCTDM/0 “Wildcard TDM400P REV I Board 1” (MASTER)
fxsks=1
fxsks=2
fxsks=3
fxoks=4
Global data
loadzone = us
defaultzone = us
[/code]
If I run genzaptelconf I get:
grep: /etc/asterisk/zapata.conf: No such file or directory