How To Install Asterisk1.6.2 On CentOS 5
Install dependencies:
# yum -y install kernel-devel bison bison-devel ncurses ncurses-devel zlib zlib-devel openssl openssl-devel gnutls-devel gcc gcc-c++ make libxml2-devel
Download Asterisk and DAHDI:
# wget https://launchpad.net/asterisk/1.6.2/1.6.2.24/+download/asterisk-1.6.2.24.tar.gz && wget http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/releases/dahdi-linux-complete-2.3.0.1+2.3.0.tar.gz
Extract Asterisk and DAHDI:
# tar -xvzf asterisk-1.6.2.24.tar.gz && tar -xvzf dahdi-linux-complete-2.3.0.1+2.3.0.tar.gz
Build DAHDI:
# cd dahdi-linux-complete-2.3.0.1+2.3.0
# make all
# make install
# make config
Start DAHDI:
# service dahdi start
Build Asterisk:
# cd asterisk-1.6.2
# make clean
# ./configure
Configure Asterisk build:
# make menuselect
# make
# make install
Install sample files in /etc/asterisk:
# make samples
# make config
Verify the Asterisk installation:
# safe_asterisk
# asterisk -vvvvvr
CLI> reload
CLI> quit
Start Asterisk:
# service asterisk start
Set Asterisk and DAHDI to start on boot:
# chkconfig dahdi on
# chkconfig asterisk on
Possibly Related Posts:
- How to setup Asterisk 11.0 beta on CentOS 6.2 | My Technical Notes
- Install Asterisk 1.8 from source on Ubuntu 12.04
- Asterisk 11.0.0-beta1 Now Available
- How-to Enable Video support in Asterisk
- How to Enable Text option on Trixbox ( asterisk )

