A telephone numbering plan is a type of numbering scheme used in telecommunication to assign telephone numbers to subscriber telephones or other telephony endpoints. Telephone numbers are the addresses of participants in a telephone network, reachable by a system of destination code routing. Telephone numbering plans are defined in each of administrative regions of the public switched telephone network (PSTN) and they are also present in private telephone networks. For public number systems, geographic location plays a role in the sequence of numbers assigned to each telephone subscriber.
Numbering plans may follow a variety of design strategies which have often arisen from the historical evolution of individual telephone networks and local requirements. A broad division is commonly recognized, distinguishing open numbering plans and closed numbering plans.[discuss] Many numbering plans subdivide their territory of service into geographic regions designated by a prefix, often called an area code or city code, which is a set of digits forming the most-significant part of the dialing sequence to reach a telephone subscriber.
The International Telecommunication Union (ITU) has established a comprehensive numbering plan, designated E.164, for uniform interoperability of the networks of its member state or regional administrations. It is an open numbering plan, however, imposing a maximum length of 15 digits to telephone numbers. The standard defines a country calling code (country code) for each state or region which is prefixed to each national numbering plan telephone number for international destination routing.
Private numbering plans exist in telephone networks that are privately operated in an enterprise or organizational campus. Such systems may be supported by a private branch exchange (PBX), which provides a central access point to the PSTN and also controls internal calls between between telephone extensions.
In contrast to numbering plans, which determine telephone numbers assigned to subscriber stations, dialing plans establish the customer dialing procedures, i.e. the sequence of digits required to reach a destination. Even in closed numbering plans, it is not always necessary to dial all digits of a number. For example, an area code may often be omitted when the destination is in the same area as the calling station.
Most national telephone administrations issue telephone numbers that conform to the E.164 numbering plan. E.164 conformant telephone numbers consist of a country calling code and a national telephone number. National telephone numbers are defined by national or regional numbering plans, such as the European Telephony Numbering Space, the North American Numbering Plan (NANP), or the UK number plan.
Numbering plans also decide on the routing of Signaling System 7 (SS7) signaling messages as part of the Global Title. In public land mobile networks, the E.212 numbering plan is used for subscriber identities, e.g., stored in the GSM SIM, while E.214 is used for routing database queries across PSTN networks. In general, the structure of telephone numbers issued within a national telephone numbering plan follows both the international formats and the national standards. Within the international system administered by the ITU, each national plan has a unique country code.
Within the national numbering plan, a complete destination telephone number is composed of an area code and a subscriber telephone number. The subscriber number is the number assigned to a line connected to customer equipment. It must be dialed in its entirety. The first few digits of the subscriber number typically indicate smaller geographical areas or individual telephone exchanges. In mobile networks they may indicate the network provider. Callers in a given area or country usually do not need to include the particular area prefixes when dialing within the same area. Devices that dial telephone numbers automatically may include the full number with area and access codes.
Country codes are necessary only when dialing telephone numbers in other countries than the originating telephone. These are dialed before the national telephone number. By convention, international telephone numbers are indicated by prefixing the country code with a plus sign (+), which is meant to indicate that the subscriber must dial the international dialing prefix in the country from which the call is placed. For example, the international dialing prefix or access code in all NANP countries is 011, while it is 00 in most European countries. On GSM networks, + is an actual keypad code that may be recognized automatically by the network carrier in place of the international access code.
Many telephone numbering plans are structured based on divisions into geographic areas of the service territory. Each area identified in the plan is assigned a numeric routing code. This concept was first developed for Operator Toll Dialing of the Bell System in the early 1940s, which preceded the North American Numbering Plan of 1947. The North American Numbering Plan (NANP) divided the North American service territories into numbering plan areas (NPAs), and assigned to each NPA a unique numerical prefix, the numbering plan area code, which became known in short-form as area code. The area code is prefixed to each telephone number issued in its service area.
National telecommunication authorities use various formats and dialing rules for area codes. The size of area code prefixes may either be fixed or variable. Area codes in the NANP have three digits, while two digits are used in Brazil, one digit in Australia and New Zealand. Variable-length formats exist in multiple countries including: Argentina, Austria (1 to 4), Germany (2 to 5 digits), Japan (1 to 5), Mexico (2 or 3 digits), Peru (1 or 2), Syria (1 or 2) and United Kingdom. In addition to digit count, the format may be restricted to certain digit patterns. For example, the NANP had at times specific restrictions on the range of digits for the three positions, and required assignment to geographical areas avoiding nearby areas receiving similar area codes to avoid confusion and misdialing.
Some countries, such as Uruguay, have merged variable-length area codes and telephone numbers into fixed-length numbers that must always be dialed independently of location. In such administrations, the area code is not distinguished formally in the telephone number.
In the UK, area codes were first known as subscriber trunk dialling (STD) codes. Depending on local dialing plans, they are often necessary only when dialed from outside the code area or from mobile phones. In North America ten-digit dialing is required in areas with overlay plans.
When dialing a telephone number, the area code may be preceded by a trunk prefix (national access code), the international access code and country code.
Area codes are often quoted by including the national access code. For example, a number in London may be listed as 020 7946 0321. Users must correctly interpret 020 as the code for London. If they call from another station within London, they may merely dial 7946 0321, or if dialing from another country, the initial 0 should be omitted after the country code.
A dial plan establishes the expected sequence of digits dialed on subscriber premises equipment, such as telephones, in private branch exchange (PBX) systems, or in other telephone switches to effect access to the telephone networks for the routing of telephone calls, or to effect or activate specific service features by the local telephone company, such as 311 or 411 service.
A variety of dial plans may exist within a numbering plan and these often depend on the network architecture of the local telephone operating company.
Within the North American Numbering Plan, the administration defines standard and permissive dialing plans, specifying the number of mandatory digits to be dialed for local calls within the area code, as well as alternate, optional sequences, such as adding the trunk code 1 before the telephone number.
Despite a closed numbering plan, different dialing procedures exist in many of the territories for local and long distance telephone calls. This means that to call another number within the same city or area, callers need to dial only a subset of the full telephone number. For example, in the NANP, only the 7-digit number may need to be dialed, but for calls outside the area, the full number including the area code is required. In these situations, the ITU-T Recommendation E.123 suggests to list the area code in parentheses, signifying that in some cases the area code is optional or is not required. Typically the area code is prefixed by a domestic trunk access code (usually 0) when dialing from inside a country, but is not necessary when calling from other countries; there are exceptions, such as for Italian land lines.
To call a number in Sydney, Australia, for example:
The plus character (+) in the markup signifies that the following digits are the country code, in this case 61. Some phones, especially mobile telephones, allow the + to be entered directly. For other devices the user must replace the + with the international access code for their current location.
New Zealand has a special-case dial plan. While most nations require the area code to be dialed only if it is different, in New Zealand, one needs to dial the area code if the phone is outside the local calling area. For example, the town of Waikouaiti is in the Dunedin City Council jurisdiction, and has phone numbers (03) 465 7xxx. To call the city council in central Dunedin (03) 477 4000, residents must dial the number in full including the area code even though the area code is the same, as Waikouaiti and Dunedin lie in different local calling areas (Palmerston and Dunedin, respectively.)
In the United States, Canada, and other countries or territories using the North American Numbering Plan (NANP), the international trunk access code is 1, which is also the country calling code. The same rule also applies in many parts of the NANP, including all areas of Canada that still have variable-length dial plan. This is not universal, as there are locations within the United States that allow long distance calls within the same area code to be dialed as seven digits. In Canada, the domestic trunk code (long distance access code) must also be dialed along with the area code for long distance calls even within the same area code. For example, to call a number in Regina in area code 306 (Regina and the rest of the province of Saskatchewan are also served by the overlay code 639):
However, in many parts of North America, especially where a new area code overlays an older area code, dialing the area code, or 1 and the area code, is required even for local calls. Dialing from mobile phones is different in the U.S., as the trunk code is not necessary, although it is still necessary for calling all long distance numbers from a mobile phone in Canada. Most mobile phones can be configured to automatically add a frequently called area code as a prefix, allowing calls within the desired area to be dialed by the user as seven-digit numbers, though sent by the phone as 10-digit numbers.
In some parts of the United States, especially northeastern states such as Pennsylvania served by Verizon Communications, the full 10-digit number must be dialed. If the call is not local, the call will fail unless the dialed number is preceded by digit 1. Thus:
In California and New York, because of the existence of both overlay area codes (where an area code must be dialed for every call) and non-overlay area codes (where an area code is dialed only for calls outside the subscriber's home area code), "permissive home area code dialing" of 1 + the area code within the same area code, even if no area code is required, has been permitted since the mid-2000s. For example, in the 559 area code (a non-overlay area code), calls may be dialed as 7 digits (XXX-XXXX) or 1-559 + 7 digits. The manner in which a call is dialed does not affect the billing of the call. This "permissive home area code dialing" helps maintain uniformity and eliminates confusion given the different types of area code relief that has made California the nation's most "area code" intensive State. Unlike other states with overlay area codes (Texas, Maryland, Florida and Pennsylvania and others), the California Public Utilities Commission and the New York State Public Service Commission maintain two different dial plans: Landlines must dial 1 + area code whenever an Area Code is part of the dialed digits while cellphone users can omit the "1" and just dial 10 digits.
Many organizations have private branch exchange systems which permit dialing the access digit(s) for an outside line (usually 9 or 8), a "1" and finally the local area code and xxx xxxx in areas without overlays. This aspect is unintentionally helpful for employees who reside in one area code and work in an area code with one, two, or three adjacent area codes. 1+ dialing to any area code by an employee can be done quickly, with all exceptions processed by the private branch exchange and passed onto the public switched telephone network.
In small countries or areas, the full telephone number is used for all calls, even in the same area. This has traditionally been the case in small countries and territories where area codes have not been required. However, there has been a trend in many countries towards making all numbers a standard length, and incorporating the area code into the subscriber's number. This usually makes the use of a trunk code obsolete. For example, to call Oslo in Norway before 1992, it was necessary to dial:
After 1992, this changed to a closed eight-digit numbering plan, e.g.:
Therefore, in other countries, such as France, Belgium, Japan, Switzerland, South Africa and some parts of North America, the trunk code is retained for domestic calls, whether local or national, e.g.,
while some, like Italy, require the initial zero to be dialed, even for calls from outside the country, e.g.,
While dialing of full national numbers takes longer than a local number without the area code, the increased use of phones that can store numbers means that this is of decreasing importance. It also makes it easier to display numbers in the international format, as no trunk code is required--hence a number in Prague, Czech Republic, can now be displayed as:
as opposed to before September 21, 2002:
Some countries already switched, but trunk prefix re-added with the closed dialing plan, for example in Bangkok, Thailand before 1997:
has been switched in 1997:
Trunk prefix has re-added in 2001
The E.164 standard of the International Telecommunications Union is an international numbering plan and establishes a country calling code (country code) for each member organization. Country codes are prefixes to national telephone numbers that denote call routing to the network of a subordinate number plan administration, typically a country, or group of countries with a uniform numbering plan, such as the NANP. E.164 permits a maximum length of 15 digits for the complete international phone number consisting of the country code, the national routing code (area code), and the subscriber number. E.164 does not define regional numbering plans, however, it does provide recommendations for new implementations and uniform representation of all telephone numbers.
Within the system of country calling codes, the ITU has defined certain prefixes for special services and assigns such codes for independent international networks, such as satellite systems, spanning beyond the scope of regional authorities.
Satellite phones are usually issued with numbers with a special country calling code. For example, Inmarsat satellite phones are issued with code +870, while Global Mobile Satellite System providers, such as Iridium, issue numbers in country code +881 ("Global Mobile Satellite System") or +882 ("International Networks"). Some satellite phones are issued with ordinary phone numbers, such as Globalstar satellite phones issued with NANP telephone numbers.
Some country calling codes are issued for special services, or for international/inter regional zones.
The numbering plan indicator (NPI) is a number which is defined in the ITU standard Q.713, paragraph 188.8.131.52.3, indicating the numbering plan of the attached telephone number. NPIs can be found in Signalling Connection Control Part (SCCP) and short message service (SMS) messages. As of 2004 , the following numbering plans and their respective numbering plan indicator values have been defined:
|5||maritime mobile||E.210 and E.211|
Like a public telecommunications network, a private telephone network in an enterprise or within an organizational campus may implement a private numbering plan for the installed base of telephones for internal communication. Such networks operate a private switching system or a private branch exchange (PBX) within the network. The internal numbers assigned are often called extension numbers, as the internal numbering plan extends an official, published main access number for the entire network. A caller from within the network only dials the extension number assigned to another internal destination telephone.
A private numbering plan provides the convenience of mapping station telephone numbers to other commonly used numbering schemes in an enterprise. For example, station numbers may be assigned as the room number of a hotel or hospital. Station numbers may also be strategically mapped to certain keywords composed from the letters on the telephone dial, such as 4357 (help) to reach a help desk.
The internal number assignments may be independent of any direct inward dialing (DID) services provided by external telecommunication vendors. For numbers without DID access, the internal switch relays externally originated calls via an operator, an automated attendant or an electronic interactive voice response system. Telephone numbers for users within such systems are often published by suffixing the official telephone number with the extension number, e.g., 1-800-555-0001 x2055.
Some systems may automatically map a large block of DID numbers (differing only in a trailing sequence of digits) to a corresponding block of individual internal stations, allowing each of them to be reached directly from the public switched telephone network. In some of these cases, a special shorter dial-in number can be used to reach an operator who can be asked for general information, e.g. help looking up or connecting to internal numbers. For example, individual extensions at Universität des Saarlandes can be dialed directly from outside via their four-digit internal extension +49-681-302-xxxx, whereas the university's official main number is +49-681-302-0 (49 is the country code for Germany, 681 is the area code for Saarbrücken, 302 the prefix for the university).
Callers within a private numbering plan often dial a trunk prefix to reach a national or international destination (outside line) or to access a leased line (or tie-line) to another location within the same enterprise. A large manufacturer with factories and offices in multiple cities may use a prefix (such as '8') followed by an internal routing code to indicate a city or location, then an individual four- or five-digit extension number at the destination site. A common trunk prefix for an outside line on North American systems is the digit 9, followed by the outside destination number.