SIP2SIP: SIP gratis para las masas

7,120 views
7,584 views

Published on

Charla del voip2day 2013

Published in: Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
7,120
On SlideShare
0
From Embeds
0
Number of Embeds
5,421
Actions
Shares
0
Downloads
33
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

SIP2SIP: SIP gratis para las masas

  1. 1. sip2sip SIP gratis para las masas Saúl Ibarra Corretgé @saghul Sunday, November 10, 13
  2. 2. AG Projects SIP Infrastructure Experts ¡Hola! • @saghul • VOIP ALL THE THINGS • Open Source Sunday, November 10, 13
  3. 3. AG Projects SIP Infrastructure Experts AG Projects Sunday, November 10, 13
  4. 4. AG Projects SIP Infrastructure Experts Software en el que trabajamos • • • • • • Sunday, November 10, 13 OpenSIPS - Servidor SIP (core contributors y parte del board) OpenXCAP – Autorización de Presencia MediaProxy – Relay para audio / video MSRP Relay – Relay para chat y transferencia de ficheros CDRTool – Generación de CDRs / facturación SylkServer – Servidor de Aplicaciones SIP / XMPP
  5. 5. AG Projects SIP Infrastructure Experts Productos Comerciales • • MSP y SIP Thor – Plataformas SIP Blink – Cliente SIP para OSX, Linux y Windows Self-organizing SIP Infrastructure DB DB Self-organizing Horizontally scalable Built-in disaster recovery No single point of failure Maintenance free Node 5 Node 1 DB Node 6 Multiple Roles SIP Proxy/Registrar RTP Media relay Presence Agent XCAP server Voicemail Provisioning DB Internet Node 2 DB Node 3 DB Node 4 RTP SIP User Agents User agents need only RFC3263 support (locating SIP services using DNS lookups) Sunday, November 10, 13 NAT SIP NAT
  6. 6. AG Projects SIP Infrastructure Experts SIP Trapezoid Global identity DNS query DNS query Operator 1 DB Accounting DNS and ENUM DNS .e164.arpa .net .org .biz .net .com Operator 2 Presence Location Database DB DB DB query SIP SIP Proxy DB Voicemail SIP Registrar SIP SIP SIP DB Radius SIP DB SIP Media Relay Media Relay RTP media RTP NAT RTP RTP NAT NAT Copyright © 2002-2013 AG Projects Sunday, November 10, 13
  7. 7. AG Projects SIP Infrastructure Experts Funcionalidades con SIP • Dirección “portable” (no vinculada a una ubicación) • Cualquier tipo de media utilizando SDP y el modelo offer / answer • • RTP – audio y video Sunday, November 10, 13 MSRP – chat, transferencia de ficheros
  8. 8. AG Projects SIP Infrastructure Experts Numeración en SIP 1001@192.168.0.1:1234 Sunday, November 10, 13
  9. 9. AG Projects SIP Infrastructure Experts Numeración en SIP usuario@dominio Sunday, November 10, 13
  10. 10. AG Projects SIP Infrastructure Experts ENUM: el gateway al pasado Sunday, November 10, 13
  11. 11. AG Projects SIP Infrastructure Experts ¿Qué es SIP2SIP? Sunday, November 10, 13
  12. 12. AG Projects SIP Infrastructure Experts ¿Qué ofrece SIP2SIP? • Una dirección SIP pública: usuario@sip2sip.info • Funciona con cualquier dispositivo SIP (teléfonos, softphones, PBX, ...) • • • Funciona tras cualquier tipo de NAT Sunday, November 10, 13 Cliente SIP gratuito (Blink para SIP2SIP) Puedes usar tu propio dominio
  13. 13. AG Projects SIP Infrastructure Experts Primera versión de SIP2SIP • Año 2004: SIP sobre UDP y llamadas de audio • Testing para SIP Express Router • Cuentas SIP gratuitas Sunday, November 10, 13
  14. 14. AG Projects SIP Infrastructure Experts Evolución de SIP2SIP • • • • • Sunday, November 10, 13 MediaProxy para NAT traversal Buzones de voz Chat y transferencia de ficheros (protocolo MSRP) Terminación a la PSTN Soporte para NAT traversal con ICE
  15. 15. AG Projects SIP Infrastructure Experts Evolución de SIP2SIP • • • • • Sunday, November 10, 13 Presencia (SIMPLE y XCAP) Soporte TLS Conferencias multimedia Federación con dominios XMPP Utiliza tu propio dominio
  16. 16. AG Projects SIP Infrastructure Experts Estadísticas de uso 4000 3000 2000 1000 2008 2009 2010 Nuevos registros / mes • • • Sunday, November 10, 13 2011 0 2012 3000 dispositivos registrados habitualmente > 200.000 cuentas creadas Clientes SIP más allá de la VoIP
  17. 17. AG Projects SIP Infrastructure Experts Construyendo SIP2SIP • • • • • • Sunday, November 10, 13 Servidores SIP (SER, OpenSER y ahora OpenSIPS) Relays para RTP (RTPProxy, ahora MediaProxy) Autorización de Presencia (OpenXCAP) Bases de Datos (MySQL, pronto Mongo DB) Accounting (FreeRadius, Call Control, CDRTool) Escalabilidad (Heartbeat, ahora SIP Thor)
  18. 18. AG Projects SIP Infrastructure Experts OpenSIPS • Proxy SIP (envía / recibe paquetes SIP) • Registrar (ubicación de dispositivos) • Agente de Presencia Sunday, November 10, 13
  19. 19. AG Projects SIP Infrastructure Experts MediaProxy MediaProxy - RTP media relay OpenSIPS STUN servers SIP RTP STUN MediaProxy MediaProxy MediaProxy Relay Candidate NAT Server Reflexive Candidates NAT Hosts Candidates Copyright © 2002-2013 AG Projects Sunday, November 10, 13 • • • • Relay de RTP Audio y video Codec agnostic Soporte para ICE
  20. 20. AG Projects SIP Infrastructure Experts MSRP Relay MSRP Relay Operator MSRP Device A DB NAT router SIP Proxy MSRP relay RFC4976 NAT router SIP MSRP Copyright © 2002-2013 AG Projects Sunday, November 10, 13 Relay de MSRP • MSRP Device B • • • Compartir escritorio Sesiones de chat Transferencia de ficheros
  21. 21. AG Projects SIP Infrastructure Experts CDRTool CDRTool Accounting CDRTool rating engine CDR SipTrace • MediaTrace START STOP FAILED UPDATE Freeradius WEB interface OpenSIPS MediaProxy SIP RTP NAT NAT Copyright © 2002-2013 AG Projects Sunday, November 10, 13 Clasificación de llamadas • • Accounting Portal de usuario
  22. 22. AG Projects SIP Infrastructure Experts Call Control OpenSIPS Prepaid Engine WEB interface • MySQL START/STOP FAILED Freeradius RTP timeout sessions Normalize() callcontrol() MaxSessionTime() dlg_end_dlg() DebitBalance() OpenSIPS Proxy CallControl server CDRTool rating engine /etc/init.d/callcontrol show sessions Copyright © 2009 AG Projects Sunday, November 10, 13 Motor de gestión de prepago • • Límites en las llamadas Medidas antifraude
  23. 23. AG Projects SIP Infrastructure Experts Asterisk • Buzones de voz • Locuciones • Futuro: SylkServer Sunday, November 10, 13
  24. 24. AG Projects SIP Infrastructure Experts SylkServer • Servidor de Aplicaciones SIP • Conferencias multimedia multiusuario • Gateway XMPP (chat, audio y presencia) • Locuciones Sunday, November 10, 13
  25. 25. AG Projects SIP Infrastructure Experts SylkServer Conferencing High Definition Audio Instant Messaging File Transfer Presence SIP Networks XMPP Networks SylkServer Sunday, November 10, 13
  26. 26. AG Projects SIP Infrastructure Experts SIP Thor Self-organizing SIP Infrastructure Self-provisioned DNS DB DB Self-organizing Horizontally scalable Built-in disaster recovery No single point of failure Maintenance free _sip_udp.example.com 0 1 proxy1 _sip_udp.example.com 0 1 proxy2 _sip_udp.example.com 0 1 proxy3 _sip_udp.example.com 0 1 proxy4 _sip_udp.example.com 0 1 proxy5 _sip_udp.example.com 0 1 proxy6 _sip_udp.example.com 0 1 proxy7 Node 5 Node 1 Dynamic updates DB DNS server DB DNS server DB DNS server DB Node 6 Multiple Roles SIP Proxy/Registrar RTP Media relay Presence Agent XCAP server Voicemail Provisioning DB Bootstrap Internet Node 2 DB Node 7 DB New nodes are provisioned with a valid TLS certificate to be accepted by the network Node 3 DB Node 4 RTP SIP User Agents User agents need only RFC3263 support (locating SIP services using DNS lookups) Sunday, November 10, 13 NAT All nodes are in active mode, can be distributed in multiple datacenters and any of them can handle requests from any subscriber SIP NAT DNS lookup
  27. 27. AG Projects SIP Infrastructure Experts Demo Sunday, November 10, 13
  28. 28. AG Projects SIP Infrastructure Experts ¿Preguntas? bettercallsaghul.com Sunday, November 10, 13

×