How to install Asterisk on Ubuntu walking you through the process of installing Asterisk 10 on Ubuntu 10.04 LTS.
Here is a video of the install if you would rather watch.
Asterisk is an Enterprise level VoIP PBX telephone system that has many configuration options and can use a wide range of hardware, this guide will walk you through the process of installing Asterisk on Ubuntu 10.04 LTS, which is often a daunting task for Linux Admins.
Specifically this guide will show you how to install Asterisk 10 on Ubuntu LTS 10.04, this guide is a copy and paste tutorial.
Ubuntu Asterisk 10 Install Guide
To start off with make sure that Ubuntu is up to date.
1
|
|
Install deps and build tools so that we can compile Asterisk 10 on Ubuntu
1
|
|
Create a directory to build Asterisk and change directory
1
|
|
Download Asterisk 10 and DAHDI tools
1 2 |
|
Extract the tar archives for Asterisk 10 and DAHDI Tools
1
|
|
Build DAHDI Tools on Ubuntu LTS
It is important to build DAHDI tools before we build Asterisk 10
First we must enter the DAHDI directory:
1
|
|
Build DAHDI Tools with the following commands:
1 2 3 |
|
Start the DAHDI Tools service with:
1
|
|
Build / Compile Asterisk 10 on Ubuntu LTS
Next it’s time to build Asterisk 10, change to your Asterisk 10 directory:
1
|
|
Build Asterisk 10 with:
1 2 |
|
Configure your Asterisk options and build with:
1 2 3 |
|
Make Asterisk samples:
1 2 |
|
Ubuntu Asterisk 10 samples get installed into /etc/asterisk only make samples it you are upgrading Asterisk, if you already have an Asterisk install on Ubuntu then skip this step or it will overwrite your config files.
Start Asterisk with:
1
|
|
That’s it you should now have a working Ubuntu Asterisk 10 install running on Ubuntu 10.04 LTS, now it’s time to setup your phones and outbound SIP trunks.