www.atcom.cn
9
Chapter 3 Software Installation
Test Environment:
libpri-1.4.10.2
dahdi-linux-2.3.0.1
dahdi-tools-2.3.0
asterisk-1.6.2.6
centos 5.4 (kernel version: 2.6.18-164.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:
----------------------------------------------------------------------------------------------------------------------
03:01.0 Communication controller: Digium, Inc. Wildcard TE410P quad-span T1/E1/J1 card 3.3V
(rev 02)
----------------------------------------------------------------------------------------------------------------------
The TE410P 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, dahdi-tools, and asterisk
[root@localhost src]#
wget
http://downloads.asterisk.org/pub/telephony/libpri/releases/libpri-1.4.10.2.tar.gz
[root@localhost src]#
Wget
http://downloads.asterisk.org/pub/telephony/dahdi-linux/releases/dahdi-linux-2.3.0.1.tar.gz
[root@localhost src]#
wget
http://downloads.asterisk.org/pub/telephony/dahdi-tools/releases/dahdi-tools-2.3.0.tar.gz
[root@localhost src]#
wget
http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.6.2.6.tar.gz
3.
Install libpri
1)
[root@localhost src]# tar -xvzf libpri-1.4.10.2.tar.gz
2)
[root@localhost libpri-1.4.10.2]# make
3)
[root@localhost libpri-1.4.10.2]# make install