Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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
79 changes: 70 additions & 9 deletions teams/teams-ps/teams/New-CsTeamsCallingPolicy.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,40 @@ 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>] [-AIInterpreter <string>]
[-VoiceSimulationInInterpretation <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>]
[-AIInterpreter <string>]
[-VoiceSimulationInInterpretation <string>]
[-EnableSpendLimits <boolean>]
[-CallingSpendUserLimit <long>]
[-Force]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
```

## DESCRIPTION
Expand Down Expand Up @@ -568,6 +593,42 @@ Accept pipeline input: False
Accept wildcard characters: False
```

### -EnableSpendLimits
This setting allows an admin to enable or disable spend limits on PSTN calls for their user base.

Possible values:
- True
- False

```yaml
Type: Boolean
Parameter Sets: (All)
Aliases:
Applicable: Microsoft Teams
Required: False
Position: Named
Default value: None
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add information on the default value for the parameter.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated. Added 'False' as the default value.

Accept pipeline input: False
Accept wildcard characters: False
```

### -CallingSpendUserLimit
The maximum amount a user can spend on outgoing PSTN calls, including all calls made through Pay-as-you-go Calling Plans and any overages on plans with bundled minutes.

Possible values: any positive integer

```yaml
Type: Long
Parameter Sets: (All)
Aliases:
Applicable: Microsoft Teams
Required: False
Position: Named
Default value: None
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the default value None or 0?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is 'None' on purpose, because this value can be nullable.

Accept pipeline input: False
Accept wildcard characters: False
```

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

Expand Down
40 changes: 40 additions & 0 deletions teams/teams-ps/teams/Set-CsTeamsCallingPolicy.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ Set-CsTeamsCallingPolicy [-Identity] <string>
[-PreventTollBypass <boolean>]
[-SpamFilteringEnabledType <string>]
[-VoiceSimulationInInterpretation <string>]
[-EnableSpendLimits <boolean>]
[-CallingSpendUserLimit <long>]
[-WhatIf]
[<CommonParameters>]
```
Expand Down Expand Up @@ -557,6 +559,44 @@ Accept pipeline input: False
Accept wildcard characters: False
```

### -EnableSpendLimits
This setting allows an admin to enable or disable spend limits on PSTN calls for their user base.

Possible values:
- True
- False

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

Required: False
Position: Named
Default value: None
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add the default value

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated. Added 'False' as the default value.

Accept pipeline input: False
Accept wildcard characters: False
```

### -CallingSpendUserLimit
The maximum amount a user can spend on outgoing PSTN calls, including all calls made through Pay-as-you-go Calling Plans and any overages on plans with bundled minutes.

Possible values: any positive integer

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

Required: False
Position: Named
Default value: None
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the default value None or 0?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is 'None' on purpose, because this value can be nullable.

Accept pipeline input: False
Accept wildcard characters: False
```

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

Expand Down