Escolar Documentos
Profissional Documentos
Cultura Documentos
ranges Database
Database
layout sheet
Below you can see which fields the PSTN number ranges
database contains as well as each fields characteristics. It is
recommended to use a database program (Microsoft Access,
OpenOffice Base, SQL, etc.). Please note that Microsoft
Excel 97-2003 can only show the first 65.000 entries.
CNS
Length: up to 15 digits
country_code
Length: 1, 2 or 3 digits
national_significant_number
Length: 0 to 14 digits
1|Page
ISO-3166-alpha-2
Length: 2 characters
ISO-3166-alpha-3
Length: 3 characters
utc_min
Format: (-)x(,x)
This field reflects the minimum time difference between the country
and Universal Coordinated Time (UTC). If the country covers only
one time zone, the utc_min field will be the same as the utc_max
field.
utc_max
Format: (-)x(,x)
This field reflects the maximum time difference between the country
and Universal Coordinated Time (UTC). If the country covers only
one time zone, the utc_min field will be the same as the utc_max
field.
destination
Length: up to 255 characters
type_id
Length: 2 or 3 characters
description
Length: up to 50 characters
location
Length: up to 255 characters
This field refers to the city and/or state or province the number
range was assigned to. Depending on the information, this may
mean the actual location of the telephone connections or the location
of the exchange or switch all numbers within the range are
connected to.
2|Page
registrar
Length: up to 255 characters
This field refers to the company that has registered the entire
number range. All numbers within the number range belong to the
same company. However, it must be noted that this field only
contains the original registrars name, and may be incorrect for
individual numbers in case of number portability.
area_code_length
Length: 0 or 1 digits
This field states the length of the national destination code (NDC).
The national destination usually is the same as the area code or
mobile range code. This information is not available for all
destination types and countries. This value is always zero when the
NDC always has to be dialled nationally, even within the same
network.
min_subscr_nr_length
Length: 0, 1 or 2 digits
This field states the minimum length of the subscriber number (SN)
within the specified number range. The subscriber number can be
dialled within a country to connect to other users without dialling
the area code. This is only true for countries with a so-called open
numbering plan. This information is not available for all
destination types and countries.
max_subscr_nr_length
Length: 0, 1 or 2 digits
This field states the minimum length of the subscriber number (SN)
within the specified number range. The subscriber number can be
dialled within a country to connect to other users without dialling
the area code. This is only true for countries with a so-called open
numbering plan. This information is not available for all
destination types and countries.
range_activation
Format: yyyy-mm-dd
This field states the date of activation of the specific number range.
The date is in International format: 2012-12-20 (numerical,
separated by hyphens). This information is not available for all
destination types and countries.
range_deactivation
Format: yyyy-mm-dd
range_status
Length: up to 10 characters
This field states the status of the specific number range. Currently
in use:
(empty) = range is currently active
reserved = range is reserved for future use
3|Page
mobile_country_code
Length: 3 digits
This field states the Mobile Country Code (MCC) of the number
range as assigned by the International Telecommunications Union
in Recommendation E.212. This field is only available if the number
range is mobile and if the country or destination has been
assigned an MCC.
mobile_network_code
Length: up to 3 digits
This field states the Mobile Network Code (MNC) of the specific
registrar (mobile network), which consists of two or three digits.
This field is only available if the network is known to be a GSM or
UMTS network, of if the MNC has come to our attention in any
other way. This information is not available countries. This
information is also not guaranteed to be error free.
operation_company_number
Length: 4 characters
4|Page