SIP2SIP - Direcciones SIP gratuitas para las masas
-
Upload
palosanto-solutions -
Category
Technology
-
view
1.392 -
download
0
description
Transcript of SIP2SIP - Direcciones SIP gratuitas para las masas
AG ProjectsSIP Infrastructure
Experts
SIP2SIPSIP accounts for the Masses
By Adrian Georgescu
Elastix World 2013 Mexico City
AG ProjectsSIP Infrastructure
Experts
AG ProjectsSIP Infrastructure Experts
Since 2002
We are a software vendor specialized in the development and deployment of real-time communications client and server solutions. AG Projects develops, maintains or contributes to thirty software packages among which are OpenSIPS, MediaProxy, OpenXCAP, CDRTool, MSRP Relay, Blink, SylkServer and stacks for real-time protocols and data-exchange mechanisms like SIP, TLS, XCAP, MSRP, RTP, TLS, JSON, PUB/SUB and P2P DHT.
AG ProjectsSIP Infrastructure
Experts
About AG Projects
AG ProjectsSIP Infrastructure
Experts
Main Portfolio
• OpenSIPS - SIP Server (contributor and management)
• OpenXCAP – Presence Policy Server
• MediaProxy – Audio/video media relay
• MSRP Relay – Chat /File Transfer media relay
• CDRTool – Mediation and Accounting
• SylkServer – Real-time Application Server
AG ProjectsSIP Infrastructure
Experts
Commercial Products
•MSP and SIP Thor - Turnkey SIP platforms
•Blink - SIP Client for OSX, Linux and Windows
AG ProjectsSIP Infrastructure
Experts
Elastix World 2013
•Adrian Georgescu & Saúl Ibarra
•Today SIP2SIP and a live demo (Adrian)
•Today “Project OP^2” (Saúl)
•Tomorrow OpenSIPS tutorial (Adrian & Saul)
AG ProjectsSIP Infrastructure
Experts
What is SIP2SIP
SIP2SIP is a real time communications service for Audio, Video, Presence, Chat, File Transfer and multiparty conferencing based on SIP and related media protocols (RTP, MSRP and XCAP).
AG ProjectsSIP Infrastructure
Experts
SIP Protocol
• SIP stands for 'Session Initiation Protocol', an IETF standard described in RFC 3261. SIP is an Internet application-layer control protocol that can establish, modify and terminate multimedia sessions such as Internet telephony calls (VoIP). Media can be added to (and removed from) an existing session
• SIP allows the endpoints to negotiate and combine any type of session they mutually understand like Audio, Video, Instant Messaging (IM), File Transfer and provides a generic event notification system with real-time Publications and Subscriptions about state
AG ProjectsSIP Infrastructure
Experts
SIP Protocol mechanics
• INVITE mechanism, media agnostic, any type of media supported by end-points (not just VoIP)
•Subscribe/Notify asynchronous mechanism with XML payloads (Presence, Dialog-info, MWI)
AG ProjectsSIP Infrastructure
Experts
SIP Protocol features
• Portable Internet address (not tied to geography)
• Any media possible using Offer/Answer model (SDP)
• RTP media (audio, video)
• MSRP media (chat, file transfer)
AG ProjectsSIP Infrastructure
Experts
SIP Protocol Addressing
• SIP Address example: user@domain
• Can be the same as Email or XMPP address
• Phone numbers can be mapped to SIP using ENUM
AG ProjectsSIP Infrastructure
Experts
AG ProjectsSIP Infrastructure
Experts
What is SIP2SIP
SIP2SIP is a real time communications service for Audio, Video, Presence, Chat, File Transfer and multiparty conferencing based on SIP and related media protocols (RTP, MSRP and XCAP).
AG ProjectsSIP Infrastructure
Experts
What SIP2SIP offers
• A publicly reachable SIP address [email protected]
• Works with any SIP device (phone, soft client, PBX)
• Works behind NAT
• A free SIP client (Blink for SIP2SIP)
AG ProjectsSIP Infrastructure
Experts
First iteration of SIP2SIP
• Started in 2004 with UDP signaling and audio calls
• Testbed for SIP Express Router
• Free SIP address
AG ProjectsSIP Infrastructure
Experts
SIP2SIP Timeline
• Added MediaProxy NAT traversal
• Added Voicemail and Voice to Email
• Added Chat and File Transfer (MSRP protocol)
• Added PSTN termination
• Added ICE NAT traversal
AG ProjectsSIP Infrastructure
Experts
SIP2SIP Timeline
• Added Presence (SIMPLE and XCAP)
• Added TLS support (encryption)
• Added multiparty conferencing
• Federation with XMPP domains
• User your own Internet domain
AG ProjectsSIP Infrastructure
Experts
Usage (2010)
AG ProjectsSIP Infrastructure
Experts
Today’s Usage
AG ProjectsSIP Infrastructure
Experts
Building SIP2SIP
• SIP Servers (SER, OpenSER and now OpenSIPS)
• Media relays (RTP Proxy then MediaProxy)
• Presence Policy (OpenXCAP)
• Databases (MySQL moving to Mongo DB)
• Accounting (FreeRadius, Call Control, CDRTool)
• Scalability layer (Heartbeat then SIP Thor)
AG ProjectsSIP Infrastructure
Experts
OpenSIPS
•SIP Proxy (routes SIP packets)
•SIP Registrar (end-points are reachable)
•Presence Agent (for presence)
AG ProjectsSIP Infrastructure
Experts
MediaProxy
• Relay for RTP media
• Audio and video
• Codec agnostic
• ICE friendly
AG ProjectsSIP Infrastructure
Experts
MSRP Relay
• Relay for MSRP media
• Chat Sessions
• File Transfer
• Screen sharing
AG ProjectsSIP Infrastructure
Experts
CDRTool
• Rating engine
• Accounting
• User portal
AG ProjectsSIP Infrastructure
Experts
Call Control
• Prepaid engine
• Call Limits
• Anti fraud
AG ProjectsSIP Infrastructure
Experts
Asterisk
•Voicemail and Voice to email
•Various telephony integration tasks
AG ProjectsSIP Infrastructure
Experts
SylkServer
•SIP Application server
•Multiparty multimedia conferencing
•XMPP gateway (for chat, audio, presence)
•Voice prompt playing
AG ProjectsSIP Infrastructure
Experts
SylkServer
AG ProjectsSIP Infrastructure
Experts
AG ProjectsSIP Infrastructure
Experts
What is Privacy
• Whom and when I communicate with (Signaling)
• What and how I communicate (Media)
• Encryption and Identity management
AG ProjectsSIP Infrastructure
Experts
Privacy Stakeholders
• Server based privacy (THEY know too)
• Client based privacy (only YOU know)
AG ProjectsSIP Infrastructure
Experts Why should I care about privacy?
• If you have nothing to hide you should not worry (big government mantra). Returns FALSE.
• Who says the above is your nemesis (ask any one who lived in a communist collectivist regime)
• Yes, you should care about your privacy. If your privacy is not respected, it is a matter of time until all your personal freedoms are taken away
AG ProjectsSIP Infrastructure
Experts
Should I Trust the Cloud?
•Don’t trust ANY server in the cloud
• Privacy is COMPROMISED ‘by design’
• All signaling information is known for routing and accounting purposes
•GB per month of free storage but who owns my data?
AG ProjectsSIP Infrastructure
Experts
Encryption
• Parties must exchange some keys
• The keys are used to encrypt and sign the data
• Exchanging the keys is key to this process
AG ProjectsSIP Infrastructure
Experts
Symmetric Key algorithms
• Same key used by both parties
• Same key is used for encrypt and decrypt
• Protects integrity but does not guarantee identity
AG ProjectsSIP Infrastructure
Experts
Asymmetric Key algorithms
• Each party has a public/private key pair
• Public key is used for encryption
• Private key is used for signing and decryption
AG ProjectsSIP Infrastructure
Experts
Encryption and Privacy tools
• zRTP for audio and video (roadmap for Blink)
• OTR for chat (now available in Blink)
AG ProjectsSIP Infrastructure
Experts
Live Demonstration
•Blink SIP Client on SIP2SIP
•SylkServer multiparty conferencing
•Federation with XMPP Gmail