Errors in Cisco UK Numbering Plan Documents
From aa-asterisk.org.uk wiki
If you're considering using Cisco's UK Numbering Plan documents to configure your kit, you need to take into consideration the various points listed below:
- Although the Cisco documents were created in 2005 and revised in 2006, they appear to be based on Oftel data from 2001 and 2002. At that time, Oftel's data had a number of errors and Cisco's documents contain many of those same errors.
- In 2003, many area codes were renamed by Oftel. Cisco's documents still refer to the pre-2003 names.
- Additionally, many other changes have been made by Ofcom to the UK number plan since 2003. Cisco's documents do not contain those changes, referring only to the older data.
The various corrections needed to bring the documents up to date, for 2011, are listed below.
United Kindom Numbering Plan for CallManager
Refer to Cisco Document ID 45704 which can be found at:
- www.cisco.com/en/US/products/sw/voicesw/ps556/products_tech_note09186a008028af3a.shtml
- www.cisco.com/image/gif/paws/45704/uk_numbering_plan.pdf
Introduction
- No changes noted in this section.
Prerequisites
Requirements
- No changes noted in this section.
Components Used
- No changes noted in this section.
Conventions
- No changes noted in this section.
Installation
- No changes noted in this section.
UKNP Activation
Introduction
- No changes noted in this section.
Route Filter for Basic Access
- No changes noted in this section.
Local Access
Item 1
There is an error in the following text:
In the UK, local subscriber numbers can be 5, 6, 7, or 8 digits long, which depends on the area code. The UKNP contains four route patterns that overlap, for local access.
The text should read as follows:
In the UK, local subscriber numbers can be 4, 5, 6, 7, or 8 digits long, which depends on the area code. The UKNP contains five route patterns that overlap, for local access.
Add "4,". Change "four" to "five".
Item 2
There is an item missing from the table:
| Number | Route Pattern |
|---|---|
| LOCAL-5-DIGIT | [2-9]XXXX |
| LOCAL-6-DIGIT | [2-9]XXXXX |
| LOCAL-7-DIGIT | [2-9]XXXXXX |
| LOCAL-8-DIGIT | [2-9]XXXXXXX |
Add the extra line at the beginning of the table as follows:
| Number | Route Pattern |
|---|---|
| LOCAL-4-DIGIT | [2-3]XXX |
| LOCAL-5-DIGIT | [2-9]XXXX |
| LOCAL-6-DIGIT | [2-9]XXXXX |
| LOCAL-7-DIGIT | [2-9]XXXXXX |
| LOCAL-8-DIGIT | [2-9]XXXXXXX |
Add the new text "LOCAL-4-DIGIT [2-3]XXX" to the beginning of the table.
Item 3
In the details after this text:
- For example, a gateway in a 2-digit area code with 8-digit subscribers has this filter:
there is an error in the example code:
(LOCAL-5-DIGIT DOES-NOT-EXIST AND LOCAL-6-DIGIT DOES-NOT-EXIST AND LOCAL-7-DIGIT DOES-NOT-EXIST)
The text should read as detailed below:
(LOCAL-4-DIGIT DOES-NOT-EXIST AND LOCAL-5-DIGIT DOES-NOT-EXIST AND LOCAL-6-DIGIT DOES-NOT-EXIST AND LOCAL-7-DIGIT DOES-NOT-EXIST)
Add "LOCAL-4-DIGIT DOES-NOT-EXIST AND" to the beginning of the example.
Partition Use
- No changes noted in this section.
National Toll Bypass
Introduction
- No changes noted in this section.
Extended National Toll Bypass
Item 4
There are two errors in the following text:
For example, calls from Reading (118) to Nettlebed (1491), Maidenhead (1628), Ascot (1276), Bracknell (1344), Aldershot (1252), Basingstoke (1256) and Newbury (1635) are charged at the local rate.
These two area codes changed name in 2003:
- 01491: Nettlebed changed name to Henley-on-Thames.
- 01276: Ascot changed name to Camberley.
The text should read as follows:
For example, calls from Reading (118) to Henley-on-Thames (1491), Maidenhead (1628), Camberley (1276), Bracknell (1344), Aldershot (1252), Basingstoke (1256) and Newbury (1635) are charged at the local rate.
Correct the names for these two area codes.
Item 5
The following text is incomplete:
The OR statements appear when you add a new Clause to the filter. See Appendix D - Five-digit Subscriber Numbers for lists of area codes with 5-digit subscribers.
The corrected text should read as follows:
The OR statements appear when you add a new Clause to the filter. See Appendix D - Five-digit Subscriber Numbers for lists of area codes with 5-digit subscribers and Appendix E - Four-digit Subscriber Numbers for lists of area codes with 4-digit subscribers.
Correct the text.
Number Blocking
- No changes noted in this section.
Interdigit Timeouts
- No changes noted in this section.
Troubleshoot
- No changes noted in this section.
Appendix A - UK PSTN Numbering Overview
Introduction
Item 6
The following text is incomplete:
The UK PSTN does not have a uniform structure like the NANP. Area codes can be 2, 3, 4, or 5 digits; subscriber numbers can be 5, 6, 7, or 8 digits; and service codes can be 3, 4, 5, or 6 digits. National numbers can be 10 or 11 digits (including the leading 0).
The corrected text should read as follows:
The UK PSTN does not have a uniform structure like the NANP. Area codes can be 2, 3, 4, or 5 digits; subscriber numbers can be 4, 5, 6, 7, or 8 digits; and service codes can be 3, 4, 5, or 6 digits. National numbers can be 10 or 11 digits (including the leading 0) and there are two 8 digit numbers (0800 1111 and 0845 4647).
Add "4,". Add wording about the two 0800 and 0845 special cases.
Item 7
In the following text:
- These are the rules for geographic numbers:
there are some minor changes to make towards the end of this list:
2-digit area codes have 8-digit subscribers. 3-digit area codes have 7-digit subscribers. 4-digit area codes have 6-digit subscribers. Some 4-digit area codes have both 5- and 6-digit subscribers. 5-digit area codes have 5-digit subscribers. Some 5-digit area codes overlap with 4-digit area codes.
The corrected text reads as follows:
2-digit area codes have 8-digit subscribers. 3-digit area codes have 7-digit subscribers. 4-digit area codes have 6-digit subscribers. Some 4-digit area codes have both 5- and 6-digit subscribers. 5-digit area codes have 5-digit subscribers. One 5-digit area code has both 4- and 5-digit subscribers. All 5-digit area codes overlap with 4-digit area codes.
The wording is changed in one rule and there is an additional rule.
Geographic Number Examples
Item 8
Two examples are missing from the table:
| Access | Area Code | Subscriber | Place |
|---|---|---|---|
| 0 | 16977 | XXXXX | Brampton 5-digit |
| 0 | 16977 | XXXX | Brampton 4-digit |
Add the above examples to the table.
The Brampton 016977 area code has both four-digit and five-digit subscriber numbers.
National Numbers
Item 9
These new number ranges are missing from the table:
| Access | SABC | Type | Length |
|---|---|---|---|
| 0 | 300/302/303/306/330/333/343/344/345/370/371/372 | UK wide | 11 |
Add this extra number range.
Item 10
The following table entry contains an error:
| Access | SABC | Type | Length |
|---|---|---|---|
| 0 | 55X/58X | Corporate | 11 |
The correction is as follows:
| Access | SABC | Type | Length |
|---|---|---|---|
| 0 | 55 | Corporate | 11 |
Correct the data for this number range.
Item 11
The following number ranges have changed since 2003:
| Access | SABC | Type | Length |
|---|---|---|---|
| 0 | 77X/78X/79X | Mobiles | 11 |
This entry should read as follows:
| Access | SABC | Type | Length |
|---|---|---|---|
| 0 | 71XX*/72XX*/73XX*/74XX/75XX/7624/77XX/78XX/79XX | Mobiles | 11 |
Add the new number ranges.
*Note: 71XX, 72XX and 73XX are not yet in service.
Item 12
The following number ranges have changed since 2003:
| Access | SABC | Type | Length |
|---|---|---|---|
| 0 | 844/845 | Local Rate | 11 |
This entry should read as follows:
| Access | SABC | Type | Length |
|---|---|---|---|
| 0 | 842/843/844 | Special Rate | 11 |
| 0 | 845 | Lower Special Rate | 11 |
Correct the data for this number range.
Item 13
The following number ranges have changed since 2003:
| Access | SABC | Type | Length |
|---|---|---|---|
| 0 | 870/871 | National Rate | 11 |
This entry should read as follows:
| Access | SABC | Type | Length |
|---|---|---|---|
| 0 | 870 | Higher Special Rate | 11 |
| 0 | 871/872/873 | Lower Premium Rate | 11 |
Correct the data for this number range.
Item 14
There is no such tariff as "local rate". This entry:
NHS Direct—08454647 (local rate)
should be reworded to something like:
NHS Direct—0845 4647 (Lower Special Rate)
Correct the wording.
Service Numbers
Item 15
This new number range is missing from the table:
| Service Codes | Services |
|---|---|
| 116XXX | National Helplines |
Add this extra number range.
Appendix B - Filter Categories
Table
Item 16
There is one example missing from the following data:
| Category | Numbers* | Example |
|---|---|---|
| AREA-CODE | 2, 3, 4, or 5 digits | 20, 161, 1208 |
This entry should read as follows:
| Category | Numbers* | Example |
|---|---|---|
| AREA-CODE | 2, 3, 4, or 5 digits | 20, 161, 1208, 15395 |
Add ", 15395" to the list.
Item 17
There is an error in the following data:
| Category | Numbers* | Example |
|---|---|---|
| SUBSCRIBER | 5, 6, 7, or 8 digits | - |
This entry should read as follows:
| Category | Numbers* | Example |
|---|---|---|
| SUBSCRIBER | 4, 5, 6, 7, or 8 digits | - |
Add "4," to the list.
Item 18
This new number range, allocated in 2009, is missing from the table:
| Category | Numbers* | Example |
|---|---|---|
| NATIONAL-HELPLINES | 6 digits | 116123 |
Add this extra number range.
Item 19
The following number ranges have changed since 2003:
| Category | Numbers* | Example |
|---|---|---|
| LOCAL-RATE-ACCESS | 844 or 845 | - |
| LOCAL-RATE-SUBSCRIBER | 7 digits | 7766554 |
| NATIONAL-RATE-ACCESS | 870 or 871 | - |
| NATIONAL-RATE-SUBSCRIBER | 7 digits | 1112223 |
The new allocations are as follows:
| Category | Numbers* | Example |
|---|---|---|
| LOCAL-RATE-ACCESS | 842, 843, 844 or 845 | - |
| LOCAL-RATE-SUBSCRIBER | 7 digits | 7766554 |
| NATIONAL-RATE-ACCESS | 870, 871, 872 or 873 | - |
| NATIONAL-RATE-SUBSCRIBER | 7 digits | 1112223 |
Add the additional number ranges.
Note: In the other Cisco UK Numbering Plan document, these are referred to as: LOCALRATE-ACCESS, LOCALRATE-SUBSCRIBER, NATIONALRATE-ACCESS and NATIONALRATE-SUBSCRIBER with only one hyphen.
Note: It is now illegal in the UK to use the terms "local rate" and "national rate" to describe these numbers in advertising as the price of calling them is higher than calling a normal geographic number.
Item 20
These new number ranges, allocated in 2008, are missing from the table:
| Category | Numbers* | Example |
|---|---|---|
| UK-WIDE-ACCESS | 30X, 33X, 34X, 37X | - |
| UK-WIDE-SUBSCRIBER | 7 digits | 222 3333 |
Add these new number ranges.
Item 21
The following number type is missing from the table:
| Category | Numbers* | Example |
|---|---|---|
| LOCAL-4-DIGIT | 4 digits | - |
Add this extra data to the table.
These four-digit subscriber numbers are used in the 016977 area code.
Tag Combinations
Item 22
The following tag combination is missing from the list:
LOCAL-4-DIGIT
Add this tag data.
Appendix C - Digit Discard Instructions
UKNP Specific
- No changes noted in this section.
General
- No changes noted in this section.
Appendix D - Five-digit Subscriber Numbers
5-digit Area Codes with 5-digit Subscribers
Item 23
The data for 5+5 format numbers is incomplete and some area codes are linked to the wrong place names:
| Location | Area Codes | ||
|---|---|---|---|
| Dumfries | 13873 | ||
| Hornby | 15242 | ||
| Kendal | 15394 | 15395 | 15396 |
| Wigton | 16973 | 16974 | |
| Penrith | 17683 | 17684 | 17687 |
| Gosforth | 19467 | ||
The corrected data is as follows:
| Location | Area Codes | ||
|---|---|---|---|
| Langholm | 13873 | ||
| Hornby-with-Farleton | 15242 | ||
| Hawkshead | 15394 | ||
| Grange-over-Sands | 15395 | ||
| Sedbergh | 15396 | ||
| Wigton | 16973 | ||
| Raughton Head | 16974 | ||
| Brampton | 16977 | ||
| Appleby-in-Westmorland | 17683 | ||
| Pooley Bridge | 17684 | ||
| Keswick | 17687 | ||
| Gosforth | 19467 | ||
Correct the data for these number ranges.
4-digit Area Codes with Mixed 5-digit and 6-digit Subscribers
Item 24
The following number ranges have changed since 2003 and should be DELETED from the table:
| Location | Area Codes | 5-digit Subscriber Number Ranges | |
|---|---|---|---|
| Forfar | 1307 | 8[2-4]XXX | DELETE THESE TWO ENTRIES |
| Kircudbright | 1557 | 50XXX | |
These area codes were upgraded to use only 6-digit subscriber numbers at least several years ago.
Item 25
The following number ranges were mis-classified by Ofcom for many years and should be DELETED from the table:
| Location | Area Codes | 5-digit Subscriber Number Ranges | |
|---|---|---|---|
| Wigton | 1697 | 7[23]XXX | DELETE THIS ENTRY |
This entry should show the 4-digit subscriber numbers found in the 016977 Brampton 5-digit area code.
This data therefore belongs in a different table and in a different format: e.g. "16977 [23]XXX". See Item 31.
Item 26
The following number ranges have changed since 2003:
| Location | Area Codes | 5-digit Subscriber Number Ranges | ||
|---|---|---|---|---|
| Buxton | 1298 | 2[2-7]XXX | 7[0-47-9]XXX | 8[3-5]XXX |
The correct data is as follows:
| Location | Area Codes | 5-digit Subscriber Number Ranges | ||
|---|---|---|---|---|
| Buxton | 1298 | 2[2-8]XXX | 7[0-47-9]XXX | 8[3-5]XXX |
The part "[2-7]" changes to "[2-8]".
Item 27
The following number ranges have changed since 2003:
| Location | Area Codes | 5-digit Subscriber Number Ranges | |
|---|---|---|---|
| Alton | 1420 | 2[23]XXX | 8[02-9]XXX |
The correct data is as follows:
| Location | Area Codes | 5-digit Subscriber Number Ranges | |
|---|---|---|---|
| Alton | 1420 | 2[23]XXX | 8XXXX |
The part "[02-9]" changes to "X".
Item 28
The following number ranges have changed since 2003:
| Location | Area Codes | 5-digit Subscriber Number Ranges | |
|---|---|---|---|
| St. Austell | 1726 | 6[13-7]XXX | 7[0-7]XXX |
The correct data is as follows:
| Location | Area Codes | 5-digit Subscriber Number Ranges | |
|---|---|---|---|
| St. Austell | 1726 | 6[13-9]XXX | 7[0-7]XXX |
The part "[13-7]" changes to "[13-9]".
Item 29
The following number range is missing from the table:
| Location | Area Code | 5-digit Subscriber Number Ranges |
|---|---|---|
| Penrith | 1768 | 88[2-46-8]XX |
The above number range needs to be added to the table.
Item 30
The following area codes changed name in 2003:
- 01276: Ascot changed name to Camberley.
- 01461: Annan changed name to Gretna.
- 01488: Great Shefford changed name to Hungerford.
- 01562: Stourbridge changed name to Kidderminster.
- 01744: Rainford changed name to St Helens.
- 01963: Templecombe changed name to Wincanton.
Correct the data for these number ranges.
Item 31
There's a spelling mistake in the table:
- 01557: Kircudbright should be Kirkcudbright.
Correct the spelling for this area.
Item 32
A new section is needed, listing the details of 4-digit subscriber numbers:
Appendix E - Four-digit Subscriber Numbers
5-digit Area Codes with Mixed 4-digit and 5-digit Subscribers
Item 33
Numbers beginning either 0169772 and 0169773 are in a 5-digit code area and have a 4-digit subscriber number.
A new table is needed as follows:
| Location | Area Code | 4-digit Subscriber Number Ranges |
|---|---|---|
| Brampton | 16977 | [23]XXX |
Add a new table to show the data for this number range.
- After notifying Cisco of the above errors in November 2011, the documents were fixed in January 2012.
Cisco Unified CallManager Dial Plans
Refer to Cisco Document OL-16445-01 (Chapter 4) which can be found at:
- www.cisco.com/en/US/docs/voice_ip_comm/cucm/idp/504_423/deploy/dpDlPlns.html
- www.cisco.com/en/US/docs/voice_ip_comm/cucm/idp/504_423/deploy/dpDlPlns.pdf
Introduction
Discard Digits Instructions
- No changes noted in this section.
Tag Descriptions
- No changes noted in this section.
Australian Numbering Plan
Discard Digits Instructions for AUNP
- No changes noted in this section.
Tag Descriptions for AUNP
- No changes noted in this section.
Belgium Numbering Plan
Discard Digits Instructions for BENP
- No changes noted in this section.
Tag Descriptions for BENP
- No changes noted in this section.
France Numbering Plan
Discard Digits Instructions for FRNP
- No changes noted in this section.
Tag Descriptions for FRNP
- No changes noted in this section.
Great Britain Numbering Plan
Discard Digits Instructions for GBNP
- No changes noted in this section.
Tag Descriptions for GBNP
The following errors are noted in Table 4-8 - Tag Descriptions for GBNP:
Item 34
| LOCALRATE-ACCESS | This tag specifies the three-digit access codes, 844 or 845, for national services that are charged at local rates. |
There are also 842 and 843 to consider.
Additionally these are not "local" rate. They are "special rate" or "business rate".
845 is a different type of number to the other 84X ranges.
Note: In the other Cisco UK Numbering Plan document, this is referred to as: LOCAL-RATE-ACCESS with two hyphens.
Item 35
| PAGING-SUBSCRIBER | This tag specifies the code that is used to dial pager numbers. |
This tag should be the subscriber part of the pager number. Pagers use 76 + eight digits.
Item 36
| CORPORATE-NUMBER | This tag specifies the 10-digit corporate numbers that begin with 55 and 58. |
No numbers begin with 58. Only 55 is in use.
Item 37
| FREEPHONE-NUMBER | This tag specifies the 9- or 10-digit freephone numbers that begin with 800, 808, and 500. |
800 numbers can have either 9 or 10 digits.
808 numbers always have 10 digits.
500 numbers always have 9 digits.
Item 38
| SUBSCRIBER | This tag specifies the five-, six-, seven-, or eight-digit subscriber numbers. |
Subscriber numbers are FOUR or five digits long in the 16977 area code.
Item 39
| LOCALRATE-SUBSCRIBER | This tag specifies the seven-digit local rate subscriber number. |
Note: In the other Cisco UK Numbering Plan document, this is referred to as: LOCAL-RATE-SUBSCRIBER with two hyphens.
Item 40
| PAGING-ACCESS | This tag specifies the four-digit paging service access code. 76XX represents this code. |
Pager numbers begin 76xx but do NOT begin 7624.
Item 41
| MOBILE-ACCESS | This tag specifies the four-digit mobile access codes, which are 77XX, 78XX, or 79XX. |
74XX, 75XX and 7624 are also in use. 7624 is used in the Isle of Man.
It is assumed that 73XX, 72XX and 71XX will also be used for mobile eventually.
Item 42
| NATIONALRATE-ACCESS | This tag specifies the three-digit national rate access code that begins with 870 or 871. |
There are also 872 and 873 to consider.
Additionally these are not "national" rate. They are "special rate" or "business rate".
870 is a different type of number to other 87X ranges.
87X numbers other than 870 are regulated under the same rules as 90X and 91X premium rate numbers.
Note: In the other Cisco UK Numbering Plan document, this is referred to as: NATIONAL-RATE-ACCESS with two hyphens.
Item 43
| NATIONALRATE-SUBSCRIBER | This tag specifies the six-digit national rate service number. |
The subscriber number here should be SEVEN digits long.
Note: In the other Cisco UK Numbering Plan document, this is referred to as: NATIONAL-RATE-SUBSCRIBER with two hyphens.
Item 44
| VOIP-NUMBER | This tag specifies the broadband voice over IP number. |
These numbers begin 56 and are ten digits long. Insert missing word over here.
Item 45
Missing tag:
| LOCAL-4-DIGIT | This tag specifies the four-digit local numbers. |
Four digit local numbers are used in the 16977 area code.
Item 46
Missing tag:
| NATIONAL-HELPLINES | This tag specifies the national helplines number. 116XXX represents this number. |
These new numbers came into service in 2009 or 2010.
Item 47
Missing tag:
| UK-WIDE-ACCESS | This tag specifies the three-digit access codes, 30X, 33X, 34X or 37X, for UK-WIDE non-geographic numbers charged at geographic rates. |
These new number ranges came into service around 2008 or so.
Item 48
Missing tag:
| UK-WIDE-SUBSCRIBER | This tag specifies the seven-digit UK-WIDE subscriber number. |
These new number ranges came into service around 2008 or so.
Greece Numbering Plan
Discard Digits Instructions for GRNP
- No changes noted in this section.
Tag Descriptions for GRNP
- No changes noted in this section.
Ireland Numbering Plan
Discard Digits Instructions for IENP
- No changes noted in this section.
Tag Descriptions for IENP
- No changes noted in this section.
Japanese Numbering Plan
Discard Digits Instructions for JPNP
- No changes noted in this section.
Tag Descriptions for JPNP
- No changes noted in this section.
Netherlands Numbering Plan
Discard Digits Instructions for NLNP
- No changes noted in this section.
Tag Descriptions for NLNP
- No changes noted in this section.
New Zealand Numbering Plan
Discard Digits Instructions for NZNP
- No changes noted in this section.
Tag Descriptions for NZNP
- No changes noted in this section.
Portuguese Numbering Plan
Discard Digits Instructions for PTNP
- No changes noted in this section.
Tag Descriptions for PTNP
- No changes noted in this section.
Russian Numbering Plan
Discard Digits Instructions for RUNP
- No changes noted in this section.
Tag Descriptions for RUNP
- No changes noted in this section.
Singapore Numbering Plan
Discard Digits Instructions for SGNP
- No changes noted in this section.
Tag Descriptions for SGNP
- No changes noted in this section.
- After notifying Cisco of the above errors in November 2011 and again in May 2012, the documents were fixed in September 2012. Refer to Cisco Document OL-16445-01 (Chapter 4) which can be found at:
- www.cisco.com/en/US/docs/voice_ip_comm/cucm/idp/901/deploy/dpDlPlns.html
- www.cisco.com/en/US/docs/voice_ip_comm/cucm/idp/901/deploy/dpDlPlns.pdf
Errors in Cisco GBNP files
There are major errors in Cisco GB number plan files, including the latest version 1.1.18, 2.1.18 and 3.1.18 released on 2012-Aug-28.
The files are detailed here:
- dp-ffr.1-1-18.GB.exe for Windows
- dp-ffr.1-1-18.GB.cop.sgn for Linux
- dp-ffr.2-1-18.GB.cop.sgn for Linux
- dp-ffr.3-1-18.GB.cop.sgn for Linux
The majority of the published data seems to be from some time back between 2003 and 2006, but with a substantial number of additional errors and inaccuracies and is certainly not up to date.
Errors in GBNP flat pattern file
Local numbers
Item 49
The local four digit numbers as used in the 016977 area code are missing from the file:
# [23]XXX P: [23]XXX LOCAL-4-DIGIT
Long Distance Calls
Item 50
# 0+2[03489]+[2-9]XXXXXXXP: 0 NATIONAL-ACCESSP: 2[03489] AREA-CODEP: [2-9]XXXXXXX SUBSCRIBER
Although the 020, 023, 024, 028 and 029 area codes are valid, none of them use subscriber numbers in the whole of the [2-9]XXXXXXX range. Each area code uses only a very small part of the available range.
Each 02X area code has one hundred million possible numbers.
Allocations for London are announced in blocks of 10 million numbers e.g. (020) 3, released in blocks of one millon numbers e.g. (020) 33, and allocated 10 000 at a time to individual operators e.g. (020) 3344.
Elsewhere, numbers in other 02X area codes are anounced and released in blocks of one million e.g. (023) 82, (024) 75, (029) 22 etc and allocated in blocks of 10 000 at a time, e.g. (023) 8255, (024) 7588, (029) 2244.
In the various area codes, only (020) 3, (020) 7, (020) 8, (023) 8, (023) 9, (024) 7 and (029) 2 are designated, along with most of the range available in (028) area code (except for (028) 5 it seems).
This suggests that 0+2[03489]+[2-9]XXXXXXX is far too wide a pattern to use.
# 0+20+[378]XXXXXXX P: 0 NATIONAL-ACCESS P: 20 AREA-CODE P: [378]XXXXXXX SUBSCRIBER # 0+23+[89]XXXXXXX P: 0 NATIONAL-ACCESS P: 23 AREA-CODE P: [89]XXXXXXX SUBSCRIBER # 0+24+7XXXXXXX P: 0 NATIONAL-ACCESS P: 24 AREA-CODE P: 7XXXXXXX SUBSCRIBER # 0+28+[2-46-9]XXXXXXX P: 0 NATIONAL-ACCESS P: 28 AREA-CODE P: [2-46-9]XXXXXXX SUBSCRIBER # 0+29+2XXXXXXX P: 0 NATIONAL-ACCESS P: 29 AREA-CODE P: 2XXXXXXX SUBSCRIBER
Item 51
# 0+1768[347]+[2-9]XXXX P: 0 NATIONAL-ACCESS P: 1768[347] 5DIGIT-SPECIALAREA-CODE P: [2-9]XXXX SUBSCRIBER T: N
The 017683, 017684 and 017687 area codes have been identified as "special" in the above rule. These are five digit area codes with five digit local numbers, i.e. 5+5 format. These area codes share their first four digits of the area code with the separate 01768 area code which uses both 4+6 and 4+5 numbering. These are mixed areas.
There's another nine area codes like this:
# 0+13873+[2-9]XXXX P: 0 NATIONAL-ACCESS P: 13873 5DIGIT-SPECIALAREA-CODE P: [2-9]XXXX SUBSCRIBER T: N # 0+15242+[2-9]XXXX P: 0 NATIONAL-ACCESS P: 15242 5DIGIT-SPECIALAREA-CODE P: [2-9]XXXX SUBSCRIBER T: N # 0+1539[456]+[2-9]XXXX P: 0 NATIONAL-ACCESS P: 1539[456] 5DIGIT-SPECIALAREA-CODE P: [2-9]XXXX SUBSCRIBER T: N # 0+1697[347]+[2-9]XXXX P: 0 NATIONAL-ACCESS P: 1697[347] 5DIGIT-SPECIALAREA-CODE P: [2-9]XXXX SUBSCRIBER T: N # 0+19467+[2-9]XXXX P: 0 NATIONAL-ACCESS P: 19467 5DIGIT-SPECIALAREA-CODE P: [2-9]XXXX SUBSCRIBER T: N
All of the above are 5+5 format numbers. All of these five digit area codes also share their first four digits with a separate four digit area code. These are mixed areas.
The 016977 area code also contains some four digit numbers:
# 0+16977+[23]XXX P: 0 NATIONAL-ACCESS P: 16977 5DIGIT-SPECIALAREA-CODE P: [23]XXX SUBSCRIBER T: N U: Y
Item 52
# 0+3[0347]+[2-9]XXXXXXXP: 0 NATIONAL-ACCESSP: 3[0347] AREA-CODEP: [2-9]XXXXXXX SUBSCRIBER
The above rule misses 0300, 0301, 0330, 0331, 0370, 0371 and others.
Additionally, these numbers are 03XX + 7 digits, not 03X + 8 digits:
# 0+3[0347]X+XXXXXXX P: 0 NATIONAL-ACCESS P: 3[0347]X AREA-CODE P: XXXXXXX SUBSCRIBER
These non-geographic numbers are charged the same as geographic rates and included in "inclusive" minutes.
There's another rule, further down the page that appears to be a duplicate for the 03XX ranges.
# 0+3XXXXXXXXXP: 0 NATIONAL-ACCESSP: 3XXXXXXXXX 03-NUMBERT: N
It should probably be amended to this:
# 0+3[0347]XXXXXXXX P: 0 NATIONAL-ACCESS P: 3[0347]XXXXXXXX 03-NUMBER T: N
International Calls
No errors noted in this section.
Services, Mobile & Non Geographic Calls
Item 53
# 0+8[02]XXXXXXXXP: 0 NATIONAL-ACCESSP: 8[02]XXXXXXXX FREEPHONE-NUMBERT: N
082 is not freephone. 082 is used for a completely different service, "schools internet" for which there's no really suitable tag.
Within 08, only 0800 and 0808 are freephone.
# 0+82XXXXXXXX P: 0 NATIONAL-ACCESS P: 82XXXXXXXX BROADBAND-SERVICE T: N # 0+80[08]XXXXXXX P: 0 NATIONAL-ACCESS P: 80[08]XXXXXXX FREEPHONE-NUMBER T: N
Additionally, 0800 also has some 6 digit numbers and 0500 always has 6 digits. Those are already correctly listed as shown:
# 0+500XXXXXX P: 0 NATIONAL-ACCESS P: 500XXXXXX FREEPHONE-NUMBER T: N # 0+800XXXXXX P: 0 NATIONAL-ACCESS P: 800XXXXXX FREEPHONE-NUMBER T: N
Item 54
# 0+7[1-5789]+XXXXXXXXP: 0 NATIONAL-ACCESSP: 7[1-5789] MOBILE-ACCESSP: XXXXXXXX MOBILE-SUBSCRIBERT: N
Mobile phone access is 07XXX + 6 digits, not 07X + 8 digits, and should not include 070XX or 076XX, except for the 07624 prefix which is used for mobile phones in the Isle of Man:
# 0+7[1-5789]XX+XXXXXX P: 0 NATIONAL-ACCESS P: 7[1-5789]XX MOBILE-ACCESS P: XXXXXX MOBILE-SUBSCRIBER T: N # 0+7624+XXXXXX P: 0 NATIONAL-ACCESS P: 7624 MOBILE-ACCESS P: XXXXXX MOBILE-SUBSCRIBER T: N
Item 55
# 0+84[3-5]+XXXXXXXP: 0 NATIONAL-ACCESSP: 84[3-5] LOCALRATE-ACCESSP: XXXXXXX LOCALRATE-SUBSCRIBERT: N
Numbers beginning 0842, 0843, 0844 are revenue sharing allocations, while 0845 does not allow revenue share. It's better to separate the allocations, as some users may want to block access to the former while allowing the latter.
# 0+84[2-4]+XXXXXXX P: 0 NATIONAL-ACCESS P: 84[2-4] LOCALRATE-ACCESS P: XXXXXXX LOCALRATE-SUBSCRIBER T: N # 0+845+XXXXXXX P: 0 NATIONAL-ACCESS P: 845 LOCALRATE-ACCESS P: XXXXXXX LOCALRATE-SUBSCRIBER T: N
Nowadays there is a problem with the naming of the above tags. Numbers in the 084X ranges are no longer charged at a "local rate".
Additionally, numbers in the 0870 and 0871 to 0873 ranges are no longer charged at a "national rate".
# 0+87[1-3]+XXXXXXX P: 0 NATIONAL-ACCESS P: 87[1-3] NATIONALRATE-ACCESS P: XXXXXXX NATIONALRATE-SUBSCRIBER T: N # 0+870+XXXXXXX P: 0 NATIONAL-ACCESS P: 870 LOCALRATE-ACCESS P: XXXXXXX LOCALRATE-SUBSCRIBER T: N
Numbers in the 0871 to 0873 ranges are regulated as premium rate services (as are 070 and 09XX numbers).
In the long term, it might be helpful to find new names for the various 084X and 087X number ranges.
Item 56
# 0+5[58]XXXXXXXXP: 0 NATIONAL-ACCESSP: 5[58]XXXXXXXX CORPORATE-NUMBERT: N
Corporate numbers use only 055 + 8 digits. The 058 prefix is not in use.
# 0+55XXXXXXXX P: 0 NATIONAL-ACCESS P: 55XXXXXXXX CORPORATE-NUMBER T: N
Item 57
# 0+9[2-9]XXXXXXXXP: 0 NATIONAL-ACCESSP: 9[2-9]XXXXXXXX BROADBAND-SERVICET: N
If you allow 098X to be a valid prefix for this service, then you allow access to premium rate adult chat lines even though these are already listed separately under 'premium rate numbers':
# 0+9[2-79]XXXXXXXX P: 0 NATIONAL-ACCESS P: 9[2-79]XXXXXXXX BROADBAND-SERVICE T: N
These broadband service allocations were in fact removed from the GB number plan by Ofcom in 2005. This entry could be deleted.
Item 58
# 0+84[3-5]+4647P: 0 NATIONAL-ACCESSP: 84[3-5] LOCALRATE-ACCESSP: 4647 LOCALRATE-SUBSCRIBERT: N
There's a special NHS helpline on 0845 4647. This allocation is within the 0845 464 range which is allocated as 0+7 format, i.e. 0845 464X. No such short number allocations exist in the 0843 or 0844 area codes.
# 0+845+464X P: 0 NATIONAL-ACCESS P: 845 LOCALRATE-ACCESS P: 464X LOCALRATE-SUBSCRIBER T: N
Nowadays there is a problem with the naming of this tag. Numbers in this range are no longer charged at a "local rate".
5 Digit AC + 5 digit Subs
Item 59
# 0+1697[34]+[2-9]XXXXP: 0 NATIONAL-ACCESSP: 1697[34] AREA-CODEP: [2-9]XXXX SUBSCRIBERT: N
There are three five digit area codes beginning 01697X. These are 016973, 016974 and 016977. One was previously missing from the file:
# 0+1697[347]+[2-9]XXXX P: 0 NATIONAL-ACCESS P: 1697[347] AREA-CODE P: [2-9]XXXX SUBSCRIBER T: N
Item 60
These five digit area codes with five digit numbers were missing from the file:
# 0+1768[347]+[2-9]XXXX P: 0 NATIONAL-ACCESS P: 1768[347] AREA-CODE P: [2-9]XXXX SUBSCRIBER T: N
There are twelve area codes with 5+5 format numbers. These three were missing from the file.
5 Digit AC + 4 digit Subs
Item 61
# 0+1697+7[23]XXXP: 0 NATIONAL-ACCESSP: 1697 AREA-CODEP: 7[23]XXX SUBSCRIBERU: Y
Ofcom's data incorrectly marked 0169772 and 0169773 as 4+4 for many years, i.e. 01697 72XX and 01697 73XX. Later these allocations were incorrectly marked as 4+5 for a while, i.e. 01697 72XXX and 01697 73XXX. Eventually in 2010 the data was corrected. These numbers are actually 5+4 format, i.e. 016977 2XXX and 016977 3XXX.
# 0+16977+[23]XXX P: 0 NATIONAL-ACCESS P: 16977 AREA-CODE P: [23]XXX SUBSCRIBER T: N U: Y
4 Digit AC + 5 digit Subs Part 1
Item 62
# 0+1298+2[2-7]XXXP: 0 NATIONAL-ACCESSP: 1298 AREA-CODEP: 2[2-7]XXX SUBSCRIBERU: Y
Numbers beginning 01298 28 are also 4+5 format with only 9 digits. Amend the 2[2-7] pattern to 2[2-8] here:
# 0+1298+2[2-8]XXX P: 0 NATIONAL-ACCESS P: 1298 AREA-CODE P: 2[2-8]XXX SUBSCRIBER U: Y
Item 63
01524 and 01827 were listed after 01364 and before 01384. This is not in numerical order.
As an obvious cut and paste error, they've been moved to the correct place in the new file.
4 Digit AC + 5 digit Subs Part 2
Item 64
# 0+1420+8[02-9]XXXP: 0 NATIONAL-ACCESSP: 1420 AREA-CODEP: 8[02-9]XXX SUBSCRIBERU: Y
Numbers beginning 01420 81 are also 4+5 format with only 9 digits. Amend the 8[02-9] pattern to 8X here:
# 0+1420+8XXXX P: 0 NATIONAL-ACCESS P: 1420 AREA-CODE P: 8XXXX SUBSCRIBER U: Y
4 Digit AC + 5 digit Subs Part 3
Item 65
This rule can be deleted:
# 0+1557+50XXXP: 0 NATIONAL-ACCESSP: 1557 AREA-CODEP: 50XXX SUBSCRIBERU: Y
According to Ofcom, this allocation changed from 4+5 to 4+6 before 2004 and can therefore be deleted from the file.
4 Digit AC + 5 digit Subs Part 4
Item 66
Add an addditional rule:
# 0+1768+88[234678]XX P: 0 NATIONAL-ACCESS P: 1768 AREA-CODE P: 88[234678]XX SUBSCRIBER U: Y
The 01768 area code is marked as 'Mixed 4+5/4+6' in Ofcom data. Only numbers beginning 882, 883, 884, 886, 887, 888 are 4+5 format.
Item 67
This rule can be deleted:
# 0+8720+XXXXXXP: 0 NATIONAL-ACCESSP: 8720 AREA-CODEP: XXXXXX SUBSCRIBERU: Y
0872 0XX XXXX numbers are already included within another rule that covers 087[1-3] XXX XXXX numbers. Additionally, these are premium rate (small 'p') numbers.
Item 68
There's other improvements that can be made in the premium rate services ranges beginning 09, but this would need at least one additional tag.
# 0+9[018]XXXXXXXXP: 0 NATIONAL-ACCESSP: 9[018]XXXXXXXX PREMIUM-RATE-NUMBERT: N
The patterns should be changed to something like this:
# 0+90[0-7]XXXXXXX P: 0 NATIONAL-ACCESS P: 90[0-7]XXXXXXX PREMIUM-RATE-NUMBER T: N # 0+90[89]XXXXXXX P: 0 NATIONAL-ACCESS P: 90[89]XXXXXXX PREMIUM-RATE-ADULT-SERVICES T: N # 0+91XXXXXXXX P: 0 NATIONAL-ACCESS P: 91XXXXXXXX PREMIUM-RATE-NUMBER T: N # 0+98XXXXXXXX P: 0 NATIONAL-ACCESS P: 98XXXXXXXX PREMIUM-RATE-ADULT-SERVICES T: N
Errors in other files
The same list of errors from above also applies to the files here
- cm-locale-english_united_kingdom_CP-8.6.3.10000-12.cop.sgn for Linux
- cm-locale-english_united_kingdom_CP-8.6.3.10000-13.cop.sgn for Linux
- cm-locale-english_united_kingdom_CP-8.6.3.10000-14.cop.sgn for Linux
Item 69
Additionally, these latter files contain some extra rules compared to the files detailed further back.
There's one extra rule for freephone numbers
# 0+800XXXXXX+# P: 0 NATIONAL-ACCESS P: 800XXXXXX FREEPHONE-NUMBER P: # END-OF-DIALING T: N U: Y
and five extra rules for service numbers
# 11600[06]+!+# P: 11600[06] SPECIAL-SERVICE P: ! SUBSCRIBER P: # END-OF-DIALING T: N U: Y # 11611[17]+!+# P: 11611[17] SPECIAL-SERVICE P: ! SUBSCRIBER P: # END-OF-DIALING T: N U: Y # 116123+!+# P: 116123 SPECIAL-SERVICE P: ! SUBSCRIBER P: # END-OF-DIALING T: N U: Y # 141+!+# P: 141 SPECIAL-SERVICE P: ! SUBSCRIBER P: # END-OF-DIALING T: N U: Y # 1800[1-9]+!+# P: 1800[1-9] SPECIAL-SERVICE P: ! SUBSCRIBER P: # END-OF-DIALING T: N U: Y
Why the difference?
Duplicate tags
Some number ranges were duplicated in the original file but with slightly different rules. As I am unsure how the software works internally, I didn't address this issue in any of the above comments. The only other decision that has to be made is which of the duplicates to use and which to delete.
Item 70
For numbers with a 5 digit area code and 5 digit subscriber numbers, use this?
# 0+13873+[2-9]XXXX P: 0 NATIONAL-ACCESS P: 13873 5DIGIT-SPECIALAREA-CODE P: [2-9]XXXX SUBSCRIBER T: N # 0+15242+[2-9]XXXX P: 0 NATIONAL-ACCESS P: 15242 5DIGIT-SPECIALAREA-CODE P: [2-9]XXXX SUBSCRIBER T: N # 0+1539[456]+[2-9]XXXX P: 0 NATIONAL-ACCESS P: 1539[456] 5DIGIT-SPECIALAREA-CODE P: [2-9]XXXX SUBSCRIBER T: N # 0+1697[347]+[2-9]XXXX P: 0 NATIONAL-ACCESS P: 1697[347] 5DIGIT-SPECIALAREA-CODE P: [2-9]XXXX SUBSCRIBER T: N # 0+1768[347]+[2-9]XXXX P: 0 NATIONAL-ACCESS P: 1768[347] 5DIGIT-SPECIALAREA-CODE P: [2-9]XXXX SUBSCRIBER T: N # 0+19467+[2-9]XXXX P: 0 NATIONAL-ACCESS P: 19467 5DIGIT-SPECIALAREA-CODE P: [2-9]XXXX SUBSCRIBER T: N
or this?
# 0+13873+[2-9]XXXX P: 0 NATIONAL-ACCESS P: 13873 AREA-CODE P: [2-9]XXXX SUBSCRIBER T: N # 0+15242+[2-9]XXXX P: 0 NATIONAL-ACCESS P: 15242 AREA-CODE P: [2-9]XXXX SUBSCRIBER T: N # 0+1539[456]+[2-9]XXXX P: 0 NATIONAL-ACCESS P: 1539[456] AREA-CODE P: [2-9]XXXX SUBSCRIBER T: N # 0+1697[347]+[2-9]XXXX P: 0 NATIONAL-ACCESS P: 1697[347] AREA-CODE P: [2-9]XXXX SUBSCRIBER T: N # 0+1768[347]+[2-9]XXXX P: 0 NATIONAL-ACCESS P: 1768[347] AREA-CODE P: [2-9]XXXX SUBSCRIBER T: N # 0+19467+[2-9]XXXX P: 0 NATIONAL-ACCESS P: 19467 AREA-CODE P: [2-9]XXXX SUBSCRIBER T: N
Item 71
For numbers with a 5 digit area code and 4 digit subscriber numbers, use this?
# 0+16977+[23]XXX P: 0 NATIONAL-ACCESS P: 16977 5DIGIT-SPECIALAREA-CODE P: [23]XXX SUBSCRIBER T: N U: Y
or this?
# 0+16977+[23]XXX P: 0 NATIONAL-ACCESS P: 16977 AREA-CODE P: [23]XXX SUBSCRIBER T: N U: Y
Item 72
For 03 numbers, use this?
# 0+3[0347]X+XXXXXXX P: 0 NATIONAL-ACCESS P: 3[0347]X AREA-CODE P: XXXXXXX SUBSCRIBER
or this?
# 0+3[0347]XXXXXXXX P: 0 NATIONAL-ACCESS P: 3[0347]XXXXXXXX 03-NUMBER T: N
There's further information in the Cisco support forum for IP telephony thread at: https://supportforums.cisco.com/thread/2171992.
