Dial Plans

This article provides guidance for NHSmail Teams Phone System Administrators on how to configure Dial Plans for their organisation.

A Dial Plan is a named set of normalisation rules that translate dialled phone numbers into a standard E.164 number, for the purposes of call authorisation and call routing. A Dial Plan consists of one or more normalisation rules that define how phone numbers expressed in various formats are translated to an alternate format. The same dial string may be interpreted and translated differently in different Dial Plans, so depending on which Dial Plan is assigned to a given user, the same dialled number may be translated and routed differently.

Organisations who have chosen Calling Plans as their PSTN connection strategy are not required to create a custom Dial Plan. All Calling Plan users will use the default Dial Plan policy provided by Microsoft.

Organisations who have chosen Direct Routing as their PSTN connection strategy can create a customised Dial Plan as per their requirements of the normalisation rules. The org-level customised Dial Plan will be assigned to all users associated with that organisation. This is not required however and organisations using Direct Routing can also just use the default Microsoft Dial Plan, which is assigned to all users by default.

Important Note:

For Direct Routing, a maximum of 2 custom Dial Plans can be created per organisation. Each Dial Plan will have a maximum of 50 Normalisation Rules.

This article will outline:

Adding new Dial Plans

1. Log in to the Phone System Power App and select ‘Dial Plans (Direct Routing)’ from the Home screen.

 

 

2. Select the ODS code of the organisation you wish to add a Dial Plan for.

 

 

Important note: Please be aware of the following NHSmail Teams Phone System configuration permissions for Primary and Local Phone System Administrators.

If you are a Primary Teams Phone System Admin, you have the permissions to complete the following actions:

  • Add new policies for your organisation
  • Assign policies created for your organisation to any other organisations of which you are a Teams Phone System Admin
  • Edit policies for your organisation and any other organisations of which you are a Teams Phone System Admin
  • Delete policies for your organisation and any other organisations of which you are a Teams Phone System Admin

If you are a Local Teams Phone System Admin, you have the permissions to complete the following actions:

  • Add new policies for your organisation
  • Edit policies for your organisation
  • Delete policies for your organisation

For more information on the Primary and Local Teams Phone System Administrator Roles, please see this article.

3. To add a new Dial Plan, select the ‘+ Add’ option from the toolbar. You will be directed to the Add New Dial Plans screen.

 

 

Important Note: If this is the first time you are adding a Dial Plan for your organisation, the summary box will be empty. However, if you know that Dial Plans for your organisation have been added previously but are not showing please click the ‘Refresh’ button.

