Telecommunication Numbering

A Comprehensive Tutorial

ECE 462: Analog Communication Systems
Electrical & Communication Engineering Department, Egerton University

Table of Contents

  1. Introduction and Learning Objectives
  2. Why Numbering? The Purpose of a Numbering Plan
  3. The International Numbering Plan: ITU-T E.164
  4. World Numbering Zones and Country Codes
  5. Dialing Plans: Local, Trunk and International Calls
  6. National Numbering Plans: The Kenyan Example
  7. Numbering in Analog Exchanges: Digit Analysis and Prefix Absorption
  8. Mobile Network Numbering: MSISDN, IMSI and E.212/E.213
  9. Special Service and Short Code Numbers
  10. Administration of Numbering: ITU-T and National Regulators
  11. Number Portability
  12. Number Conservation: Overlays, Pooling and Migration
  13. Numbering in Modern Signalling Networks (SS7 and SIP)
  14. Interactive E.164 Number Parser (Calculator)
  15. Summary and Key Takeaways
  16. Review Questions

1. Introduction and Learning Objectives

Every telephone call, from the earliest analog Strowger exchange of the 1890s to today's mobile and VoIP networks, depends on one invisible infrastructure: the numbering plan. A numbering plan is the systematic assignment of unique digit strings to subscribers, services and networks so that any user can reach any other user, anywhere in the world, by dialing a standard sequence of digits.

In analog communication systems such as those studied in ECE 462, numbering is not merely an administrative convenience — it is tightly coupled to the operation of the exchange itself. The digits a caller dials directly control the electromechanical switches (uniselectors and group selectors) that physically build the voice path. Understanding numbering therefore completes your understanding of how an analog exchange routes a call.

Learning Objectives

After completing this tutorial, you should be able to:

2. Why Numbering? The Purpose of a Numbering Plan

A numbering plan answers a deceptively simple question: how does the network know which of millions of possible subscribers the caller wants? Human beings identify each other by names, but names are ambiguous, change over time, and cannot be recognized by switching equipment. Numbers solve this because they are:

Without an agreed numbering plan, each operator would assign numbers in its own way, and calls between networks would be impossible. The numbering plan is therefore as fundamental to telephony as the radio frequency spectrum plan is to wireless communication.

Key definition. A numbering plan is a set of rules governing the format, length, structure and assignment of numbers used to identify subscribers, services and networks within a defined scope (a country, or the whole world).

Numbering plans exist at three nested levels:

International plan
ITU-T E.164 — every number on Earth
▼ implemented by
National plan
administered by the national regulator
(e.g. Communications Authority of Kenya)
▼ implemented by
Operator / service plans
blocks allocated to Safaricom, Airtel, JTL,
toll-free providers, etc.
Figure 2.1 — The three nested levels of a numbering plan

3. The International Numbering Plan: ITU-T E.164

The cornerstone of global telephony is recommendation ITU-T E.164, "The international public telecommunication numbering plan." It specifies how a complete international telephone number is constructed and guarantees that every such number is globally unique.

3.1 Structure of an E.164 Number

+international prefix symbol
CCCountry Code
1 – 3 digits
NDCNational Destination Code
identifies area / network / service
SNSubscriber Number
identifies the individual line
Figure 3.1 — General structure of an international E.164 number
Key rule. An E.164 number contains at most 15 digits, counted after the "+". The "+" itself is a notation symbol, not a digit, and is replaced on mobile phones by the local international access code (Section 5).

3.2 The Kenyan Example

The Kenyan mobile number 0722 123 456 dialed nationally becomes +254 722 123 456 internationally:

+254CC — Kenya
722NDC — mobile prefix
(Safaricom 7xx range)
123 456SN — subscriber
Figure 3.2 — Breakdown of +254 722 123 456
Examination trap. When converting a national number to international format, remove the national trunk prefix (the "0" dialed first in Kenya) and replace it with the country code. The "0" is never carried in an E.164 number. Also note: no valid country code begins with 0.

