12 Juni 2009

Step by step Install Asterisk Server


1. using an iso image 'AsteriskNOW' to install the whole package with linux OS
http://www.asterisknow.org/
We can find the documents and download the lastest version from their website. After installing AsteriskNOW step by step to a machine, we can configure it by any web browser, only need to remember the URL, ID, and password.

2. self install on linux machine (like Debian, Ubuntu, Fedora...etc)
we could reference to these documents
http://www.asteriskguru.com/tutorials/asterisk_gui.html
http://www.howtoforge.com/asterisk_pbx_linux
(1) create a working folder:
# mkdir /usr/src/asterisk
(2) download all needed packages
from website as below:
http://downloads.digium.com/pub/
(3) installing libpri
# wget http://downloads.digium.com/pub/libpri/libpri-1.4.2.tar.gz
# tar xzvf libpri-1.4.2.tar.gz
# cd libpri-1.4.2
# make clean
# make
# make install
(4) installing zaptel
# wget http://downloads.digium.com/pub/zaptel/zaptel-1.4.6.tar.gz
# tar xzvf zaptel-1.4.6.tar.gz
# make clean
# make
# make install
PS. if you met the problem like missing Linux kernel header file, you may download your Linux header
files:
# cat /proc/version
# apt-get install linux-headers-2.6.20-16-386
(5) installing asterisk
# wget http://downloads.digium.com/pub/asterisk/asterisk-1.4-current.tar.gz
# tar xzvf asterisk-1.4-current.tar.gz
# ./configure
# make clean
# make
# make install
(6) installing asterisk-addons
# wget http://downloads.digium.com/pub/asterisk/asterisk-addons-1.4.4.tar.gz
# tar xzvf asterisk-addons-1.4.4.tar.gz
# ./configure
# make clean
# make
# make install
(7) installing asterisk-gui
# svn checkout http://svn.digium.com/svn/asterisk-gui/trunk
# svn checkout http://svn.digium.com/svn/asterisk-gui/branches/2.0
# cd /usr/src/asterisk/2.0
# ./configure
# make
# make install
# langkah 8
# make checkconfig [it can detect all config file status ]
(8) modify 2 confiure files, then we can use astersik gui web interfaces
# vi /etc/asterisk/manager.conf
a. modifiy these two lines
enabled = yes
webenabled = yes
b. add a user
[administrator]
secret = 123456
read = system,call,log,verbose,command,agent,user,config
write = system,call,log,verbose,command,agent,user,config
# vi /etc/asterisk/http.conf
a. modify these lines
enabled=yes
enablestatic=yes
bindaddr= 0.0.0.0
bindport=8088
(9) use asterisk CPI prompt to execute shell commands
# asterisk -vvvvvr
erin-laptop*CLI> restart now (it will restart asterisk now)
(10) open a browser to verify asterisk
http://127.0.0.1:8088/asterisk/static/config/cfgbasic.html
http://127.0.0.1:8088/asterisk/static/config/cfgadvanced.html

1 komentar:

Picastana on 30 Juni 2009 pukul 10.27 mengatakan...

sulit dimengerti...hehehe

Posting Komentar

 

Meindra's Blog Copyright © 2008 Black Brown Art Template by Ipiet's Blogger Template