Can't get FXO ports on TDM400P to work


(Bill P) #1

My FreePBX system works fine on SIP trunks (incoming and outgoing) but I can’t get the FXO trunks to work. If I make an outgoing call I get the busy announcement. Incoming calls do nothing, not even an entry in the Asterisk log. I’m beginning to wonder if my card is faulty? I have plugged a normal phone into the cables that go to the card and I can make and receive calls.

I have tried using the 32-bit and 64-bit distros but it’s always the same.

I extracted the relevant section from dmesg:

[ 98.409719] dahdi: loading out-of-tree module taints kernel.
[ 98.410375] dahdi: module verification failed: signature and/or required key missing - tainting kernel
[ 98.411907] dahdi: Version: 2.11.1
[ 98.412043] dahdi: Telephony Interface Registered on major 196
[ 98.449499] dahdi: Warning: Span WCTDM/4 didn’t specify a spantype. Please fix driver!
[ 98.450045] Freshmaker version: 73
[ 98.450507] Freshmaker passed register test
[ 99.149877] Module 0: Installed – AUTO FXO (FCC mode)
[ 99.349862] Module 1: Installed – AUTO FXO (FCC mode)
[ 99.549858] Module 2: Installed – AUTO FXO (FCC mode)
[ 99.549971] Module 3: Not installed
[ 99.550503] Found a Wildcard TDM: Wildcard TDM400P REV I (3 modules)
[ 99.558708] dahdi_transcode: Loaded.
[ 99.565151] INFO-xpp: revision Unknown MAX_XPDS=64 (8*8)
[ 99.565156] INFO-xpp: FEATURE: with PROTOCOL_DEBUG
[ 99.565189] INFO-xpp: FEATURE: with sync_tick() from DAHDI
[ 99.565720] INFO-xpp_usb: revision Unknown
[ 99.565763] usbcore: registered new interface driver xpp_usb
[ 100.258709] dahdi_devices pci:0000:03:02.0: local span 1 is already assigned span 1
[ 100.668028] dahdi_echocan_oslec: Registered echo canceler ‘OSLEC’

Is there a clue there?

I found this in the log when I try to make a call:

[2020-10-31 13:54:05] WARNING[13441][C-00000005] app_dial.c: Unable to create channel of type ‘DAHDI’ (cause 0 - Unknown)

That was in the middle of a large number of items associated with the call attempt. I can provide those log entries if it helps.

Is there a utility that can monitor and/or control the TDM400P, perhaps to make a test call or alert when there is incoming ringing?

Bill.


#2

Since you mention you have never been able to get it to work,this is an indication:

[2020-10-31 13:54:05] WARNING[13441][C-00000005] app_dial.c: Unable to create channel of type ‘DAHDI’ (cause 0 - Unknown)

Looks like some troubleshooting the card will be needed.

Is it even detected by the system? Try this command

lspci


(Bill P) #3

Thanks for the quick reply.

I’m pretty sure that the system recognises the card; FreePBX shows it in the DAHDI section with the correct port configuration. Here’s the output from lspci:

00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (Lewisville) (rev 04)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b4)
00:1c.2 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 3 (rev b4)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a4)
00:1f.0 ISA bridge: Intel Corporation Q65 Express Chipset LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port Desktop SATA AHCI Controller (rev 04)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 04)
03:02.0 Communication controller: Tiger Jet Network Inc. Tiger3XX Modem/ISDN interface

I think the last line is the card.

Bill.


(Bill P) #4

Has anyone any other suggestions?

Is there a utilty to check the functioning of the TDM400P card?

Bill.