CentOS 5 Asterisk Install Commands
This should get close to installing asterisk on CentOS 5. Current as of 11/06/2007, changes like the weather though….
yum -y install mysql-devel mysql-server curl-devel kernel-devel newt-devel gcc-c++ bison bison-devel ncurses ncurses-devel zlib zlib-devel openssl openssl-devel gnutls-devel gcc
cd /usr/src
ln -s kernels/2.6.18-8.1.15.el5-i686/ linux
wget http://downloads.digium.com/pub/asterisk/releases/asterisk-1.4.13.tar.gz
wget http://downloads.digium.com/pub/zaptel/releases/zaptel-1.4.5.1.tar.gz
wget http://downloads.digium.com/pub/libpri/releases/libpri-1.4.1.tar.gz
wget http://downloads.digium.com/pub/asterisk/releases/asterisk-addons-1.4.4.tar.gz
tar -xzvf asterisk-1.4.13.tar.gz
tar -xzvf zaptel-1.4.5.1.tar.gz
tar -xzvf libpri-1.4.1.tar.gz
tar -xzvf asterisk-addons-1.4.4.tar.gz
cd libpri-1.4.1
make && make install
cd ../zaptel-1.4.5.1
./configure
make menuselect
make
make install
make config
modprobe zaptel debug=1
modprobe wctdm debug=1
nano /etc/zaptel.conf
ztcfg -vv
cd ../asterisk-1.4.4.13
./configure
make menuselect
make
make install
make config
cd ../asterisk-addons-1.4.4
./configure
make
make install
asterisk
asterisk -r