Install Asterisk-GUI
1.Download and Install subversion
http://software.opensuse.org/search?baseproject=ALL&p=1&q=subversion
Excerpt from the INSTALL documentation in downloaded subversion package
Building from a Tarball or RPM
------------------------------
Download the most recent distribution tarball from:
http://subversion.tigris.org/servlets/ProjectDocumentList
Unpack it, and use the standard GNU procedure to compile:
$ ./configure
$ make
# make install
You can also run the full test suite by running 'make check'.
[ SVN takes long time to install]
2. Download and Install Asterisk
Download asterisk from www.asterisk.org
RESOLVE THE DEPENDENCIES
STEP 1: (DAHDI dependency)
Install ncurses and ncurses-devel
(ncurses is the library providing API for the programmer to create the GUI like interface in Terminal mode)
OR
Install slang and slang-devel
(library for Display control)
STEP 2: (DAHDI dependency)
Install libnewt and newt_devel
(shared libraries for Nifty Erik's Windowing Toolkit; Newt is a toolkit that allows applications that run on the console (so called "text mode applications") to use many of the graphical interface widgets, such as radio buttons and selection boxes, that are popular in GUI environments https://launchpad.net/newt)
STEP 3: (Dependency for DUNDi)
Install open-ssl and openssl-devel
(openssl creates secure sockets and transport layer security.
STEP 4:
Install popt and popt-devel
(C library for parsing command line parameters)
INSTALL libpri (make, make install)
INSTALL dahdi (make, make install, make config)
INSTALL addons (./configure, make)
INSTALL asterisk (./configure , make, make menuselect, make install)
3. Download Asterisk-GUI
Go to /usr/src and create a directory asterisk-gui
Run the command
#svn checkout http://svn.digium.com/svn/asterisk-gui/branches/2.0
(it will download the latest Asterisk-GUI. If not, then it will provide the README file with the latest link to download the Asterisk GUI using svn checkout)
- Install Asterisk-GUI
[Note: you don’t need Apache server to be running]
It’s easy if you know what you are doing.
Make a backup copy of your asterisk files
#cp –r /etc/asterisk /etc/asterisk-backup
Go to /etc/asterisk and create two files http.conf and manager.conf
vi /etc/asterisk/http.conf
[general]
enabled = yes
enablestatic = yes
bindaddr = 0.0.0.0
bindport = 8088
prefix = asterisk
vi /etc/asterisk/manager.conf
[general]
enabled = yes
webenabled = yes
bindaddr = 0.0.0.0
port = 5038
[administrator]
secret = 1234abc
permit = 0.0.0.0/0.0.0.0
read = system,call,log,verbose,command,agent,user,config
write = system,call,log,verbose,command,agent,user,config,originate
Go to /usr/src/asterisk-gui [the location where you downloaded Asterisk-GUI]
./configure
make
make install
make checkconfig
Go to asterisk console and restart the asterisk
# asterisk
#asterisk –rv
CLI> core restart now
#asterisk –rv
CLI>http show status
HTTP Server Status:
Prefix: /asterisk
Server Enabled and Bound to 0.0.0.0:8088
Enabled URI's:
/asterisk/httpstatus => Asterisk HTTP General Status
/asterisk/phoneprov/... => Asterisk HTTP Phone Provisioning Tool
/asterisk/manager => HTML Manager Event Interface
/asterisk/rawman => Raw HTTP Manager Event Interface
/asterisk/static/... => Asterisk HTTP Static Delivery
/asterisk/mxml => XML Manager Event Interface
Enabled Redirects:
None.
Go to the webpage
http://ServerIPAddress:8088/asterisk/static/config/cfgbasic.html
http://ServerIPAddress:8088/asterisk/static/config/cfgadvanced.html
http://ServerIPAddress:8088/asterisk/static/config/index.html