Simply, DAHDI Configuration

Hello,

I am still new to Asterisk. I have setup a PBX with TDM800 with 8FXOs.

I have one analog line attached to port 1 in my TDM800

When I type (dahdi show channels) I get the following:

Chan Extension Context Language MOH Interpret
pseudo default default

I think this means that no channel is configured. Also when dialing in form the analog line nothing appears in the CLI.

In etc/dahdi/system.conf I have the following:

fxsks=1
echocanceller=mg2,1
fxsks=2
echocanceller=mg2,2
fxsks=3
echocanceller=mg2,3
fxsks=4
echocanceller=mg2,4
fxsks=5
echocanceller=mg2,5
fxsks=6
echocanceller=mg2,6
fxsks=7
echocanceller=mg2,7
fxsks=8
echocanceller=mg2,8

Global data

loadzone = us
defaultzone = us

And in etc/asterisk/chan_dahdi.conf I hae the following:

; I have removed all comment lines
[trunkgroups]

[channels]

context=default

switchtype=national

signalling=fxo_ls

rxwink=300 ; Atlas seems to use long (250ms) winks
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
rxgain=0.0
txgain=0.0
group=1
callgroup=1
pickupgroup=1

immediate=no

Your help is highly appreciated.

Haytham

What you need to do is:

Edit chan_dahdi.conf

Under the [channels] entry add #include dahdi-channels.conf

[channels]
;
#include dahdi-channels.conf

restart dahdi

Thanks for your help.

Now it’s working :smile:

Haytham