SlideShare una empresa de Scribd logo
1 de 28
Descargar para leer sin conexión
sip2sip
SIP gratis para las masas
Saúl Ibarra Corretgé

@saghul

Sunday, November 10, 13
AG Projects
SIP Infrastructure Experts

¡Hola!

• @saghul
• VOIP ALL THE THINGS
• Open Source
Sunday, November 10, 13
AG Projects
SIP Infrastructure Experts

AG Projects

Sunday, November 10, 13
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
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
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
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
AG Projects
SIP Infrastructure Experts

Numeración en SIP

1001@192.168.0.1:1234

Sunday, November 10, 13
AG Projects
SIP Infrastructure Experts

Numeración en SIP

usuario@dominio

Sunday, November 10, 13
AG Projects
SIP Infrastructure Experts

ENUM: el gateway al pasado

Sunday, November 10, 13
AG Projects
SIP Infrastructure Experts

¿Qué es SIP2SIP?

Sunday, November 10, 13
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
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
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
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
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
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)
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
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
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
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
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
AG Projects
SIP Infrastructure Experts

Asterisk

• Buzones de voz
• Locuciones
• Futuro: SylkServer
Sunday, November 10, 13
AG Projects
SIP Infrastructure Experts

SylkServer

• Servidor de Aplicaciones SIP
• Conferencias multimedia multiusuario
• Gateway XMPP (chat, audio y presencia)
• Locuciones
Sunday, November 10, 13
AG Projects
SIP Infrastructure Experts

SylkServer
Conferencing
High Definition Audio
Instant Messaging
File Transfer
Presence

SIP Networks

XMPP Networks
SylkServer

Sunday, November 10, 13
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
AG Projects
SIP Infrastructure Experts

Demo

Sunday, November 10, 13
AG Projects
SIP Infrastructure Experts

¿Preguntas?

bettercallsaghul.com
Sunday, November 10, 13

Más contenido relacionado

La actualidad más candente

La actualidad más candente (19)

SIP Conferencing Reloaded
SIP Conferencing ReloadedSIP Conferencing Reloaded
SIP Conferencing Reloaded
 
SylkServer: State of the art RTC application server
SylkServer: State of the art RTC application serverSylkServer: State of the art RTC application server
SylkServer: State of the art RTC application server
 
The Future of the PBX
The Future of the PBXThe Future of the PBX
The Future of the PBX
 
CDRTool: CDR mediation and rating engine for OpenSIPS
CDRTool: CDR mediation and rating engine for OpenSIPSCDRTool: CDR mediation and rating engine for OpenSIPS
CDRTool: CDR mediation and rating engine for OpenSIPS
 
SIP Beyond VoIP
SIP Beyond VoIPSIP Beyond VoIP
SIP Beyond VoIP
 
Developing rich SIP applications with SIPSIMPLE SDK
Developing rich SIP applications with SIPSIMPLE SDKDeveloping rich SIP applications with SIPSIMPLE SDK
Developing rich SIP applications with SIPSIMPLE SDK
 
Building an Open Source VoIP Hardware Phone
Building an Open Source VoIP Hardware PhoneBuilding an Open Source VoIP Hardware Phone
Building an Open Source VoIP Hardware Phone
 
Videoconferencias: el santo grial de WebRTC
Videoconferencias: el santo grial de WebRTCVideoconferencias: el santo grial de WebRTC
Videoconferencias: el santo grial de WebRTC
 
Snappy Kamailio
Snappy KamailioSnappy Kamailio
Snappy Kamailio
 
ICE: The ultimate way of beating NAT in SIP
ICE: The ultimate way of beating NAT in SIPICE: The ultimate way of beating NAT in SIP
ICE: The ultimate way of beating NAT in SIP
 
Projects examples
Projects examplesProjects examples
Projects examples
 
Sculpturing SIP World
Sculpturing SIP WorldSculpturing SIP World
Sculpturing SIP World
 
Introduction to Kamailio (TADSummit 2020 Asia)
Introduction to Kamailio (TADSummit 2020 Asia)Introduction to Kamailio (TADSummit 2020 Asia)
Introduction to Kamailio (TADSummit 2020 Asia)
 
Cloud-Native .Net des applications containerisées .Net sur Linux, Windows e...
 Cloud-Native .Net des applications containerisées .Net sur Linux, Windows e... Cloud-Native .Net des applications containerisées .Net sur Linux, Windows e...
Cloud-Native .Net des applications containerisées .Net sur Linux, Windows e...
 
