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

Guidewire stores phone configuration files in the following location in Guidewire Studio Project window:
  • configuration > config > phone
Configuration files in the phone folder include the following:

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.

Any change to an XML file in the phone folder requires that you regenerate the phone data in the PolicyCenter data subdirectory. To regenerate phone data, run the following gwb utility from the application installation directory:
  • gwb genPhoneMetadata