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

 

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