Introduction to Asterisk GUI
Asterisk GUI is a framework for the creation of graphical interfaces for configuring Asterisk. Some sample graphical interfaces for specific vertical markets are included for reference or for actual use and extension.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2 only. This software is also available under commercial terms from Digium, Inc.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
Please contact Digium for information on alternative licensing arrangements for Asterisk GUI.
While package release is inconsistent and infrequent, you can always get a current copy of Asterisk GUI from subversion. The current stable version will always be under
branches and is currently located in
Please note that Asterisk GUI is not officially supported, though bugs, patches, and feature requests may be submitted at http://issues.asterisk.org and should reference the Asterisk GUI project. You may also find peer support in the #asterisk-gui IRC channel and the Asterisk GUI forum.
Installation and Configuration
You may install sample configuration files by doing "make samples". Also you will need to edit your Asterisk configuration files to enable Asterisk GUI properly, specifically:
Enable manager access.
Create an appropriate entry in
manager.conf for the administrative user (PLEASE READ THE security.txt FILE!)
Access Asterisk GUI via a URL formatted in the following way, where $IP is the IP address on which both Asterisk and Asterisk GUI are installed, $PORT is
http.conf, and $PREFIX is the
http.conf, and it can be omitted if blank.
Check your filesystem permissions:
Check that the bindaddr value in
/etc/asterisk/http.conf matches the IP address of the machine you're using to access Asterisk GUI, not necessarily the IP address Asterisk GUI is running on.
Check on the Asterisk CLI that Asterisk is receiving the values you've set.
Output should look like this:
Check that the ports you've specified are open by using telnet from another computer.
Check that the
dahdi_genconf script runs correctly and creates
Check the existence of
/etc/asterisk/guipreferences.conf and inside that file, the existence of the following line:
Check the last modified date of
/etc/asterisk/http.conf. Asterisk GUI updates the timestamp on this file every time it is loaded. If the timestamp is not getting updated, your HTTP request is either not making it to Asterisk or it is not being processed correctly by Asterisk. This indicates a configuration error.
Check that the user Asterisk runs as has a login shell. Asterisk GUI depends on Asterisk being able to use the System application.
If you installed Asterisk GUI via 'yum' or 'apt-get', you may need to symlink
/usr/share/asterisk/static-http will already exist, but fortunately it does not contain any useful files.
To turn on debug messages, open
config/js/session.js. On line 30, set "log" to "true":
Hide Menu Categories
Hide menu categories by changing the HTML class attribute to "AdvancedMode" in index.html. Show them by enabling Advanced Options in the GUI.