apidays LIVE Paris 2021 - Using OpenAPI to configure your API Gateway by Ole ...
apidays LIVE Paris 2021 - Using OpenAPI to configure your API Gateway by Ole ...apidays LIVE Paris 2021 - Using OpenAPI to configure your API Gateway by Ole ...
apidays LIVE Paris 2021 - Using OpenAPI to configure your API Gateway by Ole ...
 
Webinar - Scaling your Puppet infrastructure
Webinar - Scaling your Puppet infrastructureWebinar - Scaling your Puppet infrastructure
Webinar - Scaling your Puppet infrastructure
 
VozDigital DevFest 31/10/14
VozDigital DevFest 31/10/14VozDigital DevFest 31/10/14
VozDigital DevFest 31/10/14
 
WebRTC Audio Codec: Opus and processing requirements
WebRTC Audio Codec: Opus and processing requirementsWebRTC Audio Codec: Opus and processing requirements
WebRTC Audio Codec: Opus and processing requirements
 
Terraform a gitlab ci
Terraform a gitlab ciTerraform a gitlab ci
Terraform a gitlab ci
 

Destacado

Destacado (15)

Proyecto Open Pi Phone
Proyecto Open Pi PhoneProyecto Open Pi Phone
Proyecto Open Pi Phone
 
De SIP a WebRTC y vice versa
De SIP a WebRTC y vice versaDe SIP a WebRTC y vice versa
De SIP a WebRTC y vice versa
 
Extendiendo SIP con WebRTC
Extendiendo SIP con WebRTCExtendiendo SIP con WebRTC
Extendiendo SIP con WebRTC
 
De SIP a XMPP y vice versa
De SIP a XMPP y vice versaDe SIP a XMPP y vice versa
De SIP a XMPP y vice versa
 
[VoIP2Day 2012] World Wide SIP
[VoIP2Day 2012] World Wide SIP[VoIP2Day 2012] World Wide SIP
[VoIP2Day 2012] World Wide SIP
 
SIP y XMPP: amigos para siempre
SIP y XMPP: amigos para siempreSIP y XMPP: amigos para siempre
SIP y XMPP: amigos para siempre
 
Jitsi: State of the Union
Jitsi: State of the UnionJitsi: State of the Union
Jitsi: State of the Union
 
Trust No One
Trust No OneTrust No One
Trust No One
 
Blink: SIP beyond VoIP
Blink: SIP beyond VoIPBlink: SIP beyond VoIP
Blink: SIP beyond VoIP
 
Presente y futuro de las comunicaciones VoIP
Presente y futuro de las comunicaciones VoIPPresente y futuro de las comunicaciones VoIP
Presente y futuro de las comunicaciones VoIP
 
Asterisk, IM and Presence: how?
Asterisk, IM and Presence: how?Asterisk, IM and Presence: how?
Asterisk, IM and Presence: how?
 
Presentacion Plus VoIP 2013
Presentacion Plus VoIP 2013Presentacion Plus VoIP 2013
Presentacion Plus VoIP 2013
 
Protege tus comunicaciones con Jitsi meet
Protege tus comunicaciones con Jitsi meet Protege tus comunicaciones con Jitsi meet
Protege tus comunicaciones con Jitsi meet
 
Janus @ DevDay Napoli
Janus @ DevDay NapoliJanus @ DevDay Napoli
Janus @ DevDay Napoli
 
Running Asterisk on virtualized environments
Running Asterisk on virtualized environmentsRunning Asterisk on virtualized environments
Running Asterisk on virtualized environments
 

Similar a SIP2SIP: SIP gratis para las masas

An hour with WebRTC FIC UDC
An hour with WebRTC FIC UDCAn hour with WebRTC FIC UDC
An hour with WebRTC FIC UDC
Quobis
 
FutureComm 2010: SIP Server Applications on Embedded Platforms
FutureComm 2010: SIP Server Applications on Embedded PlatformsFutureComm 2010: SIP Server Applications on Embedded Platforms
FutureComm 2010: SIP Server Applications on Embedded Platforms
RADVISION Ltd.
 

Similar a SIP2SIP: SIP gratis para las masas (20)

SIP2SIP - Direcciones SIP gratuitas para las masas
SIP2SIP - Direcciones SIP gratuitas para las masasSIP2SIP - Direcciones SIP gratuitas para las masas
SIP2SIP - Direcciones SIP gratuitas para las masas
 
Kamailio :: A Quick Introduction
Kamailio :: A Quick IntroductionKamailio :: A Quick Introduction
Kamailio :: A Quick Introduction
 
An hour with WebRTC FIC UDC
An hour with WebRTC FIC UDCAn hour with WebRTC FIC UDC
An hour with WebRTC FIC UDC
 