4. World Numbering Zones and Country Codes

The ITU organizes the world into nine numbering zones, and the first digit of every country code identifies its zone. This is why country codes are not assigned in strict geographic order — they follow the zone structure.

Zone 1
+1 North America
(USA, Canada, Caribbean)
Zone 2
+2 Africa
(+20 Egypt, +211–+299)
Zones 3 & 4
+3x / +4x Europe
(+33 France, +44 UK, +49 Germany)
Zone 5
+5x South America
(+55 Brazil, +54 Argentina)
Zone 6
+6x South Pacific
(+61 Australia, +64 New Zealand)
Zones 7–9
Russia & Asia
(+7 Russia, +81 Japan, +86 China, +91 India)
Figure 4.1 — ITU world numbering zones (first digit of the country code)

4.1 Country Codes of the East African Region

CountryCountry CodeZone
Kenya+2542
Uganda+2562
Tanzania+2552
Rwanda+2502
Burundi+2572
Somalia+2522
Ethiopia+2512
South Sudan+2112
Memory aid. Notice the consecutive +25x codes: 2-52 Somalia, 2-53 Djibouti, 2-54 Kenya, 2-55 Tanzania, 2-56 Uganda — assigned roughly along the region's geography. Ethiopia (+251) and Rwanda (+250) complete the +25x family.

4.2 Types of Country Code Assignment

5. Dialing Plans: Local, Trunk and International Calls

A dialing plan defines exactly what a subscriber must dial to reach each class of destination. It builds the E.164 structure into an operational procedure with three levels, each reached by adding a prefix:

Local call
dial SN only
e.g. 5551234
→ National (trunk) call
dial trunk prefix 0 + NDC + SN
e.g. 020 5551234
→ International call
dial IDD prefix 00 (or +) + CC + NDC + SN
e.g. 00 254 20 5551234
Figure 5.1 — The three levels of a dialing plan and their prefixes

5.1 The Prefixes

Why prefixes? Prefixes act as "escape characters" for the exchange. The leading 0 or 00 tells the originating exchange to interpret the following digits as a national or international number and to route the call to a trunk instead of a local line. This is the entry point for digit analysis (Section 7).

5.2 Open versus Closed Numbering Plans

PropertyClosed (fixed-length) planOpen (variable-length) plan
Number lengthSame for all national numbersVaries by area/service
Exchange behaviorKnows exactly when dialing is completeMust analyze digits as they arrive ("digit-by-digit" or "en-bloc with analysis")
Number capacityLimited by fixed lengthEfficient; short codes for busy areas
ExamplesKenya (mobile 10 digits), FranceUnited Kingdom, Germany

In an analog exchange this distinction is physical: a Strowger switch pulses forward one digit at a time, so the exchange inherently "analyzes as it goes." Modern digital exchanges store the whole dialed string and analyze it after the caller finishes (en-bloc), or mid-dialling (overlap sending) for faster call setup.

6. National Numbering Plans: The Kenyan Example

Each country publishes its own national numbering plan. Kenya's plan, administered by the Communications Authority of Kenya (CA), is a good case study because it contains all the classic service categories within one system.

6.1 Service Categories in the Kenyan Plan

Kenyan National Numbering Plan (after trunk prefix 0)
▼   ▼   ▼   ▼   ▼
0x / 0xx
Geographic (fixed)
020 Nairobi, 041 Mombasa,
051 Nakuru, 054 Eldoret
07xx xxx xxx
Mobile cellular
070x–079x prefixes
by operator
0800 xxx xxx
Toll-free (freephone)
called party pays
0900 / 090x
Premium rate services
caller pays extra
1xx / 3xx
Short codes
& carrier selection
(e.g. 100, 999/112)
Figure 6.1 — Service categories of the Kenyan national numbering plan

