Skip to content

Commit 9fec7e4

Browse files
authored
Merge branch 'master' into patch-1
2 parents c5a4439 + bf7b0cd commit 9fec7e4

File tree

2 files changed

+97
-16
lines changed

2 files changed

+97
-16
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-

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)