[asterisk-users] [Dahdi 2.4.0] DAHDI_CHANCONFIG failed on channel 1

Gilles codecomplete at free.fr
Mon Feb 21 16:52:25 CST 2011


Hello

On a brand new CentOS 5.5 host, I wanted to install Dahdi before
installing Asterisk 1.4.x.

So I untarred dahdi-linux-complete-2.4.0+2.4.0.tar.gz, followed by
make, make install, make config.

Next, I created the following files from scratch:

============ /etc/modprobe.d/dahdi.conf:
options wctdm opermode=FRANCE
============ /etc/dahdi/modules
wctdm
============ /etc/dahdi/system.conf
loadzone = fr
defaultzone = fr
fxsks = 1
echocanceller=mg2,1 
============ /etc/asterisk/chan_dahdi.conf
[trunkgroups]

[channels]
signalling = fxs_ks
usecallerid = yes
hidecallerid = no
callwaiting = yes
usecallingpres = yes
callwaitingcallerid = yes
threewaycalling = yes
transfer = yes
canpark = yes
cancallforward = yes
callreturn = yes
echocancel = yes
echocancelwhenbridged = yes
relaxdtmf = yes
rxgain = 0.0
txgain = 0.0
immediate = no
context = from-pstn
channel => 1
============ extensions.conf
[from-pstn]
exten => s,1,NoOp(Incoming call)
============ 

Finally, I ran /etc/init.d/dahdi start, and get the following error:
============ 
Running dahdi_cfg:  DAHDI_CHANCONFIG failed on channel 1: No such
device or address (6) [FAILED]
============ 

Here's what "tail /var/log/messages" shows:
============ 
# tail /var/log/messages
...
Feb 21 22:44:54 centos kernel: fd != ff
Feb 21 22:44:54 centos kernel: fe != ff
Feb 21 22:44:54 centos kernel: Freshmaker failed register test
Feb 21 22:44:54 centos kernel: wctdm: probe of 0000:04:0a.0 failed
with error -5
============ 

Has someone seen this? Is my Dahdi configuration wrong, or is it some
issue between Dahdi and CentOS?

Thank your for any help.




More information about the asterisk-users mailing list