www.atcom.cn
7
Chapter 3 Software Installation
Test Environment:
libpri-1.4.12
dahdi-linux-complete-2.5.0.1+2.5.0.1
asterisk-1.8.7.1
centos 5.6 (kernel version: 2.6.18-238.el5)
After inserting the card into your PCI slot and boot your server, please use the “lspci” command to
check the PCI bus compatibility. From the correct output, you can see the following line:
----------------------------------------------------------------------------------------------------------------------
01:05.0 ISDN controller: Cologne Chip Designs GmbH ISDN network Controller [HFC-4S] (rev
01)
----------------------------------------------------------------------------------------------------------------------
The Cologne Chip will be found, if you can not see one line like the line above, please poweroff
your server and try to use another PCI slot, if it still does not help, you have to check the
compatibility issue between the card and your PCI bus.
1.
To install asterisk and dahdi, we have to use “yum” command to install the following
prerequisite packages:
bison bison-devel zlib zlib-devel openssl openssl-devel gnutls-devel gcc gcc-c++
2.
Download libpri, dahdi-linux-complete, and asterisk
[root@localhost src]#
wget
http://downloads.asterisk.org/pub/telephony/libpri/releases/libpri-1.4.12.tar.gz
[root@localhost src]#
Wget
http://downloads.asterisk.org/pub/telephony/dahdi-linux/releases/dahdi-linux-complete-2.5.0.
1+2.5.0.1.tar.gz
[root@localhost src]#
wget
http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.8.7.1.tar.gz
3.
Install libpri
1)
[root@localhost src]# tar -xvzf libpri-1.4.12.tar.gz
2)
[root@localhost libpri-1.4.12]# make
3)
[root@localhost libpri-1.4.12]# make install
4.
Install dahdi-linux-complete
1)
[root@localhost src]# tar -xvzf dahdi-linux-complete-2.5.0.1+2.5.0.1.tar.gz
2)
[root@localhost src]# cd dahdi-linux-complete-2.5.0.1+2.5.0.1
3)
[root@localhost dahdi-linux-complete-2.5.0.1+2.5.0.1]# make