UK London Dial Plan on CME

Unanswered Question
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (8 ratings)
Loading.

Thanks for your post. It is helpful.


I am trying to use the following dialplan for calls from London area:


Emergency Call:


999

112


Local call:


020XXXXXXXX ---forward 11 digits


Longdistance calls


0[1-9]XXXXXXXXT forward 10 digits

0[1-9]XXXXXXXXX forward 11 digits


International to NorthAmerica


001[2-9]XX[2-9]XXXXXX forward 13 digits


Other international calls:

00T prefix 00


Can anyone point out if I am wrong?


Thanks,

JJ

paolo bevilacqua Sat, 12/01/2007 - 18:40
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    Founding Member

Hi,


proper dial-peer config is more an art that a science, fortunately is not that one has to got everything right for a normal working.


Points to note:

for emergency and other numbers then are matched in full, remember to put "no digit-strip¨ or "forward-digits-all"


Then the big decision is if you want to use a prexif digit to access outside lines, or not. I'm not 100% sure if that's possible for the UK as I havent looked in suffiecient detail.


Anyway, there are few improvements you can make here and there:


dial-peer voice 80 pots

description International excpet country code 1

destination-pattern 00[2-9]......T

prefix 00


etc...


Then there are few tricks that I'm not sure if are in any book, eg:


Prevent digit absorbing still matching exact numbers. That is, no need for "prefix"


destination-pattern 9[0][0][1][2-9][0-8].[2-9]......


That is for N.A. 1 using 9 as access digit with strict NANP check.


All really depends on how much control you want!


Thanks for the nice rating and good luck!



allan.thomas Sun, 12/02/2007 - 17:02
User Badges:
  • Blue, 1500 points or more

Depending on your calling restriction requirements or number granularity the following is a straight forward UK dialplan example:-


dial-peer cor custom

name Local

name Emergency

name National

name Freephone

name Mobile

name PremiumRate

name International

name DirectoryEnquiry

name Internal

!

!

dial-peer cor list EmergencyPT

member Emergency

!

dial-peer cor list NationalPT

member National

!

dial-peer cor list FreephonePT

member Freephone

!

dial-peer cor list MobilePT

member Mobile

!

dial-peer cor list DirectoryEnquiryPT

member DirectoryEnquiry

!

dial-peer cor list PremiumRatePT

member PremiumRate

!

dial-peer cor list InternationalPT

member International

!

dial-peer cor list LocalPT

member Local

!

dial-peer cor list InternalPT

member Internal


dial-peer voice 100 pots

corlist outgoing EmergencyPT

destination-pattern 9999

port x/y/z:15

forward-digits 3

!

!

dial-peer voice 101 pots

corlist outgoing EmergencyPT

translation-profile outgoing Outgoing

destination-pattern 9112

port x/y/z:15

forward-digits 3

!

dial-peer voice 102 pots

corlist outgoing InternationalPT

translation-profile outgoing Outgoing

destination-pattern 915.

port 0/2/0:15

prefix 1

!

dial-peer voice 103 pots

corlist outgoing LocalPT

translation-profile outgoing Outgoing

destination-pattern 9[2-9].....

port x/y/z:15

forward-digits 6

!

!

dial-peer voice 104 pots

corlist outgoing DirectoryEnquiryPT

translation-profile outgoing Outgoing

destination-pattern 9118...

port x/y/z:15

prefix 118

!

dial-peer voice 105 pots

corlist outgoing NationalPT

translation-profile outgoing Outgoing

destination-pattern 901T

port x/y/z:15

prefix 01

!

dial-peer voice 106 pots

corlist outgoing NationalPT

translation-profile outgoing Outgoing

destination-pattern 902.........

port 0/2/0:15

prefix 02

!

dial-peer voice 107 pots

corlist outgoing MobilePT

translation-profile outgoing Outgoing

destination-pattern 907[1-9]........

port 0/2/0:15

forward-digits 11

!

dial-peer voice 108 pots

corlist outgoing FreephonePT

translation-profile outgoing Outgoing

destination-pattern 908T

port x/y/z:15

prefix 08

!

dial-peer voice 109 pots

corlist outgoing FreephonePT

