Set-CsOnlinePSTNGateway -BypassMode accepts None, Always and OnlyForLocalUsers with a default of None; Always indicates a fully routable network between sites, OnlyForLocalUsers indicates no direct connection between sites.
Checked 2026-09-30
- Vendor
- Microsoft
- Product
- MicrosoftTeams PowerShell module
- Subsystem
- Set-CsOnlinePSTNGateway
- Deployment
- multi-tenant
- Region
- not restricted
- Release range
- current as of 2026-09-30
- Checked
- 2026-09-30
Sources
- Set-CsOnlinePSTNGateway (MicrosoftTeams) — Microsoft · tier 2 current vendor documentation · Parameters > -BypassMode
Cite this note
APA
WarmTransfer. (2026, September 30). Setting up media bypass and local media optimization for Teams Direct Routing: source note teams-media-bypass-setup-param-bypassmode. WarmTransfer. https://warmtransfer.net/knowledge/claims/teams-media-bypass-setup-param-bypassmode
BibTeX
@misc{warmtransfer-claim-teams-media-bypass-setup-param-bypassmode,
title = {Setting up media bypass and local media optimization for Teams Direct Routing: source note teams-media-bypass-setup-param-bypassmode},
author = {{WarmTransfer}},
year = {2026},
url = {https://warmtransfer.net/knowledge/claims/teams-media-bypass-setup-param-bypassmode},
note = {Source note teams-media-bypass-setup-param-bypassmode, checked 2026-09-30}
}