4. On the Add New Dial Plans screen, you will need to provide the following information and set parameters which suit your organisation’s requirements:

 

 

  • Name – Provide a name for the Dial Plan. There are no naming conventions which you need to follow for this, however all Dial Plans will be prefixed with your organisation’s ODS code once created
  • Description – Enter a description of the new Dial Plan such as what it will be used for
  • Dial Plan Details – Specify an external dialling prefix if users need to dial one or more additional leading digits (for example, 9) to get an external line. To do this, in the External dialling prefix box, enter an external dialling prefix. The prefix can be up to four characters (#,*, and 0-9).
  • Enable or disable Optimised Device Dialling – If you specify an external dialling prefix, you must also turn on this setting to apply the prefix so calls can be made outside your organisation.

Select ‘Submit’ when this has been completed to process your chosen settings for the Dial Plan.

5. You will be directed to a success screen confirming that your settings have been saved successfully.

 

 

Editing Dial Plans

1. From the Dial Plans landing screen, select the ODS code of the organisation you wish to edit the Dial Plan for.

 

 

2. Select the Dial Plan you wish to edit from the list in the summary box, then select the ‘View/Edit’ option from the toolbar.

 

 

3. The next screen will allow you to update the settings of the chosen Dial Plan, except for the name of the Dial Plan which cannot be changed.

Update the desired fields and then select ‘Submit’ to process the changes.

4. After submitting, you will be directed to a success screen confirming that the settings have been saved successfully.

 

 

Deleting Dial Plans

1. Select the ODS code of the organisation you wish to delete a Dial Plan for.

 

 

2. Select the Dial Plan you wish to delete from the list in the summary box and then select the ‘Delete’ option from the toolbar.

 

 

Important Note:

To successfully delete a Dial Plan, it will need to be unassigned from all currently assigned users. If the Dial Plan is assigned to a user, deletion will fail and you will see an error. For steps on how to successfully unassign a policy from a user, please see this article.

3. You will be prompted to confirm if you wish to ‘Delete’ this policy or if you wish to ‘Cancel’. To complete the deletion, select ‘Delete’.

 

 

4. A success screen will be shown informing you that the Dial Plan has been successfully deleted.

 

 

Normalisation Rules

Normalisation Rules determine how phone numbers expressed in various formats are to be translated. One or more Normalisation Rules must be assigned to the Dial Plan and these will be matched from top to bottom. This means that Microsoft will try to apply each normalisation rule you have created in the order in which you have added them. To save time, ensure you are adding normalisation rules in a priority order which suits your organisation’s needs (for example, Local > Premium > International).

For more information on Normalisation Rules, please visit Microsoft guidance here.

Important Note:

Teams traverses the list of normalization rules from the top down and uses the first rule that matches the dialed number. If you set up a dial plan so that a dialed number can match more than one normalization rule, make sure the more restrictive rules are sorted above the less restrictive ones.
If you set up a dial plan that normalizes a dialed number without a “+”, the calling service will attempt to normalize the number again using Tenant and regional dial plan rules. To avoid double normalization, it’s recommended that all normalization rules result in numbers starting with a “+”. Direct Routing customers can use trunk translation rules to remove the “+” if required.

Add Normalisation Rule

1. On the Dial Plans landing screen, select the ODS code relating to the Dial Plan you wish to add a normalisation rule for.

 

 

2. Select the required Dial Plan from the list in the summary box and then select the ‘Add/Edit Normalisation Rule’ option from the toolbar.

 

 

3. You will be directed to the Normalisation Rules screen, where you will be able to view the normalisation rules of the chosen Dial Plan if any have been added. Select ‘+Add’ from the toolbar to add a new normalisation rule.

 

4. You will be taken to the Add Normalisation Rule screen, where you will need to provide the following information:

 

 

  • Name
  • Description
  • Confirm the number dialled matches this regular expression
  • Translate the number based on this regular expression

For more information on creating normalisation rules and writing them as regular expressions, please see this Microsoft guidance.

Once you have completed these fields as per your requirements, select ‘Submit’ to proceed.

5. After submitting, you will be directed to a success screen confirming that your settings have been saved.

 

 

Edit Normalisation Rules

1. Navigate to the Normalisation Rules landing screen, select the normalisation rule you wish to edit and select the ‘Edit/View’ option from the toolbar.

 

 

2. You will be directed to the Edit Normalisation Rule screen where you will be able to update the settings of the chosen normalisation rule, except for the name which cannot be changed.

Update the settings as per your requirements and then select ‘Submit’ to process the changes.

3. You will see a success screen confirming that the new settings have been saved successfully.

 

 

Delete Normalisation Rules

1. Navigate to the Normalisation Rules landing screen, select the normalisation rule you wish to delete and select the ‘Delete’ option from the toolbar.

 

 

2. A pop-up will appear, prompting you to reconfirm deletion. Select ‘Delete’ to confirm.

 

 

3. Following successful deletion of the Normalisation Rule, it should have disappeared from the summary box on the Normalisation Rules screen.

 

Test Normalisation Rules

Phone System Admins can test how normalisation rules they have set up will translate phone numbers.

1. From the Dial Plans landing screen, select the Dial Plan and then select the ‘Add/Edit Normalisation Rule’ function from the toolbar.

 

 

2. Select the Normalisation Rule of the Dial Plan from the list, that you wish to test, and select the ‘Test‘ option from the toolbar.

 

 

3. Fields will appear at the bottom of the screen, allowing you to test the Normalisation Rule. Input a phone number into the top field and select ‘Test’.

The output of the test will be provided in the translated phone number field. This will show how the phone number will be translated, as per the selected normalisation rule.

Changing the order of Normalisation Rules

As normalisation rules are matched from top to bottom, the order in which they appear in a Dial Plan is important. For example, if a Dial Plan has 10 normalisation rules, the dialled number matching logic will be tried starting with the first normalisation rule, if there isn’t a match then the second, and so forth.

To change the order of normalisation rules within a Dial Plan, follow the steps below.

1. From the Dial Plans landing screen, select the Dial Plan you wish to edit the order of normalisation rules for, and then select the ‘Add/Edit Normalisation Rule’ function from the toolbar.

 

 

2. Select ‘Change Order’ from the toolbar on the Normalisation Rules screen.

 

 

3. A column will appear on the right-hand side of the screen, showing the existing order of the normalisation rules for the selected Dial Plan.

 

 

4. To change the order of the normalisation rules, select the normalisation rules to be adjusted, and then select the left ‘Add to order’ and right ‘Remove from order’ arrows, to update the order of the rules.

Selecting ‘Clear’ will remove all the Normalisation Rules from the order column.

 

5. Once you have updated the order as required, select ‘Submit’ to process the changes.

 

 

Important Note:

 The order of normalisation rules should include all the normalisation rules created for the Dial Plan. If the new order is missing any of the Dial Plan’s normalisation rules, those missing normalisation rules will be deleted from the Dial Plan.

6. A pop-up screen will appear, informing you that if any of the Dial Plan’s normalisation rules are missing from the revised order, they will be deleted. Select ‘Continue’ to confirm the normalisation rule order change.

 

7. Once you have submitted the changes, the Normalisation Rules screen should show the revised order.

Last Reviewed Date 09/08/2023
Updated on 09/08/2023

Related Articles

Need Support?
Can’t find the answer you’re looking for? Don’t worry we’re here to help!
Contact Support
back to top