Difference between revisions of "Instalasi Astersik di Ubuntu"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 91: | Line 91: | ||
Asterisk GUI harusnya dapat di akses di | Asterisk GUI harusnya dapat di akses di | ||
− | http://ubuntu:8088/asterisk/static/config/cfgbasic.html | + | http://ubuntu:8088/asterisk/static/config/cfgbasic.html |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 10:24, 4 March 2008
Instalasi Asterisk di Ubuntu hanya dengan menjalankan
# apt-get install asterisk
Aktifkan Interface Web
Edit /etc/asterisk/http.conf
# vi /etc/asterisk/http.conf
Pastikan
enabled=yes enablestatic=yes bindaddr=0.0.0.0 ; bindaddr=127.0.0.1
Akses ke Web Lihat Status HTTP Server Asterisk
http://ip-address-asterisk-server:8088/asterisk/httpstatus
Instalasi Asterisk GUI
Siapkan Ubuntu untuk meng-compile
# apt-get install kernel-package libncurses5-dev fakeroot wget bzip2 g++ # apt-get install libssl-dev
Download asterisk-gui dari SVN
# apt-get install subversion # cd /usr/local/src/ # svn checkout http://svn.digium.com/svn/asterisk-gui/trunk asterisk-gui
Semua file dari svn server digium di letakan di asterisk-gui
# cd /usr/local/src/asterisk-gui # ./configure # make # make install # make checkconfig
Edit /etc/asterisk/manager.conf, melalui
# vi /etc/asterisk/manager.conf
pastikan,
enabled = yes webenabled = yes
Ulangi checkconfig jika di perlukan
# make checkconfig
Copykan ke folder static-http
# cp -Rf /usr/local/src/asterisk-gui/* /usr/share/asterisk/static-http/ # chown -Rf www-data.www-data /usr/share/asterisk/static-http/
Konfigirasi Manager.conf
Buat directory untuk masing-masing manager
# mkdir /etc/asterisk/manager.d
Edit /etc/asterisk/manager.d/admin1.conf, melalui
# vi /etc/asterisk/manager.d/admin1.conf
Isi, kira-kira sebagai berikut,
[admin] secret = mysecret9632 read = system,call,log,verbose,command,agent,config write = system,call,log,verbose,command,agent,config
Akses Asterisk GUI
Sebelum melakukan akses ke Asterisk GUI ada baiknya mengakses ke
http://ip-address-asterisk-server:8088/asterisk/static/config/setup/install.html
Asterisk GUI harusnya dapat di akses di
http://ubuntu:8088/asterisk/static/config/cfgbasic.html