SIP is hard, let's go shopping!

  • Published on
    19-May-2015

  • View
    7.886

  • Download
    1

DESCRIPTION

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 ;-)

Transcript

1. SIP is hard, lets go shopping!Sal Ibarra Corretg | AG Projects 2. AG ProjectsSIP Infrastructure Experts Hello Im Sal @saghul Passionate about VoIP, SIP, XMPP and RealTime Communications Sad for not wearing a suit today 3. AG ProjectsSIP Infrastructure Experts AG Projects SIP Infrastructure for Blink providers SIP SIMPLE SDK SIP Thor: horizontal scalability using P2P SylkServer technology MediaProxyOpen Source OpenXCAP MSRPRelay 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 SHOULDs on RFCs 5. AG ProjectsSIP Infrastructure Experts SIP: The Good Well established and mature standard Provides all required building blocks 6. AG ProjectsSIP Infrastructure Experts SIP: The Bad Complicated deployments Not much use of SIP beyond VoIP 7. AG ProjectsSIP Infrastructure Experts SIP: The Ugly Interoperability issues SIMPLE, worst name ever 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 intown 9. AG ProjectsSIP Infrastructure Experts IAX Inter Asterisk eXchange Multiplexes signaling and media in a singleport Designed mainly for trunking purposes 10. AG ProjectsSIP Infrastructure Experts IAX is an ancient African word which means I dont know how to x NAT traversal issues. 11. AG ProjectsSIP Infrastructure ExpertsXMPP eXtensible Messaging and PresenceProtocol Formerly Jabber RFC 6120, 6121 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. AG ProjectsSIP Infrastructure Experts XMPP: The Bad Jingle is an add-on, how to correlate it withchat? Timeout driven behavior 14. AG ProjectsSIP Infrastructure Experts XMPP: The Ugly Three stanza types are used for everything Split presence model ( and PEP) 15. AG ProjectsSIP Infrastructure ExpertsWebRTC Everyone is talking about it Not everyone knows what it is about 16. AG ProjectsSIP Infrastructure Experts WebRTC: The Good Lots of focus on security Piggybacks on SDP SRTP and ICE are mandatory 17. AG ProjectsSIP Infrastructure Experts WebRTC: The Bad Microsoft went their own way, Appleremains silent Codec war (VP8 vs H.264) Too inuenced by telephony ideas 18. AG ProjectsSIP Infrastructure Experts WebRTC: The UglyApparently SIP is some kind of javascript stack /protocol on top of WebRTC which is a standard aboutmaking different vendors video conferencing via webbrowsers. Pretty cool stuff. Support for it is plannedfor boot to gecko. -- Someone on Reddit 19. AG ProjectsSIP Infrastructure Experts WEBRTC IS FUN Hipsters can use it, its JavaScript! Interesting ideas coming up all the time 20. AG ProjectsSIP Infrastructure Experts SUP Sals Ultimate Protocol (TM) SIP-ish for signaling, WebRTC for media TLS only No Via, Route or Record Route headers XMPP federation model 21. AG ProjectsSIP Infrastructure Experts SUP Session based instant messaging XMPP style yet simplied presence model Easily extendable (XEP style) Secure 22. AG ProjectsSIP Infrastructure Experts There is no silver bullet Every protocol has its place Use the right tool for the job Optimize for Happiness (TM) 23. sipstacheThe Ultimate Over-EngineeredVirtual Mustache Toolkit 24. AG ProjectsSIP Infrastructure Expertssipstache SylkServer application SIP for signaling MSRP media (chat + le transfer) OpenCV for image processing 25. AG ProjectsSIP Infrastructure Experts saul@ag-projects.com @saghul sip:saul@ag-projects.com /dev/null