Bridging multimedia sessions         between SIP and XMPP                           Saúl Ibarra Corretgé | AG ProjectsThur...
AG ProjectsSIP Infrastructure Experts                                            Intro                        • Hi, I’m Sa...
AG ProjectsSIP Infrastructure Experts                                  AG Projects         • SIP Infrastructure           ...
AG ProjectsSIP Infrastructure Experts                                       Understanding                                 ...
AG ProjectsSIP Infrastructure Experts                                               SIP                        • Session I...
Thursday, August 9, 2012
AG Projects                             IM with SIPSIP Infrastructure ExpertsThursday, August 9, 2012
AG Projects                             Presence with SIPSIP Infrastructure ExpertsThursday, August 9, 2012
AG ProjectsSIP Infrastructure Experts                                             XMPP                        • eXtensible...
Thursday, August 9, 2012
AG Projects                             IM with XMPPSIP Infrastructure ExpertsThursday, August 9, 2012
AG Projects                             Presence with XMPPSIP Infrastructure ExpertsThursday, August 9, 2012
AG ProjectsSIP Infrastructure Experts                                Realtime Communications:                             ...
AG ProjectsSIP Infrastructure Experts                             Combining SIP and XMPP                        • Dual-sta...
AG ProjectsSIP Infrastructure Experts                                     Going single stack                        • Prot...
Thursday, August 9, 2012
AG ProjectsSIP Infrastructure Experts                                      SylkServer                        • Open Source...
AG Projects                             SylkServer ArchitectureSIP Infrastructure ExpertsThursday, August 9, 2012
AG ProjectsSIP Infrastructure Experts                              SylkServer: Applications                        • Confe...
AG ProjectsSIP Infrastructure Experts                             SylkServer: Conferencing                        • HD aud...
AG ProjectsSIP Infrastructure Experts                             SylkServer: XMPP gateway                        • Chat (...
AG ProjectsSIP Infrastructure Experts                             SylkServer: XMPP gateway design                        •...
AG ProjectsSIP Infrastructure Experts             SylkServer: XMPP gateway architectureThursday, August 9, 2012
AG ProjectsSIP Infrastructure Experts                             Implementation challenges                        • XMPP ...
Thursday, August 9, 2012
AG ProjectsSIP Infrastructure Experts                                            Future                        • IETF is c...
AG ProjectsSIP Infrastructure ExpertsThursday, August 9, 2012
AG ProjectsSIP Infrastructure Experts                     BYE sip:audience@ClueCon2012 SIP/2.0                     Via: SI...
Upcoming SlideShare
Loading in …5
×

Bridging Multimedia Sessions between SIP and XMPP

4,881 views

Published on

Slides from the talk presented at ClueCon 2012.

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

No Downloads
Views
Total views
4,881
On SlideShare
0
From Embeds
0
Number of Embeds
2,035
Actions
Shares
0
Downloads
76
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Bridging Multimedia Sessions between SIP and XMPP

  1. 1. Bridging multimedia sessions between SIP and XMPP Saúl Ibarra Corretgé | AG ProjectsThursday, August 9, 2012
  2. 2. AG ProjectsSIP Infrastructure Experts Intro • Hi, I’m Saúl • @saghul • Working with VoIP (and beyond!) since Asterisk 1.0 • Happy to be at ClueCon!Thursday, August 9, 2012
  3. 3. AG ProjectsSIP Infrastructure Experts AG Projects • SIP Infrastructure • Blink Experts • SIP SIMPLE SDK • SIP Thor: SIP platform with P2P capabilities • SylkServer for horizontal scalability • MediaProxy • Open Source Software • OpenXCAP Projects • MSRPRelayThursday, August 9, 2012
  4. 4. AG ProjectsSIP Infrastructure Experts Understanding SIP and XMPP • Protocols for negotiation of multimedia sessions, instant messaging and presence • Same feature set, different design principlesThursday, August 9, 2012
  5. 5. AG ProjectsSIP Infrastructure Experts SIP • Session Initiation Protocol • Current specification (RFC 3261) in 2002 • Built for establishing multimedia sessions, mainly used in voice, video and conferencing • Designed to have fat clients and thin serversThursday, August 9, 2012
  6. 6. Thursday, August 9, 2012
  7. 7. AG Projects IM with SIPSIP Infrastructure ExpertsThursday, August 9, 2012
  8. 8. AG Projects Presence with SIPSIP Infrastructure ExpertsThursday, August 9, 2012
  9. 9. AG ProjectsSIP Infrastructure Experts XMPP • eXtensible Messaging and Presence Protocol • Created by the Jabber community in 1999, standardized in 2004 and updated in 2011 • Built for instant messaging and presence, with extensibility in mind • Designed to have fat servers and thin clientsThursday, August 9, 2012
  10. 10. Thursday, August 9, 2012
  11. 11. AG Projects IM with XMPPSIP Infrastructure ExpertsThursday, August 9, 2012
  12. 12. AG Projects Presence with XMPPSIP Infrastructure ExpertsThursday, August 9, 2012
  13. 13. AG ProjectsSIP Infrastructure Experts Realtime Communications: State of The Art • SIP used for voice, video, conferencing and PSTN interoperability • XMPP used for instant messaging and presence • Ongoing efforts to bring both to web Google browsers through WebSocket transport for Facebook ^^ BIG XMPP players use with WebRTCThursday, August 9, 2012
  14. 14. AG ProjectsSIP Infrastructure Experts Combining SIP and XMPP • Dual-stack clients: CUSAX • draft-ivov-xmpp-cusax • Single-stack clients: use a gateway • It must be transparentThursday, August 9, 2012
  15. 15. AG ProjectsSIP Infrastructure Experts Going single stack • Protocol abstractions can lead to problems and limitations • Simpler provisioning • SIP and XMPP are different by design, how to marry them?Thursday, August 9, 2012
  16. 16. Thursday, August 9, 2012
  17. 17. AG ProjectsSIP Infrastructure Experts SylkServer • Open Source SIP Application server • Zero configuration • State-of-the-art SIP feature set • Implemented using SIP SIMPLE SDKThursday, August 9, 2012
  18. 18. AG Projects SylkServer ArchitectureSIP Infrastructure ExpertsThursday, August 9, 2012
  19. 19. AG ProjectsSIP Infrastructure Experts SylkServer: Applications • Conference server • XMPP gatewayThursday, August 9, 2012
  20. 20. AG ProjectsSIP Infrastructure Experts SylkServer: Conferencing • HD audio • MSRP chat • Participants list (RFC 4575) • Conference control (RFC 4579) • File transfer • Screen sharingThursday, August 9, 2012
  21. 21. AG ProjectsSIP Infrastructure Experts SylkServer: XMPP gateway • Chat (SIP MESSAGE and MSRP) • Presence • MUC serverThursday, August 9, 2012
  22. 22. AG ProjectsSIP Infrastructure Experts SylkServer: XMPP gateway design • SylkServer acts as a stand-alone XMPP Server • It only supports S2S connections • Users are on the SIP side, no XMPP clients allowed to register on SylkServer ZERO conf!Thursday, August 9, 2012
  23. 23. AG ProjectsSIP Infrastructure Experts SylkServer: XMPP gateway architectureThursday, August 9, 2012
  24. 24. AG ProjectsSIP Infrastructure Experts Implementation challenges • XMPP server vs XMPP component • Loose / incomplete specifications • Concept mismatch • XMPP “sessions” • SIP PIDF vs XMPP presence stanza • Different feature set • SIP conferencing vs MUCThursday, August 9, 2012
  25. 25. Thursday, August 9, 2012
  26. 26. AG ProjectsSIP Infrastructure Experts Future • IETF is considering resurrecting the SIP-XMPP interoperability drafts! • SylkServer roadmap • Jingle • File transferThursday, August 9, 2012
  27. 27. AG ProjectsSIP Infrastructure ExpertsThursday, August 9, 2012
  28. 28. AG ProjectsSIP Infrastructure Experts BYE sip:audience@ClueCon2012 SIP/2.0 Via: SIP/2.0/UDP 192.168.99.23:49919;rport;branch=z9hG4bKPjDb30Dx0sH7aM Max-Forwards: 70 From: "saghul" <sip:saul@ag-projects.com>;tag=UCpGKVZbQQx7BUK To: <sip:audience@ClueCon2012>;tag=as59aef35c Call-ID: DEWDfu63OACwYeQk7MrhmRhRq.1cqqis CSeq: 10633 BYE Route: <sip:81.23.228.129;lr;ftag=UCpGKVZbQQx7BUKY;did=641.a8a9c553> User-Agent: Blink Content-Length: 0 @saghul saul@ag-projects.com sip:saul@ag-projects.comThursday, August 9, 2012

×