Skip to content

Update Teams Calling Policy #12155

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
74 changes: 66 additions & 8 deletions teams/teams-ps/teams/New-CsTeamsCallingPolicy.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,38 @@ Use this cmdlet to create a new instance of a Teams Calling Policy.

### Identity (Default)
```
New-CsTeamsCallingPolicy [-Identity] <string> [-Description <string>] [-AllowPrivateCalling <boolean>] [-AllowWebPSTNCalling <boolean>]
[-AllowSIPDevicesCalling <boolean>] [-AllowVoicemail <string>] [-AllowCallGroups <boolean>] [-AllowDelegation <boolean>]
[-AllowCallForwardingToUser <boolean>] [-AllowCallForwardingToPhone <boolean>] [-PreventTollBypass <boolean>]
[-BusyOnBusyEnabledType <string>] [-MusicOnHoldEnabledType <string>] [-AllowCloudRecordingForCalls <boolean>]
[-AllowTranscriptionForCalling <boolean>] [-PopoutForIncomingPstnCalls <string>] [-PopoutAppPathForIncomingPstnCalls <string>]
[-LiveCaptionsEnabledTypeForCalling <string>] [-AutoAnswerEnabledType <string>] [-SpamFilteringEnabledType <string>]
[-CallRecordingExpirationDays <long>] [-AllowCallRedirect <string>] [-Copilot <string>] [-EnableWebPstnMediaBypass <Boolean>]
[-InboundPstnCallRoutingTreatment <string>] [-InboundFederatedCallRoutingTreatment <string>] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
New-CsTeamsCallingPolicy [-Identity] <string>
[-Description <string>]
[-AllowPrivateCalling <boolean>]
[-AllowWebPSTNCalling <boolean>]
[-AllowSIPDevicesCalling <boolean>]
[-AllowVoicemail <string>]
[-AllowCallGroups <boolean>]
[-AllowDelegation <boolean>]
[-AllowCallForwardingToUser <boolean>]
[-AllowCallForwardingToPhone <boolean>]
[-PreventTollBypass <boolean>]
[-BusyOnBusyEnabledType <string>]
[-MusicOnHoldEnabledType <string>]
[-AllowCloudRecordingForCalls <boolean>]
[-AllowTranscriptionForCalling <boolean>]
[-PopoutForIncomingPstnCalls <string>]
[-PopoutAppPathForIncomingPstnCalls <string>]
[-LiveCaptionsEnabledTypeForCalling <string>]
[-AutoAnswerEnabledType <string>]
[-SpamFilteringEnabledType <string>]
[-CallRecordingExpirationDays <long>]
[-AllowCallRedirect <string>]
[-Copilot <string>]
[-EnableWebPstnMediaBypass <Boolean>]
[-InboundPstnCallRoutingTreatment <string>]
[-InboundFederatedCallRoutingTreatment <string>]
[-PayAsYouGoSpendingLimits <Boolean>]
[-PayAsYouGoSpendingUserLimit <long>]
[-Force]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
```

## DESCRIPTION
Expand Down Expand Up @@ -521,6 +545,40 @@ Accept pipeline input: False
Accept wildcard characters: False
```

### -PayAsYouGoSpendingLimits
Determines if spending limit is enabled for pay-as-you-go PSTN calls.

```yaml
Type: Boolean
Parameter Sets: (All)
Aliases:
Applicable: Microsoft Teams

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -PayAsYouGoSpendingUserLimit
Determines the value of spending limit for a user making pay-as-you-go PSTN calls.

Possible values are any positive integer.

```yaml
Type: Long
Parameter Sets: (All)
Aliases:
Applicable: Microsoft Teams

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -Force
Suppresses any confirmation prompts that would otherwise be displayed before making changes.

Expand Down
38 changes: 37 additions & 1 deletion teams/teams-ps/teams/Set-CsTeamsCallingPolicy.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Set-CsTeamsCallingPolicy [-Identity] <string>
[-CallRecordingExpirationDays <long>]
[-Confirm]
[-Force]
[-Copilot] <string>]
[-Copilot <string>]
[-InboundFederatedCallRoutingTreatment <string>]
[-InboundPstnCallRoutingTreatment <string>]
[-LiveCaptionsEnabledTypeForCalling <string>]
Expand All @@ -45,6 +45,8 @@ Set-CsTeamsCallingPolicy [-Identity] <string>
[-PopoutForIncomingPstnCalls <string>]
[-PreventTollBypass <boolean>]
[-SpamFilteringEnabledType <string>]
[-PayAsYouGoSpendingLimits <Boolean>]
[-PayAsYouGoSpendingUserLimit <long>]
[-WhatIf]
[<CommonParameters>]
```
Expand Down Expand Up @@ -506,6 +508,40 @@ Accept pipeline input: False
Accept wildcard characters: False
```

### -PayAsYouGoSpendingLimits
Determines if spending limit is enabled for pay-as-you-go PSTN calls.

```yaml
Type: Boolean
Parameter Sets: (All)
Aliases:
Applicable: Microsoft Teams

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -PayAsYouGoSpendingUserLimit
Determines the value of spending limit for a user making pay-as-you-go PSTN calls.

Possible values are any positive integer.

```yaml
Type: Long
Parameter Sets: (All)
Aliases:
Applicable: Microsoft Teams

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -Force
Suppresses any confirmation prompts that would otherwise be displayed before making changes.

Expand Down