Quantcast
Viewing all articles
Browse latest Browse all 1034

Install Asterisk11.5+AsteriskGUI on ubuntu

I will show you how to install Asterisk server + AsteriskGUI on Ubuntu 12.04 with very easy steps

1- First steps

apt-get update && apt-get upgrade

apt-get install build-essential wget libssl-dev libncurses5-dev libnewt-dev libxml2-dev linux-headers-$(uname -r) libsqlite3-dev uuid-dev

2- install Asterisk

cd /usr/src/

wget http://downloads.asterisk.org/pub/telephony/libpri/libpri-1.4.14.tar.gz

wget http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-11.5.0-rc1.tar.gz

wget http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-sounds-1.2.1.tar.gz

wget http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-addons-1.6.2.4.tar.gz


tar -xzf libpri-1.4.14.tar.gz

tar -xzf asterisk-11.5.0-rc1.tar.gz

tar -xzf asterisk-sounds-1.2.1.tar.gz

tar -xzf asterisk-addons-1.6.2.4.tar.gz


cd libpri-1.4.14

make

make install

cd ..


cd asterisk-11.5.0-rc1

./configure

make menuconfig

make

make install

make samples

make config

cd ..


cd asterisk-sounds-1.2.1

make install

cd ..


cd asterisk-addons-1.6.2.4

./configure

make

make install

cd ..


service asterisk start


3- Install AsteriskGUI

wget http://downloads.asterisk.org/pub/telephony/asterisk-gui/asterisk-gui-2.1.0-rc1.tar.gz

tar -xzf asterisk-gui-2.1.0-rc1.tar.gz

cd asterisk-gui-2.1.0-rc1

./configure

make

make install

nano /etc/asterisk/manager.conf

change it to look like this (remove any ";" )

[general]

enabled = yes

webenabled = yes

port = 5038

bindaddr = 0.0.0.0

[admin]

secret = (the password that you will use in login)

read = system,call,log,verbose,command,agent,user,config

write = system,call,log,verbose,command,agent,user,config


nano /etc/asterisk/http.conf

change it to look like this (remove any ";" )

[general]

enabled=yes

bindaddr=0.0.0.0

enablestatic=yes


make checkconfig

/etc/init.d/asterisk restart


Paste this in your browser (replace x.x.x.x with your VPS IP)

http://x.x.x.x:8088/static/config/cfgbasic.html

user=admin & password= (secret that you choose in manager.conf)


Now you can enjoy it


Viewing all articles
Browse latest Browse all 1034

Trending Articles