How You Can Deploy Asterisk On Ubuntu – Creating Asterisk PBX
1. How You Can Deploy Asterisk On Ubuntu – Creating Asterisk PBX
Asterisk is one of the hottest free of charge telephone systems remedies offered since it is very easy
to create , has excellent local community help and will become custom-made for virtually any
application. It also capabilities simple to operate GUI interface.
This center go by means of starting asterisk in the plans rather than just installing an already pre-
made image of Asterisk similar to AsteriskNOW , Tribox as well as systems similar.Asterisk about
ubuntu information goes through version one particular.4 my spouse and i belive one particular.some
just lately became available aswell since the adjustments towards the plans.
There are quite a number of plans ubuntu will require so as to finish installing asterisk about ubuntu
successfully , such as jogging kernel only two.some regarding a linux systemunix , and also correct
plans for you to perform h plans.
To set up the mandatory plans type in actual function using
Sudo su
Apt-get –y set up linux-headers-$(uname -r)build-essential
automake autoconf bison fold libtool libncurses5-devlibssl-dev
subversion svn-buildpackage
apt-get –y set up resumes build-essential automake autoconfbison fold libtool libncurses5-dev libssl-
dev libgsm1 libgsm1-dev
apt-get –y set up sysvconfig **required to get started on services**
Note: if plans are not able to set up try removing your plans and also installing them independently.
Goto index /usr/src/:
Cd /usr/src/
Downloading plans by means of ubuntu (type subsequent in ubuntu CLI)
wget http://downloads.digium.com/pub/zaptel/zaptel-1.4.twelve.one particular.black.gz
wget http://downloads.asterisk.org/pub/telephony/libpri/libpri-1.4.10.one particular.black.gz
wget http://downloads.digium.com/pub/asterisk/releases/asterisk-1.4.30.black.gz
wget http://downloads.digium.com/pub/asterisk/releases/asterisk-sounds-1.only two.one
particular.black.gz
wget http://downloads.digium.com/pub/asterisk/releases/asterisk-addons-1.4.7.black.gz
Extract files – arrange each and every bundle – operate services
tar –xzf zaptel-1.4.twelve.one particular.black.gz
tar –xzf libpri-1.4.10.one particular.black.gz
tar -xzf asterisk-1.4.30.black.gz
tar -xzf asterisk-sounds-1.only two.one particular.black.gz
tar -xzfasterisk-addons-1.4.7.black.gz
• disc zaptel-1.4.twelve.one particular
2. • ./configure
• help to make
• help to make set up
• help to make config
• assistance zaptel start
• disc..
• disc libpri-1.4.10.one particular
• help to make
• help to make set up
• disc..
• disc asterisk-1.4.30
• ./configure
• help to make
• help to make set up
• help to make biological materials
• help to make config
• disc..
• disc asterisk-sounds
• help to make set up
• disc..
• disc asterisk-addons-1.4.7
• ./configure
• help to make
• help to make set up
• assistance asterisk start
If asterisk fails to start try beginning asterisk from index /etc/asterisk
Asterisk start
Now which asterisk is put in its time to make quite a few users to ensure that you can signup ourself
about the asterisk server having a smooth telephone and also after that will make calls on the
community.
Edit your record /etc/asterisk/sip.conf
Using “nano /etc/asterisk/sip.conf” as well as “vim/etc/asterisk/sip.conf”
Copy this in to your own drink.conf, in case you can’t backup and also stick try joining in your server
with Putty once you have put in openssl
[common](!) ; this is theme.
type=friend
context=internal
host=dynamic
3. disallow=all
allow=ulaw
allow=alaw
allow=g723
allow=g729
dtmfmode=rfc2833
;[1000](common )
username=1000
secret=1000
;[1001](common )
username=1001
secret=1001
Here we've got startup a pair of customers with exts 1 , 000 and also 1001 ,now you can personal
computer registry your own softphone using the server employing these two exts and also
techniques.
Remember for you to reload your own asterisk server when adjustments have got occurred.
Type in the control range “asterisk –r” and also sort “reload”
We can't make calls until eventually we've got startup your dialplan record which will designate that
the specific amount should be construed and also where the phone should be sent.
Edit drink.conf to check such as the following
[internal]
exten=> _XXXX,one particular ,call (SIP/$EXTEN)
The earlier mentioned diaplan specifies anyone who dials 4 digits e.grams 1001 , the main
priority is to call , your drink file format 1001.
X describes a variety from zero – 9
That’s this for the basic’s in starting your own Asterisk PBXserver about ubuntu , the next occasion i
am going to go through generating trunk’s to reach your PBX, starting ENUM and a few other things.
tinypaste