TDM400P no channels

I have a system I use for testing, runs fine under debian lenny, asterisk 1.4 and zaptel. I decided to try asterisknow 1.5 distribution. I had problems configuring this system initially under debian because of shared IRQ’s. I seem to have the same type of issues again I’m wondering how others have over come this.

I have got the card to come up on IRQ 7 unshared by playing with the bios settings. This however has not corrected my problems.

result from lspci -vb

01:09.0 Communication controller: Tiger Jet Network Inc. Tiger3XX Modem/ISDN interface
Subsystem: Unknown device b100:0003
Flags: bus master, medium devsel, latency 64, IRQ 7
I/O ports at e800
Memory at dffff000 (32-bit, non-prefetchable)
Capabilities: [40] Power Management version 2

[[email protected] ~]# dahdi_scan
[1]
active=yes
alarms=OK
description=Wildcard TDM400P REV E/F Board 5
name=WCTDM/4
manufacturer=Digium
devicetype=Wildcard TDM400P REV E/F
location=PCI Bus 01 Slot 10
basechan=1
totchans=4
irq=50
type=analog
port=1,FXS
port=2,FXS
port=3,FXS
port=4,FXO

[[email protected] ~]# dahdi_test
Opened pseudo dahdi interface, measuring accuracy…
99.993% 99.997% 99.995% 99.995% 99.995% 99.994% 99.995% 99.995%
99.995% 99.995% 99.995% 99.995% 99.996% 99.995% 99.995% 99.996%
99.994% 99.995% 99.995% 99.995% 99.995% 99.995% 99.995% 99.995%
99.995% 99.995% 99.994% 99.995% 99.995% 99.995% 99.995% 99.995%
99.995% 99.995% 99.995%
— Results after 35 passes —
Best: 99.997 – Worst: 99.993 – Average: 99.994908, Difference: 100.005091

xxxxxxxxxxxxxxxx CLI> dahdi show status
Description Alarms IRQ bpviol CRC4
Wildcard TDM400P REV E/F Board 5 OK 0 0 0

xxxxxxxxxxx CLI> dahdi show channels
Chan Extension Context Language MOH Interpret
xxxxxxxxxxx CLI>

cat /var/log/messages
dahdi: Telephony Interface Registered on major 196
Jan 31 05:50:50 kernel: dahdi: Version: 2.1.0.4
Jan 31 05:50:50 kernel: ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 19
Jan 31 05:50:50 kernel: ACPI: PCI Interrupt 0000:01:09.0[A] -> Link [LNKB] -> GSI 19 (level, low) -> IRQ 50
Jan 31 05:50:50 kernel: Freshmaker version: 71
Jan 31 05:50:50 kernel: Freshmaker passed register test
Jan 31 05:50:50 kernel: Module 0: Installed – AUTO FXS/DPO
Jan 31 05:50:50 kernel: Module 1: Installed – AUTO FXS/DPO
Jan 31 05:50:50 kernel: Module 2: Installed – AUTO FXS/DPO
Jan 31 05:50:50 kernel: Module 3: Installed – AUTO FXO (FCC mode)
Jan 31 05:50:50 kernel: Found a Wildcard TDM: Wildcard TDM400P REV E/F (4 modules)
Jan 31 05:50:50 kernel: dahdi_transcode: Loaded.

cat dahdi-channels.conf
; Autogenerated by /usr/sbin/dahdi_genconf on Sun Jan 31 05:11:09 2010 – do not hand edit
; Dahdi Channels Configurations (chan_dahdi.conf)
;
; This is not intended to be a complete chan_dahdi.conf. Rather, it is intended
; to be #include-d by /etc/asterisk/chan_dahdi.conf that will include the global settings
;

; Span 1: WCTDM/4 “Wildcard TDM400P REV E/F Board 5” (MASTER)
;;; line="1 WCTDM/4/0 FXOLS (EC: MG2)"
signalling=fxo_ls
callerid=“Channel 1” <4001>
mailbox=4001
group=5
context=from-internal
channel => 1
callerid=
mailbox=
group=
context=default

;;; line="2 WCTDM/4/1 FXOLS (EC: MG2)"
signalling=fxo_ls
callerid=“Channel 2” <4002>
mailbox=4002
group=5
context=from-internal
channel => 2
callerid=
mailbox=
group=
context=default

;;; line="3 WCTDM/4/2 FXOLS (EC: MG2)"
signalling=fxo_ls
callerid=“Channel 3” <4003>
mailbox=4003
group=5
context=from-internal
channel => 3
callerid=
mailbox=
group=
context=default

;;; line="4 WCTDM/4/3 FXSKS (EC: MG2)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 4
callerid=
group=
context=default

As you can see by the results the system sees the card, the drivers are loaded but no channels. Any tips on how to over come this would be appreciated.

If you look at the asterisk log file and search for dahdi, it should provide some clues as to what dahdi devices are registering with asterisk.

If there is a mismatch between the hardware /etc/dahdi/system.conf and /etc/asterisk/dadhi-channels.conf, then dahdi won’t load. Doesn’t matter how minor the error.

Some distros of Asterisk don’t use dahdi-channels.conf and use chan-dahdi.conf, chan-dahdi-additions.conf and chan-dahdi-custom.conf. You may want to check to see if these files exist on your server.

chan-dahdi.conf usually holds links to the other config files.
chan-dahdi-additions.conf holds the fxs extension configs
chan-dahdi-custom.conf holds the fxo and t1 configs.

I normally use dahdi_genconf once and then manually edit the files.

I ended up customizing the chan-dahdi.conf to contain my channels works fine now.

I also ran an update on my system several modules were back dated and as this was a new config I brought it up to current levels.

Thank you for pointing me in the right direction.

Dear jreynolds0352

iam having exactly the same problem could you please specify what changes you make in order to fix this problem

thank you
Naem