VoIP Open Source - Asterisk
-
Upload
gazaro-sokobla -
Category
Documents
-
view
235 -
download
0
Transcript of VoIP Open Source - Asterisk
-
7/30/2019 VoIP Open Source - Asterisk
1/23
Sokobla Gazaro
OPENDAYS - 2012
*
-
7/30/2019 VoIP Open Source - Asterisk
2/23
Quest ce que Asterisk ? Historique
Architecture
Installation dAsterisk Infrastructures
Tlchargement des sources
Mise en place Les sources
Installation des sources
Les premiers pas Les fichiers
Le dialplan
Configurations des terminaux SIP
Quelques concepts avancs Le Trunking Bases de donnes
Les AGIs
Les interfaces Gateways
Cartes dinterface
-
7/30/2019 VoIP Open Source - Asterisk
3/23
*
Un IPBX complet et open source
Fonctionne sous Linux, BSD, MacOSX, et autres.
Compatible avec les plusparts des protocoles VoIP
Une large panoplie de fonctionnalits- voicemail,
conferencing, IVR, queuing disponible par dfaut
Ultra extensible
-
7/30/2019 VoIP Open Source - Asterisk
4/23
*
Le plus grand dploiement connus dAsterisk est lUniversit de Pennsylvanie (USA) et comprendplus de 10000 Tlphones - www.networkworld.com
http://www.networkworld.com/http://www.networkworld.com/ -
7/30/2019 VoIP Open Source - Asterisk
5/23
*
*1999: Mark Spencer developpe la premiere versiondAsterisk* I needed a phone system and with as small a startup budget as I had
for Linux Support Services, I wasn't about to buy one, so building oneseemed a logical way to go -Mark Spencer
*2001: Rencontre avec Jim Dixon du Zapata telephonyProject.
*2001-2012: Asterisk est le PABX logiciel le plus utilisdans le monde et bnficie de lune des communautde dveloppeurs la plus active,
-
7/30/2019 VoIP Open Source - Asterisk
6/23
*
-
7/30/2019 VoIP Open Source - Asterisk
7/23
*
-
7/30/2019 VoIP Open Source - Asterisk
8/23
*
* SIP: Session Initiation Protocol
* UDP:5060
* IAX: Inter Asterisk Exchange
* UDP:4569
* RTP: Realtime Transport Protocol
* UDP:10000-20000
* UA: User Agent
* Proxy
* Registrar
* Les Codecs
-
7/30/2019 VoIP Open Source - Asterisk
9/23
*
-
7/30/2019 VoIP Open Source - Asterisk
10/23
*
*Les codecs permettent doptimiser la bandepassante
-
7/30/2019 VoIP Open Source - Asterisk
11/23
*
*Un serveur de communication* 400Mhz x86, 256Mb DDR
*OS* Ubuntu server 12.04 aka Precise Pangolin
*Un tlphone Sip* Snom 821
*Un Soft phone SIP*Xlite
-
7/30/2019 VoIP Open Source - Asterisk
12/23
*
*Dahdi-linux
*Wgethttp://downloads.asterisk.org/pub/telephony/dahdi-linux/dahdi-linux-2.6.1.tar.gz
*Dahdi-tools
*Wgethttp://downloads.asterisk.org/pub/telephony/dahdi-tools/dahdi-tools-2.6.1.tar.gz
*Asterisk 1.4*Wget
http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.4.21.tar.gz
http://downloads.asterisk.org/pub/telephony/dahdi-linux/dahdi-linux-2.6.1.tar.gzhttp://downloads.asterisk.org/pub/telephony/dahdi-linux/dahdi-linux-2.6.1.tar.gzhttp://downloads.asterisk.org/pub/telephony/dahdi-tools/dahdi-tools-2.6.1.tar.gzhttp://downloads.asterisk.org/pub/telephony/dahdi-tools/dahdi-tools-2.6.1.tar.gzhttp://downloads.asterisk.org/pub/telephony/dahdi-tools/dahdi-tools-2.6.1.tar.gzhttp://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.4.21.tar.gzhttp://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.4.21.tar.gzhttp://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.4.21.tar.gzhttp://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.4.21.tar.gzhttp://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.4.21.tar.gzhttp://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.4.21.tar.gzhttp://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.4.21.tar.gzhttp://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.4.21.tar.gzhttp://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.4.21.tar.gzhttp://downloads.asterisk.org/pub/telephony/dahdi-tools/dahdi-tools-2.6.1.tar.gzhttp://downloads.asterisk.org/pub/telephony/dahdi-tools/dahdi-tools-2.6.1.tar.gzhttp://downloads.asterisk.org/pub/telephony/dahdi-tools/dahdi-tools-2.6.1.tar.gzhttp://downloads.asterisk.org/pub/telephony/dahdi-tools/dahdi-tools-2.6.1.tar.gzhttp://downloads.asterisk.org/pub/telephony/dahdi-tools/dahdi-tools-2.6.1.tar.gzhttp://downloads.asterisk.org/pub/telephony/dahdi-tools/dahdi-tools-2.6.1.tar.gzhttp://downloads.asterisk.org/pub/telephony/dahdi-tools/dahdi-tools-2.6.1.tar.gzhttp://downloads.asterisk.org/pub/telephony/dahdi-tools/dahdi-tools-2.6.1.tar.gzhttp://downloads.asterisk.org/pub/telephony/dahdi-tools/dahdi-tools-2.6.1.tar.gzhttp://downloads.asterisk.org/pub/telephony/dahdi-linux/dahdi-linux-2.6.1.tar.gzhttp://downloads.asterisk.org/pub/telephony/dahdi-linux/dahdi-linux-2.6.1.tar.gzhttp://downloads.asterisk.org/pub/telephony/dahdi-linux/dahdi-linux-2.6.1.tar.gzhttp://downloads.asterisk.org/pub/telephony/dahdi-linux/dahdi-linux-2.6.1.tar.gzhttp://downloads.asterisk.org/pub/telephony/dahdi-linux/dahdi-linux-2.6.1.tar.gzhttp://downloads.asterisk.org/pub/telephony/dahdi-linux/dahdi-linux-2.6.1.tar.gzhttp://downloads.asterisk.org/pub/telephony/dahdi-linux/dahdi-linux-2.6.1.tar.gzhttp://downloads.asterisk.org/pub/telephony/dahdi-linux/dahdi-linux-2.6.1.tar.gzhttp://downloads.asterisk.org/pub/telephony/dahdi-linux/dahdi-linux-2.6.1.tar.gz -
7/30/2019 VoIP Open Source - Asterisk
13/23
*
*Dahdi-linux* Tar zxf ../dahdi-linux-2.6.1.tar.gz
*Cd dahdi-linux-2.6.1
* ./configure
*Make
* Make install
*Dahdi-tools*
Tar zxf ../dahdi-tools-2.6.1.tar.gz* Cd dahdi-tools2.6.1
* Make
* Make install
-
7/30/2019 VoIP Open Source - Asterisk
14/23
*
*Asterisk
*Tar zxvf ../asterisk-1.4.21.tar.gz
*Cd asterisk-1.4.21
*./configure
*Make
*Make install
*Make config
-
7/30/2019 VoIP Open Source - Asterisk
15/23
*
*Les fichiers/
etc varusr
asterisk lib lib spool run
modules asterisk asterisk
-
7/30/2019 VoIP Open Source - Asterisk
16/23
*
*Dialplan: Cest le core system qui rgitAsterisk.
Direction: 31[0-4]X
DSI: 31[5-7]X
Finance: 31[8-9]X
-
7/30/2019 VoIP Open Source - Asterisk
17/23
*
*La configuration des terminaux SIP se fait eneditant le fichier sip.conf
[User1]
Type=Friend
Secret=welcome
Qualify=yes
Nat=no
host=dynamicContext=direction
Mailbox=3100@direction
-
7/30/2019 VoIP Open Source - Asterisk
18/23
*
*Routage dappels* [globals]
* USER1= SIP/user1
* USER2=SIP/user2
* [Direction]
* exten=>3100,1,Dial(${USER1})
* Exten=>3101,1,Dial(${USER2})
-
7/30/2019 VoIP Open Source - Asterisk
19/23
*
*Le Trunking ou comment interconnecter deuxserveurs de communications
*Deux alternatives SIP ou IAX
-
7/30/2019 VoIP Open Source - Asterisk
20/23
*
-
7/30/2019 VoIP Open Source - Asterisk
21/23
*
*Asterisk Realtime Architecture: Intgrationasterisk avec Mysql/Postgresl ou SQL Server,
*Linteret est doffrir une interface entre lemonde des tlcoms et celui dudveloppement.
*Cette interface permet un contrle total desfonctions dasterisk.
-
7/30/2019 VoIP Open Source - Asterisk
22/23
*
*Quelques applications utilisant lARA
-
7/30/2019 VoIP Open Source - Asterisk
23/23
*
Asterisk Gateway Interface: interfacepermettant de faire communiquer le plan de
numrotation (extensions.conf) avec desprogrammes extrieurs Asterisk.
Similaires aux CGI Implmentable dans tous les languages (Perl,
PHP,Python, Pascal, Java, BASH )
Directement pris en charge par Asterisk, pas deconfiguration supplmentaire ffectuer,