The document discusses various real-time communication protocols including SIP, IAX, XMPP, and WebRTC. For SIP, it notes that it is an established standard but deployments can be complicated. XMPP excels at chat and presence but has issues with correlating its Jingle extension for media. WebRTC is gaining popularity but has challenges around vendor support and codec standardization. The document also proposes a new protocol called SUP that draws from SIP, XMPP, and WebRTC. It concludes that no single protocol is perfect and the right tool should be chosen for the job.
CNIC Information System with Pakdata Cf In Pakistan
SIP is hard, let's go shopping!
1. SIP is hard, let’s go shopping!
Saúl Ibarra Corretgé | AG Projects
2. AG Projects
SIP Infrastructure Experts
Hello
• I’m Saúl
• @saghul
• Passionate about VoIP, SIP, XMPP and Real
Time Communications
• Sad for not wearing a suit today
3. AG Projects
SIP Infrastructure Experts
AG Projects
• SIP Infrastructure for • Blink
providers
• SIP SIMPLE SDK
• SIP Thor: horizontal
scalability using P2P • SylkServer
technology
• MediaProxy
• Open Source
• OpenXCAP
• MSRPRelay
4.
5. AG Projects
SIP Infrastructure Experts
State of The (SIP) Art
• SIP (v2) is 10 years old
• 3261 already carries baggage from SIPv1
• Lack of proper instant messaging until MSRP
• Complex model for presence
• NAT traversal issues
• Too many “SHOULD”s on RFCs
6. AG Projects
SIP Infrastructure Experts
SIP: The Good
• Well established and mature standard
• Provides all required building blocks
10. AG Projects
SIP Infrastructure Experts
What are others doing?
• Asterisk created IAX
• XMPP is the king for chat and presence
• WebRTC seems to be the new cool kid in
town
11. AG Projects
SIP Infrastructure Experts
IAX
• Inter Asterisk eXchange
• Multiplexes signaling and media in a single
port
• Designed mainly for trunking purposes
12. AG Projects
SIP Infrastructure Experts
IAX is an ancient African word which
means “I don’t know how to fix NAT
traversal issues”.
13. AG Projects
SIP Infrastructure Experts
XMPP
• eXtensible Messaging and Presence
Protocol
• Formerly Jabber
• RFC 6120, 6121
14. AG Projects
SIP Infrastructure Experts
XMPP: The Good
• Chat and presence at the core
• Easily extendable: XEP vs RFC
• Jingle: state of the art media features
15. AG Projects
SIP Infrastructure Experts
XMPP: The Bad
• Jingle is an add-on, how to correlate it with
chat?
• “Timeout driven behavior”
16. AG Projects
SIP Infrastructure Experts
XMPP: The Ugly
• Three stanza types are used for everything
• Split presence model (<presence/> and PEP)
19. AG Projects
SIP Infrastructure Experts
WebRTC: The Good
• Lots of focus on security
• Piggybacks on SDP
• SRTP and ICE are mandatory
20. AG Projects
SIP Infrastructure Experts
WebRTC: The Bad
• Microsoft went their own way, Apple
remains silent
• Codec war (VP8 vs H.264)
• Too influenced by telephony ideas
21. AG Projects
SIP Infrastructure Experts
WebRTC: The Ugly
Apparently SIP is some kind of javascript stack /
protocol on top of WebRTC which is a standard about
making different vendors video conferencing via web
browsers. Pretty cool stuff. Support for it is planned
for boot to gecko.
-- Someone on Reddit
22.
23. AG Projects
SIP Infrastructure Experts
WEBRTC IS FUN
• Hipsters can use it, it’s JavaScript!
• Interesting ideas coming up all the time
24.
25. AG Projects
SIP Infrastructure Experts
SUP
• Saúl’s Ultimate Protocol (TM)
• SIP-ish for signaling, WebRTC for media
• TLS only
• No Via, Route or Record Route headers
• XMPP federation model
26. AG Projects
SIP Infrastructure Experts
SUP
• Session based instant messaging
• XMPP style yet simplified presence model
• Easily extendable (XEP style)
• Secure
27. AG Projects
SIP Infrastructure Experts
• There is no silver bullet
• Every protocol has it’s place
• Use the right tool for the job
• Optimize for Happiness (TM)