www.atcom.cn
7
Chapter 3 Software Installation
Test Environment:
asterisk-1.6.1.12
dahdi-linux-2.2.0.2
dahdi-tools-2.2.0
Centos 5.4
AX-800P+210S+210X
After inserting the card into your PCI slot and boot your server, please use the “lspci -vv”
command to check the PCI bus compatibility. The correct output will like the following:
----------------------------------------------------------------------------------------------------------------------
05:04.0 Communication controller: Tiger Jet Network Inc. Tiger3XX Modem/ISDN interface
----------------------------------------------------------------------------------------------------------------------
A Tiger Jet device will be found, if you can not see the Tiger Jet device, please poweroff your
server and try 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 install the following prerequisite packages:
bison bison-devel zlib zlib-devel openssl openssl-devel gnutls-devel gcc gcc-c++
Please use the yum install command to install the above packages.
2.
Download asterisk,dahdi-linux and dahdi-tools
[root@localhost src]#
wget
http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-xx
[root@localhost src]#
wget
http://downloads.asterisk.org/pub/telephony/dahdi-linux/releases/dahdi-linux-xx
[root@localhost src]#
wget
http://downloads.asterisk.org/pub/telephony/dahdi-tools/releases/dahdi-tools-xx
3.
Install asterisk,dahdi-linux and dahdi-tools
Install dahdi-linux and Rectify wctdm.c
1)
[root@localhost src]# tar -xvzf dahdi-linux-2.2.0.2.tar.gz
2)
[root@localhost src]# cd dahdi-linux-2.2.0.2/drivers/dahdi/
3)
rm –rf wctdm.c
4)
wget
http://www.atcom.cn/downloads/TelephonyCard/drivers/AX-1600P/wctdm.c.v1.6
5)
mv wctdm.c.v1.6 wctdm.c
6)
[root@localhost src]# cd dahdi-linux-2.2.0.2
[root@localhost dahdi-linux-2.2.0.2]# make
7)
[root@localhost dahdi-linux-2.2.0.2]# make install