SIP is hard, let's go shopping!

9,503 views

Published on

Slides from the talk I gave at FOSDEM 2013 Telephony Devroom about what is hard in SIP and how other protocols can inspire us solve those problems.

Don't take it too seriously ;-)

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

  • Be the first to like this

No Downloads
Views
Total views
9,503
On SlideShare
0
From Embeds
0
Number of Embeds
7,744
Actions
Shares
0
Downloads
25
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

SIP is hard, let's go shopping!

  1. 1. SIP is hard, let’s go shopping! Saúl Ibarra Corretgé | AG Projects
  2. 2. AG ProjectsSIP 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. 3. AG ProjectsSIP 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. 4. AG ProjectsSIP 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
  5. 5. AG ProjectsSIP Infrastructure Experts SIP: The Good • Well established and mature standard • Provides all required building blocks
  6. 6. AG ProjectsSIP Infrastructure Experts SIP: The Bad • Complicated deployments • Not much use of SIP beyond VoIP
  7. 7. AG ProjectsSIP Infrastructure Experts SIP: The Ugly • Interoperability issues • SIMPLE, worst name ever
  8. 8. AG ProjectsSIP 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
  9. 9. AG ProjectsSIP Infrastructure Experts IAX • Inter Asterisk eXchange • Multiplexes signaling and media in a single port • Designed mainly for trunking purposes
  10. 10. AG ProjectsSIP Infrastructure Experts IAX is an ancient African word which means “I don’t know how to fix NAT traversal issues”.
  11. 11. AG ProjectsSIP Infrastructure Experts XMPP • eXtensible Messaging and Presence Protocol • Formerly Jabber • RFC 6120, 6121
  12. 12. AG ProjectsSIP Infrastructure Experts XMPP: The Good • Chat and presence at the core • Easily extendable: XEP vs RFC • Jingle: state of the art media features
  13. 13. AG ProjectsSIP Infrastructure Experts XMPP: The Bad • Jingle is an add-on, how to correlate it with chat? • “Timeout driven behavior”
  14. 14. AG ProjectsSIP Infrastructure Experts XMPP: The Ugly • Three stanza types are used for everything • Split presence model (<presence/> and PEP)
  15. 15. AG ProjectsSIP Infrastructure Experts WebRTC • Everyone is talking about it • Not everyone knows what it is about
  16. 16. AG ProjectsSIP Infrastructure Experts WebRTC: The Good • Lots of focus on security • Piggybacks on SDP • SRTP and ICE are mandatory
  17. 17. AG ProjectsSIP Infrastructure Experts WebRTC: The Bad • Microsoft went their own way, Apple remains silent • Codec war (VP8 vs H.264) • Too influenced by telephony ideas
  18. 18. AG ProjectsSIP 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
  19. 19. AG ProjectsSIP Infrastructure Experts WEBRTC IS FUN • Hipsters can use it, it’s JavaScript! • Interesting ideas coming up all the time
  20. 20. AG ProjectsSIP 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
  21. 21. AG ProjectsSIP Infrastructure Experts SUP • Session based instant messaging • XMPP style yet simplified presence model • Easily extendable (XEP style) • Secure
  22. 22. AG ProjectsSIP Infrastructure Experts • There is no silver bullet • Every protocol has it’s place • Use the right tool for the job • Optimize for Happiness (TM)
  23. 23. sipstacheThe Ultimate Over-Engineered Virtual Mustache Toolkit
  24. 24. AG ProjectsSIP Infrastructure Experts sipstache • SylkServer application • SIP for signaling • MSRP media (chat + file transfer) • OpenCV for image processing
  25. 25. AG ProjectsSIP Infrastructure Experts saul@ag-projects.com @saghul sip:saul@ag-projects.com /dev/null

×