User avatar
By WelshPaul
Posts Signature Likes Avatar Topics
#4694
The UK telephone numbering plan is seemingly moderately complex and it's not entirely possible to make the perfect dial plan from. For example, you can have 10 and 11 digit 0800 numbers meaning that the 10 digit ones will have to wait on the timeout of the “Anything else” rule.

The below UK dialplan.xml file is tested and shown to work.
Code: Select all
<DIALTEMPLATE>
    <TEMPLATE MATCH="999" Timeout="0"/>             <!-- Emergency -->
    <TEMPLATE MATCH="112" Timeout="0"/>             <!-- Emergency -->
    <TEMPLATE MATCH="101" Timeout="0"/>             <!-- Almost an Emergency -->
    <TEMPLATE MATCH="111" Timeout="0"/>             <!-- NHS emergency and urgent care services -->
 
    <TEMPLATE MATCH="100" Timeout="0"/>             <!-- Operator -->
    <TEMPLATE MATCH="155" Timeout="0"/>             <!-- International Operator -->
    <TEMPLATE MATCH="123" Timeout="0"/>             <!-- Speaking Clock -->

    <TEMPLATE MATCH="1471" TIMEOUT="0"/>            <!-- Call Return -->
    <TEMPLATE MATCH="1571" Timeout="0"/>            <!-- Voicemail -->
    <TEMPLATE MATCH="1572" Timeout="0"/>            <!-- Group Voicemail -->
 
    <TEMPLATE MATCH="118..." Timeout="0"/>          <!-- Men with moustaches -->
    <TEMPLATE MATCH="116..." Timeout="0"/>          <!-- Pan-European Social Help -->
 
    <TEMPLATE MATCH="08001111" Timeout="0"/>        <!-- Childline -->
    <TEMPLATE MATCH="0845464." Timeout="0"/>        <!-- NHS Direct -->
    <TEMPLATE MATCH="0500......" Timeout="0"/>      <!-- Apparently 0500 is always 10 digits -->
 
    <!-- Uncomment if you care about this one. Worst case, you'll wait 5 seconds -->
    <!-- <TEMPLATE MATCH="016977...." Timeout="0"/>    --> <!-- Brampton, Carlisle. Also 10 digits -->
 
    <TEMPLATE MATCH="00*" Timeout="5"/>             <!-- International, 00 prefixed. No fixed length -->
    <TEMPLATE MATCH="0.........." Timeout="0"/>     <!-- UK 11 digit, 0 prefixed -->
    <TEMPLATE MATCH="1410.........." Timeout="0"/>  <!-- UK 11 digit, 141 prefixed -->
    <TEMPLATE MATCH="14700.........." Timeout="0"/> <!-- UK 11 digit, 1470 prefixed -->
 
    <TEMPLATE MATCH="\*.." Timeout="0"/>            <!-- Asterisk *.. codes -->
 
    <TEMPLATE MATCH="*" Timeout="5"/>               <!-- Anything else -->
</DIALTEMPLATE>
A full International Dial Plan for Great Britain can be found here.

Andrews & Arnold support clearly isn't as good as I…

Snom setup wizard

Hi all I am having issues with some new Snom D315 and …

R.I.P. Voipfone User Forum

On Monday 3rd August 2020 Voipfone officially retired t…

Hi @Elloe Please contact Voipfone Customer servic…

Sign up for VIP membership