*
Sokobla Gazaro
OPENDAYS - 2012
Quest ce que Asterisk ?
Installation dAsterisk
Infrastructures Tlchargement des sources Mise en place Historique Architecture
Les premiers pas Quelques concepts avancs Les interfaces
Le Trunking Bases de donnes Les AGIs Gateways Cartes dinterface Les fichiers Le dialplan Configurations des terminaux SIP
Les sources Installation des sources
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
Le plus grand dploiement connus dAsterisk est lUniversit de Pennsylvanie (USA) et comprend plus de 10000 Tlphones - www.networkworld.com
* 1999: Mark Spencer developpe la premiere version
dAsterisk * 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 one seemed a logical way to go - Mark Spencer
* 2001: Rencontre avec Jim Dixon du Zapata telephony
Project.
* 2001-2012: Asterisk est le PABX logiciel le plus utilis
dans le monde et bnficie de lune des communaut de dveloppeurs la plus active,
* *
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
*
*
* Les codecs permettent doptimiser la bande
passante
* Un serveur de communication * OS
*
400Mhz x86, 256Mb DDR
* Ubuntu server 12.04 aka Precise Pangolin * Snom 821 * Xlite
* Un tlphone Sip * Un Soft phone SIP
* Dahdi-linux
* Wget * Wget
* Dahdi-tools
http://downloads.asterisk.org/pub/telephony/dah di-linux/dahdi-linux-2.6.1.tar.gz
* Asterisk 1.4 * Wget
http://downloads.asterisk.org/pub/telephony/dah di-tools/dahdi-tools-2.6.1.tar.gz
http://downloads.asterisk.org/pub/telephony/aste risk/releases/asterisk-1.4.21.tar.gz
*Dahdi-linux
*Dahdi-tools
* Tar zxf ../dahdi-linux-2.6.1.tar.gz * Cd dahdi-linux-2.6.1 * ./configure * Make * Make install * Tar zxf ../dahdi-tools-2.6.1.tar.gz * Cd dahdi-tools2.6.1 * Make * Make install
*Asterisk
* Tar zxvf ../asterisk-1.4.21.tar.gz * Cd asterisk-1.4.21 * ./configure * Make * Make install * Make config
* Les fichiers
etc
usr
var
asterisk
lib
lib
spool
run
modules
asterisk
asterisk
* Dialplan: Cest le core system qui rgit
Asterisk.
Direction: 31[0-4]X
DSI: 31[5-7]X
Finance: 31[8-9]X
* La configuration des terminaux SIP se fait en
editant le fichier sip.conf
[User1] Type=Friend Secret=welcome Qualify=yes Nat=no host=dynamic Context=direction Mailbox=3100@direction
* Routage dappels
* [globals] * USER1= SIP/user1 * USER2=SIP/user2 * [Direction] * exten=>3100,1,Dial(${USER1}) * Exten=>3101,1,Dial(${USER2})
* Le Trunking ou comment interconnecter deux
serveurs de communications
* Deux alternatives SIP ou IAX
* Asterisk Realtime Architecture: Intgration
asterisk avec Mysql/Postgresl ou SQL Server,
* Linteret est doffrir une interface entre le
monde des tlcoms et celui du dveloppement.
* Cette interface permet un contrle total des
fonctions dasterisk.
* Quelques applications utilisant lARA
Asterisk Gateway Interface: interface
permettant de faire communiquer le plan de numrotation (extensions.conf) avec des programmes extrieurs Asterisk.
Similaires aux CGI Implmentable dans tous les languages (Perl, PHP ,Python, Pascal, Java, BASH ) configuration supplmentaire ffectuer,
Directement pris en charge par Asterisk, pas de