James Ooi Lync MVP Understanding Lync 2013 Mobile Media Flows CLNT402 Session Objectives And Takeaways Objectives Isolating the scenario for troubleshooting Understanding the troubleshooting methodology and thought processes involved ID: 232972
Download Presentation The PPT/PDF document "Kaushal Mehta (Microsoft Corporation)" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.
Slide1Slide2
Kaushal Mehta (Microsoft Corporation)James Ooi (Lync MVP)
Understanding Lync 2013 Mobile Media Flows
CLNT402Slide3
Session Objectives And Takeaways
Objectives
Isolating the scenario for troubleshooting
Understanding the troubleshooting methodology and thought processes involved
Recognize the limitations with media setup
Troubleshoot faster
Takeaways
Mobile client media initialization
ICE negotiation with mobile clients
Mobile end user experience
Media flow for calls going to PSTN
Media flow for calls going to UM Online
Media flow for calls going to a remote userSlide4
Agenda
New mobility related media flags introduced in 2013
“What happens when” scenarios
Scenario #
1 User cannot place a voice call
Scenario #
2 User cannot connect an audio call
Scenario #
3
Wife complaining
video call connecting with audio only
Scenario #
4 Mobile user successfully calling a PSTN number
Scenario #
5 Mobile user calling another Lync user, call goes to UM
Online
Scenario # 6 Mobile user calling a Remote Lync User
Limitations with 2013 Mobility Media
Q&ASlide5
Scope
400 level
Basic SIP/SDP protocol understanding
Basic ICE candidates understanding
Ladder diagrams
Logs debugging
Goal is faster troubleshooting
Slide6
New Media FlagsSlide7
New AV mobility flags in 2013
Server
EnableIPAudioVideo
RequireWIFIForIPAudio
RequireWIFIForIPVideo Slide8
New flags in 2013
Mobile Client
Require Wi-Fi for VoIP
Require Wi-Fi for VideoSlide9
Mapping…..
RequireWIFIForIPAudio
RequireWIFIForIPVideo Slide10
Controlling these settings….
RequireWIFIForIPAudio
RequireWIFIForIPVideo
false
falseSlide11
Controlling these settings….
RequireWIFIForIPAudio
RequireWIFIForIPVideo
false
trueSlide12
Controlling these settings….
RequireWIFIForIPAudio
RequireWIFIForIPVideo
true
falseSlide13
Controlling these settings….
RequireWIFIForIPAudio
RequireWIFIForIPVideo
true
trueSlide14
Media connection priority
Wi-FiCellular data (3G/4G data)
Fallback is Call Via Work (CVW)Slide15
“What happens when” ScenariosSlide16
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 InternetSlide17
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 DataSlide18
Users switch between Wi-Fi hotspotsSlide19
Scenario 1Slide20
Scenario 1
Symptom
User cannot place a voice call
Scenario Analysis
Happens with both p2p voice and PSTN calls
All mobile platforms
Same user can place calls from desktop
I could repro from my WP8 device
The error notification comes right away (no
ringback
)
Both; internal and external usersSlide21
Scenario 1 : User cannot place a voice call
Mobile
UCWA
FE
Edge/MS/
LyncDesktop
/UCWASlide22
Scenario 1 : User cannot place a voice call
Logs Analysis
Slide23
Scenario 1 : User cannot place a voice call
Mobile
UCWA
FE
Edge/MS/
LyncDesktop
/UCWASlide24
Scenario 1 : User cannot place a voice call
CAlertReporter.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)Slide25
Scenario 1 : User cannot place a voice callSlide26
Scenario 2Slide27
Scenario 2
Symptom
User cannot connect an audio call
Scenario Analysis
Only happens when calling the Polycom HDX8000
All mobile platforms
Same user can connect calls from desktop
I could repro from my WP8 device
The call remains in “connecting…” state
Federation scenario
Federation scenario but calling to other users in
that domain
worksSlide28
Scenario 2 : User cannot connect an audio call
Mobile
UCWA
FE
Edge
Polycom’s Edge
HDX8000Slide29
Scenario 2 : User cannot connect an audio call
Mobile client log analysis
Demo
Slide30
Scenario 2 : User cannot connect an audio call
Mobile
UCWA
FE
Edge
Polycom’s Edge
HDX8000Slide31
Scenario 2 : User cannot connect an audio call
Edge Server log analysis
Demo (outgoing INVITE)
Slide32
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.126Slide33
Scenario 2 : User cannot connect an audio call
Edge Server log analysis
Demo (incoming 200OK)
Slide34
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 HDXSlide35
Scenario 2 : User cannot connect an audio call
Lync Desktop
Edge
FE
Edge
Polycom’s Edge
HDX8000
Same user can connect from Lync desktopSlide36
Scenario 2 : User cannot connect an audio call
Same user can connect from Lync desktop
Demo (outgoing INVITE)
Slide37
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 Slide38
Scenario 2 : User cannot connect an audio call
Edge Server log analysis
Demo (incoming 200OK)
Slide39
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
XSlide40
Scenario 2 : User cannot connect an audio call
Edge Server log analysis
Demo (final INVITE and 200OK)
Slide41
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
Slide42
Scenario 3Slide43
Scenario 3
Symptom
Wife complaining video call connecting with audio only
Scenario Analysis
Wife tells me video call got connected with audio only
Response: because there was no
wi-fi
as per notification
Wife again tells me video call got connected with audio only
Response: not really sure, there wasn’t any notificationSlide44
Scenario 3 : Video call connecting as audio only call Slide45
Scenario 3 : Video call connecting as audio only call
Lync Desktop
Edge
FE
UCWA
Lync Mobile
SIP
SIP
HTTPSSlide46
Scenario 3 : Video call connecting as audio only call
Edge Server log analysis
Demo (for signaling)
Slide47
Scenario 3 : Video call connecting as audio only call
Signaling
Lync Desktop
Edge
FE
UCWA
Lync Mobile
SIP
SIP
HTTPS
PNCH/WP PNS
SIP MESSAGE
SIP MESSAGE
WPNotification
200 OK
200 OK
200 OK
183Slide48
Scenario 3 : Video call connecting as audio only call
Edge Server log analysis
Demo (for media)
Slide49
Scenario 3 : Video call connecting as audio only call
Media
Lync Desktop
Edge
FE
UCWA
Lync Mobile
PNCH/WP PNS
NAT
Cellular NATSlide50
Scenario 4Slide51
Scenario 4
Call Flow
Mobile user successfully calling a PSTN number
Slide52
Scenario 4 Mobile user calling a PSTN Number
Signaling
Lync Mobile
UCWA
FE
Mediation
SIP Trunk/PSTN
HTTPS
INVITE
1-800United1
200 OK / CONNECT
200 OK
HTTPS
INVITE
SIP/TDM
183/ALERT
183
183
HTTPS
200 OKSlide53
Scenario 4 Mobile user calling a PSTN Number
Logs demo (Signaling & Media)
Lync server logs and mediation server network capture
Slide54
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 mobile
183 from MediationSlide55
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.89
Media Flow
Slide56
Scenario 5Slide57
Scenario 5
Call Flow
Mobile user calling another Lync user, call goes to UM Online
Slide58
Scenario 5 Mobile user calling another Lync user, call goes to UM Online
Signaling
Lync Mobile
UCWA
FE
Edge
Remote Lync User
HTTPS
INVITE
UM Online
INVITE
183
183
HTTPS
CANCEL
CANCEL
INVITE
INVITESlide59
Scenario 5 Mobile user calling another Lync user, call goes to UM Online
Logs demo (Signaling & Media)
Lync server and Edge server logs
Slide60
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
LAN
10.0.4.251
NAT – Server Reflex
70.102.70.79
CANCEL from FE Slide61
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 Reflex
10.27.46.15
UM Online Office 365
LAN
200 OK from UM OnlineSlide62
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 Reflex
10.27.46.15
UM Online Office 365
LAN
X
XSlide63
Scenario 6Slide64
Scenario 6
Scenario
Proof-of-Concept Evaluating Lync Mobile
Wireless Network on a different VLAN
Restricted Access Policies & Routing to the Production Network
Using Split Brain DNS
Unable to establish calls with a Remote Lync Client outside of the Corporate Network
Direct Peer-to-Peer between the Corporate Network & Public Network is prohibited between Endpoint devices
Slide65
Scenario 6: Mobile user calling a Remote Lync Client
Signaling
Lync Mobile
UCWA
FE
Access Edge
Remote Lync ClientSlide66
Scenario
6Slide67
Scenario 6
Analysis
Mobile Device at the wireless VLAN attempt to route the traffic via the Access Edge Server
Access Edge indicates that the Media Stream couldn’t be established after an INVITE is being made
Slide68
Scenario 6
Analysis
Lync Client Log UCCP Log
Slide69
Scenario 6
Analysis
Lync 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
=
FailedStartAudioStreamSlide70
Limitations with mobile mediaSlide71
Limitations with mobile media
User is mobile as against being in a office (Lync Desktop scenario)
Changing networks
LFE Item 2126
Slide72
In Review: Session Objectives And Takeaways
Objectives
Isolating the scenario for troubleshooting
Understanding the troubleshooting methodology and thought processes involved
Recognize the limitations with media setup
Troubleshoot faster
Takeaways
Scenario 1
: Mobile client media initialization and association with media port
ranges
Scenario
2: ICE negotiation with mobile clientsScenario 3: How PNCH may affect end user experienceScenario 4
: Troubleshoot media flow via NAT’ed Edge
Scenario 5: Troubleshoot media flow for calls going to UM OnlineScenario 6: Troubleshoot media flow between Mobile Client & the remote Lync ClientSlide73Slide74
Monday, February 17
th
Exhibit
Hall Hours 6:00pm –
8:00pm
6:00pm
– 8:00pm Welcome
Reception
Tuesday
, February
18
th
Exhibit Hall Hours 8:00am – 9:00
am
(Breakfast
), 10:30am – 5:00pm
8:00am
– 9:00am Breakfast
(Exhibit
Hall)
9:00am –10:30am
General
Session
10:30am
– 5:00pm Expo Hall
Hours
11:00am
– 12:15pm Sessions &
Hands-on Labs
12:15pm
– 2:00pm
Lunch
2:00pm
– 5:00pm Sessions &
Hands-on
Labs
5:00pm – 7:00pm Ask the
Experts
Wednesday, February 19
th
Exhibit Hall Hours 10:30am – 4:30pm
7:30am
– 8:30am
Breakfast
8:30am – 11:30am
Sessions &
Hands-on Labs
10:30am
– 4:30pm Expo Hall
Hours
11:30am
– 1:00pm
Lunch
1:00pm
– 5:45pm Sessions &
Hands-on Labs
6:30pm –
9:30pm Attendee Party
Thursday
, February
20
th
Exhibit
Hall Hours 9
:00am
–
12:00pm
8:00am
– 9:00am Breakfast
9:00am – 12:00pm Expo Hall
Hours
9:00am
– 12:15pm Sessions &
Hands-on Labs
12:15pm –
1:30pm Lunch and DeparturesSlide75
Ask the Experts
Location: 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.Slide76
Location: Breakout rooms located on Level 1
5:00pm-7:00pm
GROUPS INCLUDE:
Manageability –
Pinyon
2
Meetings & Web Experiences –
Bluethorn
4-6
Mobility –
Bluethorn
7-9
Presence & Chat –
Pinyon
1
Voice & 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.Slide77
Birds of a Feather
Birds
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:
Wed
ne
sday, 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, VoiceSlide78
#LyncConf14
/
msftLYNC
/
microsoft-lync
/
MSFTLyncSlide79
Lync Launch Pad
You’ve
launched Lync.
Now
Launch this
.
MS Pavilion – Expo HallSlide80
Fill out evaluations
to win prizes
Fill out evaluations on
MyLync
or
MyLync
Mobile.
Prizes awarded daily.Slide81
© 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.