How do I set up the sipgate MS Teams integration?
Step-by-step guide to setting up the sipgate MS Teams integration – prerequisites, domains, and configuration.
Requirements for the MS Teams integration
1
2
# If the Microsoft Teams module is not yet installed in PowerShell
# please install it with the following command
Install-Module MicrosoftTeams
# If it is already installed, the current version can be checked with
Get-InstalledModule
# The module can be updated with the following command if it is outdated
Update-Module MicrosoftTeams
# If an installation or update has occurred, before the next command
# close PowerShell once and restart it
# Connect to the Office tenant with the following command,
# authentication takes place in a separate window
Connect-MicrosoftTeams
# For 2FA with Connect-MicrosoftTeams -use
# Only if there is no permission to run the CMDlet 'Connect-MicrosoftTeams',
# then run "Connect-MicrosoftTeams" again
Set-ExecutionPolicy -ExecutionPolicy Unrestricted
Set-CsOnlinePstnUsage -Identity Global -Usage @{Add="sipgate"}
# subdomain1 and subdomain2 are to be replaced by the previously created subdomains. This is one command, even if it is displayed here with a line break
New-CsOnlineVoiceRoute -Identity "sipgate" -NumberPattern ".*" -OnlinePstnGatewayList subdomain1, subdomain2 -Priority 1 -OnlinePstnUsages "sipgate"
New-CsOnlineVoiceRoutingPolicy "sipgate" -OnlinePstnUsages "sipgate"
# Only for sipgate business, NOT FOR TRUNKING
Set-CsTeamsCallingPolicy -Identity Global -MusicOnHoldEnabledType Disabled3
Last updated

