Hello!
Here I am going to explain the steps to install asterisk from the source files
What we are going to install here is the following
- Asterisk version 1.6.2.16.1
- Asterisk Addons version 1.6.2.3
Please note that these are the latest stable version in 1.6 series while writing this article.
We are also going to install the following for jabber/gtalk and php/mysql support
- iksemel-1.4
- PHP 5 with mysql support
Install Dependencies
[code lang=php]
yum -y install gcc gcc-c++ libxml2-devel ncurses-devel  mysql mysql-devel mysql-server  php php-mysql php-devel openssl openssl-devel
wget http://iksemel.googlecode.com/files/iksemel-1.4.tar.gz
tar -zxf iksemel-1.4.tar.gz
cd iksemel-1.4
./configure
make
make install
cd /usr/local/lib
cp * /usr/lib
[/code]
Install Asterisk
[code]
wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-1.6.2-current.tar.gz
tar -zxf asterisk-1.6.2-current.tar.gz
cd cd asterisk-1*
./configure
make && make install
[/code]
Install Asterisk Addons
[code]
wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-addons-1.6.2-current.tar.gz
tar -zxf asterisk-addons-1.6.2-current.tar.gz
cd asterisk-addons-*
./configure
make && make install
chkconfig asterisk on
[/code]
Congratulations! We have successfully installed asterisk !
To run asterisk for the first time , type “asterisk”
To see the console, type “asterisk -rvvvv”