Install Certified Asterisk V11 on Centos 7

For those are familiar with powerful Linux based IP-Telephone system Asterisk they may know there are two different types of Asterisk releases Standard, and Long Term Support.

Long Term Support release is fully supported for 4 years, while the standard releases are supported for a shorter period of time; one year of full support. Both version has an additional year of maintenance for security fixes.

Normally certified Asterisk releases have undergone additional testing and are made less frequently, generally identical to the Long Term Support release of Asterisk.

Users new to Asterisk are encouraged to download the latest Long Term Support release, with the guidance that Certified Asterisk branches based on those releases have the least churn.

Based on the recommendation for the stability we will go through the process of certified Asterisk as below.

We also recommend to use Centos as the Linux OS as it is based on the redhat and it is open source.

So first step after OS installation is updating your OS by yum command.

yum -y update

After fully update the OS we need to disable the SELINUX as it will interrupt the propare installtion of the Asterisk.

sed -i s/SELINUX=permissive/SELINUX=disabled/g /etc/selinux/config

Befor next step you required to restart you server in order to apply the new SELINUX configuration.

Next we need to install all the prerequirements for the Asterisk.

yum -y install bind-utils curl-devel doxygen gcc gcc-c++ gtk+ gtk+-devel gnutls-devel httpd kernel-xen kernel-xen-devel kernel kernel-devel kernel-smp-devel kernel-smp libxml2-devel libtermcap-devel libtool-ltdl libtool-ltdl-devel make mysql mysql-server mysql-devel mysql-server-devel mysql-connector-odbc net-snmp-devel neon-devel newt-devel ncurses-devel ntp openssl-devel openssl perl-suidperl php-mysql system-config-securitylevel screen texinfo unixODBC unixODBC-devel wget sqlite sqlite-devel

Then we change or location to src in order to download the source of Asterisk.

cd /usr/src

By below link we can download the source of Asterisk and save it in the src.

wget http://downloads.asterisk.org/pub/telephony/certified-asterisk/asterisk-certified-11.6-current.tar.gz

Next Step is untar the source file.

tar zxf asterisk-certified-11.6-current.tar.gz

enter to the Asterisk folder now to start the instalation.

cd asterisk-certified-11.6-cert18/

By executing below command you will see the Asterisk menu if required any additional module to enable or disable and then proceed to the full installation with the samle config files.

./configure && make menuselect && make && make install && make samples && make config

You should check the last stats of the installation process to make sure the installation was complete and successful. If the installation was successful you may enter to the Asterisk CLI by below command.

asterisk -r

if you face any error for the instillation you may need to double check the installation process or check if the error mention any missing requirement for the Asterisk installation.

Leave a Reply

Your email address will not be published. Required fields are marked *