translation-profile outgoing Outgoing

destination-pattern 905T

port x/y/z:15

prefix 05

!

dial-peer voice 110 pots

corlist outgoing InternationalPT

translation-profile outgoing Outgoing

destination-pattern 900T

port x/y/z:15

prefix 00

!

dial-peer voice 111 pots

corlist outgoing PremiumRatePT

translation-profile outgoing Outgoing

destination-pattern 909T

port x/y/z:15

prefix 09

!

dial-peer voice 112 pots

corlist outgoing PremiumRatePT

translation-profile outgoing Outgoing

destination-pattern 9070T

port x/y/z:15

prefix 070


You can then simply create your dial-peer cor list restrictions and assign them to an ephone-dn, for example:-


dial-peer cor list CSS-Unrestricted

member Local

member Emergency

member National

member Freephone

member Mobile

member PremiumRate

member International

member DirectoryEnquiry

member Internal


ephone-dn 1 dual-line

number 1234

corlist incoming CSS-Unrestricted

corlist outgoing InternalPT


Hope this helps


Regards

Allan.

paolo bevilacqua Sun, 12/02/2007 - 17:30
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    Founding Member

In addition to the good info give by Allan, also note that for COR to work as desired, it is not necessary to pervasively configure corlist for each and any DP and ephone-dn.


This is due to two important properties of COR:


1st: if no corlist is present on the incoming or outgoing DP, there will be no restriction.


2nd: you can use "empty" corlist as well, again useful to reduce the configuration needed.


So, for example, when we want only block international calls from a certain phone:


dial-peer cor custom

name dummy


dial-peer cor list international-in

! note there are no members in this list


dial-peer cor list international-out

member dummy


dial-peer voice 110 pots

corlist outgoing international-out

! note country code cannot begin with 0, and at least some digits must be present

destination-pattern 900[1-9].....T

port x/y/z:15

prefix 00


ephone-dn 1 dual-line

corlist incoming international-in


Hope this helps, please rate post if it does!

Hi Allan,


Can you please let me know the dial-peer is for international calls?


dial-peer voice 102 pots

corlist outgoing InternationalPT

translation-profile outgoing Outgoing

destination-pattern 915.

port 0/2/0:15

prefix 1

!



Also from Paolo's pointed document, if calling from London where the CME sits, the local calls should also include the 11digit pattern of 9020XXXXXXXX, right? Calling from London, is there any 6 digit as a local call as your dial-peer 103?


Thanks,

JJ

allan.thomas Mon, 12/03/2007 - 08:28
User Badges:
  • Blue, 1500 points or more

Dial-Peer 113 is the International DP which matches the called number 900T.


Your local dialling will be dictated by which area you are within the UK, as there are 5,6,7 and 8 digit numbers, therefore you will need to revise the local DP (103) to forward the appropriate number of digits, you will have to adjust the destination-patter accordingly.


You may find that there are both 7 and 8 digit local dialing so you will need to configure the patter for eight digits. What you need to be aware of is that the interdigit timeout will come into effect if you are say dialling only 7 digits.


Regards

Allan.

g1smdvoip Fri, 12/02/2011 - 02:32
User Badges:
  • Silver, 250 points or more
Calling from London, is there any 6 digit as a local call as your dial-peer 103?

Within London, local numbers are always eight digits and begin 3, 7 or 8.


London NDO numbers begin 0 or 1.




Your  local dialling will be dictated by which area you are within the UK, as  there are 5, 6, 7 and 8 digit numbers...

Local numbers in the UK use 4, 5, 6, 7 or 8 digits.


Area codes use 2, 3, 4 or 5 digits.


Total number length can be 9 or 10 digits not including any 0 access code or +44 country code digits.




You may find that there are both 7 and 8 digit local dialing.

Nowhere in the UK has a mix of 7 and 8 digit local dialling.


One area code has a mix of 4 and 5 digit local dialling and forty area codes have a mix of 5 and 6 digit local dialling.


There's a detailed list over here:

http://www.aa-asterisk.org.uk/index.php/01_numbers#01_charge_groups_with_4_digit_area_code_and_5_digit_local_numbers_.284.2B5.29

Actions

This Discussion