Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon

62
Lync & Skype Interop V2 Deep Dive Johan Delimon

description

ITPRoceed 2014 Session by Johan Delimon. Lync & Skype V2 Federation Deep Dive

Transcript of Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon

Page 1: Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon

Lync & Skype Interop V2 Deep DiveJohan Delimon

Page 2: Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon

Johan DelimonMCM Lync Server / MVP Lync Server / MCTOrdina Belgium [email protected]

@jdelimon

Lync & Skype Interop V2 Deep Dive

Page 3: Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon

Belgian Microsoft Unified Communications Professionals

The primary goal of the Pro-Exchange user group is to be a central meeting point for all Unified Communications knowledge in Belgium. As user group, we are focused on IT professionals who are passionate about Microsoft Exchange Server, Microsoft Lync Server and Office 365.

http://www.pro-lync.be

http://www.pro-exchange.be

http://www.pro-lync.be

http://www.pro-office365.be

Page 4: Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon

Agenda

Skype & Lync How is Lync different from Skype?

Architecture & Media Enhancements

Lync / Skype Interop V2

Implementing Lync-Skype connectivity

Lync ServerOffice 365

Lync-Skype connectivity v2 – Come TogetherCompelling market driversExtending the reach of LyncThe latest improvements: Video, Enterprise-class Security and Best-of-Breed Audio Quality

Page 5: Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon

45m

concurrent users

Skype fast facts

~45%

of all Skype-to-Skype minutes include video

600bn

minutes of video and voice minutes

2014 © Skype. Commercially confidential

38%of international calling minutes (combining PSTN and Skype-to-Skype) are Skype minutes according to Telegeography

300m average monthly connected users

Page 6: Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon

Skype Translator Breaking down language barriers

Page 7: Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon

Skype & Lync

Page 8: Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon

Individuals Teams &Small Organizations

Medium-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.

Page 9: Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon

To connect people everywhere

Be the global communicationsprovider that billions of people depend on every day

Page 10: Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon

People-Centric

Billions of Connections

Business ValueExtended Beyond your enterprise

Page 11: Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon

Skype & Lync Differences

Page 12: Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon

Skype Meetings The Organizer initiates the call (25 Audio-only, 10 with Video/Screen share)

❶ Set up the group chat in the conference room, adding external participants

❷ Save the Chat and give it a useful name

❸ Start the call

remote attendee scenarios

Call forwarding

Online Number

Persistent ChatBy saving the meeting:

– everyone can meet at the click of a button– Scroll back through the chat history to see what

happened– Keep each other updated between meetings (chats, files)– Some Skype chats have lasted for years

Page 13: Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon

Lync/Exchange Calendar Integration

Unlike Skype, Lync is tightly integrated with other Office applications

So a calendar appointment becomes a Lync meeting with a single click.

Select <Lync Meeting>

This will add links to your invitation Including:1. Link to attend online2. Dial-in numbers3. Conference ID

Page 14: Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon

Extending B2C scenarios more securely

Users own accounts and settings

User-controlled privacy settings

Communication modes are controlled by the user

AES256 for signaling, Chat and media

Personal archiving only

Accounts and licenses belong to business

Allow Federation per user, group

Control communication modes and domains by user, group

Supports industry-standard encryption: TLS Signaling, sRTP Media (AES128)

Data-retention policies set per user, group

Authentication Access Control Authorization Encryption Compliance

Consumer controls

Enterprise controls

Reporting and monitoring tools

Page 15: Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon

Reach

Agility

Savings

Relationships

Security

Page 16: Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon

Interop Basics

Page 17: Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon

Skype PrivacyNote: Skype uses AES256 for both signaling and media

Skype maintains a Security Portal: http://www.skype.com/intl/en-us/security/

Page 18: Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon

Lync Settings

Page 19: Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon

Microsoft Accounts (MSAs) and Skype

Select to login with the MSA in the future

Create the MSA

Login or create a Skype account

Merge the accounts

https://signup.live.com/signup.aspx?lic=1

Johnny Come Lately

Page 20: Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon

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> [email protected]

[email protected]

Log in with MSA

Page 21: Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon

How do I add a Skype contact to Lync?• Add Contact -> Add a Contact Not in My Organization

• Select Skype• Type in MSA• Assign a Group

Page 22: Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon

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

Page 23: Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon

Interop V2

Page 24: Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon

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

Page 25: Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon

Demo

A Lync Skype Federation Call – with Video!

Page 26: Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon
Page 27: Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon

Architecture

Page 28: Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon

Connectivity v1 call flow

Lync Online – Office 365

Federation Cloud

signal pathmedia path

Legend

Call initiated with connection details

Call accepted and returns connection details

Media connection is established

Page 29: Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon

Website ButtonCall

Lync-Skype Connectivity V1

Contacts• Skype Users with Microsoft

Accounts (MSAs) can add Lync users to contact list

• Lync users can add Skype MSA contacts

Sessions• Presence updates• Chats and voice calls between

Skype and Lync usersNot included:

• Mobile clients (Skype)• Video and group sessions

DM

Z

RouterPSTNT1, PRI, Analog

T1, PRI, Analog

Hybrid MSSBC/VoIP GW

Internet

PSTNPSTN

Internet

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.

Edge

Socks5Proxy

chat & audio

Chat & Audio

Queues/IVR Skills Groups

Routing Rules Recording DashboardReporting

3 rd Party Contact Center

PSTN

Page 30: Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon

Demo

A Lync Skype Federation Call (V1)

Page 31: Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon

Audio SDP Offers & CodecsLync 2013 Desktop Client

m=audio 51819 RTP/AVP 117 114 104 9 112 111 0 8 116 115 103 97 13 118 101a=rtpmap:117 G722/8000/2a=rtpmap:114 x-msrta/16000a=rtpmap:104 SILK/16000a=rtpmap:9 G722/8000a=rtpmap:112 G7221/16000a=rtpmap:111 SIREN/16000a=rtpmap:0 PCMU/8000a=rtpmap:8 PCMA/8000a=rtpmap:116 AAL2-G726-32/8000a=rtpmap:115 x-msrta/8000a=rtpmap:103 SILK/8000a=rtpmap:97 RED/8000a=rtpmap:13 CN/8000a=rtpmap:118 CN/16000a=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)

Wideband

Narrow

band

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

Page 32: Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon
Page 33: Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon
Page 34: Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon
Page 35: Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon

G7.22

SILK

Page 36: Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon

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.

Page 37: Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon

Connectivity v2 call flow

Lync Online – Office 365

Federation Cloud

signal pathmedia path

Legend

Call initiated with connection details

Call accepted and returns connection details

Media connection is established

Page 38: Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon

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

Page 39: Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon

Website ButtonCall

Lync-Skype Connectivity V2

Contacts• Skype Users with MSAs can add

Lync users to contact list• Lync users can add Skype MSA

contactsSessions

• Presence updates• Chats, voice (SILK) and Video

(H.264) calls between Skype and Lync users

• Encryption with TLS and sRTP• NAT Traversal with Stun/Turn/Ice

Not included: • Select Mobile clients (Skype)• Multi-Party Calls

DM

Z

RouterPSTNT1, PRI, Analog

T1, PRI, Analog

Hybrid MSSBC/VoIP GW

Internet

PSTNInternet

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 !!

Edge

Chat, audio,Video

Chat, Audio,Video

Declare domain

Configure PKI

Set policies

Queues/IVR Skills Groups

Routing Rules Recording DashboardReporting

3 rd Party Contact Center

PSTN

Page 40: Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon

Platform Support at GA

MICROSOFT CONFIDENTIAL – INTERNAL ONLYMICROSOFT CONFIDENTIAL – INTERNAL ONLY

Client v1 v2 NotesSkype Win32 yes yes SummerSkype MAC OSX yes yes SummerSkype Win Modern yes yes Future ReleaseSkype iOS yes yes Future ReleaseSkype Android yes yes Future ReleaseSkype WinPhone 8 yes yes Future ReleaseSkype Xbox yes yes Future ReleaseSkype 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, investigatingLync iOS yes yes Future ReleaseLync Android yes yes Future ReleaseLync WinPhone 8 yes yes Future ReleaseLync Win Modern yes yes Future ReleaseLync Web App no no Out of Scope

Page 41: Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon

Demo

A Lync Skype Federation Call (V2)Simulated by Lync to Lync

Page 42: Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon

Media Improvements

Page 43: Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon

CodecsSkype

1.Audio Codec: SILK2.Video Codec: H.264

Lync3.Audio Codec: RTA4.Video Codec: H.264

Lync-Skype Connectivityv2 Audio: SILKv2 Video: H.264

Better Codecs mean longer calls

G.729 Demo

SILK Demo

http://blogs.skype.com/2010/09/28/the-power-of-silk/

Page 44: Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon

Technology improvementsDirect media connectivity between Lync and Skype clients