6.2 Geographic (Fixed) Numbers

Geographic numbers begin (nationally) with a 0 followed by an area code indicating the town or region. The area code is the NDC of the E.164 structure:

Town / RegionNational formatInternational format (E.164)
Nairobi020 2XXX XXXX+254 20 2XXX XXXX
Mombasa041 XXX XXXX+254 41 XXX XXXX
Kisumu057 XXX XXXX+254 57 XXX XXXX
Nakuru051 XXX XXXX+254 51 XXX XXXX
Eldoret054 XXX XXXX+254 54 XXX XXXX
+254CC
20NDC = Nairobi area code
2XXX XXXXSN — local subscriber
Figure 6.2 — A Nairobi geographic number in E.164 form

6.3 Mobile Numbers

Kenyan mobile numbers are 10 digits after the trunk prefix, in the form 07XX XXX XXX. The "7" identifies the mobile service and the next two digits identify the operator's allocation:

Prefix rangeTypical operator
070x, 071x, 072xSafaricom (historical allocations)
073x, 078xAirtel Kenya
074x, 075xOverlay ranges (multiple operators, incl. Safaricom, Airtel, JTL/Faiba)
076x, 079xNewer allocations / overlays
Important: the mobile prefix is an E.164 national destination code for routing and charging. It is not the same as the Mobile Network Code (MNC) used inside the IMSI (Section 8) — a common exam confusion.

6.4 Converting National to International Format

National: 020 5551234 → Drop trunk "0"
add CC "+254"
→ E.164: +254205551234
Figure 6.3 — National-to-international conversion procedure

Step-by-step: (1) remove the leading trunk prefix 0; (2) prepend the country code with the + symbol; (3) write all digits contiguously (spaces are for human readability only and are ignored by networks).

7. Numbering in Analog Exchanges: Digit Analysis and Prefix Absorption

This section links numbering directly to ECE 462 analog switching. In an analog exchange (Strowger step-by-step, crossbar, or reed-electronic), the dialed digits are not just an address — they are the control commands that physically move switches to build the speech path.

7.1 Step-by-Step Switching (Strowger, 1891)

In the Strowger system, each digit pulses a switch: the first digit steps a selector up, the second rotates it to a bank contact, and so on through successive selector stages until the called line is reached. The digits are analyzed one at a time as they arrive — there is no memory of the whole number. This makes Strowger exchanges inherently compatible with open numbering plans.

Caller
telephone
dials 0-2-0-5-5-5-1-2-3-4
1st selector
(preselector)
responds to "0"
→ seize trunk route
2nd selector
"2" → group
towards Nairobi
3rd selector
"0" + "5" ...
progressive levels
Final selector
last digits
reach line 5551234
Called
telephone
rings
Figure 7.1 — Step-by-step routing: each digit drives one stage of selectors

7.2 Digit Analysis and Translation

In common-control exchanges (crossbar, and all digital exchanges), the dialed digits are first collected in a register. A digit analysis (or "number translation") function then compares the digit string against routing tables called translation tables:

7.3 Prefix Absorption

The originating exchange absorbs (consumes) the trunk or international prefix — it is not forwarded. Downstream exchanges receive only the significant routing digits:

Subscriber dials
0 20 5551234
→ Local exchange:
"0" absorbed;
"20" = Nairobi route
→ Trunk carries
20 5551234
(no leading 0)
→ Nairobi exchange:
"20" absorbed;
rings line 5551234
Figure 7.2 — Prefix absorption in a national trunk call
Why absorption matters: prefixes are instructions to the originating network, not part of the destination address. Absorbing them keeps downstream signaling short, unambiguous, and consistent with E.164 (which never contains a trunk or IDD prefix).

7.4 Call Charging and Metering

In analog systems the numbering analysis also drives the metering (billing) equipment: the same digit analysis that routes the call determines the charge band (local, trunk, international) and starts the appropriate charge meter or ticket. This is why numbering and tariffs are always designed together.

