0% found this document useful (0 votes)
29 views3 pages

Asterisk Linux

This document provides instructions for installing Asterisk 13 on a Debian server. It begins by explaining that Asterisk is an open-source framework for building communications applications. Then, it outlines the steps to install Asterisk 13 from source: install build dependencies using apt-get, download Asterisk from their website, extract and compile it after installing any missing libraries, and finally run make, make install, and make samples to complete the installation. The tutorial concludes by stating that Asterisk is now installed and ready to use by logging into the Asterisk console.

Uploaded by

Alvaro Oliveira
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views3 pages

Asterisk Linux

This document provides instructions for installing Asterisk 13 on a Debian server. It begins by explaining that Asterisk is an open-source framework for building communications applications. Then, it outlines the steps to install Asterisk 13 from source: install build dependencies using apt-get, download Asterisk from their website, extract and compile it after installing any missing libraries, and finally run make, make install, and make samples to complete the installation. The tutorial concludes by stating that Asterisk is now installed and ready to use by logging into the Asterisk console.

Uploaded by

Alvaro Oliveira
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

How to install Asterisk 13 on Debian

On this page

Links

Asterisk is a free and Open Source framework for building communications


applications. Asterisk turns an ordinary computer into a VoIP communications
server. Asterisk powers IP PBX systems, VoIP gateways, conference servers and is
used by small businesses, large businesses, call centers, carriers, and governments
worldwide. Today we will install Asterisk on Debian. All required packages will be
installed via apt, but Asterisk will be installed from source. Let's see how to
install Asterisk on Debian

There are many versions of Asterisk available on their website, but the latest is
13 with LTS (Long Term Support). So we will download it from source and install in
this tutorial.

First of all we will install the build environment:

apt-get install build-essential

This command will install the basic packages that are needed on a new server to
install Asterisk 13.

Now we will install some more dependencies which are directly dependent on Asterisk
13:

apt-get install openssl libxml2-dev libncurses5-dev uuid-dev sqlite3 libsqlite3-


dev pkg-config libjansson-dev

This command will install the libraries which Asterisk will be needing to work and
for CDR's there are many options available. At the moment, we will install SQLite
also as we haven't decided yet that we will use Mysql or SQLite.

Now we will download asterisk from their website by the following command:

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

Now we have successfully downloaded Asterisk 13 on our server.

To install it from the source which we have downloaded we have to extract it. Use
the following command to extract:

tar xvf asterisk-13-current.tar.gz


Now enter the folder to install Asterisk:

cd asterisk-13.3.2/

To compile from a source we have to use the following command which will check all
that are all dependencies installed before installing the software:

./configure

The above image shows that there are some libraries missing now we will resolve
these dependencies one by one:

tar xvf jansson-2.5.tar.gz

Now we have downloaded the missing library and we will compile it from source in
order to resolve the issue:

cd jansson-2.5/

./configure

As all of its dependencies are met so we will now execute the following command to
install Libjasson:

make && make install && ldconfig

Now we will go to Asterisk's folder and execute the ./configure command again to
check if any other dependency is left:

This shows that now we are ready to install Asterisk as all of its dependencies are
met. Now execute the following set of commands and wait for a little while as it
will take some time to execute:

make

make install & make samples

Asterisk is now installed and ready to use. You can login to asterisks console by
the following command:

asterisk -cvvvvvvvv

So we have successfully installed Asterisk on our Debian Server and you can start
working on Asterisk.
Links

Asterisk

view as pdf | print


Share this page:

Suggested articles
6 Comment(s)
Add comment
Name *
Email *
p

You might also like