Skip to content
Merged
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
27 changes: 1 addition & 26 deletions teams/teams-ps/teams/New-CsCallingLineIdentity.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,11 @@ Use the New-CsCallingLineIdentity cmdlet to create a new Caller ID policy for yo

```
New-CsCallingLineIdentity [-Identity] <string> [-BlockIncomingPstnCallerID <bool>] [-CallingIDSubstitute <string>] [-CompanyName <string>]
[-Description <string>] [-EnableUserOverride <bool>] [-ResourceAccount <string>] [-ServiceNumber <string>]
[-Description <string>] [-EnableUserOverride <bool>] [-ResourceAccount <string>]
[-WhatIf] [-Confirm] [<CommonParameters>]
```

## DESCRIPTION

**Note**: The use of CallingIDSubstitute Service has been deprecated. You are no longer able to create new Caller ID policies using CallingIDSubstitute Service and existing policies using CallingIDSubstitute Service are not being honored. You should use CallingIDSubstitute Resource instead.

You can either change or block the Caller ID (also called a Calling Line ID) for a user. By default, the Teams or Skype for Business Online user's phone number can be seen when that user makes a call to a PSTN phone, or when a call comes in. You can create a Caller ID policy to provide an alternate displayed number, or to block any number from being displayed.

Note:
Expand Down Expand Up @@ -101,8 +98,6 @@ Accept wildcard characters: False
```

### -CallingIDSubstitute
**Note**: The use of CallingIDSubstitute Service will be deprecated and you can't create new Caller ID policies with it. You should use CallingIDSubstitute Resource instead.

The CallingIDSubstitute parameter lets you specify an alternate Caller ID. The default value is LineUri. Supported values are Anonymous, LineUri, and Resource.

```yaml
Expand Down Expand Up @@ -186,26 +181,6 @@ Accept pipeline input: False
Accept wildcard characters: False
```

### -ServiceNumber
**Note**: The use of CallingIDSubstitute Service and -ServiceNumber will be deprecated and you can't create new Caller ID policies with it. You should use CallingIDSubstitute Resource and -ResourceAccount instead.

The ServiceNumber parameter lets you add any valid service number for the CallingIdSubstitute.

Note: Do not add '+' to the Service number. For example, if the Service number is +1425-xxx-xxxx then valid input is 1425xxxxxxx

```yaml
Type: String
Parameter Sets: (All)
Aliases:
applicable: Microsoft Teams

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

### -WhatIf
The WhatIf switch causes the command to simulate its results. By using this switch, you can view what changes would occur without having to commit those changes.

Expand Down
30 changes: 2 additions & 28 deletions teams/teams-ps/teams/Set-CsCallingLineIdentity.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,16 @@ Use the `Set-CsCallingLineIdentity` cmdlet to modify a Caller ID policy in your
### Identity (Default)
```
Set-CsCallingLineIdentity [[-Identity] <string>] [-BlockIncomingPstnCallerID <boolean>] [-CallingIDSubstitute <string>] [-CompanyName <string>]
[-Description <string>] [-EnableUserOverride <boolean>] [-ResourceAccount <string>] [-ServiceNumber <string>] [-WhatIf] [-Confirm] [<CommonParameters>]
[-Description <string>] [-EnableUserOverride <boolean>] [-ResourceAccount <string>] [-WhatIf] [-Confirm] [<CommonParameters>]
```

## DESCRIPTION

**Note**: The use of CallingIDSubstitute Service has been deprecated. Existing policies using CallingIDSubstitute Service are not being honored. You should use CallingIDSubstitute Resource instead.

You can either change or block the Caller ID (also called a Calling Line ID) for a user.
By default, the Microsoft Teams or Skype for Business Online user's phone number can be seen when that user makes a call to a PSTN phone, or when a call comes in.
You can modify a Caller ID policy to provide an alternate displayed number, or to block any number from being displayed.

Note:
- Identity must be unique.
- ServiceNumber must be a valid Service Number in the tenant telephone number inventory.
- If CallerIdSubstitute is given as "Service", then ServiceNumber cannot be empty.
- If CallerIdSubstitute is given as "Resource", then ResourceAccount cannot be empty.

## EXAMPLES
Expand Down Expand Up @@ -89,10 +84,8 @@ Accept wildcard characters: False
```

### -CallingIDSubstitute
**Note**: The use of CallingIDSubstitute Service will be deprecated. You should start using CallingIDSubstitute Resource as soon as possible.

The CallingIDSubstitute parameter lets you specify an alternate Caller ID.
The possible values are Anonymous, Service, LineUri and Resource.
The possible values are Anonymous, LineUri and Resource.

```yaml
Type: CallingIDSubstituteType
Expand Down Expand Up @@ -191,25 +184,6 @@ Accept pipeline input: False
Accept wildcard characters: False
```

### -ServiceNumber
The ServiceNumber parameter lets you add any valid service number for the CallingIdSubstitute.

Note: Do not add '+' to the Service number.
For example, if the Service number is +1425-xxx-xxxx then valid input is 1425xxxxxxx.

```yaml
Type: String
Parameter Sets: (All)
Aliases:
applicable: Microsoft Teams

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

### -WhatIf
The WhatIf switch causes the command to simulate its results.
By using this switch, you can view what changes would occur without having to commit those changes.
Expand Down
Loading