Asterisk 1.6 + Asterisk-GUI using yum
本帖最後由 角色 於 2010-8-10 10:19 編輯
Follow the following link to add the Asterisk yum repositories to your CentOS:
http://www.asterisk.org/downloads/yum
after installation,
yum install asterisk16
yum install asterisk asterisk16-configs (without this, you are not able to see the configuration files /etc/asterisk
yum install asterisk16-addons
yum install asterisk-gui
after yumming, edit the following two files
1) http.conf
enabled = yes
binaddr = 0.0.0.0
prefix = asterisk (In Asterisk 1.4, asterisk is default. However in Asterisk 1.6, the default is empty.)
enablestatic = yes
2) manager.conf
eanbled = yes
webenabled = yes
[admin]
secret = test
read = system,call,log,verbose,agent,user,config,dtmf,reporting,cdr,dialplan
write = system,call,agent,user,config,command,reporting,originate
(you may put as many options as you want)
after editing, restart the Asterisk by /etc/init.d/asterisk restart
Using a browser to open http://192.168.2.101:8088/asterisk/static/config/index.html
If you not able to open it, please the above settings again. If you still have problem, your CentOS firewall may be not disabled. Using the following command to /usr/bin/system-config-securitylevel to disable the firewall.
YH |