SIP Conferencing Reloaded

5,674 views
5,513 views

Published on

Slides from the talk given at ITExpo East 2012

Published in: Technology, Business
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
5,674
On SlideShare
0
From Embeds
0
Number of Embeds
3,864
Actions
Shares
0
Downloads
39
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

SIP Conferencing Reloaded

  1. 1. Saúl Ibarra Corretgé
  2. 2. AG Projects SIP Conferencing ReloadedThe SIP Infrastructure ExpertsAG Projects ● SIP infrastructure for providers ● SIPThor: horizontal scalability without user limit ● Software projects: ● Blink ● SIPSIMPLE SDK ● SylkServer ● MediaProxy ● OpenXCAP ● MSRPRelay
  3. 3. AG Projects SIP Conferencing ReloadedThe SIP Infrastructure Experts Current state of the art
  4. 4. AG Projects SIP Conferencing ReloadedThe SIP Infrastructure Experts
  5. 5. AG Projects SIP Conferencing ReloadedThe SIP Infrastructure ExpertsConferencing today ● Usually mere RTP mixers ● Conference calls need a context ● Lack of multiplexed information ● Different media types ● Session information ● Participants information ● Shared resources ● There is sometimes a nice website with information
  6. 6. AG Projects SIP Conferencing ReloadedThe SIP Infrastructure Experts SylkServer
  7. 7. AG Projects SIP Conferencing ReloadedThe SIP Infrastructure ExpertsSylkServer ● Open Source SIP application server ● Conferencing ● HD audio ● Chat ● File transfer ● Screen sharing http://sylkserver.com
  8. 8. AG Projects SIP Conferencing ReloadedThe SIP Infrastructure ExpertsSIP Chatserver ● Chat server using MSRP ● Ad-hoc rooms ● Join using SIP 2009 2010 2011 2012
  9. 9. AG Projects SIP Conferencing ReloadedThe SIP Infrastructure Experts ● SIP chatserver no longer worked with our latest APIs ● Needed a rewrite 2009 2010 2011 2012
  10. 10. AG Projects SIP Conferencing ReloadedThe SIP Infrastructure Experts Less than a week later...
  11. 11. AG Projects SIP Conferencing ReloadedThe SIP Infrastructure ExpertsSIP Chatserver Reloaded ● HD audio ● Multiparty chat ● Conference event package 2009 2010 2011 2012
  12. 12. AG Projects SIP Conferencing ReloadedThe SIP Infrastructure ExpertsSylkServer 1.0.0 ● HD audio conferencing ● Multiparty chat ● Participants information 2009 2010 2011 2012
  13. 13. AG Projects SIP Conferencing ReloadedThe SIP Infrastructure ExpertsBlink 0.24.0 + SylkServer 1.1.0 ● HD audio conferencing ● Multiparty chat ● Participants information ● Add / remove participants 2009 2010 2011 2012
  14. 14. AG Projects SIP Conferencing ReloadedThe SIP Infrastructure ExpertsBlink Pro 1.1.0 + SylkServer 1.2.0 ● HD audio conferencing ● Multiparty chat ● Participants information ● Add / remove participants ● File transfers (push and pull) 2009 2010 2011 2012
  15. 15. AG Projects SIP Conferencing ReloadedThe SIP Infrastructure ExpertsBlink Pro 1.6.0 + SylkServer 1.3.0 ● HD audio conferencing ● Multiparty chat ● Participants information ● Add / remove participants ● File transfers (push and pull) ● Screensharing 2009 2010 2011 2012
  16. 16. AG Projects SIP Conferencing ReloadedThe SIP Infrastructure Experts How does it actually work?
  17. 17. AG Projects SIP Conferencing ReloadedThe SIP Infrastructure ExpertsMSRP ● Message Session Relay Protocol ● Real IM (session based) for SIP ● RFC 3428 (SIP MESSAGE) is not real IM ● Very simple, just a couple of RFCs (4975 and 4976) ● TLS is mandatory
  18. 18. AG Projects SIP Conferencing ReloadedThe SIP Infrastructure ExpertsMSRP ● MSRP allows us to negotiate a TCP connection between 2 SIP endpoints ● Instant Messaging ● File transfer (RFC 5547) ● Screen sharing – VNC over MSRP (expired draft) – Stream images
  19. 19. AG Projects SIP Conferencing ReloadedThe SIP Infrastructure ExpertsMSRP v=0 o=- 3519532764 3519532764 IN IP4 192.168.1.43 s=Blink Pro 1.1.2 (MacOSX) c=IN IP4 192.168.1.43 t=0 0 m=message 2855 TCP/TLS/MSRP * a=path:msrps://192.168.1.43:2855/fd5a5fbfe517e6c2ed76;tcp a=accept-types:message/cpim text/* application/im-iscomposing+xml a=accept-wrapped-types:* a=setup:active
  20. 20. AG Projects SIP Conferencing ReloadedThe SIP Infrastructure ExpertsMSRP v=0 o=- 3519533090 3519533090 IN IP4 192.168.1.43 s=Blink Pro 1.1.2 (MacOSX) c=IN IP4 192.168.1.43 t=0 0 m=message 2855 TCP/TLS/MSRP * a=path:msrps://192.168.1.43:2855/15be969db481aaa26f35;tcp a=sendonly a=accept-types:* a=accept-wrapped-types:* a=setup:active a=file-selector:name:"clever_algorithms.pdf" type:application/pdf size:3133774 hash:sha1:87:F7:A7:5A:F5:48:0F:8A:DD:3F:D8:49:F0:86:51:93:A2:9B:89:19
  21. 21. AG Projects SIP Conferencing ReloadedThe SIP Infrastructure ExpertsA SIP conference server
  22. 22. AG Projects SIP Conferencing ReloadedThe SIP Infrastructure Experts Contact: <sip:test@81.23.228.139:5060>;isfocus
  23. 23. AG Projects SIP Conferencing ReloadedThe SIP Infrastructure ExpertsConference event package SUBSCRIBE sip:test@conference.sip2sip.info SIP/2.0 Via: SIP/2.0/UDP 192.168.1.43:60530;rport;branch=z9hG4bKPjEgakb... Max-Forwards: 70 From: "Saúl" <sip:31208005163@ag-projects.com>;tag=I3OcER0qmkv... To: <sip:test@conference.sip2sip.info> Contact: <sip:cmugnheo@192.168.1.43:60530> Call-ID: cv8.LQxG4qjcDZSxOZKoOhQr0OF7lz-Z CSeq: 26852 SUBSCRIBE Event: conference Expires: 3600 Accept: application/conference-info+xml Allow-Events: conference, message-summary, presence, presence.winfo, xcap-diff, refer User-Agent: Blink Pro 1.1.2 (MacOSX) Content-Length: 0
  24. 24. AG Projects SIP Conferencing ReloadedThe SIP Infrastructure ExpertsRFC4575 payload <conference-description> <display-text>Ad-hoc conference</display-text> <free-text>Hosted by SylkServer-1.2.1</free-text> </conference-description> <host-info> <web-page>http://sylkserver.com</web-page> </host-info> <conference-state> <user-count>1</user-count> <active>true</active> </conference-state>
  25. 25. AG Projects SIP Conferencing ReloadedThe SIP Infrastructure ExpertsRFC4575 payload <users state="full"> <user entity="sip:31208005163@ag-projects.com" state="full"> <display-text>Saúl</display-text> <endpoint entity="sip:cmugnheo@83.43.224.233:60530" state="full"> <display-text>Saúl</display-text> <status>connected</status> <joining-info><when>2011-07-13T23:39:07+02:00</when></joining-info> <media id="152141036"><type>message</type></media> </endpoint> </user> </users>
  26. 26. AG Projects SIP Conferencing ReloadedThe SIP Infrastructure ExpertsRFC4575 payload <agp-conf:resources> <agp-conf:files> <agp-conf:file name="fry.png" hash="sha1:E1:FA:5C:C2:0A:95:DC:3C:C0:7E:AD:F6:25:50:BB:62:D9:F5:B8:3B" size="177533" sender="Saul <sip:31208005163@ag-projects.com>" status="OK"/> </agp-conf:files> </agp-conf:resources>
  27. 27. AG Projects SIP Conferencing ReloadedThe SIP Infrastructure ExpertsAdding / removing participants REFER sip:agp@conference.sip2sip.info SIP/2.0 Via: SIP/2.0/UDP 192.168.99.36:65017;rport;branch=z9hG4bKPjjao... Max-Forwards: 70 From: "Saúl" <sip:31208005163@ag-projects.com>;tag=7HXkWbL... To: <sip:agp@conference.sip2sip.info> Contact: <sip:yoreqcfd@192.168.99.36:65017> Call-ID: oiXv9JpNLp9f8GbRLDYw6dVrEnhU7On0 CSeq: 15438 REFER Event: refer Accept: message/sipfrag;version=2.0 Allow-Events: conference, message-summary, presence, presence.winfo, xcap-diff, refer Refer-To: <saghul@sip2sip.info>;method=INVITE Referred-By: sip:31208005163@ag-projects.com User-Agent: Blink Pro 1.3.0 (MacOSX) Content-Length: 0
  28. 28. AG Projects SIP Conferencing ReloadedThe SIP Infrastructure Experts What about Asterisk?
  29. 29. AG Projects SIP Conferencing ReloadedThe SIP Infrastructure ExpertsBasic conference info with Asterisk (idea)
  30. 30. AG Projects SIP Conferencing ReloadedThe SIP Infrastructure Experts BYE
  31. 31. 1. Everything should be a building block
  32. 32. 2. Our customers need help
  33. 33. 3. Use Open Standards
  34. 34. 4. “Lets build it beforewere too old to enjoy it” Carl G. Fisher
  35. 35. 5. “Skate to where thepuck is going to be, not where it has been” Wayne Gretzky
  36. 36. AG Projects SIP Conferencing ReloadedThe SIP Infrastructure Experts
  37. 37. AG Projects SIP Conferencing ReloadedThe SIP Infrastructure Experts BYE sip:audience@itexpo SIP/2.0 Via: SIP/2.0/UDP 192.168.99.23:49919;rport;branch=z9hG4bKPjDb30Dx0sH-ozn9QB.cCCboyU.atR97aM Max-Forwards: 70 From: "saghul" <sip:saul@ag-projects.com>;tag=UCpGKVZbQQx7BUKYtiuPEX668oa9jaU7 To: <sip:audience@itexpo>;tag=as59aef35c Call-ID: DEWDfu63OACwYeQk7MrhmRhRq.1cqqis CSeq: 10633 BYE Route: <sip:81.23.228.129;lr;ftag=UCpGKVZbQQx7BUKYtiuPEX668oa9jaU7;did=641.a8a9c553> User-Agent: blink-0.20.2 Content-Length: 0 @saghul saul@ag-projects.com sip:saul@ag-projects.com
  38. 38. AG Projects SIP Conferencing ReloadedThe SIP Infrastructure ExpertsReferences ● MSRP protocol (RFC4575, RFC4576) ● MSRP file transfer (RFC5547) ● MSRP switch (draft-ietf-simple-chat) ● Conference event package (RFC4575) ● A framework for conferencing with SIP (RFC4353) ● Conferencing for User Agents (RFC4579)

×