Remove DAHDI

From KlavoWiki
Jump to navigationJump to search

This is not an official procedure as I could not find one anywhere so this is what I have come up with wchich seems to remove 99% of the appliction.

Stop Asterisk

systemctl stop asterisk

Stop and Disable DAHDI

systemctl stop dahdi
chkconfig dahdi off
chkconfig --del dahdi

Remove Files and Folders

rm -rf /etc/dahdi
rm -rf /user/share/dahdi
rm -rf /usr/include/dahdi
rm -f  /etc/asterisk/chan_dahdi.conf
rm -f  /usr/lib/asterisk/modules/chan_dahdi.so
rm -f  /usr/lib/asterisk/modules/codec_dahdi.so
rm -f  /usr/lib/asterisk/modules/res_timing_dahdi.so
rm -f  /usr/lib/firmware/dahdi*
rm -f  /usr/lib/firmware/.dahdi*
rm -f  /usr/sbin/dahdi*
rm -f  /usr/sbin/lsdahdi

Start Asterisk

systemctl start asterisk