[av_heading heading=’Skype For Business Online Caller ID ‘ tag=’h1′ style=’blockquote modern-quote’ size=” subheading_active=’subheading_below’ subheading_size=’15’ padding=’10’ color=” custom_font=” av-medium-font-size-title=” av-small-font-size-title=” av-mini-font-size-title=” av-medium-font-size=” av-small-font-size=” av-mini-font-size=” admin_preview_bg=”]
(outbound powershell)
[/av_heading]
[av_textblock size=” font_color=” color=” av-desktop-hide=” av-medium-hide=” av-small-hide=” av-mini-hide=” av-medium-font-size=” av-small-font-size=” av-mini-font-size=”]
In Skype for Business Online, when a user makes an outbound PSTN call, by default the telephone number assigned to their Skype for Business Online user will be used as the Caller ID.
Two other Caller ID options are available:
• Change the Caller ID to be something else (e.g. the Service Number assigned to an Auto Attendant). • Block the Caller ID.
Options:
X500:/SEARC H
X500:/CATEG ORIES
◦ Active Directory (7) ◦ ADFS (1) ◦ Audiocodes (1) ◦ Azure AD (16)
◦ Azure AD Connect (13) ◦ Azure AD Sync (6)
◦ Certificates (2) ◦ Cisco ACS (1) ◦ CJSM (1) ◦ Exchange (17)
◦ Exchange 2007 (4) ◦ Exchange 2013 (1) ◦ Exchange Online (13) ◦ Exchange Web Services (EWS) (1)
◦ Hyper-V (4)
x500:/
HOME ABOUT CONTACT EXCHANGE EXCHANGE ONLINE OFFICE 365
SKYPE FOR BUSINESS SKYPE FOR BUSINESS ONLINE HYPER-V STORAGE SPACES DIRECT
Search …
Note: a 999 call will always present the telephone number assigned to the user.
These two options are available by creating Caller ID policies, and then granting the policies to Skype for Business Online users. In Skype for Business Online, this can only be done via PowerShell.
If you need instructions on how to connect to Skype for Business Online with PowerShell, see this article.
The Get-CsCallingLineIdentity cmdlet will list all of the Caller ID policies that exist in the organisation. In a new Skype for Business Online deployment, only the global policy will exist. If a Caller ID policy isn’t granted to a user, they will inherit the values set in the global policy.
◦ Lenovo Rack Switches (1) ◦ Lenovo System x (1) ◦ Lync (1) ◦ Lync Server 2013 (1) ◦ Migration (3) ◦ Office 365 (30) ◦ S2D (1) ◦ SAML (1) ◦ SCVMM (2) ◦ Skype for Business (24)
◦ Persistent Chat (1) ◦ Trusted Applications (3)
◦ Skype for Business Online (17)
◦ PSTN Calling (5) ◦ Skype Meeting Broadcast (2)
◦ SMTP Server (1) ◦ Spectralink (1) ◦ SQL Server (1) ◦ Storage Spaces Direct (3) ◦ TLS (1) ◦ Windows Server 2012 (3) ◦ Windows Server 2016 (6)
Get-CsCallingLineIdentity | fl
Identity: Global Description: EnableUserOverride: False ServiceNumber: CallingIDSubstitute: LineUri BlockIncomingPstnCallerID: False
CallingIDSubstitute: LineUri dictates that calls will be presented outbound on the telephone number assigned to the user.
Changing the Caller ID
In this example, I’m creating a Caller ID policy for the Glasgow Office, and setting it to present outbound on a Service Number that is assigned to an Auto Attendant. Note you must specify a valid Service Number, it cannot be a Subscriber Number.
New-CsCallingLineIdentity -Identity “Glasgow Office” Description “Glasgow Office DDI Suppress” BlockIncomingPstnCallerID $false -CallingIDSubstitute Service -ServiceNumber +441414960600
Identity: Tag:Glasgow Office Description: Glasgow Office DDI Suppress EnableUserOverride: False ServiceNumber: +441414960600 CallingIDSubstitute: Service BlockIncomingPstnCallerID: False
The policy can then be granted to a user by using the GrantCsCallingLineIdentity cmdlet.
Grant-CsCallingLineIdentity -Identity [email protected] -PolicyName “Glasgow Office”
To set the policy back to default (Global) run the following command:
Grant-CsCallingLineIdentity -Identity [email protected] -PolicyName $null
To confirm the policy has been granted to a user, or to see what policy is assigned:
Get-CsOnlineUser -Identity [email protected] | select CallingLineIdentity
CallingLineIdentity : Glasgow Office
To apply the policy in bulk, create an input CSV file containing the UPN/Email/SIP Address of the user, with a header column of SfBIdentity. For example:
$glasgow = Import-CSV C:\temp\GlasgowUsers.csv
$glasgow | ForEach { Grant-CsCallingLineIdentity -Identity $_.SfBIdentity PolicyName “Glasgow Office” }
Anonymous Caller ID
To have users present outbound with an Anonymous Caller ID, create a new Caller ID policy.
« Connecting to Exchange Online with PowerShell
Skype for Business Online – Communications Credits »
Ian Noble says:
New-CsCallingLineIdentity -Identity “Anonymous” Description “Anonymous DDI Suppress” CallingIDSubstitute AnonymousIdentity: Tag:Anonymous
Description: Anonymous DDI Suppress EnableUserOverride: False ServiceNumber: CallingIDSubstitute: Anonymous BlockIncomingPstnCallerID: False
Grant the policy to users following the same steps above, substituting ‘Glasgow Office’ for ‘Anonymous’.
[/av_textblock]