Source record · tier 2 current vendor documentation
Set-CsOnlinePSTNGateway (MicrosoftTeams)
- Publisher
- Microsoft
- URL
- https://learn.microsoft.com/en-us/powershell/module/microsoftteams/set-csonlinepstngateway
- Published
- 2026-04-27
- Updated
- unknown
- Accessed
- 2026-09-25
- HTTP status
- 200
- License
- Microsoft Learn terms of use (CC BY 4.0 for docs content repository); no-redistribution; short excerpts and locators only
Source notes citing this source
- Failover triggers are not uniform across hops: RFC 3263 fails over on 503, transport failure or timeout; Teams defaults to 408/503/504 plus a 10-second timer; Twilio origination uses a 4-second no-response rule with an exclusion list; CUCM OPTIONS ping treats 408/503 as down. End-to-end failover time therefore has to be measured per hop rather than assumed. inferred in context
- Setting -Enabled $false on an online PSTN gateway drains it: existing calls continue and new calls go to another SBC in the route if one exists. A newly created gateway defaults to disabled. in context
- The default FailoverResponseCodes on a Teams online PSTN gateway are 408, 503 and 504, and setting the parameter overwrites the defaults rather than adding to them. in context
- FailoverTimeSeconds defaults to 10: outbound calls the gateway does not answer within that time are routed to the next available trunk, and dropped if there is none. in context
- SendSipOptions defaults to True; if disabled, the SBC is excluded from the Direct Routing monitoring and alerting system, and Microsoft highly recommends leaving SIP options enabled. in context
- GatewaySiteLbrEnabled (Boolean, default False) makes the SBC report its assigned site; on an incoming call the SBC's site is compared with the user's site to make the routing decision, and the parameter is mandatory for enabling LBR. in context
- The Set-CsOnlinePSTNGateway parameter GatewayLbrEnabledUserOverride is a Boolean with default False; it lets an LBR-enabled user outside the corporate network, or at an on-network location not configured as a tenant network site, make and receive PSTN calls through an LBR-enabled gateway. in context
Cite this source record
APA
WarmTransfer. (2026, April 27). Set-CsOnlinePSTNGateway (MicrosoftTeams). WarmTransfer. https://warmtransfer.net/knowledge/sources/ms-learn-set-csonlinepstngateway
BibTeX
@misc{warmtransfer-ms-learn-set-csonlinepstngateway,
title = {Set-CsOnlinePSTNGateway (MicrosoftTeams)},
author = {{WarmTransfer}},
year = {2026},
url = {https://warmtransfer.net/knowledge/sources/ms-learn-set-csonlinepstngateway},
note = {Microsoft, accessed 2026-09-25}
}