You need to retrieve the correct kernel-devel for the kernel of linux you are running, and remake DAHDI from source

SSH onto the machine and run: uname -r

Note the kernel version.

then, google for kernel-devel (kernel version) find a suitable download source (i.e. from rpm.pbone.net)

then on the machine rpm -ivh ftp://ftp.is.co.za/mirror/centos/6.5/updates/x86_64/Packages/kernel-devel-2.6.32-431.1.2.0.1.el6.x86_64.rpm

You can then download DAHDI and make from source:

cd /usr/src/
wget http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/dahdi-linux-complete-current.tar.gz
tar zxvf dahdi-linux-complete-current.tar.gz
cd dahdi-linux-complete-2.9.1.1+2.9.1
make all
make install
make config
/etc/init.d/dahdi restart
chkconfig dahdi on

DAHDI should then work OK

Previous Post Next Post