TDM400P Dialtone problem

Hi,
I have a TDM400P (2FXS and 2FXO) installed on my asterisk (1.4.18.1) Zaptel (1.4.9.2) running on Fedora Core 7, below are my configurations and some diagnosis I did. The problem is when I connect an analogue headset on either of the FXS channels I don’t get a dialtone, I can’t call any of the sip clients or even call my echo test, number, which is an context included in that of the FXS port.
How can I solve this problem? Please assist.

zaptel.conf

Span 1: WCTDM/0 “Wildcard TDM400P REV I Board 1” (MASTER)

fxoks=1
fxoks=2
fxsks=3
fxsks=4

Global data

loadzone = us
defaultzone = us

zapata.conf
[trunkgroups]
; define any trunk groups

[channels]
; hardware channels

;language=en
;context=from-zaptel
;signalling=fxs_ks
;rxwink=300 ; Atlas seems to use long (250ms) winks
;
; Whether or not to do distinctive ring detection on FXO lines
;
usedistinctiveringdetection=yes
; default
usecallerid=yes
hidecallerid=no
callwaiting=no
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
;echotraining=800
echotraining=yes
rxgain=0.0
txgain=0.0

;group=0
callgroup=1
pickupgroup=1
immediate=no
context=phone
signalling=fxo_ks
channel => 1
;callerid=
;mailbox=
;group=
context=phone

;;; line="2 WCTDM/0/1 FXOKS (In use)"
signalling=fxo_ks
;context=phone
channel => 2
;callerid=
;mailbox=
;group=
context=incoming

;;; line="3 WCTDM/0/2 FXSKS (In use)"
signalling=fxs_ks
;callerid=asreceived
;group=0
channel => 3
context=incoming

;;; line="4 WCTDM/0/3 FXSKS (In use)"
signalling=fxs_ks
;callerid=asreceived
;group=0
;context=incoming
channel => 4
;context=default

[root@localhost /]# /sbin/ztcfg -vv

Zaptel Version: 1.4.9.2
Echo Canceller: MG2
Configuration

Channel map:

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

4 channels to configure.

Asterisk CLI
core score show channeltypes
Type Description Devicestate Indications Transfer


Feature Feature Proxy Channel Driver no yes no
IAX2 Inter Asterisk eXchange Driver (Ver 2) yes yes yes
Local Local Proxy Channel Driver yes yes no
SIP Session Initiation Protocol (SIP) yes yes yes
Phone Standard Linux Telephony API Driver no yes no
MGCP Media Gateway Control Protocol (MGCP) yes yes no
Agent Call Agent Proxy Channel yes yes no

7 channel drivers registered.

*CLI> module reload chan_zap.so
No such module ‘chan_zap.so’

*CLI>

Signaling should be opposite of what you have, therfore a fxo=fxsks, and fxs=fxoks,
edit:
Nevermind, I read the layout of the card wrong

What is the make and model of your headset?

Can you attach your headset directly to a standard phone jack or fxo port?

Generally headsets attach to telephones and the telephone connects to the POTS jack or fxo port.

Regards,

Ike

Hi,
I meant I have connected the analog phone to the FXS channel of the card, but I still don’t get a dialtone. From the configs above is there any indication of the problem. The card is a digium TDM400P (2FXS and 2FXo with BKO written besides the serial number).
Any ideas.

Hi Guys,
After doing a /sbin/ztcfg -vv, after listing the zaptel channels configuration it says 4 channels to configure instead of 4 channels configured. is there any additional configuration or dependency I need to load (I’ve done modprobe wctdm and modprobe zaptel before doing /sbin/ztcfg -vv).

“4 channels to configure” is normal. Somebody made a typo in the message text a few releases ago.

Check your hard drive power cable to the TDM card. I experienced the same problem only to discover one of the pins was bent on the male Molex connector on the extension cable I was using. I bought a new “IDE Power Extension T-Cable” and after I installed it the problem went away.

You can also try to re-seat your TDM card or move it to another bus.

Hope this helps.

Ike

Hi,
I re-checked the connections and just re-sat the card firmly on the same slot. I’ll check it again and try a different slot. I also noted the file /usr/lib/asterisk/modules/chan_zap.so was missing so I copied it from the untarred Asterisk directory. I’ll also try recompiling asterisk after recompiling zaptel and libpri.

Hi,

I too have a TDM400P (22B) with 2 fxo, 2fxs channels. I configured zaptel.conf correctly. Phone (fxs channel) in c1 and pots incoming(fxo channel) in c3.

Now, my ztcfg is showing mappings correctly. I think , I have set up the zapata.conf and extensions correctly. But, I don’t get a dial tone in my phone. By the way, which command from asterisk shows channels configured? Pls help.

Hi,

"*CLI> module reload chan_zap.so
No such module ‘chan_zap.so’ "

Yes, sure that it is the reason why… The fxs signnalling is generated by chan_zap module of Asterisk so please check and make sure you have chan_zap.so file in /usr/lib/asterisk/modules as well as it is load by Asterisk properly.

“I copied it from the untarred Asterisk directory” I think that you did copy the chan_zap.c instead of chan_zap.so… Tarred Asterisk directory only contains source files, no binary file

Your sincerely!
Duc Viet To Ho

Hi Guys,

I located the problem,
After installing asterisk chan_zap.so should also be an available lib for asterisk to use. Mine lacked it, so I reinstalled Zatel, Libpri then Asterisk after switching the PCI slot for the card and the power supply feeding it.
PBK try it.

Thanks all for your help.

Hi,

yes murithi. this worked!.

fyi