8. Mobile Network Numbering: MSISDN, IMSI and E.212/E.213

Mobile networks need two distinct subscriber identifiers, governed by two different ITU-T recommendations. Confusing them is one of the most common student errors.

8.1 The MSISDN — The Dialable Number (E.164)

The MSISDN (Mobile Station International Subscriber Directory Number) is what other people dial. It is a completely ordinary E.164 number: CC + NDC + SN. Example: +254 722 123 456.

8.2 The IMSI — The Internal Identity (E.212)

The IMSI (International Mobile Subscriber Identity, ITU-T E.212) uniquely identifies the subscriber's SIM inside the mobile network. It is never dialed and is normally kept confidential (a temporary TMSI is used on the radio path instead):

MCCMobile Country Code
3 digits
(Kenya = 639)
MNCMobile Network Code
2–3 digits
(e.g. Safaricom = 02)
MSINMobile Station
Identification Number
(up to 10 digits)
Figure 8.1 — IMSI structure per ITU-T E.212 (maximum 15 digits)

8.3 E.213 — Interworking Between the Two

Because the IMSI and MSISDN are different numbers, ITU-T E.213 defines how to interwork them: when a mobile-terminated call arrives addressed to an MSISDN, the network (via the HLR) translates it to the subscriber's IMSI, locates the subscriber, and pages the mobile. Roaming relies on this: the visited network reads the IMSI from the SIM (MCC+MNC identify the home operator) and contacts the home HLR/AuC for authentication.

Caller dials MSISDN
+254 722 123 456 (E.164)
→ GMSC queries HLR
E.213 translation:
MSISDN → IMSI
→ IMSI routed to
visited network
(E.212 identity)
→ Mobile paged
& call delivered
Figure 8.2 — MSISDN-to-IMSI translation in a mobile-terminated call

8.4 Side-by-Side Comparison

PropertyMSISDN (E.164)IMSI (E.212)
What it identifiesSubscriber as a dialable destinationSubscriber's SIM / subscription
StructureCC + NDC + SNMCC + MNC + MSIN
Visible to user?Yes — it is the phone numberNo — hidden; TMSI used on air
Changes when?Can change with portability or new numberFixed for the life of the SIM
Used forCall routing from the outside worldAuthentication, roaming, HLR lookup
Handset identifiers. Do not confuse subscriber numbers with equipment numbers: the IMEI identifies the physical handset (used for stolen-phone blocking), while the TMSI is a temporary alias for the IMSI assigned by the visited network for privacy.

9. Special Service and Short Code Numbers

Numbering plans reserve particular ranges for services that behave differently from ordinary subscriber lines. In Kenya these include:

RangeServiceWho pays / behavior
999, 112Emergency (police, ambulance, fire)Free; highest routing priority
0800 XXX XXXToll-free (freephone)Called party pays; free to caller
0900 / 090X…Premium-rate servicesCaller pays above-normal rate
1XXShort codes (customer care, balance check, etc.)Free or operator-defined
+800 XXXX…International freephone (UIFN)Single number reachable from many countries

Service numbers are allocated by the regulator in blocks, and the charging analysis in the exchange treats them as distinct call classes with special tariffs. In analog exchanges, short codes were often wired as direct translations to specific operators or recorded announcements.

10. Administration of Numbering: ITU-T and National Regulators

Numbering is a scarce public resource, so its administration is layered:

ITU-T
country codes, E.164 framework
▼
Communications Authority of Kenya
national plan, prefix allocation, type approval
▼
Licensed operators
Safaricom, Airtel, JTL, Telkom…
assign numbers to subscribers
Figure 10.1 — The numbering administration hierarchy in Kenya

Regulators also manage scarce codes (short codes, emergency numbers), enforce number portability, and plan for expansion (Section 12).

11. Number Portability

