Source record · tier 2 current vendor documentation
Configure Local Media Optimization for Direct Routing
- Publisher
- Microsoft
- URL
- https://learn.microsoft.com/en-us/microsoftteams/direct-routing-media-optimization-configure
- Published
- 2026-09-10
- Updated
- unknown
- Accessed
- 2026-09-16
- HTTP status
- 200
- License
- not stated on page; Microsoft Learn Terms of Use apply; no-redistribution; short excerpts and locators only
Source notes citing this source
- Because a user can have multiple endpoints, support of SIP 183 is not possible on inbound bypassed calls and Direct Routing always uses 180 Ringing in that case. in context
- Local Media Optimization is configured from the same network settings used by Location-Based Routing and dynamic emergency calling: trusted IP addresses, network regions, network sites and network subnets, plus a virtual topology that assigns SBCs to sites with a mode and a proxy SBC. in context
- For Local Media Optimization the -MediaBypass parameter must be set to $true, and if the SBC does not have the -BypassMode parameter set then X-MS headers will not be sent. in context
- In split-tunnel VPN scenarios where the Teams client is detected as external but can still reach the internal interface of the Direct Routing SBC, Microsoft signals the external location to the SBC, which can cause prolonged call setup and in some cases no audio on inbound PSTN calls; the page says VPN administrators must block access between remote VPN users and the SBC internal interface. in context
- When BypassMode is defined, Direct Routing adds X-MS-UserLocation (internal or external), X-MS-MediaPath (the ordered SBC list for the media path, with the final SBC always last) and X-MS-UserSite (the tenant administrator's site string) to SIP INVITEs and re-INVITEs, and the Request-URI targets the SBC FQDN. in context
Cite this source record
APA
WarmTransfer. (2026, September 10). Configure Local Media Optimization for Direct Routing. WarmTransfer. https://warmtransfer.net/knowledge/sources/ms-learn-dr-media-opt-configure
BibTeX
@misc{warmtransfer-ms-learn-dr-media-opt-configure,
title = {Configure Local Media Optimization for Direct Routing},
author = {{WarmTransfer}},
year = {2026},
url = {https://warmtransfer.net/knowledge/sources/ms-learn-dr-media-opt-configure},
note = {Microsoft, accessed 2026-09-16}
}