Asterisk GUI Installation

Asterisk Login Page
Requirements

Before you can install Asterisk GUI you need to install Asterisk and all the dependencies.
Download and install them from Asterisk website.

Getting Asterisk GUI

Open a terminal and type:

cd /usr/src/
svn checkout http://svn.digium.com/svn/asterisk-gui/branches/2.0/ gui

The Asterisk GUI source files will be downloaded to /usr/src/gui folder

Instructions

Use following commands to install it.

cd /usr/src/gui
./configure
make
make install

Edit /etc/asterisk/http.conf file and make following changes.

enabled = yes
bindaddr = 0.0.0.0 ; Means you can access it from any ip.
bindport = 80 ; Makesure apache is not running on port 80 otherwise change the port.
enablestatic = yes
redirect = / /static/config/cfgbasic.html ; This is needed else you have to type the wholes line to get access

Edit /etc/asterisk/manager.conf file and make following changes.

[general]
enabled = yes
webenabled = yes
port = 5038
bindaddr = 0.0.0.0 ; Can be accessed from anywhere 🙂

[admin]
secret = password ; Asterisk GUI Username =admin and Password = password
read = system,call,log,verbose,agent,user,config,dtmf,reporting,cdr,dialplan
write = system,call,agent,user,config,command,reporting,originate

Goto the same folder from where you installed Asterisk GUI,and check the configuration.

cd /usr/src/gui
make checkconfig

You should get the some thing like below..

— Checking Asterisk configuration to see if it will support the GUI —
* Checking for http.conf: OK
* Checking for manager.conf: OK
* Checking if HTTP is enabled: OK
* Checking if HTTP static support is enabled: OK
* Checking if manager is enabled: OK
* Checking if manager over HTTP is enabled: OK
— Everything looks good —
* GUI should be available at http://aster:80/asterisk/static/config/index.html

* Note: If you have bindaddr=127.0.0.1 in /etc/asterisk/http.conf
you will only be able to visit it from the local machine.

Example: http://localhost:80/asterisk/static/config/index.html

If you can not find the line ” — Everything looks good —” , check the configuration changes and run the command
again..

Open the browser and goto the url and login with username and password which you had added in manager.conf.

When you are login for the first time , it will take a while to load the default page. On first login GUI will check permission
and take backup of asterisk configuration files before making changes.

Advertisements
  1. #1 by Great Ubuntu Server Guides on August 6, 2014 - 1:06 AM

    Howdy! I know this is somewhat off topic but I was wokndering
    if you knew where I could get a captcha plugin for my comment form?

    I’m using the sae blog platform as yours and I’m having problems findibg one?
    Thanks a lot!

  1. free trading

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: