[This is preliminary documentation and is subject to change. Blank topics are included as placeholders.]

Removes an existing trunk configuration that defines the relationship between a Mediation Server and a Service Provider.

Syntax

Remove-CsTrunkConfiguration -Identity <XdsIdentity> [-Confirm [<SwitchParameter>]] [-Force <SwitchParameter>] [-WhatIf [<SwitchParameter>]]

Parameters

Parameter Required Type Description

Identity

Required

XdsIdentity

The unique identifier of the trunk configuration you want to remove. The Identity contains the scope of the trunk configuration.

Confirm

Optional

SwitchParameter

Prompts you for confirmation before executing the command.

WhatIf

Optional

SwitchParameter

Describes what would happen if you executed the command without actually executing the command.

Detailed Description

Use this cmdlet to modify a trunking configuration for a Mediation Server. Each configuration contains specific settings defining the relationship and capabilities between the Mediation Server and the public switched telephone network (PSTN) Gateway, IP-PBX, or Session Border Controller (SBC) at the Service Provider. These settings configure such things as whether media bypass is enabled on this trunk, whether RTCP packets are sent under certain conditions, and whether to require secure real-time protocol (SRTP) encryption.

Note that if you call Remove-CsTrunkConfiguration on the Global configuration, that trunk configuration will not be removed. Instead the configuration will be "reset" and all custom settings will be replaced with default values.

Return Types

This cmdlet does not return a value; it removes an object of type Microsoft.Rtc.Management.WritableConfig.Settings.TrunkConfiguration.TrunkConfiguration.

Examples

-------------------------- Example 1 ------------------------

Copy Code
Remove-CsTrunkConfiguration -Identity site:Redmond

This example removes the trunk configuration with the Identity site:Redmond.

-------------------------- Example 2 ------------------------

Copy Code
Get-CsTrunkConfiguration -Filter site:* | Remove-CsTrunkConfiguration

Example 2 removes all trunk configurations defined at the site level. The first part of the command is a call to the Get-CsTrunkConfiguration cmdlet that uses the Filter parameter to retrieve all trunk configurations with an Identity beginning with site:, meaning all trunk configurations defined at the site level. This collection of configurations is then piped to the Remove-CsTrunkConfiguration cmdlet, which removes each object in the collection.