Number format

From aa-asterisk.org.uk wiki

Jump to: navigation, search
See Sabc.txt for the UK area code list.

UK telephone numbers use various formats and have a variety of different lengths.

The valid formats and allocations are specified by Ofcom in their codelist.zip file. In the s1_code.txt file they are specified in X+Y format where X is the number of digits in the area code or NDC and Y is the number of digits in the subscriber number.

For geographic numbers the valid formats are 2+8, 3+7, 4+6, 4+5, 5+5 and 5+4 (and 0+10 for NDO numbers).

For all subscriber numbers beginning 2 to 9 within all 01 and 02 area codes the area code is optional to dial when calling from within the same area. In those cases it is common to include the area code in parentheses.

Subscriber numbers beginning 0 or 1 in all 01 and 02 area codes are known as NDO or National Dialling Only numbers. These are always recorded as using 0+10 format but are usually written with a space between the area code and the subscriber number. These numbers are not supposed to be advertised for direct dialling. When the number is dialled the area code must always be included, even when called from another number within the same area code.

For non-geographic numbers the valid formats are 0+10, 0+9 and 0+7. However, for whatever reason known only to Ofcom, they use 10 Digit Numbers in the s5 and s7 files; a mixture of 10 Digit Numbers, 10 digit numbers, 9 Digit Numbers, 9 digit numbers, 7 Digit Number and 7 digit numbers in the s8 file; and a mixture of 10 Digit Number, 10 Digit Numbering and 10 digit numbers in the s9 file.

The sabc.txt file (also found inside codelist.zip) lists the UK geographic area codes. The official list has many errors, most of which also appear in the National Telephone Numbering Plan document.

Contents

7 digit NSNs

9 digit NSNs

10 digit NSNs

Caveats

01xxx and 01xxxx numbers can have NSN length of 9 or 10 digits. More detailed information can also be found on the 01 numbers page.

0500 numbers always have NSN length of 9 digits.

0800 numbers can have NSN length of 7, 9 or 10 digits.

0845 numbers can have NSN length of 7 or 10 digits.

See also

Personal tools