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:

binutils
cpp
cpp-4.6
dpkg-dev
fakeroot
g++
g++-4.6
gcc gcc-4.6
libalgorithm-diff-perl
libalgorithm-diff-xs-perl
libalgorithm-merge-perl
libc-bin
libc-dev-bin
libc6
libc6-dev
libdpkg-perl
libgomp1
libmpc2
libmpfr4
libquadmath0
libstdc++6-4.6-dev
linux-libc-dev
make manpages-dev

 

You will then install these below packages:

root@asterisk-13-build-ubu:~#
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 http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-13-current.tar.gz
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:~# ./bootstrap.sh
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-13-build-ubu*CLI>



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 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.

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 http://svn.asterisk.org/svn/asterisk/branches/12/
    • 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

 

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