Anchor | ||||
---|---|---|---|---|
|
Spacevars | ||
---|---|---|
|
Add_workflow_for_techpubs | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Use PowerShell and an Office 365 Admininstrator account to connect your Office 365 tenant:
Code Block |
---|
PS> Import-Module skypeonlineconnector
PS> $cred = Get-Credential
PS> $Session = New-CsOnlineSession -Credential $cred -Verbose
PS> Import-PSSession $session |
Enable federation on your Tenant:
Code Block |
---|
PS> Set-CsTenantFederationConfiguration -SharedSipAddressSpace $True |
Ensure that your tenant has the proper configuration using the PowerShell command:
Code Block |
---|
PS> Get-CsTenantFederationConfiguration
Identity : Global
AllowedDomains : Microsoft.Rtc.Management.WritableConfig.Settings.Edge.AllowAllKnownDomains
BlockedDomains : {}
AllowFederatedUsers : True
AllowPublicUsers : False
TreatDiscoveredPartnersAsUnverified : False
SharedSipAddressSpace : True |
The site is created automatically when installing your CCE, and your CCE will be assigned to the new site.
You can see the site list using:
Code Block |
---|
PS> Get-CsHybridPSTNSite
RunspaceId : 9f7b5758-8109-461b-acc7-133a984abae7
Identity : AEPSITE1
EdgeFQDN : AEPSITE1.SONUSMS01.COM
Index : 1
EnableAutoUpdate : True
LastTopologyUpdateTime : 8/30/2016 11:39:09 AM
BitsUpdateTimeWindowList : {}
OsUpdateTimeWindowList : {} |
Noprint |
---|
If the site is not properly created when installing your CCE, you can remove the site with:
Code Block |
---|
PS> Remove-CsHybridPSTNSite -Identity AEPSITE1 |
You can assign a default site for your tenant using:
Code Block |
---|
PS> Set-CsTenantHybridConfiguration -PeerDestination defaultsite.sonusms01.com -UseOnPremDialPlan $false |
Ensure that your tenant has the proper default site using the PowerShell command:
Code Block |
---|
PS> Get-CsTenantHybridConfiguration
Identity : Global
HybridPSTNSites : {}
HybridPSTNAppliances : {}
TenantUpdateTimeWindows : {}
PeerDestination : defaultsite.sonusms01.com
HybridConfigServiceInternalUrl :
HybridConfigServiceExternalUrl :
UseOnPremDialPlan : False |
The appliance will be created automatically when installing your CCE. An appliance is identified by its Name (Host computer Hostname and Mediation Server FQDN) and its site.
Code Block |
---|
PS> Get-CsHybridPSTNAppliance
RunspaceId : 9f7b5758-8109-461b-acc7-133a984abae7
Identity : 1e298a7b-9a71-4579-9e82-c2988ceb2bf3
Name : WIN-47N107ISBNC
SiteName : AEPSITE1
SiteIndex : 1
MediationServerIPAddress : 192.168.210.123
MediationServerFqdn : Med-033813.sfbhybridtest.local
MaintenanceMode : False
RegistrationStatus : Registered
Status : None
Version :
Error :
OsUpdatedOn :
DeployedOn :
StatusUpdatedOn : 8/30/2016 11:46:45 AM
DeploymentStatus : {"Status":"Deploying","Version":"1.3.8.29","Error":null,"StartTime":"2016-08-30T11:46:45.176
6Z"}
OsUpdateStatus : {"Status":"None","Error":null,"StartTime":null}
|
You must remove the Appliance when deploying with a new host (new hostname or new Mediation server name)
Code Block |
---|
PS> Unregister-CsHybridPSTNAppliance -identity 1e298a7b-9a71-4579-9e82-c2988ceb2bf3 -Force |
Noprint |
---|
Step | Action | ||
---|---|---|---|
1 | Execute this PowerShell command to ensure that the user has been created:
| ||
2 | Assign the proper voice policy and phone number using the PowerShell command:
| ||
3 | Ensure that the user has the proper voice policy using the PowerShell command:
| ||
4 | Assign a PSTN site to this user. The site must already exist. If you don't specify a site, your user will be assigned to the default site. If you want to assign the user to a specific site, use:
| ||
5 | Ensure that the user has the proper configuration by using the PowerShell command:
|
Noprint |
---|
Create a time window in which the update can safely be applied:
Code Block |
---|
PS> New-CsTenantUpdateTimeWindow -Identity AlwaysOn -Daily -StartTime 0:00 -Duration 24:00 |
Apply the new time window to your site:
Code Block |
---|
PS> Set-CsHybridPSTNSite -Identity <SiteName> -OsUpdateTimeWindow
@{add="AlwaysOn"} -BitsUpdateTimeWindow @{add="AlwaysOn"}
|
Create a time window in which the update will not be applied:
Code Block |
---|
PS> New-CsTenantUpdateTimeWindow -Identity NeverOn -Monthly -WeeksOfMonth
First -DaysOfWeek Sunday -StartTime 3:00 -Duration 0:0 |
Apply the new time window to your site:
Code Block |
---|
PS> Set-CsHybridPSTNSite -Identity <SiteName> -OsUpdateTimeWindow
@{add="NeverOn"} -BitsUpdateTimeWindow @{add="NeverOn"} |
Noprint |
---|
to come