Module: I18nPhoneNumbers::PhoneNumberType

Defined in:
lib/i18n_phone_numbers/constants.rb

Constant Summary collapse

FIXED_LINE =
0
MOBILE =
1
FIXED_LINE_OR_MOBILE =

In some regions (e.g. the USA), it is impossible to distinguish between fixed-line and mobile numbers by looking at the phone number itself.

2
TOLL_FREE =

Freephone lines

3
PREMIUM_RATE =
4
SHARED_COST =

The cost of this call is shared between the caller and the recipient, and is hence typically less than PREMIUM_RATE calls. See en.wikipedia.org/wiki/Shared_Cost_Service for more information.

5
VOIP =

Voice over IP numbers. This includes TSoIP (Telephony Service over IP).

6
PERSONAL_NUMBER =

A personal number is associated with a particular person, and may be routed to either a MOBILE or FIXED_LINE number. Some more information can be found here: en.wikipedia.org/wiki/Personal_Numbers

7
PAGER =
8
UAN =

Used for “Universal Access Numbers” or “Company Numbers”. They may be further routed to specific offices, but allow one number to be used for a company.

9
VOICEMAIL =

Used for ‘Voice Mail Access Numbers’.

10
UNKNOWN =

A phone number is of type UNKNOWN when it does not fit any of the known patterns for a specific country.

-1