Number Portability allows a subscriber to keep the same number when switching operators (Mobile Number Portability, MNP) or, in some countries, when moving area (fixed NNP). It is a regulatory requirement intended to promote competition.

Portability breaks the assumption that a prefix identifies the serving network. If 0722 no longer guarantees Safaricom, every call must be checked against a central database:

Caller dials
0722 xxx xxx
→ Originating network queries
Central Number Portability
Database / MNP registry
→ Database returns the
current operator (route)
→ Call routed to the
subscriber's present network
Figure 11.1 — Call routing with mobile number portability
Technical consequence: portability adds a database query (and latency/cost) to almost every call setup, and it forces operators to maintain routing tables for ported ranges. This is one reason regulators require portability databases to be fast and reliable.

12. Number Conservation: Overlays, Pooling and Migration

With a fixed number of digits, the supply of numbers is finite. As subscriptions grew — especially with mobile telephony — numbering plans had to be extended without disrupting existing customers.

12.1 Overlays (Adding New Prefixes)

The simplest conservation measure: open new NDC ranges. Kenya has progressively introduced new mobile prefixes (074x, 075x, 076x, 079x) as the original 070x–073x ranges filled. Existing customers keep their numbers; new customers receive the new prefixes.

Kenya mobile prefixes (07x range)
▼   ▼   ▼   ▼   ▼
070x — original 071x — original 072x — Safaricom 073x / 074x — Airtel, overlays 079x — newest overlays
Figure 12.1 — Overlay prefixes extend capacity while preserving existing numbers

12.2 Number Pooling

Traditionally each operator held large blocks (e.g. 10,000 numbers) even if it used few of them. Number pooling allows blocks of 1,000 (or fewer) to be shared among operators, dramatically improving utilization.

12.3 Plan Migration

When overlays are exhausted, a country may migrate the whole plan to longer numbers (e.g. adding a digit). Migration is disruptive and expensive — it requires public information campaigns, simultaneous changes in all exchanges, and long overlap periods when both old and new formats work. Careful forecasting by the regulator aims to make migration a last resort.

13. Numbering in Modern Signalling Networks (SS7 and SIP)

Although ECE 462 focuses on analog systems, a complete picture requires knowing how numbering is carried today:

Analog era:
digits drive
electromechanical
selectors
→ Digital era:
digits analyzed by
stored-program
exchange
→ SS7 era:
E.164 carried in
ISUP signalling
→ IP era:
E.164 inside
SIP URIs & ENUM
Figure 13.1 — The numbering plan survives every technology generation

14. Interactive E.164 Number Parser (Calculator)

Use this tool to practice decomposing telephone numbers. Enter a number in national Kenyan format (starting with 0, e.g. 0205551234 or 0722123456) or in international format (starting with +254), and the tool shows its E.164 breakdown.

E.164 Number Breakdown Tool

Try also: 0205551234, 0800221000, +254205551234.

15. Summary and Key Takeaways

16. Review Questions

  1. State the three fields of an E.164 number and the maximum total number of digits allowed.
  2. Write the international format of the Kenyan number 020 555 1234, and explain each conversion step.
  3. Distinguish between the trunk prefix and the IDD prefix, giving the Kenyan values.
  4. Explain what happens, stage by stage, when a Strowger subscriber dials a trunk call.
  5. What is prefix absorption, and why must the trunk prefix never reach the destination exchange?
  6. Compare the MSISDN and the IMSI. Which ITU-T recommendation defines each?
  7. Why does number portability force a database query during call setup?
  8. Giving two examples, explain how a national regulator extends numbering capacity without changing existing subscribers' numbers.
  9. Which organization assigns country codes, and which administers the numbering plan in Kenya?
  10. Explain how an E.164 number is carried in (a) an SS7 ISUP message and (b) a SIP URI.

These questions map directly onto the companion 20-question quiz for this topic; attempt them before attempting the quiz.