CmdID / PowerShell / Cmdlets / Set
Set-CsOnlinePSTNGateway
Modifies the previously defined Session Border Controller (SBC) Configuration that describes the settings for the peer entity. Microsoft Teams PowerShell reference
From the Microsoft Teams PowerShell reference 25 parameters Its page in the reference
Parameters
Show its 25 parameters
-BypassModePossible values are "None", "Always" and "OnlyForLocalUsers".-Confirm, -cfPrompts you for confirmation before running the cmdlet.-DescriptionFree-format string to describe the gateway.-EnabledUsed to enable this SBC for outbound calls.-FailoverResponseCodesIf Direct Routing receives any 4xx or 6xx SIP error code in response on outgoing Invite (outgoing means call from a Teams client to PSTN with traffic flow :Teams Client -> Direct Routing -> SBC -> Te…-FailoverTimeSecondsWhen set to 10 (default value), outbound calls that are not answered by the gateway within 10 seconds are routed to the next available trunk; if there are no additional trunks, then the call is autom…-ForwardCallHistoryIndicates whether call history information will be forwarded through the trunk.-ForwardPaiIndicates whether the P-Asserted-Identity (PAI) header will be forwarded along with the call.-GatewayLbrEnabledUserOverrideAllows an LBR enabled user working from a network site outside the corporate network or a network site on the corporate network not configured using a tenant network site to make outbound PSTN calls…-GatewaySiteIdPSTN Gateway Site Id.-GatewaySiteLbrEnabledUsed to enable this SBC to report assigned site location.-IdentityThe parameter is mandatory when modifying an existing SBC.-InboundPSTNNumberTranslationRulesCreates an ordered list of Teams translation rules, that apply to PSTN number on inbound direction.-InboundTeamsNumberTranslationRulesThis parameter assigns an ordered list of Teams translation rules, that apply to Teams numbers on inbound direction.-IPAddressVersionPossible values are "IPv4" and '"Pv6".-MaxConcurrentSessionsUsed by the alerting system.-MediaBypassParameter indicated of the SBC supports Media Bypass and the administrator wants to use it for this SBC.-MediaRelayRoutingLocationOverrideAllows selecting path for media manually.-OutboundPSTNNumberTranslationRulesAssigns an ordered list of Teams translation rules, that apply to PSTN number on outbound direction.-OutboundTeamsNumberTranslationRulesCreates an ordered list of Teams translation rules, that apply to Teams Number on outbound direction.-PidfloSupportedEnables PIDF-LO support on the PSTN Gateway.-ProxySbcThe FQDN of the proxy SBC.-SendSipOptionsDefines if an SBC will or will not send the SIP options.-SipSignalingPortListening port used for communicating with Direct Routing services by using the Transport Layer Security (TLS) protocol.-WhatIf, -wiShows what would happen if the cmdlet runs.