Skip to content

Commit f7c07b6

Browse files
authored
Merge pull request MicrosoftDocs#7648 from JensTrier/patch-2
Update Set-CsCallingLineIdentity.md
2 parents accb40a + 8361d79 commit f7c07b6

File tree

1 file changed

+48
-8
lines changed

1 file changed

+48
-8
lines changed

skype/skype-ps/skype/Set-CsCallingLineIdentity.md

Lines changed: 48 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ Use the `Set-CsCallingLineIdentity` cmdlet to modify a Caller ID policy in your
2121
```
2222
Set-CsCallingLineIdentity [-Tenant <Guid>] [-Description <String>] [-EnableUserOverride <Boolean>]
2323
[-ServiceNumber <String>] [-CallingIDSubstitute <CallingIDSubstituteType>]
24-
[-BlockIncomingPstnCallerID <Boolean>] [[-Identity] <XdsIdentity>] [-Force] [-WhatIf] [-Confirm]
24+
[-BlockIncomingPstnCallerID <Boolean>] [[-Identity] <XdsIdentity>] [-ResourceAccount <Guid>] [-CompanyName <String>] [-Force] [-WhatIf] [-Confirm]
2525
[<CommonParameters>]
2626
```
2727

2828
### Instance
2929
```
3030
Set-CsCallingLineIdentity [-Tenant <Guid>] [-Description <String>] [-EnableUserOverride <Boolean>]
3131
[-ServiceNumber <String>] [-CallingIDSubstitute <CallingIDSubstituteType>]
32-
[-BlockIncomingPstnCallerID <Boolean>] [-Instance <PSObject>] [-Force] [-WhatIf] [-Confirm]
32+
[-BlockIncomingPstnCallerID <Boolean>] [-ResourceAccount <Guid>] [-CompanyName <String>] [-Instance <PSObject>] [-Force] [-WhatIf] [-Confirm]
3333
[<CommonParameters>]
3434
```
3535

@@ -38,12 +38,13 @@ You can either change or block the Caller ID (also called a Calling Line ID) for
3838
By default, the 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.
3939
You can modify a Caller ID policy to provide an alternate displayed number, or to block any number from being displayed.
4040

41-
Note:
42-
Identity must be unique.
41+
Note:
42+
- Identity must be unique.
43+
- ServiceNumber must be a valid Service Number in the Skype for Business Online online telephone number inventory.
44+
- If CallerIdSubstitute is given as "Service", then ServiceNumber cannot be empty.
45+
- If CallerIdSubstitute is given as "Resource", then ResourceAccount cannot be empty.
4346

44-
ServiceNumber must be a valid Service Number in the Skype for Business Online Telephone Number Inventory.
45-
46-
If CallerIdSubstitute is given as "Service", then ServiceNumber cannot be empty.
47+
**Preview** The use of the parameters ResourceAccount and CompanyName is in Preview.
4748

4849
## EXAMPLES
4950

@@ -69,6 +70,15 @@ PS C:\> Set-CsCallingLineIdentity -Identity Anonymous -Description "anonymous po
6970

7071
This example modifies the new Anonymous Caller ID policy that blocks the incoming Caller ID.
7172

73+
### Example 4
74+
```
75+
$ObjId = (Get-CsOnlineApplicationInstance -Identity [email protected]).ObjectId
76+
Set-CsCallingLineIdentity -Identity DKCQ -CallingIDSubstitute Resource -ResourceAccount $ObjId -CompanyName "Contoso"
77+
```
78+
79+
This example modifies the Caller ID policy that sets the Caller ID to the phone number of the specified resource account and sets the Calling party name to Contoso
80+
81+
7282
## PARAMETERS
7383

7484
### -BlockIncomingPstnCallerID
@@ -93,7 +103,7 @@ Accept wildcard characters: False
93103
94104
### -CallingIDSubstitute
95105
The CallingIDSubstitute parameter lets you specify an alternate Caller ID.
96-
The possible values are Anonymous, Service and LineUri.
106+
The possible values are Anonymous, Service, LineUri and Resource.
97107
98108
```yaml
99109
Type: CallingIDSubstituteType
@@ -108,6 +118,21 @@ Accept pipeline input: False
108118
Accept wildcard characters: False
109119
```
110120
121+
### -CompanyName
122+
This parameter sets the Calling party name (typically referred to as CNAM) on the outgoing PSTN call.
123+
**Preview** The use of the parameter CompanyName is in Preview.
124+
125+
```yaml
126+
Type: String
127+
Parameter Sets: (All)
128+
Aliases:
129+
Required: False
130+
Position: Named
131+
Default value: None
132+
Accept pipeline input: False
133+
Accept wildcard characters: False
134+
```
135+
111136
### -Confirm
112137
The Confirm switch causes the command to pause processing, and requires confirmation to proceed.
113138
@@ -206,6 +231,21 @@ Accept pipeline input: False
206231
Accept wildcard characters: False
207232
```
208233
234+
### -ResourceAccount
235+
This parameter specifies the ObjectId of a resource account/online application instance used for Teams Auto Attendant or Call Queue. The outgoing PSTN call will use the phone number defined on the resource account as caller id. For more information about resource accounts please see https://docs.microsoft.com/microsoftteams/manage-resource-accounts.
236+
**Preview** The use of the parameter ResourceAccount is in Preview.
237+
238+
```yaml
239+
Type: Guid
240+
Parameter Sets: (All)
241+
Aliases:
242+
Required: False
243+
Position: Named
244+
Default value: None
245+
Accept pipeline input: False
246+
Accept wildcard characters: False
247+
```
248+
209249
### -ServiceNumber
210250
The ServiceNumber parameter lets you add any valid service number for the CallingIdSubstitute.
211251

0 commit comments

Comments
 (0)