No dial tone with TDM400P on asterisk

hi all,
I’m trying to configure asterisk 1.6,dahdi2.0 on ubuntu9.10 with TDM400P analog card.

I have these files configured:

/etc/asterisk/chan_dahdi.conf

[channels]
language=en
usecallerid=yes
hidecallerid=no
callwaiting=no
threewaycalling=yes
transfer=yes

context=Internal
signalling=fxs_ks
echocancel=yes
echocancelwhenbridged=yes
echotraining=800
group=1
dahdichan=>1

signalling=fxs_ks
echocancel=yes
echocancelwhenbridged=yes
echotraining=800
group=1
context=Internal
dahdichan=>2

signalling=fxs_ks
echocancel=yes
echocancelwhenbridged=yes
echotraining=800
group=1
context=Internal
dahdichan=>3

signalling=fxo_ks
echocancel=yes
echocancelwhenbridged=yes
echotraining=800
group=1
context=Incoming
dahdichan=>4

/etc/dahdi/system.conf

Autogenerated by /usr/sbin/dahdi_genconf on Mon Jun 7 12:06:56 2010

If you edit this file and execute /usr/sbin/dahdi_genconf again,

your manual changes will be LOST.

Dahdi Configuration File

This file is parsed by the Dahdi Configurator, dahdi_cfg

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

fxoks=1
echocanceller=mg2,1
fxoks=2
echocanceller=mg2,2
fxoks=3
echocanceller=mg2,3
fxsks=4
echocanceller=mg2,4

Global data

loadzone = us
defaultzone = us

/etc/asterisk/extensions.conf
[Internal]
exten => 1000,1,Dial(dahdi/1,20,rt)
exten => 1000,2,Voicemail(u1000)
exten => 1000,102,Voicemail(b1000)
exten => 2000,1,Dial(dahdi/2,20,rt)
exten => 2000,2,Voicemail(u2000)
exten => 2000,102,Voicemail(b2000)
exten => 3000,1,Dial(dahdi/3,20,rt)
exten => 3000,2,Voicemail(u3000)
exten => 3000,102,Voicemail(b3000)
exten => 8500,1,VoiceMailMain
exten => 8501,1,MusicOnHold
exten => _9.,1,Dial(dahdi/g2/www${EXTEN:1})
exten => _9.,2,Congestion
[Incoming]
exten => s,1,Answer
exten => s,2,Dial(dahdi/g1,20,rt)
exten => s,3,Voicemail(u1000)
exten => s,103,Voicemail(b1000)

lspci -vb shows module hisax along with wctdm
02:01.0 Network controller: Tiger Jet Network Inc. Tiger3XX Modem/ISDN interface
Subsystem: Device b119:0001
Flags: bus master, medium devsel, latency 64, IRQ 5
I/O ports at c800
Memory at fea9f000 (32-bit, non-prefetchable)
Capabilities: [40] Power Management version 2
Kernel driver in use: wctdm
Kernel modules: wctdm, hisax

for which I have added a line in /etc/modeprobe.d/blacklist.conf
blacklist hisax

I have connected three analog phones to ports 1-3 and there is no pstn connection on port 4.

As fxs port provides dial tone and line voltage to the phone I should hear dial tone on the phones which I’m not and only hear the key tones.

getting really frustrated .I don’t know where I’m going wrong

please helpp.

-Jyothi.

In your chan_dahdi edit the telephones for use fxo_ks signalling and the Line use fxs_ks. Change it and try again.