Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

SIP : Watch out - don't stay behind!

7,714 views

Published on

Presentation for the Voip2day.net conference organized by Avanzada7 in Madrid, Oct 2011. It introduces a few new additions to the SIP framework and points out some ideas for future implementations.

Published in: Technology
  • this slid is very use full..
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Nice slide. very helpfull
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

SIP : Watch out - don't stay behind!

  1. 1. Watch out!The SIP world is changing. OPEN UNIFIED COMMUNICATION Don’t stay in the past. ACCORDING TO EDVINA Olle E. oej@edvina.net Johansson * oej@edvina.net * Twitter oej © Copyright Edvina AB, Sollentuna, Sweden 2011. All rights reserved.
  2. 2. Me. Twitter: @oej @sipv6 @edvina Blog: www.voip-forum.com
  3. 3. Latest news Apple launched a new phone that you can talk to.One year ago I told you so. So wake up and listen!
  4. 4. Agenda• Hurry up.• Don’t stay behind.• We’re here. And now.
  5. 5. REALTIMEI T ’ S A L L A B O U T N OW.
  6. 6. Where are we?• SIP is ten years old• Mostly used for PSTN over IP• Narrowband audio• Insecure implementations• Insecure deployments
  7. 7. BAD! We can do better.Our customers deserve better.
  8. 8. WE SHOULD BE ASHAMED!
  9. 9. The network is changing.• We have more smart phones, tablets and other devices than PCs These devices have multimedia - video, audio• Multimedia is changing - wideband, stereo, 7-1, screen sharing• The number of users is exploding
  10. 10. The network is closing. • We have no more IPv4 addresses to allocate • How are we going to build new cloud services, add new devices and build a larger Internet?© Copyright 2010, Edvina AB, Sollentuna, Sweden. All rights reserved. Approved distribution only. info@edvina.net
  11. 11. The network is closing. • We have no more IPv4 addresses to allocate • How are we going to build new cloud services, add new devices and build a larger Internet?© Copyright 2010, Edvina AB, Sollentuna, Sweden. All rights reserved. Approved distribution only. info@edvina.net IPv6
  12. 12. The network is falling apart. • We lack a lot of knowledge about networking out there. • The NAT and Firewall devices are just good enough to handle a minimum level of traffic and predeterimed applications • Customers need to wake up. Otherwise the clouds will be rain clouds with dangerous thunderstorms.© Copyright 2010, Edvina AB, Sollentuna, Sweden. All rights reserved. Approved distribution only. info@edvina.net
  13. 13. Good news! There are alternatives
  14. 14. SkypeYet another telco monopoly. Only this time, it’s Internet-based.
  15. 15. Just joking.Let’s take a look at real alternatives.
  16. 16. Building solutions on IP Asterisk, Asterisk SCF andtelephony FreeSwitch and...
  17. 17. Building solutions on IP Asterisk, Asterisk SCF andtelephony FreeSwitch and... Old stuff
  18. 18. Open Unified Communication IP Chat Screen Video Gamestelephony Presence sharing Systemintegration Social networks RSS ? SIP Internet & IP networks
  19. 19. Welcome to therealtime Internet. The social multimedia network. SIP Internet & IP networks
  20. 20. Welcome to therealtime Internet. This is not just about telephony. SIP Internet & IP networks
  21. 21. What is SIP?• A protocol to find each other in real time• A protocol to manage sessions between people
  22. 22. What is SIP?• A protocol to find each other in real time• A protocol to manage sessions between people REALTIME I T ’ S A L L A B O U T N OW.
  23. 23. Are youwith me? Are you with me?
  24. 24. Bulding this requiresa bit more than good old SIP INVITE 200 OK ACK
  25. 25. Learn new things.
  26. 26. Learn new things. GIN - pbx ICE registrationsSIP outbound SIP identity RTCweb GRUU RTP multiplexing TLS MSRP
  27. 27. RTCweb The new kid on the block• Cooperation between the W3C and IETF• Bidirectional media between browsers• Audio, video, text• The platform for new services• SIP in the browser (listen to Iñaki!)
  28. 28. RTCweb The vision• An open service where we can communicate freely with each other from any device and any network• First wave propably just between users of the same web service• Many of us wants open federation - it requires a shared address space and protocol
  29. 29. RTCweb Dependencies• The architecture is still discussed• Will propably depend on ICE, which means dependencies on TURN/STUN as well• OverSIP and jsSIP presented here today is a good example of the future!
  30. 30. RTCweb RTCWEB• Platform for new cool • We’ll still have NAT applications and firewall issues• Built into the web • Will it be standardized browser enough• Security-enabled from • Will we need SBCs to start handle the connections?+ -
  31. 31. ICE ICETaking us out of the NAT darkness.
  32. 32. ICE Ice: Show me yours, and I’ll show you mine. NATted network • All UAs find all their SIP addresses, using STUN SIP Alice • May allocate an address using TURN • Sends all addresses as candidates in SDP • Receipient tries to contact addresses and select best media path Turn • Supports both IPv4 and IPv6 Bob Media relay • IPv6 UAs allocate IPv4 NATted network Turn address Cecilia
  33. 33. ICE Ice: Show me yours, and I’ll show you mine. NATted network • All UAs find all their SIP addresses, using STUN SIP Alice • May allocate an address using TURN • Sends all addresses as candidates in SDP • Receipient tries to contact addresses and select best media path Turn • Supports both IPv4 and IPv6 Bob Media relay • IPv6 UAs allocate IPv4 NATted network Turn address Cecilia
  34. 34. ICE Ice: Show me yours, and I’ll show you mine. NATted network • All UAs find all their SIP addresses, using STUN SIP Alice • May allocate an address using TURN • Sends all addresses as candidates in SDP • Receipient tries to contact addresses and select best media path Turn • Supports both IPv4 and IPv6 Bob Media relay • IPv6 UAs allocate IPv4 NATted network Turn address Cecilia
  35. 35. ICE ICE • Finds the best media path • Takes time at call between two nodes setup • Supports IPv4 and IPv6 • Hard for b2bua’s to deployments support • Binds SIP+SDP to actual • Complex for media developers • Used by Microsoft, Apple (FaceTime), Google + - Hangouts
  36. 36. OUTBOUND SIP Outbound Stay connected. And reconnect if it fails. NATted network SIP SIP SIP Location server/Registrar Ingres proxys RFC 5626
  37. 37. OUTBOUND NATted network SIP SIP Client initiated connections SIP Location server/Registrar Ingres proxys• The client is responsible for keeping the connection open• Clients has a UUID, device identifier that stays the same - ALWAYS!• The SIP proxy sees that one device has multiple registrations and use only one at a time• The Registrar or Ingres proxy assigns a flow ID that is unique for each flow• A dialog stays on one connection until it fails
  38. 38. SIP outboundOUTBOUND• Makes TLS easier • Adds number of connections• Better definition for NAT traversal support • Not implemented in many devices• Identifies devices in a unique way• Makes TCP/TLS failover much, much quicker+ -
  39. 39. Globally Routable device addressesGRUU Example.com SIP SIP Alice The AOR for Alice and Bob belongs to their proxy. Bob has one Builds on SIP outbound AOR for multiple UAs. UUID URN’s. SIP astritech.com BobNATted network Bob
  40. 40. Globally Routable device addressesGRUU Example.com SIP SIP Alice The AOR for Alice and Bob belongs to their proxy. Bob has one Builds on SIP outbound AOR for multiple UAs. UUID URN’s. SIP astritech.com Bob The GRUU points to a device. It is allocatedNATted network at registration and belongs to the domain, thus Bob can be used globally!
  41. 41. GRUU Device URIs• Makes transfers and • Complex RFC other SIP in-dialog functions work across • Adds a bit of domains complexity to the UA• A Contact without IPv4/ IPv6 dependencies• Opens up for multi- device calls (SPLICES)+ -
  42. 42. GIN PBX trunk registration One REGISTER for multiple phone numbers PBX SIP Trunk SIP PSTN• Created by The SIP Forum for SIPconnect 2.0• RFC 6140• Only for E.164 phone numbers• 200 OK to register includes all the phone numbers• Location server adds one AOR contact binding per number• Use GRUUs, which depends on SIP outbound
  43. 43. GIN GIN - PBX REGISTER• Supports current usage • Adds complexity in by PBX vendors and SIP registrar and client trunk providers• Standardizes something that was no standard• Cleans up+ -
  44. 44. What’s missing? Proper solution Implementationsfor TLS and a PKI. of DTLS SRTP key exchange End to end Management security. of security and configurations.
  45. 45. What’s missing? Proper solution Implementationsfor TLS and a PKI.of DTLS SRTP Customers with the key exchange guts to do something End to end different. Management security. of security and configurations.
  46. 46. The next generation realtime network. • We’ve learned a lot in 10 years of SIP. • Why hasn’t the IP phones changed? • (Look at Panasonic’s Android SIP phone for a glimpse of the future.)
  47. 47. Ask yourselves theimportant question. Have you become one of the old PBX-huggers? The ones that just doesn’t let go. Why doesn’t mobile office solutions have blinking lamps and all that stuff?
  48. 48. Summary• IETF realized that NAT is a big issue and developed GRUU, ICE and Outbound. Use it.• A properly architectured SIP architecture can handle much more than telephony.• Look at Skype, Microsoft Lync and AG Projects product suite for inspiration.• Only the last one is using open standards!
  49. 49. REALTIMEI T ’ S A L L A B O U T N OW.
  50. 50. OPEN UNIFIEDCOMMUNICATION ACCORDING TO EDVINA The road ahead: 10 bullet points to remember!
  51. 51. OPEN UNIFIED COMMUNICATION ACCORDING TO EDVINA 1. Use Open Network Protocols TCP/IP * SIP * XMPP© Copyright 2011, Edvina AB, Sollentuna, Sweden. All rights reserved. Approved distribution only. info@edvina.net
  52. 52. OPEN UNIFIED COMMUNICATION ACCORDING TO EDVINA 2. Use Open Source COOPERATIVE SOFTWARE© Copyright 2011, Edvina AB, Sollentuna, Sweden. All rights reserved. Approved distribution only. info@edvina.net
  53. 53. @ OPEN UNIFIED COMMUNICATION ACCORDING TO EDVINA 3. Use e-mail style addresses. One address that rule them all!© Copyright 2011, Edvina AB, Sollentuna, Sweden. All rights reserved. Approved distribution only. info@edvina.net
  54. 54. OPEN UNIFIED COMMUNICATION ACCORDING TO EDVINA 4. Implement with Integrity and Security BUILDING TRUST FOR NEW SOLUTIONS© Copyright 2011, Edvina AB, Sollentuna, Sweden. All rights reserved. Approved distribution only. info@edvina.net
  55. 55. OPEN UNIFIED COMMUNICATION ACCORDING TO EDVINA 5. Implement green anti-travel solutions VIDEO IS IMPORTANT.© Copyright 2011, Edvina AB, Sollentuna, Sweden. All rights reserved. Approved distribution only. info@edvina.net
  56. 56. OPEN UNIFIED COMMUNICATION ACCORDING TO EDVINA 6. Corporate Social Responsibility Building and connecting to a network for everyone. OPEN SOURCE = AVAILABILITY FOR THE 3RD WORLD© Copyright 2011, Edvina AB, Sollentuna, Sweden. All rights reserved. Approved distribution only. info@edvina.net
  57. 57. OPEN UNIFIED COMMUNICATION ACCORDING TO EDVINA 7. Everything is and should be building blocks EVERYTHING SHOULD HAVE AN AN OPEN API© Copyright 2011, Edvina AB, Sollentuna, Sweden. All rights reserved. Approved distribution only. info@edvina.net
  58. 58. OPEN UNIFIED COMMUNICATION ACCORDING TO EDVINA 8. Don’t disconnect from the world. IPv6 NOW© Copyright 2011, Edvina AB, Sollentuna, Sweden. All rights reserved. Approved distribution only. info@edvina.net
  59. 59. OPEN UNIFIED COMMUNICATION ACCORDING TO EDVINA 9. Underestimate yourself You just don’t know about the future© Copyright 2011, Edvina AB, Sollentuna, Sweden. All rights reserved. Approved distribution only. info@edvina.net
  60. 60. OPEN UNIFIED COMMUNICATION ACCORDING TO EDVINA 10. Think different. The new telephony platform is not about telephony.© Copyright 2011, Edvina AB, Sollentuna, Sweden. All rights reserved. Approved distribution only. info@edvina.net
  61. 61. REALTIMEI T ’ S A L L A B O U T N OW.
  62. 62. Thank you! Any questions?© Copyright 2011, Edvina AB, Sollentuna, Sweden. All rights reserved. Approved distribution only. info@edvina.net
  63. 63. PS. New training classes coming soon. The Asterisk SIP Masterclass has been running for over five years. Time for a change. Please tell me what you need. ? The Realtime SIP Labs Bring your own stuff and we’ll test interoperability Security, IPv6, video, NAT traversal, wideband© Copyright 2011, Edvina AB, Sollentuna, Sweden. All rights reserved. Approved distribution only. info@edvina.net

×