Asterisk Linux
Asterisk Linux
On this page
Links
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.
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:
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
To install it from the source which we have downloaded we have to extract it. Use
the following command to extract:
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:
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:
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
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
Suggested articles
6 Comment(s)
Add comment
Name *
Email *
p