FreeSWITCH as a Kickass SBC
FreeSWITCH as a Kickass SBCFreeSWITCH as a Kickass SBC
FreeSWITCH as a Kickass SBC
 
Asterisk WebRTC frontier: make client SIP Phone with sipML5 and Janus Gateway
Asterisk WebRTC frontier: make client SIP Phone with sipML5 and Janus GatewayAsterisk WebRTC frontier: make client SIP Phone with sipML5 and Janus Gateway
Asterisk WebRTC frontier: make client SIP Phone with sipML5 and Janus Gateway
 
LinuxCon North America: SIPPing from the Open Source Well
LinuxCon North America: SIPPing from the Open Source WellLinuxCon North America: SIPPing from the Open Source Well
LinuxCon North America: SIPPing from the Open Source Well
 
VoIP Monitoring and Troubleshooting
VoIP Monitoring and TroubleshootingVoIP Monitoring and Troubleshooting
VoIP Monitoring and Troubleshooting
 
ITSPA May 2013 - WebRTC, TURN, and WebSocket
ITSPA May 2013 - WebRTC, TURN, and WebSocketITSPA May 2013 - WebRTC, TURN, and WebSocket
ITSPA May 2013 - WebRTC, TURN, and WebSocket
 
FutureComm 2010: SIP Server Applications on Embedded Platforms
FutureComm 2010: SIP Server Applications on Embedded PlatformsFutureComm 2010: SIP Server Applications on Embedded Platforms
FutureComm 2010: SIP Server Applications on Embedded Platforms
 
Exploring the Possibilities of Sencha and WebRTC
Exploring the Possibilities of Sencha and WebRTCExploring the Possibilities of Sencha and WebRTC
Exploring the Possibilities of Sencha and WebRTC
 
Ryu SDN Framework
Ryu SDN FrameworkRyu SDN Framework
Ryu SDN Framework
 
Рабочие нагрузки Skype for business 2015 UC Lab
Рабочие нагрузки Skype for business 2015 UC LabРабочие нагрузки Skype for business 2015 UC Lab
Рабочие нагрузки Skype for business 2015 UC Lab
 
SIP servers on embedded systems: Powering SoHo communications
SIP servers on embedded systems: Powering SoHo communicationsSIP servers on embedded systems: Powering SoHo communications
SIP servers on embedded systems: Powering SoHo communications
 
Astricon 2010: Scaling Asterisk installations
Astricon 2010: Scaling Asterisk installationsAstricon 2010: Scaling Asterisk installations
Astricon 2010: Scaling Asterisk installations
 
Prosody s telephony software
Prosody s telephony softwareProsody s telephony software
Prosody s telephony software
 
Asterisk WebRTC frontier: realize client SIP Phone with sipML5 and Janus Gateway
Asterisk WebRTC frontier: realize client SIP Phone with sipML5 and Janus GatewayAsterisk WebRTC frontier: realize client SIP Phone with sipML5 and Janus Gateway
Asterisk WebRTC frontier: realize client SIP Phone with sipML5 and Janus Gateway
 
ProSBC a Deep Dive
ProSBC a Deep DiveProSBC a Deep Dive
ProSBC a Deep Dive
 
ProSBC a Deep Dive
ProSBC a Deep DiveProSBC a Deep Dive
ProSBC a Deep Dive
 
Arkadin's SIP Trunking Offer for Large Enterprises
Arkadin's SIP Trunking Offer for Large EnterprisesArkadin's SIP Trunking Offer for Large Enterprises
Arkadin's SIP Trunking Offer for Large Enterprises
 
PLNOG15: Practical deployments of Kea, a high performance scalable DHCP - Tom...
PLNOG15: Practical deployments of Kea, a high performance scalable DHCP - Tom...PLNOG15: Practical deployments of Kea, a high performance scalable DHCP - Tom...
PLNOG15: Practical deployments of Kea, a high performance scalable DHCP - Tom...
 

Más de Saúl Ibarra Corretgé

Más de Saúl Ibarra Corretgé (20)

JanusCon 2024: Mom there are robots in my meeting
JanusCon 2024: Mom there are robots in my meetingJanusCon 2024: Mom there are robots in my meeting
JanusCon 2024: Mom there are robots in my meeting
 
Challenges running Jitsi Meet at scale during the pandemic
Challenges running Jitsi Meet at scale during the pandemicChallenges running Jitsi Meet at scale during the pandemic
Challenges running Jitsi Meet at scale during the pandemic
 
The Road to End-to-End Encryption in Jitsi Meet
The Road to End-to-End Encryption in Jitsi MeetThe Road to End-to-End Encryption in Jitsi Meet
The Road to End-to-End Encryption in Jitsi Meet
 
