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:
- Explain the purpose and structure of a telecommunication numbering plan;
- Describe the ITU-T E.164 international numbering structure (CC + NDC + SN) and its 15-digit limit;
- Identify world numbering zones and interpret country codes (with emphasis on East Africa);
- Distinguish local, trunk (national) and international dialing procedures, including prefixes;
- Analyze the Kenyan national numbering plan for geographic, mobile and special service numbers;
- Explain digit analysis and prefix absorption in analog exchanges;
- Differentiate the E.164 MSISDN from the E.212 IMSI, and explain E.213 interworking;
- Describe numbering administration, number portability and number conservation measures.
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:
- Unique — no two subscribers in the same numbering scope share a number;
- Standardized — every network interprets the same digits the same way;
- Hierarchical — the leading digits progressively narrow down the destination, enabling step-by-step routing;
- Decoupled from location — a subscriber can move without the rest of the world needing to learn a new identity (within limits).
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
- Country Code (CC): 1 to 3 digits, assigned by the ITU to each country or integrated numbering plan (e.g. +254 for Kenya, +1 shared by the USA, Canada and many Caribbean states).
- National Destination Code (NDC): within the country, identifies the geographic area, mobile network or special service. In fixed networks it is the area code; in mobile networks it is the network prefix.
- Subscriber Number (SN): the individual line identity within the destination code.
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
| Country | Country Code | Zone |
| Kenya | +254 | 2 |
| Uganda | +256 | 2 |
| Tanzania | +255 | 2 |
| Rwanda | +250 | 2 |
| Burundi | +257 | 2 |
| Somalia | +252 | 2 |
| Ethiopia | +251 | 2 |
| South Sudan | +211 | 2 |
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
- Single code per country: most of the world, e.g. Kenya +254.
- Shared zone code: the North American Numbering Plan (NANP) shares +1 among ~25 countries; the second set of 3 digits (NPA/area code) separates them.
- Exceptional codes: +7 is shared by Russia and Kazakhstan; +800 is the international freephone code (Section 9), +870 is the global maritime satellite code.
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
- Trunk prefix (national access code): in Kenya a single 0, dialed before the area code for calls outside the local area. Other countries use different digits (e.g. France historically used 16, India uses 0).
- International Direct Dialing (IDD) prefix: 00 in most ITU countries. On mobile handsets the + symbol is used instead; the phone substitutes the correct IDD prefix of whichever network it is currently using — essential when roaming.
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
| Property | Closed (fixed-length) plan | Open (variable-length) plan |
| Number length | Same for all national numbers | Varies by area/service |
| Exchange behavior | Knows exactly when dialing is complete | Must analyze digits as they arrive ("digit-by-digit" or "en-bloc with analysis") |
| Number capacity | Limited by fixed length | Efficient; short codes for busy areas |
| Examples | Kenya (mobile 10 digits), France | United 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 / Region | National format | International format (E.164) |
| Nairobi | 020 2XXX XXXX | +254 20 2XXX XXXX |
| Mombasa | 041 XXX XXXX | +254 41 XXX XXXX |
| Kisumu | 057 XXX XXXX | +254 57 XXX XXXX |
| Nakuru | 051 XXX XXXX | +254 51 XXX XXXX |
| Eldoret | 054 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 range | Typical operator |
| 070x, 071x, 072x | Safaricom (historical allocations) |
| 073x, 078x | Airtel Kenya |
| 074x, 075x | Overlay ranges (multiple operators, incl. Safaricom, Airtel, JTL/Faiba) |
| 076x, 079x | Newer 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:
- Leading 0 → national trunk call: select a trunk route to the area identified by the next digits;
- Leading 00 → international call: select an international gateway route based on the country code;
- Leading 1 (in Kenya) → short code / service call handled internally;
- Otherwise → local call: route within the exchange or to a directly connected exchange.
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
| Property | MSISDN (E.164) | IMSI (E.212) |
| What it identifies | Subscriber as a dialable destination | Subscriber's SIM / subscription |
| Structure | CC + NDC + SN | MCC + MNC + MSIN |
| Visible to user? | Yes — it is the phone number | No — hidden; TMSI used on air |
| Changes when? | Can change with portability or new number | Fixed for the life of the SIM |
| Used for | Call routing from the outside world | Authentication, 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:
| Range | Service | Who pays / behavior |
| 999, 112 | Emergency (police, ambulance, fire) | Free; highest routing priority |
| 0800 XXX XXX | Toll-free (freephone) | Called party pays; free to caller |
| 0900 / 090X… | Premium-rate services | Caller pays above-normal rate |
| 1XX | Short 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 (International Telecommunication Union, Telecom sector): a UN specialised agency. It assigns country codes, maintains the E.164 plan, and publishes recommendations (E.164, E.212, E.213, E.123 on number presentation).
- National Regulatory Authority (NRA): manages the national plan and allocates blocks to operators. In Kenya this is the Communications Authority of Kenya (CA); other examples: FCC (USA), Ofcom (UK), CCK's predecessors.
- Operators: assign individual numbers within their allocated blocks and maintain their own internal translation tables.
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:
- SS7 (Signalling System No. 7): the global inter-exchange signaling network. Called and calling party numbers are carried as E.164 digits in the ISUP IAM (Initial Address Message). The same numbering plan, unchanged, controls routing between modern digital exchanges and international gateways.
- SIP (Session Initiation Protocol): in VoIP, the URI sip:+254722123456@operator.example embeds an E.164 number. ENUM (RFC 3761) maps E.164 numbers to DNS records, enabling calls between the PSTN and IP networks.
- Continuity with analog: the digit analysis your grandparents' Strowger exchange performed mechanically is today a database lookup in a softswitch — but the numbering rules (E.164 structure, prefixes, absorption) are exactly the same.
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.
Try also: 0205551234, 0800221000, +254205551234.
15. Summary and Key Takeaways
- A numbering plan assigns unique, hierarchical digit strings to subscribers; it exists at international (E.164), national and operator levels.
- An E.164 number is CC + NDC + SN, at most 15 digits, written with a leading "+".
- Country codes follow ITU world zones; East Africa occupies the +25x range (+254 Kenya).
- Dialing plans layer calls: local (SN), trunk (0 + NDC + SN), international (00/+ + CC + NDC + SN).
- The Kenyan plan assigns 07xx to mobile, 0xx area codes to fixed, 0800 toll-free, 0900 premium-rate, and 1xx short codes.
- In analog exchanges, digits physically drive selectors (Strowger) or are analyzed by registers and translation tables (crossbar); prefixes are absorbed by the originating exchange and never forwarded.
- Mobile networks use two identities: the MSISDN (E.164, dialable) and the IMSI (E.212, MCC+MNC+MSIN, internal). E.213 interworks them.
- Numbering is administered by the ITU-T (country codes) and national regulators (CA in Kenya); portability and overlays/pooling manage scarcity and competition.
16. Review Questions
- State the three fields of an E.164 number and the maximum total number of digits allowed.
- Write the international format of the Kenyan number 020 555 1234, and explain each conversion step.
- Distinguish between the trunk prefix and the IDD prefix, giving the Kenyan values.
- Explain what happens, stage by stage, when a Strowger subscriber dials a trunk call.
- What is prefix absorption, and why must the trunk prefix never reach the destination exchange?
- Compare the MSISDN and the IMSI. Which ITU-T recommendation defines each?
- Why does number portability force a database query during call setup?
- Giving two examples, explain how a national regulator extends numbering capacity without changing existing subscribers' numbers.
- Which organization assigns country codes, and which administers the numbering plan in Kenya?
- 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.