2014 sergio serrano asterisk xiii
DESCRIPTION
Asterisk XIII ¿Qué, cuándo, porqué, cómo?TRANSCRIPT
ASTERISK XIII¿QUÉ, CUÁNDO, PORQUÉ, CÓMO?
© - Sergio Serrano – Voip2Day 2014
¿QUÉ?
© - Sergio Serrano – Voip2Day 2014
COMUNICACIONES
AUDIO
VIDEO
MENSA JERIA
COMPARTICION
ANLG
DIGITAL
VOZIP
DIGITAL
VOZIP
PRESENCIA
¿QUE?
© - Sergio Serrano – Voip2Day 2014
¿QUE?
GATEWAY B2BUA
APPLICATIONSERVER
REGISTRARSERVER
LOCATIONSERVER
PROXYSERVERXMPP
SERVER
SBC
MCU
© - Sergio Serrano – Voip2Day 2014
¿QUE?
© - Sergio Serrano – Voip2Day 2014
© - Sergio Serrano – Voip2Day 2014
Versiones Asterisk
Estándar
V 1.6.0.X
V 1.6.1.X
V 1.6.2.X
V 10.X
V 12.X
V 14.X
LTS Certified
V 1.4.X
V 1.8.X V 1.8
V 11.X V 11
V 13.X
V 15.X
*Cada 6-8 semanas *Cada 6-8 semanas 2-4 Veces / Año
¿QUE?
¿CUÁNDO?
© - Sergio Serrano – Voip2Day 2014
?© - Sergio Serrano – Voip2Day 2014
¿CUANDO?
¿PORQUÉ?
© - Sergio Serrano – Voip2Day 2014
¿PORQUE?
© - Sergio Serrano – Voip2Day 2014
AMI ARI
PJSIP
STASIS
...
¿PORQUE?
© - Sergio Serrano – Voip2Day 2014
STASIS
STASIS
interfaces
PublishSubscribe
ASTERISK
Canales
bridgesendppoints
¿PORQUE?
© - Sergio Serrano – Voip2Day 2014
STASIS
stasis.conf
...
CEL
AMI
CDR
ARI
¿PORQUE?
© - Sergio Serrano – Voip2Day 2014
AMI
Especificación V2
STASIS
AMI
Eventos
Ac ciones OTROSAsíncrono
¿PORQUE?
© - Sergio Serrano – Voip2Day 2014
AMI
Especificación V2
STASISAMI
Módulo de asterisk
APP cliente
Acciones
Eventos
Nombre de canal único durante toda la vida del canal
Masquerades no son visibles ahora para el AMI
¿PORQUE?
© - Sergio Serrano – Voip2Day 2014
ARI
Asterisk REST Interface
ARIAMI AGI
Control de llamadas
Aplicaciones de comunicaciones personalizadas
Control de llamadas
¿PORQUE?
© - Sergio Serrano – Voip2Day 2014
ARI
A
R
I
Asterisk REST Interface
STASIS
WS
¿PORQUE?
© - Sergio Serrano – Voip2Day 2014
PJSIP
CHAN_SIP
ASTERISK
CHAN_PJSIP
res_pjsip_callerid res_pjsip_mwi res_pjsip_exten_state
res_pjsip_session res_pjsip_pubsub res_pjsip_message res_pjsip_registrar
res_pjsip
Librerías PJSIP
¿PORQUE?
© - Sergio Serrano – Voip2Day 2014
PJSIP-RLS
SIP Event Notificacion Extensionfor resource lists(RFC 4662)
¿PORQUE?
© - Sergio Serrano – Voip2Day 2014
CDR/CEL
CDRLos módulos individuales no modifican directamente el CDR. Ahora el CDR se crea basado en el estado de los canales y de los bridges Consistencia→
Se siguen creando varias entradas por una misma llamada si hay implicados varios path
Campo linkedidStasis
CELRecoger el estado por el que pasan los canales en asterisk
Stasis
¿CÓMO?
© - Sergio Serrano – Voip2Day 2014
¿CÓMO?
© - Sergio Serrano – Voip2Day 2014
Partimos de una instalación con todas las dependencias instaladas
Copia de configuración y librerías
cp r /etc/asterisk /etc/asterisk11mv /usr/lib/asterisk/modules /usr/lib/asterisk/modules11
Instalación y compilación de pjsip
cd /usr/srcwget http://www.pjsip.org/release/2.3/pjproject2.3.tar.bz2tar xvjf pjproject2.3.tar.bz2cd pjproject2.3./configure prefix=/usr enableshared disablesound disableresample disablevideo –disableopencoreamrmake depmakemake installldconfig
Instalación y configuración de asterisk
cd ..wget http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk13.0.0beta2.tar.gztar xvzf asterisk13.0.0beta2.tar.gzaptget install libjanssondevcd asterisk13.0.0beta2./configuremake menuselectmakemake installmake samplesmake config
¿MÁS AÚN?
¿MÁS AÚN?
© - Sergio Serrano – Voip2Day 2014
ARISTASIS WS
OpenIMS Core
PJSIP
Servidor de Aplicacionespara arquitecturas IMS
© - Sergio Serrano – Voip2Day 2014
ASTERISK XIII¿QUÉ, CUÁNDO, PORQUÉ, CÓMO?