Skip to content

Commit bf7b0cd

Browse files
authored
Merge pull request MicrosoftDocs#7645 from JensTrier/patch-1
Updated New-CsCallingLineIdentity
2 parents f7c07b6 + d7944f9 commit bf7b0cd

File tree

1 file changed

+49
-8
lines changed

1 file changed

+49
-8
lines changed

skype/skype-ps/skype/New-CsCallingLineIdentity.md

Lines changed: 49 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,22 @@ Use the New-CsCallingLineIdentity cmdlet to create a new Caller ID policy for yo
1818
## SYNTAX
1919

2020
```
21-
New-CsCallingLineIdentity [-Tenant <Guid>] [-Description <String>] [-EnableUserOverride <Boolean>]
22-
[-ServiceNumber <String>] [-CallingIDSubstitute <CallingIDSubstituteType>]
23-
[-BlockIncomingPstnCallerID <Boolean>] [-Identity] <XdsIdentity> [-InMemory] [-Force] [-WhatIf] [-Confirm]
24-
[<CommonParameters>]
21+
New-CsCallingLineIdentity [-Description <String>] [-ServiceNumber <String>] [-CompanyName <String>] [-Confirm]
22+
[-CallingIDSubstitute <CallingIDSubstituteType>] [[-Identity] <XdsIdentity>] [-InMemory] [-Tenant <Guid>]
23+
[-BlockIncomingPstnCallerID <Boolean>] [-ResourceAccount <Guid>] [-EnableUserOverride <Boolean>] [-WhatIf]
24+
[-Force]
2525
```
2626

2727
## DESCRIPTION
28-
You can either change or block the Caller ID (also called a Calling Line ID) for a user. 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. You can create a Caller ID policy to provide an alternate displayed number, or to block any number from being displayed.
28+
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.
2929

3030
Note:
3131
- Identity must be unique.
3232
- ServiceNumber must be a valid Service Number in the Skype for Business Online online telephone number inventory.
3333
- If CallerIdSubstitute is given as "Service", then ServiceNumber cannot be empty.
34+
- If CallerIdSubstitute is given as "Resource", then ResourceAccount cannot be empty.
3435

35-
36+
**Preview** The use of the parameters ResourceAccount and CompanyName is in Preview.
3637

3738
## EXAMPLES
3839

@@ -57,6 +58,15 @@ New-CsCallingLineIdentity -Identity Anonymous -Description "anonymous policy" -
5758

5859
This example creates a new Caller ID policy that blocks the incoming Caller ID.
5960

61+
### Example 4
62+
```
63+
$ObjId = (Get-CsOnlineApplicationInstance -Identity [email protected]).ObjectId
64+
New-CsCallingLineIdentity -Identity DKCQ -CallingIDSubstitute Resource -EnableUserOverride $false -ResourceAccount $ObjId -CompanyName "Contoso"
65+
```
66+
67+
This example creates a new 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
68+
69+
6070
## PARAMETERS
6171

6272
### -Identity
@@ -95,7 +105,7 @@ Accept wildcard characters: False
95105
```
96106
97107
### -CallingIDSubstitute
98-
PARAMVALUE: Anonymous | Service | LineUri
108+
PARAMVALUE: Anonymous | Service | LineUri | Resource
99109
100110
The CallingIDSubstitute parameter lets you specify an alternate Caller ID. The default value is LineUri.
101111
@@ -112,6 +122,22 @@ Accept pipeline input: False
112122
Accept wildcard characters: False
113123
```
114124
125+
### -CompanyName
126+
This parameter sets the Calling party name (typically referred to as CNAM) on the outgoing PSTN call.
127+
**Preview** The use of the parameter CompanyName is in Preview.
128+
129+
```yaml
130+
Type: String
131+
Parameter Sets: (All)
132+
Aliases:
133+
134+
Required: False
135+
Position: Named
136+
Default value: None
137+
Accept pipeline input: False
138+
Accept wildcard characters: False
139+
```
140+
115141
### -Confirm
116142
The Confirm switch causes the command to pause processing, and requires confirmation to proceed.
117143
@@ -192,6 +218,22 @@ Accept pipeline input: False
192218
Accept wildcard characters: False
193219
```
194220
221+
### -ResourceAccount
222+
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
223+
**Preview** The use of the parameter ResourceAccount is in Preview.
224+
225+
```yaml
226+
Type: Guid
227+
Parameter Sets: (All)
228+
Aliases:
229+
230+
Required: False
231+
Position: Named
232+
Default value: None
233+
Accept pipeline input: False
234+
Accept wildcard characters: False
235+
```
236+
195237
### -ServiceNumber
196238
The ServiceNumber parameter lets you add any valid service number for the CallingIdSubstitute.
197239
@@ -264,4 +306,3 @@ This cmdlet supports the common parameters: `-Debug, -ErrorAction, -ErrorVariabl
264306
[Remove-CsCallingLineIdentity](Remove-CsCallingLineIdentity.md)
265307

266308
[Set-CsCallingLineIdentity](Set-CsCallingLineIdentity.md)
267-

0 commit comments

Comments
 (0)