100 %
User avatar
By @UKVoIPForums
Posts Likes Avatar Topics
#5903
Below is a simple UK dial plan I came up with for use with the Grandstream HT813 ATA.

IMPORTANT: The HT813 features a FXS and FXO port and is capable of making and receiving calls via a PSTN line and VoIP. This dial plan supports calls routed via both FXS and FXO ports and using it on another other Grandstream device might prevent calls to the emergency services being made. You've been warned!

Grandstream HT813 UK Dial Plan:
Code: Select all
{ L: 10[015] | L: 11[129] | L: 999 | L: 147[457-9] | L: 17070 | 155 | 11[68]xxx | 1[45]7[1-2] | 08001111 | 0845464x | 0[1235789]xxxxxxxxx | 1410[1235789]xxxxxxxxx | 14700[1235789]xxxxxxxxx | 00xxx. | x+ | \+x+ | *x+ | *xx*x+ }
The following numbers route via the PSTN line:
  • 100 - Operator
  • 101 - Non-emergency number for the police
  • 105 - Report a power cut
  • 111 - Non-emergency medical number
  • 112 - Emergency services
  • 119 - COVID-19 testing and vaccine helpline
  • 999 - Emergency services
  • 1474 - Return a call without hearing the last call ID announcement
  • 1475 - 1471 Erasure (1475) - Hiding the last number (Virgin Media)
  • 1477 - Tracing a call
  • 1478 - Set Anonymous Call Rejection (Virgin/Telewest Franchises)
  • 1479 - Cancel Anonymous Call Rejection (Virgin/Telewest Franchises)
  • 17070 - BT's line test facility
All other calls will route via your VoIP provider. However, If you want one of the above numbers to route via your VoIP provider instead of your PSTN line, read on...

There is no one case fits all scenario when it comes to dial plans. Some people want emergency calls routed via their VoIP provider and not their PSTN line. Whatever your reasons, if you want emergency calls placed over your VoIP provider, use the following dial plan.

Grandstream HT813 UK Dial Plan - Emergency services routed over VoIP:
Code: Select all
{ L: 10[015] | L: 11[19] | L: 147[457-9] | L: 17070 | 112 | 155 | 999 | 11[68]xxx | 1[45]7[1-2] | 08001111 | 0845464x | 0[1235789]xxxxxxxxx | 1410[1235789]xxxxxxxxx | 14700[1235789]xxxxxxxxx | 00xxx. | x+ | \+x+ | *x+ | *xx*x+ }
With this dial plan syntax, the following numbers route via the PSTN line:
  • 100 - Operator
  • 101 - Non-emergency number for the police
  • 105 - Report a power cut
  • 111 - Non-emergency medical number
  • 119 - COVID-19 testing and vaccine helpline
  • 1474 - Return a call without hearing the last call ID announcement
  • 1475 - 1471 Erasure (1475) - Hiding the last number (Virgin Media)
  • 1477 - Tracing a call
  • 1478 - Set Anonymous Call Rejection (Virgin/Telewest Franchises)
  • 1479 - Cancel Anonymous Call Rejection (Virgin/Telewest Franchises)
  • 17070 - BT's line test facility
All other calls will route via your VoIP provider.

EXAMPLE: Want calls to Non-emergency number for the police routed via VoIP? Find "L: 101" in the above dial plan and replace with "101".
VoipIT liked this
User avatar
By David N
Posts Avatar Topics
#6628
Thank-you extremely helpful.

What would I do if for some number patterns, I wanted to:
* send them out to the PSTN line,
* add a prefix to them

For example, if I wanted to send UK mobile numbers 07xxxxxxxxx to the PSTN and prefix the outgoing number with the indirect dial code 18185 [Yes, it still works depending on your telecom provider]

Hi Tony, I have just found that in the FAQ as well, se…

PSTN (analogue Phone line) to PBX

Hi, You/I need to think about FXO and FXS ports, see h…

Sip to PSTN lines gateway

Hi Dean, This product from Patton could be good for yo…

A Hook Flash is nothing more than hanging up and picki…

Sign up for VIP membership