How to Install DAHDI in CentOS 5

Due to trademark issue with the name Zaptel, Digium changed the name Zaptel to DHADI (Digium Asterisk Hardware Device Interface). Asterisk 1.6.0 and later version will use DAHDI, while Asterisk 1.4 will support both Zaptel and DAHDI. Asterisk 1.2 will be unaffected by these changes.

Installing DAHDI
Download dahdi-linux and dahdi-tools from Digium's website

and extract.

tar -zxvf dahdi-linux-2.0.0.tar.gz
tar -zxvf dahdi-tools-2.0.0.tar.gz

Install dahdi linux first

cd dahdi-linux-2.0.0
make clean
make install

and install dahdi tools.

cd dahdi-tools-2.0.0
make install
make config

DAHDI is now installed in your system, you can now install Libpri and Asterisk.