Skip to main content

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

  1. Browse UCDialPlans
  2. Sign in with your Microsoft ID

Execute script for your MS Teams tenant

  1. Logon to MS Teams through Powershell
    • Connect-MicrosoftTeams
  2. 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

  1. Browse Voice > Dial Plans
  2. Ensure UK-London has been generated and click on it
  3. You should see 7 normalization rules:
  • UK-London-Local
  • UK-Mobile
  • UK-Tollfree
  • UK-Premium
  • UK-National
  • UK-Service
  • UK-International

Voice routes

  1. Browse Voice > Direct Routing > Voice Routes
  2. 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

  1. Browse Voice > Voice routing policies
  2. 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