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.
Install deps and build tools so that we can compile Asterisk 10 on Ubuntu
Create a directory to build Asterisk and change directory
Download Asterisk 10 and DAHDI tools
Extract the tar archives for Asterisk 10 and DAHDI Tools
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:
Build DAHDI Tools with the following commands:
1 2 3
Start the DAHDI Tools service with:
Build / Compile Asterisk 10 on Ubuntu LTS
Next it’s time to build Asterisk 10, change to your Asterisk 10 directory:
Build Asterisk 10 with:
Configure your Asterisk options and build with:
1 2 3
Make Asterisk samples:
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:
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.