installer asterisk 13 ( debian 8 )

Published: 29 May 2015
on channel: Aven&CO
25,035
107

mettre à jour
apt-get update
apt-get upgrade

et installer les dépendances nécéssaires à la compilation d’Asterisk.
apt-get install build-essential libxml2-dev libncurses5-dev linux-headers-`uname -r` libsqlite3-dev libssl-dev

-------------------------------------------------------------------------------------
si debian vous demande un dvd a insérer vous devez aller dans "/etc/apt/sources.list"
et mettre la ligne
deb cdrom:[Debian GNU/Linux 8.2.0 ...........
en commentaire
-----------------------------------------------------------------------------------

créer un dossier
mkdir /usr/src/asterisk
cd /usr/src/asterisk


installation
On télécharge d’Asterisk
wget http://downloads.asterisk.org/pub/tel...

on l’ installe
tar xvzf asterisk-13-current.tar.gz
aller dans le dossier
cd asterisk-13-current.tar.gz

configurer
./configure
-------------------------------------------
error
apt-get install UUID
contrib/scripts/install_prereq install
./configure
-------------------------------------------
make menuselect

installer les sons français
Dans "Core Sound Package cocher" la case CORE-SOUNDS-FR-ULAW
Dans "Music On Hold File Packages" cochez MOH-OPSOUND-ULAW (Dechochez celui en WAV),
Dans "Extras Sound Package" cochez EXTRA-SOUNDS-FR-ULAW.
Echap et appuyez et sauvegarder les changements.

terminer l’installation
make
make install
make samples
make config

lancer Asterisk
/etc/init.d/asterisk start

Vérifier votre serveur Asterisk
asterisk -cvvvvvvvvvvr

Configuration Editer
gedit /etc/asterisk/sip.conf

;language=en (ligne 340)

remplacez la par language=fr et enlever le ;

Configuration Editer
gedit /etc/asterisk/users.conf
-------------------------------------------------------
[general]
hasvoicemail = yes
hassip = yes
hasiax = yes
callwaiting = yes
threewaycalling = yes
callwaitingcallerid = yes
transfer = yes
canpark = yes
cancallforward = yes
callreturn = yes
callgroup = 1
pickupgroup = 1
nat = yes

[6007]
type=friend
host=dynamic
dtmfmode=rfc2833
disallow=all
allow=ulaw
fullname = alex
username = alex
secret=iprec
context = work

[6006]
type=friend
host=dynamic
dtmfmode=rfc2833
disallow=all
allow=ulaw
fullname = franck
username = franck
secret=iprec
context = work

[6008]
type=friend
host=dynamic
dtmfmode=rfc2833
disallow=all
allow=ulaw
fullname = faiza
username = faiza
secret=iprec
context = work
------------------------------------------------------------
Configuration Editer
gedit /etc/asterisk/extensions.conf
------------------------------------------------------------
[general]
static=yes
writeprotect=no
clearglobalvars=no
[globals]
CONSOLE=Console/dsp
IAXINFO=guest
TRUNK=DAHDI/G2
TRUNKMSD=1

attention les symboles supérieur ne sont pas autorisé sur youtube
superieur a été remplacé par ?

[work]
exten =? _6XXX,1,Dial(SIP/${EXTEN},20)
exten =? _6XXX,2,Hangup()
---------------------------------------------------------------


Watch video installer asterisk 13 ( debian 8 ) online without registration, duration hours minute second in high quality. This video was added by user Aven&CO 29 May 2015, don't forget to share it with your friends and acquaintances, it has been viewed on our site 25,035 once and liked it 107 people.