How to add tdm400p to zaptel and zapata of asterisk te410P?

Hi, first sorry for my bad english.

I have running a asterisk with E1 and TE410P and 31 channels, now we buy a TDM400P with 3 X110M in ports 1,2,3 and 1 S110M on port 4.

My actual zaptel.conf is:

span=1,1,0,ccs,hdb3,crc4
bchan=1-15
dchan=16
bchan=17-31

loadzone=es
defaultzone=es

and my zapata.conf is:

[channels]

group=1
switchtype=euroisdn
pridialplan=national
prilocaldialplan=national
signalling=pri_cpe
callgroup=1
pickupgroup=1
context=default
immediate=no
callerid=asreceived
usecallerid=yes
hidecallerid=no
callwaiting=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=no
echocancel=yes
echocancelwhenbridged=yes
echotraining=yes
relaxdtmf=yes
rxgain=4
txgain=1
busydetect=no
channel=>1-15,17-31
musiconhold=default
language=es

Now I want to add the TDM400P, I have seen that I have to use fkoks and fksks in zaptel, but when I do, then when execute ztcfg -vvv I have this error: "Unknown keyword “fkoks” and unknown keyword “fksks”.

Can somebody help me to add this card?

Thank you very much from Spain.

It’s “fxoks” and “fxsks”

It’s okay thanks, but I don’t know configure zaptel and zapata.

I have this zaptel now:

span=1,1,0,ccs,hdb3,crc4
bchan=1-15
dchan=16
bchan=17-31

fxoks=32-34
fxsks=35

loadzone=es
defaultzone=es

and this zapata.conf now:

[channels]

group=1
switchtype=euroisdn
pridialplan=national
prilocaldialplan=national
signalling=pri_cpe
callgroup=1
pickupgroup=1
context=default
immediate=no
callerid=asreceived
usecallerid=yes
hidecallerid=no
callwaiting=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=no
echocancel=yes
echocancelwhenbridged=yes
echotraining=yes
relaxdtmf=yes
rxgain=4
txgain=1
busydetect=no
channel=>1-15,17-31
musiconhold=default
language=es

group=2
signalling=fxo_ks
context=default
channel=32-34

group=3
signalling=fxs_ks
context=default
channel=35

well, then when I execute ztcfg, it’s ok I think with this last lines:

Channel 30: Clear channel (Default) (Slaves: 30)
Channel 31: Clear channel (Default) (Slaves: 31)
Channel 32: FXO Kewlstart (Default) (Slaves: 32)
Channel 33: FXO Kewlstart (Default) (Slaves: 33)
Channel 34: FXO Kewlstart (Default) (Slaves: 34)
Channel 35: FXS Kewlstart (Default) (Slaves: 35)

But when I execute zttool I see this:

Description Alarms IRQ bpviol CRC4
T4XXP (PCI) Card 0 Span 1 OK 0 0 0
T4XXP (PCI) Card 0 Span 2 OK 0 0 0
T4XXP (PCI) Card 0 Span 3 UNCONFIGUR 0 0 0
T4XXP (PCI) Card 0 Span 4 UNCONFIGUR 0 0 0
Wildcard TDM400P REV I Board 1 UNCONFIGUR 0 0 0

Before install TDM400P I only had first span ok, but now show span 2 ok too, why? and the TDM400 unconfigured? why?

I don’t Know, somebody help me?

Sorry for my english and regards.

If that is a 4 span e1 card, then wouldn’t your channels for the TDM400 start above 128? It looks to me like adding them as 32 - 35, is applying those setting to the first four ports of span 2 and not the tdm400 card.

That is exactily what happened to me tonight. I never would have figured it out without your post… all status messages were indicating the lower channel numbers were properly assigned to the TDM400.

Thanks for the help :smile: