Here’s the code used within the video:
#Get current PSTN Usages
Get-CsOnlinePSTNUsage
#Create a new PSTN Usage
Set-CsOnlinePstnUsage -Identity Global -Usage @{Add="USG-AusAudioConfDialOutDR"}
#Get Current Voice Routes
Get-CsOnlineVoiceRoute
#Create a new voice route
New-CsOnlineVoiceRoute -Identity "VR-AusAudioConfDialOutDR" -NumberPattern "^\+61(\d*)$" -OnlinePstnGatewayList sbc1.contoso.biz, sbc2.contoso.biz -Priority 1 -OnlinePstnUsages "USG-AusAudioConfDialOutDR"
#Get current Audio conferencing routing policies
Get-CsOnlineAudioConferencingRoutingPolicy
#Create a new audio conferencing routing policy
New-CsOnlineAudioConferencingRoutingPolicy "VRP-AusAudioConfDialOutDR" -OnlinePstnUsages "USG-AusAudioConfDialOutDR"
#Assign the new audio conf routing policy to a test user
Grant-CsOnlineAudioConferencingRoutingPolicy -Identity "craig.chiffers@teamsdemoau.com" -PolicyName "VRP-AusAudioConfDialOutDR"