Italiano English
Modifica History Actions

Differenze per "Asterisk1.4"

Differenze tra le versioni 1 e 2
Versione 1 del 2007-11-02 15:32:57
Dimensione: 1192
Autore: ZioPRoTo
Commento:
Versione 2 del 2007-11-02 15:37:41
Dimensione: 1936
Autore: ZioPRoTo
Commento:
Le cancellazioni sono segnalate in questo modo. Le aggiunte sono segnalate in questo modo.
Linea 12: Linea 12:

== Backup ==

Remove any older Asterisk installation and backup your existing {{{/etc/asterisk}}} folder, we are going to make a big mess :)
Linea 41: Linea 45:
and follow the output of the command to tune the configuration files and follow the output of the command to tune the configuration files.
You will need to run {{{make checkconfig}}} several times fixing one thing per time.

== Run Asterisk ==

Now just run:
{{{
asterisk
}}}

and once started you might attach to the console this way:

{{{
asterisk -rvvvv
}}}

The web interface is here:

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

To configure your account add a block in your {{{/etc/asterisk/manager.conf}}}

{{{
[admin]
secret = mysecret
read = system,call,log,verbose,command,agent,user,config,dtmf,reporting
write = system,call,log,verbose,command,agent,user,config,dtmf,reporting
}}}

Install Asterisk 1.4 Branch with Asterisk GUI

This guide will show how to compile and install Asterisk 1.4 from the SVN 1.4 branch.

As far as I know, no Linux distro comes with a packaged Asterisk 1.4, but this new version brings a lot of new features, such as the web configuration tool called AsteriskGUI.

Instead you could use AsteriskNow, but it does not come with the latest AsteriskGUI, and is not flexible as your own Linux Box.

In this guide I used my Gentoo Linux Box

Log in as root and... :

Backup

Remove any older Asterisk installation and backup your existing /etc/asterisk folder, we are going to make a big mess :)

Download the sources

cd /usr/src
svn co http://svn.digium.com/svn/asterisk/branches/1.4/ asterisk-1.4
svn co http://svn.digium.com/svn/asterisk-addons/branches/1.4/ asterisk.addons-1.4
svn co http://svn.digium.com/svn/asterisk-gui/branches/1.4/ asterisk-gui-1.4 asterisk-gui-1.4

Compile

in each folder (follow the same order as source download):

./configure
make
make install
make samples

Optionally you can run make menuselect before make to customize your build

In the asterisk-gui-1.4 run

make checkconfig

and follow the output of the command to tune the configuration files. You will need to run make checkconfig several times fixing one thing per time.

Run Asterisk

Now just run:

asterisk

and once started you might attach to the console this way:

asterisk -rvvvv

The web interface is here:

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

To configure your account add a block in your /etc/asterisk/manager.conf

[admin]
secret = mysecret
read = system,call,log,verbose,command,agent,user,config,dtmf,reporting
write = system,call,log,verbose,command,agent,user,config,dtmf,reporting