- Go to your installation directory :-
- Download the latest version of Asterisk-GUI :-
- Enter in Asterisk-GUI folder :-
- Then you need to configure :-
- Then you need to compile the sources :-
- Then distribute the compiled code :-
- Back up your configuration files before you continue :-
- Edit manager.conf in /etc/asterisk :-
- Do the following settings :-
enabled - yes
webenabled =yes
- For add new user add the this in manager.conf
secret = admin123
read = system,call,log,verbose,command,agent,user,config
write = system,call,log,verbose,command,agent,user,config
- Now edit http.conf from /etc/asterisk :-
- Do the following settings :-
==> enabled=yes
enablestatic=yes
bindaddr=0.0.0.0
enablestatic=yes
bindaddr=0.0.0.0
- After that :-
- For running Asterisk-GUI Enter :-
- Add user and group and create a link :-
==> cd /usr/share
==> sudo mkdir asterisk
==> sudo ln -s /var/lib/asterisk/static-http /usr/share/asterisk/static-http
==> sudo chown -R asterisk:asterisk /etc/asterisk/ /var/lib/asterisk /usr/share/asterisk
==> http://127.0.0.1:8088/asterisk/static/config/cfgbasic.html
- You can use the asterisk-gui from these addresses :-
==> http://127.0.0.1:8088/asterisk/static/config/cfgbasic.html
==> http://127.0.0.1:8088/asterisk/static/config/cfgadvanced.html
- For troubleshooting :-
==> chown -R asterisk:asterisk /etc/asterisk/ /var/lib/asterisk /usr/share/asterisk # if asterisk runs as the user "asterisk"
No comments:
Post a Comment