New-CsOnlinePSTNGateway -Fqdn "sbcX.YY.voipcloud.online" -SipSignalingPort 5061 -SendSipOptions $false -Enabled $true -ForwardCallHistory $true -ForwardPai $true

Connect-MicrosoftTeams


Set-CsPhoneNumberAssignment -Identity "wtsup-aa@websitetravel.com" -PhoneNumber "61 2 8415 7020" -PhoneNumberType DirectRouting

Grant-CsOnlineVoiceRoutingPolicy -Identity "wtsup-aa@websitetravel.com" -PolicyName "VC VoiceRoutingPolicy"



Script Running Permission
Set-ExecutionPolicy RemoteSigned
Set-ExecutionPolicy Restricted