Aller au contenu
Infogérance Linux Debian en France

Infogérance Linux Debian en France

Kogitae : Ingéniérie de l'hébergement Internet

  • Accueil
  • Parcours
  • Presse
  • Portfolio
  • Blog

Asterisk Gui

  • Accueil » Blog » Asterisk Gui
DansDebian

Asterisk Gui

Not sure if your like me, but command line is all good, but gui is alot faster. Here is a list of procedures to install Asterisk-Gui on a running clean install of Asterisk.

You can also check out my other HowTo for installing FreePBX v2.7 + Asterisk 1.6.2 on a fresh Linux CentOS 5.4 Dated April 27th 2010.

1. Requirements
In order to install « Asterisk GUI » you’ll need:

Concurrent Versions System (CVS)
asterisk 1.4 – and all modules needed to compile and install asterisk 1.4

2. Preparation

Go to your installation directory (for example ‘/usr/src’) and download the latest version of asterisk-gui. To do this just execute the command:
svn checkout http://svn.digium.com/svn/asterisk-gui/trunk asterisk-gui

By executing this command the sources of Asterisk GUI will be downloaded (see our sample output log svn.log) into ./asterisk-gui/ directory.

3. Configuring, Compiling and installing
You first need to go into the src directory where you downloaded the files, ie: /usr/src/asterisk-gui, then you need to configure, so type `./configure`.
Now, you need to compile the sources by executing the command `make`

Then distribute the compiled code by executing the command `make install`. With this step you will finish the installation of the asterisk-gui (see our sample output log make_install.log).

4. Configuration
It is recommended to back up your configuration files before you continue. To achieve this just copy /etc/asterisk under different name: cp -r /etc/asterisk /etc/asterisk.backup

It is recommended to `make samples`. This command will modify some of your Asterisk configuration files . After that you’ll have finish the configuration modification manually.

There are two files which you should modify that are located in /etc/asterisk/:

`manager.conf` enabled = yes
webenabled = yes

We will have to add a new user to `manager.conf`: (we will use the « mark » user as previously setup when we installed Asterisk) [mark]
secret = mysecret
read = system,call,log,verbose,command,agent,user,config
write = system,call,log,verbose,command,agent,user,config

Now we need to  make some modifications to the http.conf file:

`http.conf`
enabled=yes
enablestatic=yes
bindaddr=0.0.0.0
(if you set the bindaddr to 127.0.0.1 (loopback) you will only be able to access the gui from the server itself)

After that run `make checkconfig` in your asterisk-gui directory. This script will check if your GUI is correctly configured.

5. 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 addresses (127.0.0.1 is theloopback IP if your accessing the page from the server itself, or from a different system, type the Asterisk server IP address):

http://127.0.0.1:8088/asterisk/static/config/cfgbasic.html
http://127.0.0.1:8088/asterisk/static/config/cfgadvanced.html

asterisk asterisk-gui asterisk-gui-1-6 asterisk-gui-2 asterisk-gui-2011 asterisk-gui-debian asterisk-gui-french asterisk-log asteriskgui-lenny debian-gui-asterisk debian-log-mpg123 freelance-asterisk freelance-hebergement-web howto-installation-asterisk-gui-centos http127-0-0-18088asteriskstaticconfigcfgadvanced-html-not-found-on-this-server infogerance-sous-debian pj-michel-kogitae que-fait-un-administrateur-systeme voip you-can-reload-your-asterisk-server-from-your-cli-console-by-executing-the-command-reload

Étiquettes

administrateur-systeme-freelance (9) amazon (3) apache (14) asterisk (9) auth (3) bash (6) blog-administrateur-systeme (14) blog-administration-systeme (4) collectd (5) cpu (3) debian (30) dovecot (4) duplicate (3) f (6) freelance-asterisk (3) google (3) infogerance-linux (5) infogérance (4) ipv6 (7) kernel (4) kogitae (30) kogitae-com (3) kogitae-fr (6) lamp-or-linux-or-developpement-web-and-apache-or-php-or-mysql-or-adobe-or-eclipse-or-zend-or-mozilla-or-firefox (17) lenny (4) lighttpd (5) limit (4) linux (26) mail (7) mdadm (6) mysql (14) openvz (9) optimiser (4) php (5) postfix (11) privvmpages-openvz (3) pxe (3) raid (3) SEO (5) ssh (8) ssl (3) test (3) voip (4) wordpress (6) www-kogitae-fr (7)