進入root prompt
1) 輸入 system-config-network,更改network設定, /etc/init.d/network restart
2) 輸入yum -y update
3) reboot
4) edit /etc/asterisk/http.conf as follows:
enabled = yes (remove semicolon)
enablestatic = yes (remove semicolon)
bindaddr = 0.0.0.0 (change from 127.0.0.1 to 0.0.0.0 to allow all IP)
prefix = asterisk (you have to put this for Asterisk 1.6)
5) edit /etc/asterisk/manager.conf as follows:
eanbled = yes
webenabled = yes
#add the following lines
[admin]
secret = test
read = system,call,log,verbose,command,agent,user,config
write = system,call,log,verbose,command,agent,user,config
GUI Login name = admin, password(asterisk 叫 secret) = 1234
6) execute /etc/init.d/asterisk restart
7) Using an brower with the URL = http://<your_asterisk_server_IP_address>:8088/asterisk/static/config/index.html
可以看到Asterisk-GUI的界面。
8) 輸入 username = admin, password = 1234, 就可以Login 的Asterisk-GUI。