Instalasi Asterisk
mulyana@relawantik:~$ sudo apt-get update
mulyana@relawantik:~$ sudo apt-get install asterisk
Instalasi Asterisk GUI
• Aktifkan asterisk GUI, Edit /etc/asterisk/http.conf
mulyana@relawantik:~$ sudo nano /etc/asterisk/http.conf
pastikan,
enabled=yes
enablestatic=no
port = 8088
bindaddr=0.0.0.0
prefix=asterisk
• Siapkan ubuntu untuk meng-compile
mulyana@relawantik:~$ sudo apt-get install kernel-package libncurses5-dev fakeroot wget bzip2 g++ libssl-dev
• Download asterisk-gui dari SVN
mulyana@relawantik:~$ sudo apt-get install subversion
mulyana@relawantik:~$ cd /usr/local/src/
mulyana@relawantik:~$ sudo svn checkout http://svn.digium.com/svn/asterisk-gui/trunk asterisk-gui
• Install asterisk gui, Semua file dari svn server digium di letakan di asterisk-gui
mulyana@relawantik:~$ cd /usr/local/src/asterisk-gui
mulyana@relawantik:~$ sudo ./configure
mulyana@relawantik:~$ sudo make
mulyana@relawantik:~$ sudo make install
mulyana@relawantik:~$ sudo make checkconfig
• Edit /etc/asterisk/manager.conf, melalui
mulyana@relawantik:~$ sudo nano /etc/asterisk/manager.conf
pastikan,
[general]
enabled = yes
port = 5038
bindaddr = 0.0.0.0
displaysystemname = yes
webenabled = yes
[admin]
secret = admin
read = system,call,log,verbose,command,agent,config
write = system,call,log,verbose,command,agent,config,originate
• Memindahkan konfigurasi Asterisk GUI
mulyana@relawantik:~$ sudo rm -rf /usr/share/asterisk/static-http/
mulyana@relawantik:~$ sudo ln -s /var/lib/asterisk/static-http/ /usr/share/asterisk/
mulyana@relawantik:~$ sudo chmod 777 /var/lib/asterisk/static-http/config/
• Ulangi checkconfig jika di perlukan
mulyana@relawantik:~$ sudo make checkconfig
• Restart Asterisk
mulyana@relawantik:~$ sudo /etc/init.d/asterisk restart
Akses Asterisk GUI
Asterisk GUI harusnya dapat di akses di:
http://IP_ASTERISK:8088/asterisk/static/config/index.html