Installing Asterisk 13 on CentOS/RHEL

Asterisk 13: Build : centOS 5.x-7.x

This guide will show you how to install the newly released Asterisk 13 from digium. This build is a vanilla asterisk installation ,so there are no web interface. This is simply an asterisk build. The hostname of my test environment is “asterisk13-build”. You will see that in the commands below.

 

You will need to download a lot of packages, but most of them are included in the developers tools :

[root@asterisk13-build /]# yum groupinstall –y Development Tools

You will also need to install the following packages:

[root@asterisk13-build /]#
yum install –y ncurses-dev uuid-devel libuuid-devel libxml2-devel sqlite-devel bison subversion git-core

Next, you will also need to install libjansson separately:

[root@asterisk13-build /]# cd /usr/src/
[root@asterisk13-build /]# git clone https://github.com/akheron/jansson.git
[root@asterisk13-build /]# cd jansson
[root@asterisk13-build /]# autoreconf –i
[root@asterisk13-build /]#./configure –prefix=/usr/
[root@asterisk13-build /]# make && make install

From here, you are able to download asterisk 13 and compile it

[root@asterisk13-build /]# cd /usr/src/
[root@asterisk13-build /]# wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-13-current.tar.gz
[root@asterisk13-build /]# tar –xzvf asterisk-13-current.tar.gz
[root@asterisk13-build /]# cd asterisk-13.0.0
[root@asterisk13-build /]# ./bootstrap.sh
[root@asterisk13-build /]# ./configure
[root@asterisk13-build /]# make && make install
[root@asterisk13-build /]# make samples
[root@asterisk13-build /]# sudo make config
[root@asterisk13-build /]# make samples
[root@asterisk13-build /]# chkconfig asterisk on

From here, you can type asterisk –r and the asterisk CLI should appear. It should look like this :

Asterisk 13.0.0, Copyright (C) 1999 - 2014, Digium, Inc. and others.
Created by Mark Spencer < This email address is being protected from spambots. You need JavaScript enabled to view it. >
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.

Connected to Asterisk 13.0.0 currently running on asterisk13-build (pid = 22632)
asterisk13-build*CLI>

These build steps works for CentOS 5.x-7.x
Installing Development Tools is optional, but it makes the build a lot easier. This will be seen if you don’t install the package group.

© 2014 Digium, Inc. All Rights Reserved.

 

SIMPLE DID
Starting at only:

$9.99/month*
Plus taxes & fees

Includes 1 USA local number & 2 lines
Upgrade anytime.

Add Intl Numbers - $4.99 each/mo.
 


30-Day Money-Back Guarantee

 

ContactUs