installer asterisk 13 ( debian 8 )

preview_player
Показать описание
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

-------------------------------------------------------------------------------------
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

on l’ installe
aller dans le dossier

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

;language=en (ligne 340)

remplacez la par language=fr et enlever le ;

Configuration Editer
-------------------------------------------------------
[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
------------------------------------------------------------
[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()
---------------------------------------------------------------
Рекомендации по теме
Комментарии
Автор

Merci pour le tuto très bien expliqué.

Maintenant je ne sais pas si c'est possible mais faire un trunk SIP pour appeler des téléphone portable en utilisant par exemple le fournisseur ippi totalement gratuit serait un gros plus :)

rotordao
Автор

bonjour lors de l'installation j'ai un souci avec la commande ''apt-get install build-essential libncurses5-dev linux-header-'uname -r' la message impossible de trouver le paqet s'affiche à chaque fois. Besoin de solutions svp

theodorentsene
Автор

Essayer de grandira le terminal plus explique chaque commande a quoi sert bonne continuation

younessarroume
Автор

Bonjour, je suis entrain de suivre votre tuto mais je suis bloqué au niveau de la configuration d'asterisk car en compresssant la asterisk, j'obtient la version asterisk 13.23.1 et pas la votre

tokoskitoko
Автор

salut et merci pour le tuto mais j'ai un probleme avec cette ligne là : apt-get install build-essential libxml2-dev libncurses5-dev linux-headers-`uname -r` libsqlite3-dev libssl-dev, on me met unable to find etc.. j'utilise un raspberry pi3 sous debian jessie 8

cheickibrahimstevensana
Автор

Salut Brad, dis j'essaie de reproduire ton lab, mais j'ai une série d'infos qui s'affiche, comme suite...
Pourtant j'ai repris les même cmd appliquées, mais sans succès, toujours la même chanson...
Pourrais-tu me donner coup de pouce ?


Connected to Asterisk 13.20.0 currently running on debian (pid = 34610)
debian*CLI> reload
[Apr 18 19:28:51] NOTICE[34982]: cdr.c:4465 cdr_toggle_runtime_options: CDR simple logging enabled.
-- CEL logging disabled.
Asterisk Queue Logger restarted
-- Reloading module 'res_statsd.so' (Statsd client support)
-- Reloading module 'res_stun_monitor.so' (STUN Network Monitor)
-- Reloading module 'res_crypto.so' (Cryptographic Digital Signatures)
-- Reloading module 'res_smdi.so' (Simplified Message Desk Interface (SMDI) Resource)
-- Reloading module 'res_phoneprov.so' (HTTP Phone Provisioning)
[Apr 18 19:28:51] WARNING[34982]: res_phoneprov.c:1231 get_defaults: Unable to find a valid server address or name.
-- Reloading module 'res_fax.so' (Generic FAX Applications)
-- Reloading module 'res_hep.so' (HEPv3 API)
-- Reloading module 'res_ari.so' (Asterisk RESTful Interface)
[Apr 18 19:28:51] ERROR[34982]: ari/config.c:312 process_config: No configured users for ARI
-- Reloading module 'res_calendar.so' (Asterisk Calendar integration)
-- Reloading module 'res_parking.so' (Call Parking Resource)
-- Reloading module 'res_config_sqlite3.so' (SQLite 3 realtime config engine)
-- Reloading module 'res_musiconhold.so' (Music On Hold Resource)
-- Reloading module 'res_rtp_asterisk.so' (Asterisk RTP Stack)
-- Reloading module 'chan_mgcp.so' (Media Gateway Control Protocol (MGCP))
Reloading MGCP
-- Reloading module 'chan_skinny.so' (Skinny Client Control Protocol (Skinny))
[Apr 18 19:28:51] NOTICE[34982]: chan_skinny.c:8448 config_load: Configuring skinny from skinny.conf
-- Reloading module 'chan_sip.so' (Session Initiation Protocol (SIP))
Reloading SIP
-- Reloading module 'chan_iax2.so' (Inter Asterisk eXchange (Ver 2))
-- Reloading module 'res_adsi.so' (ADSI Resource)
-- Reloading module 'app_confbridge.so' (Conference Bridge Application)
-- Reloading module 'app_agent_pool.so' (Call center agent pool applications)
-- Reloading module 'cel_custom.so' (Customizable Comma Separated Values CEL Backend)
[Apr 18 19:28:51] NOTICE[34982]: cel_custom.c:97 load_config: No mappings found in cel_custom.conf. Not logging CEL to custom CSVs.
Added CEL CSV mapping for 0 files.
-- Reloading module 'cel_manager.so' (Asterisk Manager Interface CEL Backend)
-- Reloading module 'cdr_csv.so' (Comma Separated Values CDR Backend)
-- Reloading module 'cdr_custom.so' (Customizable Comma Separated Values CDR Backend)
-- Reloading module 'cdr_manager.so' (Asterisk Manager Interface CDR Backend)
-- Reloading module 'app_alarmreceiver.so' (Alarm Receiver for Asterisk)
-- Reloading module 'pbx_ael.so' (Asterisk Extension Language Compiler)
== Setting global variable 'CONSOLE-AEL' to '"Console/dsp"'
== Setting global variable 'IAXINFO-AEL' to 'guest'
== Setting global variable 'OUTBOUND-TRUNK' to '"Zap/g2"'
== Setting global variable 'OUTBOUND-TRUNKMSD' to '1'
-- Including switch 'DUNDi/e164' in context 'ael-dundi-e164-switch'
-- Time to scan old dialplan and merge leftovers back into the new: 0.000202 sec
-- Time to restore hints and swap in new dialplan: sec
-- Time to delete the old dialplan: 0.000044 sec
-- Total time merge_contexts_delete: 0.000247 sec
-- pbx_ael successfully loaded 24 contexts (enable debug for details).
-- Reloading module 'app_playback.so' (Sound File Playback Application)
-- Reloading module 'pbx_dundi.so' (Distributed Universal Number Discovery (DUNDi))
-- Reloading module 'chan_unistim.so' (UNISTIM Protocol (USTM))
Reloading unistim.conf...
-- Reloading module 'pbx_config.so' (Text Extension Configuration)
-- Including switch 'DUNDi/e164' in context 'ael-dundi-e164-switch'
-- Time to scan old dialplan and merge leftovers back into the new: 0.000158 sec
-- Time to restore hints and swap in new dialplan: sec
-- Time to delete the old dialplan: 0.000033 sec
-- Total time merge_contexts_delete: 0.000193 sec
-- pbx_config successfully loaded 24 contexts (enable debug for details).
-- Reloading module 'app_amd.so' (Answering Machine Detection Application)
-- Reloading module 'res_clialiases.so' (CLI Aliases)
-- Reloading module 'app_voicemail.so' (Comedian Mail (Voicemail System))
-- Reloading module 'app_followme.so' (Find-Me/Follow-Me Application)
-- Reloading module 'app_minivm.so' (Mini VoiceMail (A minimal Voicemail e-mail System))
-- Reloading module 'app_queue.so' (True Call Queueing)
[Apr 18 19:28:51] NOTICE[34982]: app_queue.c:8732 reload_queue_rules: queuerules.conf has not changed since it was last loaded. Not taking any action.

td
Автор

Bonjour et merci pour le tuto ! J'ai tout fait mais seulement j'ai un pb avec l' uuid .
La commande apt-get install uuid donne une erreur ===> E: Package 'uuid' has no installation candidate

gloiremn
Автор

Bonjour a tous
je viens d'installer un serveur freepbx, j ai configuré le trunk et outbount route inbound ring group et bien sur les extention
au debut tout va bien appels entrant est sortant mais apres je lance l'appel vers un numero de telephone fixe/portable des fois ca passe sans eereur et des fois l'appel ca passe vers les autres extentions.
est ce qu'il y a une possibilité d'empecher la communication entre les extentions SVP

abderrazzakrziiky
Автор

Es-ce compliqué d'y intégré un SVI ?

julienB-ho
Автор

slt! svp j'aimerais que vous m'aidiez si possible! lorsque j'ouvre le terminal et que je tapes la commande apt-get update cela ne met pa a jour!!! svp aidez moi! que dois je faire??

edaniekevin
Автор

Bonsoir et merci pour le tuto.

J'ai suivi à la lettre le tuto, mais malheureusement mon téléphone X-lite ne se connecte pas à mon serveur. Svp j'ai vraiment d'aide.

sathelokourouonanga
Автор

spartsystems*CLI> sip show peers
No such command 'sip show peers' (type 'core show help sip show' for other possible commands)

bits-fzsr
Автор

j ai fait la meme chose dans ubuntu 16.04 et ca march pas

bits-fzsr
Автор

Pourrais tu stp me donner un coup de main pour m'aider a télécharger les paquets?

antoninbragai
Автор

j'ai un probleme avec l'installation de uuid

ramiandrisoaaugustin
Автор

Bonjour Merci pour le tuto .. j'ai bien suivi le tuto et appliqué tout ce que j'ai vu mais mon phone n'arrive pas à s'allumer... on m'affiche error 408

oriolkapeu
Автор

je n'entends pas la boite vocale a la fin du temps :/

StTixGaming
Автор

can you tell me the network configuration in windows and in debian please?

guillermobertospuertas
Автор

Comment je peux ouvrir Un nouveau terminal dans une machine virtuelle vmware workstation

farahsabri
visit shbcf.ru