2. Setup Voice Routes, Voice routing policies and Dial Plans
Every country in the world has their own set of rules for how telephone numbers can be dialed. Therefore, the voice routes, voice routing policies and dial plans will be setup with a script that has been automatically generated by our friend Ken Lasko over at UCDialPlans. This allows for ease of rule generation for over 232 supported countries in the world. We'll be using the tool to generate VRP, VR and DP's for UK, London.
Download the UC Dial Plan script
- Browse UCDialPlans
- Sign in with your Microsoft ID
Execute script for your MS Teams tenant
- Logon to MS Teams through Powershell
Connect-MicrosoftTeams
- Browse to the directory that the script resides and execute it:
.\UK-London-MSTeams.ps1
- You'll be asked what SBC you want to use, choose: sbc.domain.com
Ensure the script has worked
Logon to the Teams Admin Center
Dial Plans
- Browse Voice > Dial Plans
- Ensure UK-London has been generated and click on it
- You should see 7 normalization rules:
- UK-London-Local
- UK-Mobile
- UK-Tollfree
- UK-Premium
- UK-National
- UK-Service
- UK-International
Voice routes
- Browse Voice > Direct Routing > Voice Routes
- Ensure 7 voice routes have been created:
- UK-London-Local – To London landlines
- UK-London-Mobile – To UK mobiles
- UK-London-Tollfree – To freephone numbers
- UK-London-Premium – To premium rate numbers
- UK-London-National – To UK landlines (including London landlines)
- UK-London-Service – To service numbers
- UK-London-International – To non-UK numbers
Voice routing policies
- Browse Voice > Voice routing policies
- Ensure 3 voice routing policies have been created:
- UK-London-Local – This policy includes the Internal, Local, Tollfree and Service routes
- UK-London-National – This policy additionally includes the Mobile and National routes
- UK-London-International – This policy additionally includes the International route