Installing Asterisk 13 on Ubuntu/Debian

Asterisk 13: Build: Ubuntu/Debian

Below are the steps to building asterisk 13.0.0 on a Debian/Ubuntu
The current build was done on Ubuntu 12.04.3 LTS. This should world on Debian Wheezy and Higher.
This is a vanilla install of Asterisk 13, with no Web Interface or extra features.

Let's start by running these commands:

root@asterisk-13-build-ubu~# sudo apt-get update
root@asterisk-13-build-ubu:~# sudo apt-get install build-essential

Build essentials will install the following Packages:

gcc gcc-4.6
make manpages-dev


You will then install these below packages:

apt-get install –y git-core subversion libjansson-dev sqlite autoconf automake libtools libxml2-dev libncurses5-dev

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

root@asterisk-13-build-ubu:~# cd /usr/src/
root@asterisk-13-build-ubu:~# wget
root@asterisk-13-build-ubu:~# tar –xzvf asterisk-13-current.tar.gz
root@asterisk-13-build-ubu:~# cd asterisk-13.0.0/
root@asterisk-13-build-ubu:~#./contrib/scripts/install_prereq install ( this will install more packages, a lot of them)
root@asterisk-13-build-ubu:~# ./
root@asterisk-13-build-ubu:~# ./configure
root@asterisk-13-build-ubu:~# make && make install
root@asterisk-13-build-ubu:~# make samples
root@asterisk-13-build-ubu:~# sudo make config
root@asterisk-13-build-ubu:~# asterisk

From here, asterisk should already be running and you can log in with this command:

root@asterisk-13-build-ubu:~# asterisk -r

Connected to Asterisk 13.0.0 currently running on asterisk-13-build-ubu (pid = 7459)

Asterisk is Ready.

For more information on Asterisk 13 please visit Asterisk

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
[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
[root@asterisk13-build /]# tar –xzvf asterisk-13-current.tar.gz
[root@asterisk13-build /]# cd asterisk-13.0.0
[root@asterisk13-build /]# ./
[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)

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.

Updating to Asterisk 12 on CentOS/RHEL

Asterisk® 12

How to install the new version of asterisk is quite simple. If you are already familiar with updating it, you have nothing to worry about. The installation should go smoothly. If you are not familiar with it here are some of the steps.

  • If you are using a freePBX (PBX in a flash) platform, you can skip the process of installing extra software like gcc or autoconf

Installation Process

    • Go into the directory, Command:cd /usr/src
    • Command: yum groupinstall "Development Tools"

Install pjproject

Install Asterisk 12

    • cd/usr/src
    • svn co
    • yum install sqlite-devel
    • cd asterisk-12.0.0
    • ./contrib/scripts/install..prereq install
    • ./configure --without-pwlib
    • make menuselect(optional) "cmenuselect"(worked for Asterisk 12)
    • make & make install

Go back to the asterisk directory, it should be /usr/src/asterisk-12.0.0/

Be sure to run the install..prereq in ./contrib/scripts/install..prereq install

Compile asterisk

    • ./configure --without-pwlib
    • make menuselect(for asterisk modification)
    • make
    • make install


Starting at only:

Plus taxes & fees

Includes 1 USA local number & 2 lines
Upgrade anytime.

Add Intl Numbers - $4.99 each/mo.

30-Day Money-Back Guarantee