Configuring area codes and phone number validation
You can set area codes for North America, validate international phone numbers and area codes, and validate phone numbers and area codes with alternate formats in the phone configuration files.
Accessing phone configuration files
|
File |
Description |
|---|---|
|
nanpa.properties |
Area codes as defined by the North American Numbering Plan Administration (NANPA). These area codes apply to North American countries other than the United States. |
|
PhoneNumberMetaData.xml |
Area codes and validation rules for international phone numbers. |
|
PhoneNumberAlternateFormats.xml |
Additional area codes and validation rules for international phone numbers. See the comments at the beginning of the file for more information. |
data subdirectory. To regenerate phone data, run the following gwb
utility from the application installation directory:gwb genPhoneMetadata