Jitsi: State of the Union 2020
Jitsi: State of the Union 2020Jitsi: State of the Union 2020
Jitsi: State of the Union 2020
 
Jitsi Meet: our tale of blood, sweat, tears and love
Jitsi Meet: our tale of blood, sweat, tears and loveJitsi Meet: our tale of blood, sweat, tears and love
Jitsi Meet: our tale of blood, sweat, tears and love
 
Jitsi Meet: Video conferencing for the privacy minded
Jitsi Meet: Video conferencing for the privacy mindedJitsi Meet: Video conferencing for the privacy minded
Jitsi Meet: Video conferencing for the privacy minded
 
Jitsi - Estado de la unión 2019
Jitsi - Estado de la unión 2019Jitsi - Estado de la unión 2019
Jitsi - Estado de la unión 2019
 
Get a room! Spot: the ultimate physical meeting room experience
Get a room! Spot: the ultimate physical meeting room experienceGet a room! Spot: the ultimate physical meeting room experience
Get a room! Spot: the ultimate physical meeting room experience
 
Going Mobile with React Native and WebRTC
Going Mobile with React Native and WebRTCGoing Mobile with React Native and WebRTC
Going Mobile with React Native and WebRTC
 
Going Mobile with React Native and WebRTC
Going Mobile with React Native and WebRTCGoing Mobile with React Native and WebRTC
Going Mobile with React Native and WebRTC
 
Jitsi: Estado de la Unión (2018)
Jitsi: Estado de la Unión (2018)Jitsi: Estado de la Unión (2018)
Jitsi: Estado de la Unión (2018)
 
Jitsi: state-of-the-art video conferencing you can self-host
Jitsi: state-of-the-art video conferencing you can self-hostJitsi: state-of-the-art video conferencing you can self-host
Jitsi: state-of-the-art video conferencing you can self-host
 
WebRTC: El epicentro de la videoconferencia y IoT
WebRTC: El epicentro de la videoconferencia y IoTWebRTC: El epicentro de la videoconferencia y IoT
WebRTC: El epicentro de la videoconferencia y IoT
 
Jitsi: Open Source Video Conferencing
Jitsi: Open Source Video ConferencingJitsi: Open Source Video Conferencing
Jitsi: Open Source Video Conferencing
 
libuv: cross platform asynchronous i/o
libuv: cross platform asynchronous i/olibuv: cross platform asynchronous i/o
libuv: cross platform asynchronous i/o
 
Escalabilidad horizontal desde las trincheras
Escalabilidad horizontal desde las trincherasEscalabilidad horizontal desde las trincheras
Escalabilidad horizontal desde las trincheras
 
A deep dive into libuv
A deep dive into libuvA deep dive into libuv
A deep dive into libuv
 
Planning libuv v2
Planning libuv v2Planning libuv v2
Planning libuv v2
 
libuv, NodeJS and everything in between
libuv, NodeJS and everything in betweenlibuv, NodeJS and everything in between
libuv, NodeJS and everything in between
 
Python, WebRTC and You (v2)
Python, WebRTC and You (v2)Python, WebRTC and You (v2)
Python, WebRTC and You (v2)
 

Último

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Último (20)

AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 

SIP2SIP: SIP gratis para las masas

  • 1. sip2sip SIP gratis para las masas Saúl Ibarra Corretgé @saghul Sunday, November 10, 13
  • 2. AG Projects SIP Infrastructure Experts ¡Hola! • @saghul • VOIP ALL THE THINGS • Open Source Sunday, November 10, 13
  • 3. AG Projects SIP Infrastructure Experts AG Projects Sunday, November 10, 13
  • 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. 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. 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. 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. AG Projects SIP Infrastructure Experts Numeración en SIP 1001@192.168.0.1:1234 Sunday, November 10, 13
  • 9. AG Projects SIP Infrastructure Experts Numeración en SIP usuario@dominio Sunday, November 10, 13
  • 10. AG Projects SIP Infrastructure Experts ENUM: el gateway al pasado Sunday, November 10, 13
  • 11. AG Projects SIP Infrastructure Experts ¿Qué es SIP2SIP? Sunday, November 10, 13
  • 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. AG Projects SIP Infrastructure Experts Asterisk • Buzones de voz • Locuciones • Futuro: SylkServer Sunday, November 10, 13
  • 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. 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. 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. AG Projects SIP Infrastructure Experts Demo Sunday, November 10, 13
  • 28. AG Projects SIP Infrastructure Experts ¿Preguntas? bettercallsaghul.com Sunday, November 10, 13