This should work in any RPM linux based system (Red Hat, CentOS, Federa, exc)
Download the latest version source files using svn. (yum install subversion)
cd /usr/src
svn checkout http://svn.digium.com/svn/asterisk-gui/branches/2.0 asterisk-gui
cd asterisk-gui
./configure
make
make install
I recommend backing up your configuration files before you continue. To achieve this just copy
/etc/asterisk under different name:
cp -r /etc/asterisk /etc/asterisk.backup
There are two files which you should modify
/etc/asterisk/manager.conf`
enabled = yes
webenabled = yes
We will have to add a new user to manager.conf:
[administrator]
secret = mysecret
read = system,call,log,verbose,command,agent,user,config
write = system,call,log,verbose,command,agent,user,config
`/etc/asterisk/http.conf`
enabled=yes
enablestatic=yes
bindaddr=0.0.0.0
bindport = 8088
prefix = gui
enablestatic = yes
Note: bindaddr 0.0.0.0 means you can access it from anywhere, if you want access only on the local
machine, put 127.0.0.1 instead.
Check your Asterisk-GUI configuration by running from /usr/src/asterisk-gui
make checkconfig
This script will check if your GUI is correctly configured.
Running asterisk-gui. In order to load the asterisk-gui, asterisk must restart/reload.
You can reload your Asterisk server from your CLI console by executing the command `reload`.
You can use asterisk-gui from these address:
http://10.100.32.50:8088/static/config/index.html
http://10.100.32.50:8088/httpstatus (to check the status)