User Tools

Site Tools


phone

Phone

This group of functions allow you to perform various actions to improve the quality of Phone Number data.


Authenticate

Check if a telephone number will dial using a third-party provider. A call will not be made to the inputted telephone numbers. The input is a single telephone number along with its ISO 2 code. E.g.

Phone Number (Input) Country Identifier - ISO 2 Code (Input) Authentic Number Type Country Identifier - ISO 3 Code Dialling Code National Format
+44(0)23 9298 8303 GB TRUE Landline GBR 44 023 9298 8303
+1 312 253 7873 US TRUE VOIP USA 1 (312) 253-7873

Authenticate Phone not only allows you to determine the authenticity of a phone number, but also allows you to ascertain certain attributes of a Phone Number. E.g.

Number Type: What type of number is it? E.g. Landline, Mobile Phone, VOIP etc.

Country Identifier - ISO 3 Code: What is the 3-letter ISO 3 Code associated with the phone number?

Dialling Code: What is the dialling code associated with the phone number?

National Format: What is the correct national format of the phone number?


Derive Country

Derive the country name from a phone number.

Telephone Derived Country
0033123456789 France
+44123456789 United Kingdom
0055123456789 Brazil
+66123456789 Thailand
0077123456789 Kazakhstan

This function also allows you to check congruency to a country and retrieve ISO 2, ISO 3 and dialling codes.


Format

Telephone E164

Input one or more Telephone numbers along with a country identifier and return them in the E164 standard (if possible).

For example, you can choose to format telephone numbers in the E164 standard to assign a country code to a telephone number as well as remove any unnecessary characters. E.g.

Telephone Country Identifier - ISO 2 Formatted Telephone
1234567891 GB +441234567891
12.23.34.45.56 GB +441223344556
111-222-333-4 GB +441112223334

Telephone International

Input one or more International Telephone Numbers and return them in the correct format (if possible).

For example, you can choose to format telephone numbers in the International standard to assign a country code to a telephone number, remove any unnecessary characters and add spacing. E.g.

Telephone Country Identifier - ISO 2 Formatted Telephone
1234567891 GB +44 1234 567891
12.23.34.45.56 GB +44 1223 344556
111-222-333-4 GB +44 111 222 3334

Telephone National

Input one or more National Telephone Numbers and return them in the correct format (if possible).

For example, you can choose to format telephone numbers in the National standard to assign the correct prefix to a telephone number, remove any unnecessary characters and add spacing. E.g.

Telephone Country Identifier - ISO 2 Formatted Telephone
1234567891 GB 01234 567891
12.23.34.45.56 GB 01223 344556
111-222-333-4 GB 0111 222 3334

Telephone RFC 3966

Input one or more Telephone Numbers and return them in the RFC 3966 standard format (if possible).

For example, remove unnecessary and incorrect characters and return them in the desired format. E.g.

Telephone Country Identifier - ISO 2 Formatted Telephone
1234567891 GB tel:+44-1234-567891
12.23.34.45.56 GB tel:+44-1223-344556
111-222-333-4 GB tel:+44-111-222-3334

Parse

Parse the country code, extension, national number and number type from a phone number via inputting a phone number and a country identifier. E.g.

Input

Phone Number Country Identifier - ISO 2
+447511111111 GB
02392111111 GB
0344 800 2400 GB

Output

Country Code Extension National Number Number Type
44 7511111111 MOBILE
44 2392111111 FIXED_LINE
44 3448002400 UAN

Validate

Input one or more Telephone Numbers alongside their respective country identifiers and identify whether or not they are valid by scoring them TRUE or FALSE. e.g.

Telephone Country Identifier - ISO 2 Output
07511111111 GB TRUE
0751111111 GB FALSE
075111111111 GB FALSE

phone.txt · Last modified: 2023/03/09 16:09 by hayden.law