Instalación de un sistema VoIP corporativo basado en Asterisk
Instalación de un sistema VoIP corporativo basado en Asterisk Instalación de un sistema VoIP corporativo basado en Asterisk
principalmente a la calidad de la voz transmitida. Nombre Estandar Bit rate (kb/s) Instalación de un sistema VoIP corporativo basado en Asterisk Sampling rate (kHz) G.711 ITU-T 64 8 Frame size (ms) Muestread a MOS (Mean Opinion Score) G.723.1 ITU-T 5.6/6.3 8 30 3.8-3.9 G.726 ITU-T 16/24/32/40 8 Muestread a 4.1 3.85 G.729 ITU-T 8 8 10 3.92 GSM ETSI 13 8 22.5 3.5-3.7 Speex - 8, 16, 32 2.15-24.6 (NB) 4-44.2 (WB) 30 ( NB ) 34 ( WB ) iLBC - 15.2 / 13.3 8 20/30 4.1 2.6. Software de servidor de VoIP Existe varias soluciones software de código abierto que implementan las funciones de una centralita (PBX), las más populares son: OpenPBX, PBX4Linux, YATE, FreeSwitch y Asterisk. De entre ellas, la más extendida, popular, que ofrece mayor número de dispositivos hardware y que proporciona mayor número de aplicaciones de terceros para ampliar sus funcionalidades es Asterisk. Así que debido a su superioridad respecto a las otras soluciones solo vamos a tratar Asterisk. Asterisk es una PBX (Phone Box eXchanger) software. Es decir, una Centralita Telefónica por Software. Es software libre (Open Source), desarrollado principalmente por la empresa DIGIUM. Su código se encuentra publicado bajo licencia GPL, y fue creado en c bajo Linux. Se ejecuta en un PC standar (arquitectura x86,x86_64, ppc) bajo GNU/Linux, BSD, Sun Solaris, o MacOSX. Soporta todas las funcionalidades de las centralitas hardware, incluso algunas características avanzadas de grandes centralitas propietarias programables, y además de ofrecer interfaces para poder crear nuevas funcionalidades adaptadas al usuario. Asterisk, comenzó en 1999 y fue desarrollado por Mark Spencer, para cubrir las necesidades de telefonía que tenía su empresa (Linux Support), pensando que las centralitas hardware tenían unos costes muy altos y que el podía programar fácilmente su propia centralita. Actualmente, la empresa Digium, fundada por Mark Spencer y sucesora de Linux- 34 -
2.- TECNOLOGÍAS USADAS Support, administra y mantiene el código fuente de Asterisk, y lo ofrece bajo dos licencias: GPL y licencia comercial. Digium vende Hardware creado especialmente para Asterisk, tarjetas analógicas y digitales las cuales son soportadas por los drivers ZAP, incluidos por defecto en Asterisk. La última versión de Asterisk estable es la 1.4.21. (Sept. '08). Y es una solución probada y robusta, tanto para pequeñas instalaciones como para proveedores o carriers. Algunas de las funciones básicas que asterisk ofrece son: Transferencia Música en espera, Registro de llamadas en MySql, Transferencia Atendida, Música en transferencia, Buzón de Voz por Mail, Llamada en espera, Salas de Conferencia, Captura de llamadas, Desvío si ocupado, Bloqueo de Caller ID, Colas de llamada, Desvío si no responde, Timbres distintivos, Colas con prioridad [ ... ] Otras funciones más avanzas que ofrece son: ✔ IVR: Interactive Voice Response, gestión de llamadas con menús interactivos. ✔ LCR: Least Cost Routing, encaminamiento de llamadas por el proveedor VoIP más económico. ✔ AGI: Asterisk Gateway Interface, integración con todo tipo de aplicaciones externas. ✔ AMI: Asterisk Management Interface, gestión y control remoto de Asterisk. ✔ BB.DD: Base de datos, usuarios, llamadas, extensiones, proveedores ... Asterisk además de soportar diferentes tarjetas analógicas y digitales, también admite diferentes protocolos de señalización, lo que le permite una gran flexibilidad. En la Figura 14, se puede apreciar la conectividad que ofrece. A continuación se van a mostrar diferentes puntos del funcionamiento de Asterisk para comprender mejor que no ofrece, como se estructura y como funciona. 35
- Page 1 and 2: ESCUELA TÉCNICA SUPERIOR DE INGENI
- Page 4 and 5: Agradecimientos A mi familia, a mi
- Page 6 and 7: 4.1.Configuración de la Plataforma
- Page 9 and 10: 1.- INTRODUCCIÓN 1. INTRODUCCIÓN
- Page 11 and 12: 1.- INTRODUCCIÓN conectar computad
- Page 13 and 14: 1.- INTRODUCCIÓN - Calidad de Serv
- Page 15 and 16: 1.- INTRODUCCIÓN del cliente, etc.
- Page 17 and 18: 1.- INTRODUCCIÓN software abierto
- Page 19 and 20: 1.- INTRODUCCIÓN ✔ Poco a poco t
- Page 21 and 22: 2.- TECNOLOGÍAS USADAS de circuito
- Page 23 and 24: 2.- TECNOLOGÍAS USADAS conversión
- Page 25 and 26: 2.- TECNOLOGÍAS USADAS Figura 6: C
- Page 27 and 28: 2.- TECNOLOGÍAS USADAS 2.3. Factor
- Page 29 and 30: 2.- TECNOLOGÍAS USADAS ✔ Supreso
- Page 31 and 32: 2.- TECNOLOGÍAS USADAS realizar va
- Page 33 and 34: 2.- TECNOLOGÍAS USADAS 1. El clien
- Page 35 and 36: 2.- TECNOLOGÍAS USADAS integrado v
- Page 37 and 38: 2.- TECNOLOGÍAS USADAS momento en
- Page 39 and 40: 2.- TECNOLOGÍAS USADAS ➢ Voice M
- Page 41: 2.- TECNOLOGÍAS USADAS ✔ G.711:
- Page 45 and 46: 2.- TECNOLOGÍAS USADAS - Zaptel: I
- Page 47 and 48: 2.- TECNOLOGÍAS USADAS • Hangup:
- Page 49 and 50: 2.- TECNOLOGÍAS USADAS - Variables
- Page 51 and 52: 2.- TECNOLOGÍAS USADAS 2.8. Virtua
- Page 53 and 54: 3.- ARQUITECTURA PROPUESTA 3. ARQUI
- Page 55 and 56: 3.- ARQUITECTURA PROPUESTA 3.1. Tel
- Page 57 and 58: 3.- ARQUITECTURA PROPUESTA 3.3. Gat
- Page 59 and 60: 3.- ARQUITECTURA PROPUESTA 3.5. Cod
- Page 61 and 62: 3.- ARQUITECTURA PROPUESTA que aseg
- Page 63 and 64: 4.- CONFIGURACIONES REALIZADAS Para
- Page 65 and 66: 4.- CONFIGURACIONES REALIZADAS A co
- Page 67 and 68: 4.- CONFIGURACIONES REALIZADAS Capt
- Page 69 and 70: 4.- CONFIGURACIONES REALIZADAS 4.4.
- Page 71 and 72: 4.- CONFIGURACIONES REALIZADAS Los
- Page 73 and 74: 4.- CONFIGURACIONES REALIZADAS 65
- Page 75 and 76: 4.- CONFIGURACIONES REALIZADAS 67
- Page 77 and 78: 4.- CONFIGURACIONES REALIZADAS Capt
- Page 79 and 80: 4.- CONFIGURACIONES REALIZADAS resp
- Page 81 and 82: 4.- CONFIGURACIONES REALIZADAS buz
- Page 83 and 84: 4.- CONFIGURACIONES REALIZADAS segu
- Page 85 and 86: 4.- CONFIGURACIONES REALIZADAS “T
- Page 87 and 88: 4.- CONFIGURACIONES REALIZADAS Inic
- Page 89 and 90: 5.- CONCLUSIONES Y LINEAS FUTURAS 5
- Page 91 and 92: 6.- BIBLIOGRAFÍA. 6. BIBLIOGRAFÍA
principalm<strong>en</strong>te a la calidad <strong>de</strong> la voz transmitida.<br />
Nombre Estandar Bit rate (kb/s)<br />
<strong>Instalación</strong> <strong>de</strong> <strong>un</strong> <strong>sistema</strong> <strong>VoIP</strong> <strong>corporativo</strong> <strong>basado</strong> <strong>en</strong> <strong>Asterisk</strong><br />
Sampling rate<br />
(kHz)<br />
G.711 ITU-T 64 8<br />
Frame<br />
size (ms)<br />
Muestread<br />
a<br />
MOS (Mean<br />
Opinion<br />
Score)<br />
G.723.1 ITU-T 5.6/6.3 8 30 3.8-3.9<br />
G.726 ITU-T 16/24/32/40 8<br />
Muestread<br />
a<br />
4.1<br />
3.85<br />
G.729 ITU-T 8 8 10 3.92<br />
GSM ETSI 13 8 22.5 3.5-3.7<br />
Speex - 8, 16, 32<br />
2.15-24.6 (NB)<br />
4-44.2 (WB)<br />
30 ( NB )<br />
34 ( WB )<br />
iLBC - 15.2 / 13.3 8 20/30 4.1<br />
2.6. Software <strong>de</strong> servidor <strong>de</strong> <strong>VoIP</strong><br />
Existe varias soluciones software <strong>de</strong> código abierto que implem<strong>en</strong>tan las f<strong>un</strong>ciones<br />
<strong>de</strong> <strong>un</strong>a c<strong>en</strong>tralita (PBX), las más populares son: Op<strong>en</strong>PBX, PBX4Linux, YATE,<br />
FreeSwitch y <strong>Asterisk</strong>.<br />
De <strong>en</strong>tre ellas, la más ext<strong>en</strong>dida, popular, que ofrece mayor número <strong>de</strong> dispositivos<br />
hardware y que proporciona mayor número <strong>de</strong> aplicaciones <strong>de</strong> terceros para ampliar sus<br />
f<strong>un</strong>cionalida<strong>de</strong>s es <strong>Asterisk</strong>. Así que <strong>de</strong>bido a su superioridad respecto a las otras<br />
soluciones solo vamos a tratar <strong>Asterisk</strong>.<br />
<strong>Asterisk</strong> es <strong>un</strong>a PBX (Phone Box eXchanger) software. Es <strong>de</strong>cir, <strong>un</strong>a C<strong>en</strong>tralita<br />
Telefónica por Software. Es software libre (Op<strong>en</strong> Source), <strong>de</strong>sarrollado principalm<strong>en</strong>te por<br />
la empresa DIGIUM. Su código se <strong>en</strong>cu<strong>en</strong>tra publicado bajo lic<strong>en</strong>cia GPL, y fue creado <strong>en</strong><br />
c bajo Linux.<br />
Se ejecuta <strong>en</strong> <strong>un</strong> PC standar (arquitectura x86,x86_64, ppc) bajo GNU/Linux, BSD,<br />
S<strong>un</strong> Solaris, o MacOSX. Soporta todas las f<strong>un</strong>cionalida<strong>de</strong>s <strong>de</strong> las c<strong>en</strong>tralitas hardware,<br />
incluso alg<strong>un</strong>as características avanzadas <strong>de</strong> gran<strong>de</strong>s c<strong>en</strong>tralitas propietarias programables,<br />
y a<strong>de</strong>más <strong>de</strong> ofrecer interfaces para po<strong>de</strong>r crear nuevas f<strong>un</strong>cionalida<strong>de</strong>s adaptadas al<br />
usuario.<br />
<strong>Asterisk</strong>, com<strong>en</strong>zó <strong>en</strong> 1999 y fue <strong>de</strong>sarrollado por Mark Sp<strong>en</strong>cer, para cubrir las<br />
necesida<strong>de</strong>s <strong>de</strong> telefonía que t<strong>en</strong>ía su empresa (Linux Support), p<strong>en</strong>sando que las<br />
c<strong>en</strong>tralitas hardware t<strong>en</strong>ían <strong>un</strong>os costes muy altos y que el podía programar fácilm<strong>en</strong>te su<br />
propia c<strong>en</strong>tralita.<br />
Actualm<strong>en</strong>te, la empresa Digium, f<strong>un</strong>dada por Mark Sp<strong>en</strong>cer y sucesora <strong>de</strong> Linux-<br />
34<br />
-