new mobility related media flags introduced in 2013 what happens when scenarios scenario # 1 user...
TRANSCRIPT
Kaushal Mehta (Microsoft Corporation)James Ooi (Lync MVP)
Understanding Lync 2013 Mobile Media Flows
CLNT402
Session Objectives And TakeawaysObjectivesIsolating the scenario for troubleshooting Understanding the troubleshooting methodology and thought processes involvedRecognize the limitations with media setupTroubleshoot faster
TakeawaysMobile client media initialization ICE negotiation with mobile clientsMobile end user experienceMedia flow for calls going to PSTN Media flow for calls going to UM OnlineMedia flow for calls going to a remote user
AgendaNew mobility related media flags introduced in 2013“What happens when” scenariosScenario # 1 User cannot place a voice callScenario # 2 User cannot connect an audio callScenario # 3 Wife complaining video call connecting with audio onlyScenario # 4 Mobile user successfully calling a PSTN number Scenario # 5 Mobile user calling another Lync user, call goes to UM OnlineScenario # 6 Mobile user calling a Remote Lync UserLimitations with 2013 Mobility MediaQ&A
Scope400 levelBasic SIP/SDP protocol understandingBasic ICE candidates understandingLadder diagramsLogs debuggingGoal is faster troubleshooting
MICROSOFT CONFIDENTIAL – INTERNAL ONLY
New Media Flags
New AV mobility flags in 2013ServerEnableIPAudioVideo RequireWIFIForIPAudio RequireWIFIForIPVideo
New flags in 2013Mobile ClientRequire Wi-Fi for VoIPRequire Wi-Fi for Video
Mapping…..
RequireWIFIForIPAudio
RequireWIFIForIPVideo
Controlling these settings….
RequireWIFIForIPAudio RequireWIFIForIPVideo
false false
Controlling these settings….
RequireWIFIForIPAudio RequireWIFIForIPVideo
false true
Controlling these settings….
RequireWIFIForIPAudio RequireWIFIForIPVideo
true false
Controlling these settings….
RequireWIFIForIPAudio RequireWIFIForIPVideo
true true
Media connection priorityWi-FiCellular data (3G/4G data)Fallback is Call Via Work (CVW)
MICROSOFT CONFIDENTIAL – INTERNAL ONLY
“What happens when” Scenarios
User roams between networks
CNetworkMonitor.cpp/85:Network Monitor Information: AirPlane Mode: Off, NetworkConnectionAvailable = Available, Network Connection: WiFi
CNetworkMonitor.cpp/85:Network Monitor Information: AirPlane Mode: Off, NetworkConnectionAvailable = Available, Network Connection: CellularDataNetwork
Wi-Fi + Cellular Data Cellular Data
CNetworkMonitor.cpp/85:Network Monitor Information: AirPlane Mode: On, NetworkConnectionAvailable = Unavailable, Network Connection: None
No Internet
User roams out of Wi-Fi, mid-call
CNetworkMonitor.cpp/85:Network Monitor Information: AirPlane Mode: Off, NetworkConnectionAvailable = Available, Network Connection: WiFi
CNetworkMonitor.cpp/85:Network Monitor Information: AirPlane Mode: Off, NetworkConnectionAvailable = Available, Network Connection: CellularDataNetwork
Wi-Fi + Cellular Data Cellular Data
Users switch between Wi-Fi hotspots
MICROSOFT CONFIDENTIAL – INTERNAL ONLY
Scenario 1
Scenario 1
SymptomUser cannot place a voice call
Scenario AnalysisHappens with both p2p voice and PSTN callsAll mobile platformsSame user can place calls from desktopI could repro from my WP8 deviceThe error notification comes right away (no ringback)Both; internal and external users
Scenario 1 : User cannot place a voice callMobile UCWA FE Edge/MS/LyncDesktop/UCWA
Scenario 1 : User cannot place a voice callLogs Analysis
Scenario 1 : User cannot place a voice callMobile UCWA FE Edge/MS/LyncDesktop/UCWA
Scenario 1 : User cannot place a voice callCAlertReporter.cpp/64:Alert received! Category 6, Type 700, level 0, error E_VoiceGenericError (E3-11-21), context '', hasAction=false
..\..\..\ucmp\applicationLayer\objectModel\private\CUcmpAudioVideoModality.cpp/748:CUcmpAudioVideoModality::initializeMediaCall() failed! Error E_Unexpected (E0-0-11)
..\..\..\ucmp\applicationLayer\objectModel\private\CUcmpAudioVideoModality.cpp/337:IMediaPlatformWrapper::initiateMediaCall() failed with error E_Unexpected (E0-0-11)
Scenario 1 : User cannot place a voice call
MICROSOFT CONFIDENTIAL – INTERNAL ONLY
Scenario 2
Scenario 2
SymptomUser cannot connect an audio call
Scenario AnalysisOnly happens when calling the Polycom HDX8000All mobile platformsSame user can connect calls from desktopI could repro from my WP8 deviceThe call remains in “connecting…” stateFederation scenarioFederation scenario but calling to other users in that domain works
Scenario 2 : User cannot connect an audio call Mobile UCWA FE Edge Polycom’s Edge HDX8000
Scenario 2 : User cannot connect an audio call Mobile client log analysisDemo
Scenario 2 : User cannot connect an audio call Mobile UCWA FE Edge Polycom’s Edge HDX8000
Scenario 2 : User cannot connect an audio call Edge Server log analysisDemo (outgoing INVITE)
Scenario 2 : User cannot connect an audio call
NAT for Wi-Fi
Lync Edge (TURN Server)
Wi-Fi 3G
NAT from cellular data
Lync Edge (TURN Server)
10.232.128.223
166.137.94.218
209.216.6.126
Scenario 2 : User cannot connect an audio call Edge Server log analysisDemo (incoming 200OK)
Scenario 2 : User cannot connect an audio call
NAT for Wi-Fi
Lync Edge (TURN Server)
Wi-Fi 10.232.128.223
166.137.94.218
209.216.6.126 Polycom HDX
172.31.37.50
After 200OK from HDX
Scenario 2 : User cannot connect an audio call Lync Desktop Edge FE Edge Polycom’s Edge HDX8000
Same user can connect from Lync desktop
Scenario 2 : User cannot connect an audio call Same user can connect from Lync desktopDemo (outgoing INVITE)
Scenario 2 : User cannot connect an audio call
NAT for LAN
Lync Edge (TURN Server)
LAN
12.236.71.146
209.216.6.126
10.1.206.79
Scenario 2 : User cannot connect an audio call Edge Server log analysisDemo (incoming 200OK)
Scenario 2 : User cannot connect an audio call
NAT for LAN
Lync Edge (TURN Server)
LAN
12.236.71.146
209.216.6.126
10.1.206.79
Polycom HDX
Host 172.31.37.50
After 200OK from HDX
Relay 140.242.65.13
X
Scenario 2 : User cannot connect an audio call Edge Server log analysisDemo (final INVITE and 200OK)
Scenario 2 : User cannot connect an audio call Comparison- Both INVITEs are similar in terms of candidates- Different codecs offered but there is no 415 or 488 SIP response
code- Mobile client doesn’t offer
- Content-Disposition: session; handling=optional; ms-proxy-2007fallback
Summary- Polycom and PG looking into this for Video interop
MICROSOFT CONFIDENTIAL – INTERNAL ONLY
Scenario 3
Scenario 3
SymptomWife complaining video call connecting with audio only
Scenario AnalysisWife tells me video call got connected with audio onlyResponse: because there was no wi-fi as per notificationWife again tells me video call got connected with audio onlyResponse: not really sure, there wasn’t any notification
Scenario 3 : Video call connecting as audio only call
Scenario 3 : Video call connecting as audio only call Lync Desktop Edge FE UCWA Lync Mobile
SIPSIP
HTTPS
Scenario 3 : Video call connecting as audio only call
Edge Server log analysisDemo (for signaling)
Scenario 3 : Video call connecting as audio only call Signaling
Lync Desktop Edge FE UCWA Lync Mobile
SIPSIP
HTTPS
PNCH/WP PNS
SIP MESSAGE
SIP MESSAGE
WPNotification
200 OK200 OK
200 OK
183
Scenario 3 : Video call connecting as audio only call
Edge Server log analysisDemo (for media)
Scenario 3 : Video call connecting as audio only call Media
Lync Desktop Edge FE UCWA Lync Mobile PNCH/WP PNS
NAT Cellular NAT
MICROSOFT CONFIDENTIAL – INTERNAL ONLY
Scenario 4
Scenario 4
Call FlowMobile user successfully calling a PSTN number
Scenario 4 Mobile user calling a PSTN Number
Signaling
Lync Mobile UCWA FE MediationSIP Trunk/PSTN
HTTPS
INVITE
1-800United1
200 OK / CONNECT
200 OK
HTTPS
INVITESIP/TDM
183/ALERT
183183
HTTPS
200 OK
Scenario 4 Mobile user calling a PSTN Number
Logs demo (Signaling & Media)Lync server logs and mediation server network capture
Scenario 4 Mobile user calling a PSTN Number
12.236.71.146
209.216.6.126
10.1.206.79
Just before INVITE from mobile
Wi-Fi
NAT – Server Reflex
Edge Server – Relay (TURN)
10.0.1.73
Mediation Server
10.0.0.55
SIP Trunk
Initial INVITE from mobile183 from Mediation
Scenario 4 Mobile user calling a PSTN Number
12.236.71.146
209.216.6.126
10.1.206.79 Wi-Fi
NAT – Server Reflex
Edge Server – Relay (TURN)
External NIC 10.0.1.73
Mediation Server
Internal NIC 10.0.0.55
SIP Trunk
External NIC 10.0.1.254
NAT
Internal NIC 10.0.0.89Media Flow
MICROSOFT CONFIDENTIAL – INTERNAL ONLY
Scenario 5
Scenario 5
Call FlowMobile user calling another Lync user, call goes to UM Online
Scenario 5 Mobile user calling another Lync user, call goes to UM OnlineSignaling
Lync Mobile UCWA FE Edge Remote Lync User
HTTPS
INVITE
UM Online
INVITE
183183
HTTPS
CANCELCANCEL
INVITEINVITE
Scenario 5 Mobile user calling another Lync user, call goes to UM Online
Logs demo (Signaling & Media)Lync server and Edge server logs
Scenario 5 Mobile user calling another Lync user, call goes to UM Online
70.102.70.79
209.216.6.126
10.0.1.63
Just before INVITE from mobile
Wi-Fi
NAT – Server Reflex
Mobile User’s Edge Server – Relay (TURN)
Initial INVITE from mobile
183 from Lync User
LAN10.0.4.251
NAT – Server Reflex70.102.70.79
CANCEL from FE
Scenario 5 Mobile user calling another Lync user, call goes to UM Online
70.102.70.79
209.216.6.126
10.255.97.41 Wi-Fi
NAT – Server Reflex
Mobile User’s Edge Server – Relay (TURN)
Continues to hear ringback
EDGE (SIP)
10.0.1.63
207.46.5.80
NAT – Server Reflex10.27.46.15
UM Online Office 365
LAN
200 OK from UM Online
Scenario 5 Mobile user calling another Lync user, call goes to UM Online
70.102.70.79
209.216.6.126
10.255.97.41 Wi-Fi
NAT – Server Reflex
Mobile User’s Edge Server – Relay (TURN)
Final media candidates
EDGE (SIP)
10.0.1.63
207.46.5.80
NAT – Server Reflex10.27.46.15
UM Online Office 365
LAN
X
X
MICROSOFT CONFIDENTIAL – INTERNAL ONLY
Scenario 6
Scenario 6
ScenarioProof-of-Concept Evaluating Lync MobileWireless Network on a different VLANRestricted Access Policies & Routing to the Production NetworkUsing Split Brain DNSUnable to establish calls with a Remote Lync Client outside of the Corporate NetworkDirect Peer-to-Peer between the Corporate Network & Public Network is prohibited between Endpoint devices
Scenario 6: Mobile user calling a Remote Lync ClientSignaling
Lync Mobile UCWA FE Access EdgeRemote Lync Client
Scenario 6
Scenario 6
AnalysisMobile Device at the wireless VLAN attempt to route the traffic via the Access Edge ServerAccess Edge indicates that the Media Stream couldn’t be established after an INVITE is being made
Scenario 6
AnalysisLync Client Log UCCP Log
Scenario 6
AnalysisLync Mobile
\cucmpaudiovideomodality.cpp/5107:CUcmpAudioVideoModality::startNegotiation : IMediaCallWrapper::startNegotiation returned E_GetMediaSdpFailed (E3-7-7), not setting negotiationState02-07 01:22:50.222 20745 20745 I LYNC : INFO APPLICATION .
\cucmpaudiovideomodality.cpp/5039:CUcmpAudioVideoModality::prepareOffersForOutgoingCall() failed with E_SdpNoMedia. Aborting the call
\cucmpaudiovideomodality.cpp/1240:CUcmpAudioVideoModality::stop()
\cucmpaudiovideomodality.cpp/7323:CUcmpAudioVideoModality::stopAudioInternal() called. callTerminationReason = FailedStartAudioStream
MICROSOFT CONFIDENTIAL – INTERNAL ONLY
Limitations with mobile media
Limitations with mobile media
User is mobile as against being in a office (Lync Desktop scenario)Changing networks
LFE Item 2126
In Review: Session Objectives And TakeawaysObjectivesIsolating the scenario for troubleshooting Understanding the troubleshooting methodology and thought processes involvedRecognize the limitations with media setupTroubleshoot faster
TakeawaysScenario 1: Mobile client media initialization and association with media port rangesScenario 2: ICE negotiation with mobile clientsScenario 3: How PNCH may affect end user experienceScenario 4: Troubleshoot media flow via NAT’ed EdgeScenario 5: Troubleshoot media flow for calls going to UM OnlineScenario 6: Troubleshoot media flow between Mobile Client & the remote Lync Client
Monday, February 17th
Exhibit Hall Hours 6:00pm – 8:00pm
6:00pm – 8:00pm Welcome Reception
Tuesday, February 18th
Exhibit Hall Hours 8:00am – 9:00am (Breakfast), 10:30am – 5:00pm
8:00am – 9:00am Breakfast (Exhibit Hall) 9:00am –10:30am General Session10:30am – 5:00pm Expo Hall Hours11:00am – 12:15pm Sessions & Hands-on Labs12:15pm – 2:00pm Lunch2:00pm – 5:00pm Sessions & Hands-on Labs5:00pm – 7:00pm Ask the Experts
Wednesday, February 19th
Exhibit Hall Hours 10:30am – 4:30pm
7:30am – 8:30am Breakfast8:30am – 11:30am Sessions & Hands-on Labs10:30am – 4:30pm Expo Hall Hours11:30am – 1:00pm Lunch1:00pm – 5:45pm Sessions & Hands-on Labs6:30pm – 9:30pm Attendee Party
Thursday, February 20th
Exhibit Hall Hours 9:00am – 12:00pm
8:00am – 9:00am Breakfast9:00am – 12:00pm Expo Hall Hours9:00am – 12:15pm Sessions & Hands-on Labs12:15pm – 1:30pm Lunch and Departures
Ask the ExpertsLocation: Meal Hall located on Level 1 in Pinyon Ballroom 4-8 Tuesday, February 18
TABLE TOPICS:Best Practices, Business Value, Clients & Mobility, Lync Meetings and Video, Lync Online, Networking, Platform, Server & Manageability, Voice, Lync Feedback Sessions
Meet face-to-face with the foremost experts in the Lync field and ask them the questions that have you stumped.
Location: Breakout rooms located on Level 1 5:00pm-7:00pm
GROUPS INCLUDE:Manageability – Pinyon 2Meetings & Web Experiences – Bluethorn 4-6Mobility – Bluethorn 7-9Presence & Chat – Pinyon 1Voice & Video – Bluethorn 1-3
Come participate in targeted Feedback Sessions to hear about the high-priority feature asks and help us improve the next release!
Lync Feedback
These sessions are meant to be informational, providing an understanding of the workload and conversational, to discuss your user scenarios and desired improvements.
Birds of a FeatherBirds of a Feather flock together! Join daily breakfast discussions of relevant topics by sitting in the separately designated areas of the Meal Hall. Seating will be sorted in a different way for each Birds of a Feather breakfast:Wednesday, February 19:Where are you from? Asia/Pacific, Eastern & Central Europe, Latin America, Middle East & Africa, US (West, Central & East) and Canada, Western Europe
Thursday, February 20:What is your interest?Best Practices, Business Value, Clients & Mobility, Lync Meetings and Video, Lync Online, Networking, Platform, Server & Manageability, Voice
#LyncConf14
/msftLYNC
/microsoft-lync
/MSFTLync
Lync Launch PadYou’ve launched Lync. Now Launch this.MS Pavilion – Expo Hall
Fill out evaluations to win prizesFill out evaluations on MyLync or MyLync Mobile.Prizes awarded daily.
© 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.