Digium DAHDI card in FreePBX

I just bought a new server from Dell and an 8-port analog telephony card from Digium. Upon installing AsteriskNow with FreePBX the analog card was not recognized in FreePBX.

Following the suggestions of Digium support and some forum users, I performed a CentOS update using yum update and updated the core module in FreePBX.

The card is now recognized and shows that DAHDI version 2.8.0.1 is now being used. The only problem is, that is sees them as FXS ports instead of FXO ports.

I confirmed with Digium support that Asterisk is seeing them as FXO ports.

How do I get FreePBX to see the ports correctly?

Here is a screen shot of the FreePBX output - http://s30.postimg.org/g2d096cbl/dahdi.png

Maybe you bought the wrong hardware, FXO ports use fxs signalling and connect to the wall, FXS ports use fxo signalling and connect to phones.

Yah, that’s what I thought. So I called Digium support and they ran a few commands that confirmed that Asterisk is seeing them as FXO ports.

what commands?, asterisk and dahdi are not the same dahdi is a channel driver for asterisk. so the issue of your :-

dahdi_scan
dahdi_hardware
dahdi_cfg -vv

would be helpfull

DAHDI Tools Version - 2.8.0

DAHDI Version: 2.8.0.1
Echo Canceller(s): HWEC
Configuration

Channel map:

Channel 01: FXO Kewlstart (Default) (Echo Canceler: none) (Slaves: 01)
Channel 02: FXO Kewlstart (Default) (Echo Canceler: none) (Slaves: 02)
Channel 03: FXO Kewlstart (Default) (Echo Canceler: none) (Slaves: 03)
Channel 04: FXO Kewlstart (Default) (Echo Canceler: none) (Slaves: 04)
Channel 05: FXO Kewlstart (Default) (Echo Canceler: none) (Slaves: 05)
Channel 06: FXO Kewlstart (Default) (Echo Canceler: none) (Slaves: 06)
Channel 07: FXO Kewlstart (Default) (Echo Canceler: none) (Slaves: 07)
Channel 08: FXO Kewlstart (Default) (Echo Canceler: none) (Slaves: 08)

8 channels to configure.

Setting echocan for channel 1 to none
Setting echocan for channel 2 to none
Setting echocan for channel 3 to none
Setting echocan for channel 4 to none
Setting echocan for channel 5 to none
Setting echocan for channel 6 to none
Setting echocan for channel 7 to none
Setting echocan for channel 8 to none

-------------------------------------------------------------------------------;

Do NOT edit this file as it is auto-generated by FreePBX. All modifications to ;

this file must be done via the web gui. There are alternative files to make ;

custom modifications, details at: http://freepbx.org/configuration_files ;

-------------------------------------------------------------------------------;

fxoks=1-8
loadzone=us

pci:0000:02:00.0 wcaxx+ d161:800d Digium A8B

[1]
active=yes
alarms=OK
description=Wildcard A8B
name=WCTDM/0
manufacturer=Digium
devicetype=Wildcard A8B
location=PCI Bus 02 Slot 01
basechan=1
totchans=8
irq=0
type=analog
port=1,FXS
port=2,FXS
port=3,FXS
port=4,FXS
port=5,FXS
port=6,FXS
port=7,FXS
port=8,FXS

dahdi_scan?

run dahdi_genconfig and see if anything changes.

(run

dahdi_genconfig -vv

to see what should have changed)

it looks like this is the only thing that changed - echo cancel was changed to mg2…

dahdi_cfg -vv
DAHDI Tools Version - 2.8.0

DAHDI Version: 2.8.0.1
Echo Canceller(s): HWEC
Configuration

Channel map:

Channel 01: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 01)
Channel 02: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 02)
Channel 03: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 03)
Channel 04: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 04)
Channel 05: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 05)
Channel 06: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 06)
Channel 07: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 07)
Channel 08: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 08)

8 channels to configure.

Setting echocan for channel 1 to mg2
Setting echocan for channel 2 to mg2
Setting echocan for channel 3 to mg2
Setting echocan for channel 4 to mg2
Setting echocan for channel 5 to mg2
Setting echocan for channel 6 to mg2
Setting echocan for channel 7 to mg2
Setting echocan for channel 8 to mg2

If dahdi_scan sees them as FXS then there is not much we can do (they are being seen as FXS!). The module uses dahdi_scan to work. You’ll need to bring that one up with Digium

Pretty well as tm1000 says. Good Luck

Thanks. I’ll let you know what happens

Howdy,

Okay, so you’ve already got an open ticket with our Support department?

I received the wrong card from Digium. arrrggg Replacement on the way

Malcom - yes. Jonathan, Edgar, and his supervisor were very helpful.

Ick. Did we ship you the wrong card? Was it ordered directly from us or from a reseller?

Yah, it looks like the wrong card was put in the correct package. I got 2 cards the exact same way, so they are taking both of them back and sending me the correct ones.