yum install subversion gcc-c++
svn co http://svn.digium.com/svn/asterisk-gui/branches/2.0 asterisk-gui
cd asterisk-gui
./configure
make
make install
make checkconfig
# cat /usr/local/etc/asterisk/http.conf
[general]
enabled=yes
enablestatic=yes
bindaddr=192.168.0.x
bindport=8088
prefix=asterisk
To apply the changes, restart Asterisk:
| # asterisk -rserver*CLI> reload |
Set the login and password for the Web admin interface by adding this block to the end of the /usr/local/etc/asterisk/manager.conf file:
# cat /usr/local/etc/asterisk/manager.conf
[general]
displaysystemname = yes
enabled = yes
webenabled = yes
port = 5038
;httptimeout = 60
bindaddr = 192.168.0.x
;displayconnects = yes
;timestampevents = yes
[admin]
secret = admin_passwd_here
deny=0.0.0.0/0.0.0.0
permit=192.168.0.0/255.255.255.0
; writetimeout = 100
;read = system,call,log,verbose,command,agent,user,config
write = system,call,log,verbose,command,agent,user,config
