How to install Asterisk on Ubuntu

Installing asterisk on Ubuntu is very easy, its a sequence of some simple commands.There are quite a few packages ubuntu will require in order to complete the installation of asterisk on ubuntu successfully
To install the required packages enter root mode using:Sudo su
1- Setup the system
#apt-get install build-essential
#apt-get install linux-headers-`uname -r`
#apt-get install libssl-dev
#apt-get install ncurses-dev
#apt-get install libnewt-dev
#apt-get install zlib1g-dev
#apt-get install bison
2-Change to the proper directory
cd /usr/src/
3-Downloading Packages through Ubuntu 
type following in Ubuntu CLI

#wget http://downloads.digium.com/pub/zaptel/zaptel-1.4.12.1.tar.gz
#wget http://downloads.asterisk.org/pub/telephony/libpri/libpri-1.4.10.1.tar.gz
#wget http://downloads.digium.com/pub/asterisk/releases/asterisk-1.4.20.tar.gz
#wget http://downloads.digium.com/pub/asterisk/releases/asterisk-sounds-1.2.1.tar.gz
#wget http://downloads.digium.com/pub/asterisk/releases/asterisk-addons-1.4.7.tar.gz
4-And Extracting the Source Code  TO their respective
directories
# tar zxvf zaptel-*.tar.gz
# tar zxvf libpri-*.tar.gz
# tar zxvf asterisk-*.tar.gz
# tar zxvf asterisk-sounds.tar.gz
5-now compile  zaptel,libpri,asterisk
#cd /usr/src/libpri
#make
#make install
#cd /usr/src/zaptel
#./configure
#make
#make install
#make config
#cd /usr/src/asterisk
#./configure
#make
#make install
#make samples
6-you can run asterisk by type the following command
#/etc/init.d/asterisk start

Related post



Newer Post Older Post

0 comments:

Post a Comment

 

Wiki Voip And Fax Tutorials Copyright © 2010 Labloub