Configuration file location

Location configuration
The configuration of the locations is always stored in an xml file. The file is in config\locations.xml.

Country dialing rules
The dialing rule table contains the country dialing rules. These are stored in the countries.xml file. It contains the names of the countries and the appropriate dialing rules for local, national and international calls.

<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<countries xmlns="http://www.w3.org/2001/XMLSchema.xsd">
<country ID="49">
        <countryCode>49</countryCode>
        <name>Germany</name>
        <SameAreaRule>G</SameAreaRule>
        <LongDistanceRule>0FG</LongDistanceRule>
        <InternationalRule>00EFG</InternationalRule>
</country>
</countries>
	
Icon Meaning
ECountry code
FArea code
GLocal number
IOptional dialing code
NOptional long distance provider

Call-by-call country dialing codes
The providers.xmll file contains the known call-by-call dialing codes for individual countries.

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<providers xmlns="http://www.w3.org/2001/XMLSchema.xsd">
	<provider ID="10???" countryID="41">
	<name>General</name>
	</provider>
	<provider ID="10703" countryID="41">
	<name>Smartphone</name>
	</provider>
	<provider ID="01090" countryID="49">
	<name>O2</name>
	</provider>
</providers>
	
Day Meaning
countryIDID of the country in countries.xml
IDProvider dialing prefix (? is a place-holder for any digit)

Dialing codes and place names
The cities.xml file contains the known place names for the country dialing codes.

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<cities xmlns="http://www.w3.org/2001/XMLSchema.xsd">
	<city ID="+1201" countryID="1">
	<name>New Jersey</name>
	</city>
	<city ID="+4989" countryID="49">
	<name>München</name>
	</city>
</cities>
	
Day Meaning
countryIDID of the country in countries.xml
IDArea code

Special phone numbers
The specialnumbers.xml file contains the known country special phone numbers. These are numbers which are not internationally dialable, e.g. emergency or information numbers. No dialing code is added to these numbers during formatting.

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<specialnumbers xmlns="http://www.w3.org/2001/XMLSchema.xsd">
	<specialnumber ID="110" countryID="49">
	<name>Notruf</name>
	</specialnumber>
</specialnumbers>
	
Day Meaning
countryIDID of the country in countries.xml
IDPhone number

Version 6.0