SILK has been ported over to Lync desktop client. Coming to other Lync clients soon.

– SILK will currently only used in Lync-Skype Interop Calls– G.722 and G.711 remain on the list of common codecs

Video using H.264 SVC

Media connectivity using ICE - ICE v19 support added to Skype client– Along with STUN\TURN for NAT traversal

Page 45: Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon

Enterprise NAT Traversal MechanismStun/Turn/ICE

DM

Z

Router

InternetInternet

EdgeICE ClientICE Server

❶ 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.

Page 46: Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon

SILK CodecLync-Skype Connectivity v2, SILK WB with a target bit-rate of 36 kbps will be the default audio codec for Lync-Skype calls

SILK integration for Lync desktop client was released Lync 2013 CU4 update (Nov 2013).

Older clients will continue using G.722 @ 64kbps.

Page 47: Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon

• Reduced bit-rate compared to G.722

• Improved quality (MOS)

SILK Codec: bit-rate and MOS

Network conditions SILK 36 kbps G.722 64 kbps

Ideal 4.42 4.315% random loss 4.35 4.12

5% burst loss 4.0 3.68

MOS calculated using ITU-T P.863 POLQA

Codec Scenario Audio payload (kbps)

Audio payload + IP header (kbps)

Audio payload + IP, UDP, RTP (kbps)

Audio payload + IP, UDP, RTP + FEC (kbps)

G.722 p2p 64 80 92 156SILK p2p 36 52 64 100

RTAw p2p 29 45 57 86

Page 48: Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon

SILK Codec: FECLync supports out of band FEC (PT:97, RED)

Lync Skype v1 calls did not support FEC end-to-end Lync Skype v2 calls will use in-band FEC.

Page 49: Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon

• Codecs negotiated

• SILK SDK available under royalty-free license for partners who wish to implement decoding tools

SILK Codec

Payload Type Codec Sampling Rate Target Bitrate104 SILK Wideband 16k 36kbps103 SILK Narrowband 8k 13kbps

Page 50: Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon

H.264 UCConfig ModesUCConfig Mode 0: Non‐scalable single layer AVC bitstream with Simulcast (number of simulcast  streams >= 1). 

UCConfig Mode 1: SVC temporal scalability with hierarchical P with Simulcast (number of  simulcast streams >= 1). 

Page 51: Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon

H.264 UC Config Mode 0

In this UCConfig Mode, one reference frame is used toconstitute the single layer bitstream. 

Each P frame uses the immediate previously reconstructed frame as the reference frame. 

Page 52: Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon

H.264 UC Config Mode 1

If the maximum frame rate of the source is 30fps, then Layer 0, or the base layer, has frame rate of 15fps.

Layer 1, or the enhancement layer has frame rate of 15fps too. Decoding of Layer 0 and Layer 1 results in 30fps.

Page 53: Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon

Ensure your enterprise can federate with Skype!

Page 54: Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon

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

Page 55: Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon

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.

1234567

Page 56: Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon

Step 2: Set up Lync Edge for Public IM ConnectivityNote: there is no difference in the way the customer requests and assigns a certificate for Skype from other PIC (MSN, AoL, Yahoo)

Location specifiedearlier

1. In the Deployment Wizard, on the Deploy Edge Server page, next to Step 3: Request, Install, or Assign Certificates, click Run again.

2. On the Available Certificate Tasks page, click Import a certificate from a .p7b, pfx or .cer file.

Public CertificateAuthority

Import the certificate

Page 57: Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon

Step 3: Lync Server Control Panel: External Access PolicySet up at least one External Access Policy to enable communications with public users.You can also assign External Access Policy to an individual user via the Users tab.

Page 58: Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon

Lync Server Control Panel: Access Edge ConfigurationEnable federation and public IM connectivity

Page 59: Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon

Lync Server Control Panel: Enable ProviderUnder “SIP Federated Providers” select “Skype” Check “Enable communications with this provider”

Important: Ensure you are happy with the “Default verification level”. We recommend keeping this to allow communications only with those you’ve added to your Contact List unless you want to allow any Skype/Messenger users to contact any of your Lync users. The user can override this from the Lync client.

Page 60: Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon

O365 Configuration and Admin

Page 61: Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon

Follow Technet Belgium@technetbelux

Subscribe to the TechNet newsletteraka.ms/benews

Be the first to know

Page 62: Office Track: Lync & Skype Federation v2 Deep Dive - Johan Delimon

Belgiums’ biggest IT PRO Conference