I built my system (FreePBX 184.108.40.206) from scratch on Centos 6.2 x86_64 and installed DAHDI from source (dahdi-linux-complete-2.6.0+2.6.0), at the time. I knew it had to be installed for timing purposes, but not having the need to use it explicitly I never gave it a second thought. However recently I thought I might get conferences up and running which need DAHDI.
when I issue CLI> dahdi show status, I get:
“No DAHDI found. Unable to open /dev/dahdi/ctl: No such file or directory
Command ‘dahdi show status’ failed.”
At the command prompt if I type service dahdi status I get nothing returned back. However if I try to start or restart the service using service dahdi start I get:
"Loading DAHDI hardware modules:
FATAL: Module dahdi not found.
Error: missing /dev/dahdi!"
I then checked the DAHDI config files in etc/dahdi and commented out the devices, not being used. Still no dice.
So then (thinking it was a good idea at the time) I thought I’d try reinstalling DAHDI using yum, yum install asterisk-dahdi
This went ahead and installed asterisk-dahdi package. It also installed the dependencies (as it should) including:
asterisk x86_64 220.127.116.11-1.el6 epel 3.0 M
dahdi-tools x86_64 18.104.22.168-8.el6 epel 134 k
dahdi-tools-libs x86_64 22.214.171.124-8.el6 epel 25 k
libpri x86_64 1.4.12-1.el6 epel 179 k
libresample x86_64 0.1.3-12.el6 epel 24 k
libsrtp x86_64 1.4.4-4.20101004cvs.el6 epel 273 k
libss7 x86_64 1.0.2-1.el6 epel 53 k
So foolishly I had overwritten my otherwise working (and patched) Asterisk 126.96.36.199 install. Thankfully however yum had not overwritten the existing config file (merely appended .rpmnew to those it had installed), so getting my system back simply involved an Asterisk reinstall from my source files.
I suppose the good thing is that all the requisite DAHDI pre-requsities, like libss7 are now installed without doubt, however DAHDI is still not working for me.
Any ideas as to what I should try next?