lync & skype interop v2 deep dive - by johan delimon
TRANSCRIPT
A W A R D W I N N I N G M O N I T O R I N G & R E P O R T I N G S O L U T I O N S
Johan DelimonMCM Lync Server / MVP Lync Server / MCTOrdina Belgium [email protected] @jdelimon
Lync & Skype Interop
V2 Deep Dive
A W A R D W I N N I N G M O N I T O R I N G & R E P O R T I N G S O L U T I O N S
@enowconsulting
Find us!
ENow Software
ENowSoftware
ENowSoftware.com
“Simplest way to keep Lync healthy”
Some of ENow’s Loyal Customers
About ENow• Microsoft Silver ISV & Messaging• Profitable, privately-help corporation founded in 2004• Software architected by MVPs with >15 years experience in high-end Microsoft
consulting and management• Customers in over 60 countries
ENow Software
A W A R D W I N N I N G M O N I T O R I N G & R E P O R T I N G S O L U T I O N S
Johan DelimonMCM Lync Server / MVP Lync Server / MCTOrdina Belgium [email protected] @jdelimon
Lync & Skype Interop
V2 Deep Dive
A W A R D W I N N I N G M O N I T O R I N G & R E P O R T I N G S O L U T I O N S
http://www.pro-lync.be
http://www.pro-exchange.be
http://www.pro-lync.be
http://www.pro-office365.be
A W A R D W I N N I N G M O N I T O R I N G & R E P O R T I N G S O L U T I O N S
A W A R D W I N N I N G M O N I T O R I N G & R E P O R T I N G S O L U T I O N S
Agenda
Skype & Lync
Interop Basics
Interop Version 1 (Audio)
Interop Version 2 (Video)
Resources
A W A R D W I N N I N G M O N I T O R I N G & R E P O R T I N G S O L U T I O N S
IndividualsTeams &
Small OrganizationsMedium-sized & Large
Organizations
Specialized by need, universal by reachConnecting everyone with rich communications
Microsoft provides Universal Communications: enabling any person to reach anyone, from anywhere, on any device, and in the way they choose.
A W A R D W I N N I N G M O N I T O R I N G & R E P O R T I N G S O L U T I O N S
Skype Announcements in 2014• Introducing Skype for Business
• Video calling between Skype and Lync available now
• Skype Translator Preview – An Exciting Journey to a New Chapter
in Communication
• Skype for Broadcast
• Skype loves bringing groups together – with FREE group video calling
• Skype group screen sharing is free
• Introducing Skype document chat in Office Online
• Save and share your videos with Skype Qik
• Skype Brings the World Closer Together, One Inbox at a Time
• Please welcome Skype for Web (Beta)
http://blog.enowsoftware.com/solutions-engine/bid/187072/Skype-Lync-Part-I-Announcements
A W A R D W I N N I N G M O N I T O R I N G & R E P O R T I N G S O L U T I O N S
Familiar experience and
user love of Skype and the security, compliance, and
control of Lync.
Connecting people everywhere
to achieve more, together.
A W A R D W I N N I N G M O N I T O R I N G & R E P O R T I N G S O L U T I O N S
Video calling between Skype and
Lync available now
http://blogs.office.com/2014/12/05/video-calling-skype-lync-available-now/
A W A R D W I N N I N G M O N I T O R I N G & R E P O R T I N G S O L U T I O N S
Setting up Lync-Skype Connectivity
• Domain:
– Provision your organization for federation using https://pic.lync.com,
provide your domain(s) & FQDN(s).
• Certificate:
– Set up your Lync edge for federation, including public certificate.
• Policies:
– Use the Lync Server Control Panel or PowerShell to enable public IM
connectivity, partner discovery, partner domain discovery.
Note1: If you have Messenger connectivity working already, you’re done!Note2: There is no additional charge for activating Lync-Skype Connectivity
A W A R D W I N N I N G M O N I T O R I N G & R E P O R T I N G S O L U T I O N S
Step 1. Register your domain
This tells our service where to send inbound
messages and tells Skype & Messenger that your
Lync domain is available for connectivity.
Go to https://pic.lync.com to provision your domain for Skype connectivity.
A W A R D W I N N I N G M O N I T O R I N G & R E P O R T I N G S O L U T I O N S
O365 Configuration and Admin
A W A R D W I N N I N G M O N I T O R I N G & R E P O R T I N G S O L U T I O N S
Skype Privacy
Skype maintains a Security Portal: http://www.skype.com/intl/en-us/security/
A W A R D W I N N I N G M O N I T O R I N G & R E P O R T I N G S O L U T I O N S
Microsoft Accounts (MSAs) and Skype
A W A R D W I N N I N G M O N I T O R I N G & R E P O R T I N G S O L U T I O N S
How do I add a Lync contact to Skype?
To add a Lync contact– Type the Lync user address in Skype Search
– Select the Lync contact
– Select <Add to Contacts>
Log in with MSA
A W A R D W I N N I N G M O N I T O R I N G & R E P O R T I N G S O L U T I O N S
Adding Lync User in Skype
A W A R D W I N N I N G M O N I T O R I N G & R E P O R T I N G S O L U T I O N S
Skype user adds Lync user
A W A R D W I N N I N G M O N I T O R I N G & R E P O R T I N G S O L U T I O N S
Add a Skype contact to Lync
• Add Contact -> Add a Contact Not in My Organization
• Select Skype
• Type in MSA & Assign a Group
A W A R D W I N N I N G M O N I T O R I N G & R E P O R T I N G S O L U T I O N S
Add a Skype contact to Lync
A W A R D W I N N I N G M O N I T O R I N G & R E P O R T I N G S O L U T I O N S
Presence Expectations• Skype Presence Modes
– Online
– Away
– Do Not Disturb
– Invisible
– Offline
– Auto (“Show me as Away when I’ve been
Inactive from <<fill-in>> minutes”)
• Lync Presence Modes– Available
– Away
– Busy
– Do Not Disturb
– Be Right Back
– Off Work
– Appear Away
A W A R D W I N N I N G M O N I T O R I N G & R E P O R T I N G S O L U T I O N S
Lync & Skype Interop Enhancements
Lync-Skype Audio (v1)
• Add to contact list/Block users [Lync to MSA]
• Block Skype Connectivity
• Instant Messages and Presence Updates
• P2P Audio Call
• Escalate IM session to Audio Call
• Hold/Resume, Mute/UnMute, Transfer
A W A R D W I N N I N G M O N I T O R I N G & R E P O R T I N G S O L U T I O N S
Connectivity v1 call flow
Lync Online – Office 365
Federation Cloud
signal path
media path
Legend
Call initiated with connection details
Call accepted and returns connection details
Media connection is established
A W A R D W I N N I N G M O N I T O R I N G & R E P O R T I N G S O L U T I O N S
Lync-Skype Connectivity V1
Contacts
MSAs)
Sessions
Not included:
Router
Lync-Skype Connectivity opens a new communications door for enterprises searching for inventive and differentiated opportunities for new customer acquisition, customer retention, and business-to-consumer communications.
chat & audio
Chat & Audio
A W A R D W I N N I N G M O N I T O R I N G & R E P O R T I N G S O L U T I O N S
Audio SDP Offers & Codecs
m=audio 51819 RTP/AVP 117 114 104 9 112 111 0 8 116 115 103 97 13 118 101
a=rtpmap:117 G722/8000/2
a=rtpmap:114 x-msrta/16000
a=rtpmap:104 SILK/16000
a=rtpmap:9 G722/8000
a=rtpmap:112 G7221/16000
a=rtpmap:111 SIREN/16000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:116 AAL2-G726-32/8000
a=rtpmap:115 x-msrta/8000
a=rtpmap:103 SILK/8000
a=rtpmap:97 RED/8000
a=rtpmap:13 CN/8000
a=rtpmap:118 CN/16000
a=rtpmap:101 telephone-event/8000
Preference Order
Even though the actual sampling rate for G.722 audio is 16,000 Hz, the RTP clock rate for the G722 payload format is 8,000 Hz because that value was erroneously assigned in RFC 1890 and must remain unchanged for backward compatibility. The octet rate or sample-pair rate is 8,000 Hz.(4.5.2 G.722)
Wid
eb
and
Narro
wb
and
RTAudio Wideband & Narrowband
Skype Codec Wideband & Narrowband
G.711
The redundant audio payload format "RED" is specified by RFC 2198 [17]. It defines a means by which multiple redundant copies of an audio packet may be transmitted in a single RTP stream (4.5.16 RED)
http://tools.ietf.org/html/rfc3551 RTP Profile for Audio and Video Conferences with Minimal Control
A W A R D W I N N I N G M O N I T O R I N G & R E P O R T I N G S O L U T I O N S
User-Agent: RTCC/5.0.0.0 MediationServer
User-Agent: UCCAPI/15.0.4675.1000 OC/15.0.4675.1000 (Microsoft Lync)
m=audio 50804 RTP/SAVP 9 0 8 115 13 118 97 101
a=candidate:5 1 UDP 184547327 134.170.96.15
50804 typ relay raddr 134.170.96.78 rport 56924
a=candidate:5 2 UDP 184546814 134.170.96.15
50006 typ relay raddr 134.170.96.78 rport 56925
a=remote-candidates:
1 84.195.252.124 5364
2 84.195.252.124 5365
a=rtpmap:9 G722/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:115 x-msrta/8000
From: <sip:[email protected]>;epid=165FFA712D;tag=77e528eb
To: <sip:[email protected]>;epid=df8b299e1c;tag=cfe51e3b51
A W A R D W I N N I N G M O N I T O R I N G & R E P O R T I N G S O L U T I O N S
Lync & Skype Interop Enhancements
Lync-Skype Audio (v1)
• Add to contact list/Block users [Lync to MSA]
• Block Skype Connectivity
• Instant Messages and Presence Updates
• P2P Audio Call
• Escalate IM session to Audio Call
• Hold/Resume, Mute/UnMute, Transfer
Lync-Skype Video (v2)
• Everything in v1
• Make Audio + Video Calls
• Reject Video for inbound calls
• Escalate Audio only calls by adding video
• Pause/Resume Video
A W A R D W I N N I N G M O N I T O R I N G & R E P O R T I N G S O L U T I O N S
Lync & Skype interop• IM, Presence & Audio in May 2013 (v1)
• Video calling with Lync in December 2014 (v2)
• Skype for Windows desktop client v7.0.x.100 only
• Other platforms/clients coming later
• Built-in security for signaling using TLS and media using SRTP
• Standards-based firewall traversal using STUN, TURN and ICE
• Industry standard H.264 SVC codec
• SILK audio codec http://blog.enowsoftware.com/solutions-engine/bid/187073/Skype-Lync-Part-II-Video-Calling
A W A R D W I N N I N G M O N I T O R I N G & R E P O R T I N G S O L U T I O N S
Enterprise NAT Traversal MechanismStun/Turn/ICE
Router
❶ Host Candidate – Likely to fail
❷ STUN Candidate
❸ TURN Candidate – Edge Relay
❶❷
❸
SIP uses the source and target IP addresses to establish a session. Network Address Translation (NAT) modifies IP addresses as packets transit onto the public internet and thereby renders the INVITE invalid. STUN, TURN and ICE resolve such session/NAT issues.
A W A R D W I N N I N G M O N I T O R I N G & R E P O R T I N G S O L U T I O N S
• TLS
• SRTP
• SILK
• RT Audio
• STUN
• TURN
• ICE
A W A R D W I N N I N G M O N I T O R I N G & R E P O R T I N G S O L U T I O N S
Demo : Lync & Skype Call – with Video!
A W A R D W I N N I N G M O N I T O R I N G & R E P O R T I N G S O L U T I O N S
Connectivity v2 call flow
Lync Online – Office 365
Federation Cloud
signal path
media path
Legend
Call initiated with connection details
Call accepted and returns connection details
Media connection is established
A W A R D W I N N I N G M O N I T O R I N G & R E P O R T I N G S O L U T I O N S
Architecture improvements
• New Skype cloud for improved call set up and control.
• New gateway connects Skype cloud to Lync Online for
signaling and call control.
• Uses Lync’s federation access architecture that routes to
both v1 and v2 clouds.
• V1 connectivity will continue to exist as traffic gradually
increases on V2 connectivity.
A W A R D W I N N I N G M O N I T O R I N G & R E P O R T I N G S O L U T I O N S
V2 Details
User-Agent: RTCC/6.0.0.0 LyncSkypeGateway2/1.0.214.0
User-Agent: UCCAPI/15.0.4667.1000 OC/15.0.4667.1000 (Microsoft Lync)
From: <sip:[email protected]>;epid=165FFA712D;tag=77e528eb
To: <sip:[email protected]>;epid=df8b299e1c;tag=cfe51e3b51
m=audio 24214 RTP/SAVP 114 9 112 111 0 8 116 115 97 13 118 101
a=candidate:1 1 UDP 2130706431 192.168.0.109 24214 typ host
a=candidate:1 2 UDP 2130705918 192.168.0.109 24215 typ host
a=remote-candidates:1 192.168.0.114 5364 2 192.168.0.114 5365
a=rtpmap:114 x-msrta/16000
a=rtpmap:9 G722/8000
a=rtpmap:112 G7221/16000
a=rtpmap:111 SIREN/16000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:115 x-msrta/8000
a=rtpmap:122 X-H264UC/90000
a=rtpmap:121 x-rtvc1/90000a=rtpmap:123 x-ulpfecuc/90000
A W A R D W I N N I N G M O N I T O R I N G & R E P O R T I N G S O L U T I O N S
Call connectivity• All AV calls flow through the same federation environment set up in v1
• Lync SIP/SDP signalling is terminated at the Skype Cloud edge and translated into Skype proprietary protocols and vice versa
• Lync to Skype Calls – AV calls are forked internally to both v1 and v2 clients
– Mediation server supports only Audio
– New Lync Gateway services all v2 calls.
• Skype to Lync Calls – v2 clients will route calls through v2 Skype Cloud > Lync federation environment >
Lync client
– v1 clients will route calls through v1 Skype Cloud > Lync federation environment > Lync client
A W A R D W I N N I N G M O N I T O R I N G & R E P O R T I N G S O L U T I O N S
Lync-Skype Connectivity V2
ContactsMSAs
Sessions
voice (SILK) Video (H.264)
• Encryption with TLS and sRTP• NAT Traversal with Stun/Turn/Ice
Not included:
Router
With version 2, we now use standard NAT traversal protocols, Signalling is encrypted with TLS and media uses sRTP directly between callers. We’ve standardized Codecs between the clients and have added Video !!
Chat, audio,Video
Chat, Audio,Video
A W A R D W I N N I N G M O N I T O R I N G & R E P O R T I N G S O L U T I O N S
Platform Support at GA
MICROSOFT CONFIDENTIAL – INTERNAL ONLYMICROSOFT CONFIDENTIAL – INTERNAL ONLY
Client v1 v2 NotesSkype Win32 yes yes Summer
Skype MAC OSX yes yes Summer
Skype Win Modern yes yes Future Release
Skype iOS yes yes Future Release
Skype Android yes yes Future Release
Skype WinPhone 8 yes yes Future Release
Skype Xbox yes yes Future Release
Skype Outlook.com yes yes Future Release
Lync 2013 CU4 yes yes
Released with SILK audio codec
support - (ver 15.0.4551.1005) -
Windows Desktop Client Only
Lync MAC yes no H.264 not supported, investigating
Lync iOS yes yes Future Release
Lync Android yes yes Future Release
Lync WinPhone 8 yes yes Future Release
Lync Win Modern yes yes Future Release
Lync Web App no no Out of Scope
A W A R D W I N N I N G M O N I T O R I N G & R E P O R T I N G S O L U T I O N S
Legacy Lync Clients
A W A R D W I N N I N G M O N I T O R I N G & R E P O R T I N G S O L U T I O N S
ResourcesMicrosoft Message Analyzer
http://www.microsoft.com/en-us/download/details.aspx?id=44226
Skype & Lync Part I: Announcements
http://blog.enowsoftware.com/solutions-engine/bid/187072/Skype-Lync-Part-I-Announcements
Video calling between Skype and Lync available now
http://blogs.office.com/2014/12/05/video-calling-skype-lync-available-now/
Microsoft Lync Server 2013 Debugging Tools
http://www.microsoft.com/en-us/download/details.aspx?id=35453
Video calling between Skype and Lync first look & the details on a surprising Audio codec being
used
http://www.pro-lync.be/blogs/lync2013/archive/2014/12/05/video-calling-between-skype-and-
lync-first-look-amp-the-details-on-a-surprising-codec-being-used.aspx