blob: 652cdca000c2c9c5fc390dfc404190b8dbbf5b79 [file] [log] [blame]
<!-- Copyright (C) 2009 The Libphonenumber Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
@author: Shaopeng Jia
@author: Lara Rennie
Metadata on Phone Number Plan and formatting rules
Note: Territories are in alphabetical order by their IDs, which are based on ISO 3166-1
two-letter country codes (or are set to "001" for non-geographical entities, which
represents "World" in the UN M.49 standard). The country names in the comments are the
official short names in English according to ISO 3166-1.
For more information on what each element represents, see
resources/phonemetadata.proto
Note that if you want to add validation metadata, the generalDesc nationalNumberPattern and
possibleNumberPattern must be provided. If this is missing, then the country will be
considered to have no more specific phone-number type metadata (fixedLine, mobile etc) and
hence only basic validation rules (numbers should be between 3 and 15 digits long) will be
applied.
If adding an element for a non-geographical entity, please add an example number element to the
general description.
Country code, international and national prefix information main source:
http://www.itu.int/pub/T-SP-E.164C-2011
-->
<!DOCTYPE phoneNumberMetadata [
<!ELEMENT phoneNumberMetadata (territories)>
<!ELEMENT territories (territory+)>
<!ELEMENT territory (availableFormats?, generalDesc?, noInternationalDialling?,
areaCodeOptional?, fixedLine?, mobile?, pager?, tollFree?, premiumRate?,
sharedCost?, personalNumber?, voip?, uan?, voicemail?)>
<!ELEMENT generalDesc (nationalNumberPattern, possibleNumberPattern, exampleNumber?)>
<!ELEMENT noInternationalDialling (nationalNumberPattern, possibleNumberPattern?,
exampleNumber?)>
<!ELEMENT areaCodeOptional (nationalNumberPattern, possibleNumberPattern, exampleNumber?)>
<!ELEMENT fixedLine (nationalNumberPattern?, possibleNumberPattern?, exampleNumber?)>
<!ELEMENT mobile (nationalNumberPattern?, possibleNumberPattern?, exampleNumber?)>
<!ELEMENT pager (nationalNumberPattern?, possibleNumberPattern?, exampleNumber?)>
<!ELEMENT tollFree (nationalNumberPattern?, possibleNumberPattern?, exampleNumber?)>
<!ELEMENT premiumRate (nationalNumberPattern?, possibleNumberPattern?, exampleNumber?)>
<!ELEMENT sharedCost (nationalNumberPattern?, possibleNumberPattern?, exampleNumber?)>
<!ELEMENT personalNumber (nationalNumberPattern?, possibleNumberPattern?, exampleNumber?)>
<!ELEMENT voip (nationalNumberPattern?, possibleNumberPattern?, exampleNumber?)>
<!ELEMENT uan (nationalNumberPattern?, possibleNumberPattern?, exampleNumber?)>
<!ELEMENT voicemail (nationalNumberPattern?, possibleNumberPattern?, exampleNumber?)>
<!ELEMENT availableFormats (numberFormat+)>
<!ELEMENT nationalNumberPattern (#PCDATA)>
<!ELEMENT possibleNumberPattern (#PCDATA)>
<!ELEMENT exampleNumber (#PCDATA)>
<!ELEMENT numberFormat (leadingDigits*, format, intlFormat*)>
<!ELEMENT format (#PCDATA)>
<!ELEMENT intlFormat (#PCDATA)>
<!ELEMENT leadingDigits (#PCDATA)>
<!ATTLIST territory id CDATA #REQUIRED>
<!ATTLIST territory countryCode CDATA #REQUIRED>
<!ATTLIST territory mainCountryForCode (true) #IMPLIED>
<!ATTLIST territory leadingDigits CDATA #IMPLIED>
<!ATTLIST territory preferredInternationalPrefix CDATA #IMPLIED>
<!ATTLIST territory internationalPrefix CDATA #IMPLIED>
<!ATTLIST territory nationalPrefix CDATA #IMPLIED>
<!ATTLIST territory nationalPrefixForParsing CDATA #IMPLIED>
<!ATTLIST territory nationalPrefixTransformRule CDATA #IMPLIED>
<!ATTLIST territory preferredExtnPrefix CDATA #IMPLIED>
<!ATTLIST territory nationalPrefixFormattingRule CDATA #IMPLIED>
<!ATTLIST territory nationalPrefixOptionalWhenFormatting (true) #IMPLIED>
<!ATTLIST territory leadingZeroPossible (true) #IMPLIED>
<!ATTLIST territory carrierCodeFormattingRule CDATA #IMPLIED>
<!ATTLIST territory mobileNumberPortableRegion (true) #IMPLIED>
<!ATTLIST numberFormat nationalPrefixFormattingRule CDATA #IMPLIED>
<!ATTLIST numberFormat nationalPrefixOptionalWhenFormatting (true) #IMPLIED>
<!ATTLIST numberFormat carrierCodeFormattingRule CDATA #IMPLIED>
<!ATTLIST numberFormat pattern CDATA #REQUIRED>
]>
<phoneNumberMetadata>
<territories>
<!-- Ascension Island -->
<!-- www.itu.int/oth/T02020000AF -->
<territory id="AC" countryCode="247" internationalPrefix="00">
<!-- Formatted as a block. -->
<generalDesc>
<nationalNumberPattern>[2-467]\d{3}</nationalNumberPattern>
<possibleNumberPattern>\d{4}</possibleNumberPattern>
</generalDesc>
<fixedLine>
<nationalNumberPattern>
(?:
[267]\d|
3[0-5]|
4[4-69]
)\d{2}
</nationalNumberPattern>
<possibleNumberPattern>\d{4}</possibleNumberPattern>
<exampleNumber>6889</exampleNumber>
</fixedLine>
<mobile>
<nationalNumberPattern>NA</nationalNumberPattern>
<possibleNumberPattern>NA</possibleNumberPattern>
</mobile>
</territory>
<!-- Andorra -->
<!-- http://www.itu.int/oth/T0202000005/en -->
<territory id="AD" countryCode="376" internationalPrefix="00">
<availableFormats>
<numberFormat pattern="(\d{3})(\d{3})">
<leadingDigits>[346-9]</leadingDigits>
<format>$1 $2</format>
</numberFormat>
<numberFormat pattern="(180[02])(\d{4})">
<leadingDigits>1</leadingDigits>
<format>$1 $2</format>
</numberFormat>
</availableFormats>
<generalDesc>
<nationalNumberPattern>
(?:
[346-9]|
180
)\d{5}
</nationalNumberPattern>
<possibleNumberPattern>\d{6,8}</possibleNumberPattern>
</generalDesc>
<fixedLine>
<nationalNumberPattern>[78]\d{5}</nationalNumberPattern>
<possibleNumberPattern>\d{6}</possibleNumberPattern>
<exampleNumber>712345</exampleNumber>
</fixedLine>
<mobile>
<nationalNumberPattern>[346]\d{5}</nationalNumberPattern>
<possibleNumberPattern>\d{6}</possibleNumberPattern>
<exampleNumber>312345</exampleNumber>
</mobile>
<tollFree>
<!-- Note that the definitions of 1800 and 1802 numbers differ in the plan and on the
Andorran www.sta.ad website, but we consider both to be freephone here. -->
<nationalNumberPattern>180[02]\d{4}</nationalNumberPattern>
<possibleNumberPattern>\d{8}</possibleNumberPattern>
<exampleNumber>18001234</exampleNumber>
</tollFree>
<!-- The national numbering plan says that numbers beginning with 9 are reserved for special
services, so we assume they are premium rate here, although we cannot find examples
online. -->
<premiumRate>
<nationalNumberPattern>9\d{5}</nationalNumberPattern>
<possibleNumberPattern>\d{6}</possibleNumberPattern>
<exampleNumber>912345</exampleNumber>
</premiumRate>
</territory>
<!-- United Arab Emirates -->
<!-- http://www.itu.int/oth/T02020000DC/en -->
<territory id="AE" countryCode="971" internationalPrefix="00"
nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
<availableFormats>
<numberFormat pattern="([2-4679])(\d{3})(\d{4})">
<leadingDigits>[2-4679][2-8]</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
<numberFormat pattern="(5[0256])(\d{3})(\d{4})">
<leadingDigits>5</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
<numberFormat pattern="([479]00)(\d)(\d{5})" nationalPrefixFormattingRule="$FG">
<leadingDigits>[479]0</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
<numberFormat pattern="([68]00)(\d{2,9})" nationalPrefixFormattingRule="$FG">
<leadingDigits>
60|
8
</leadingDigits>
<format>$1 $2</format>
</numberFormat>
</availableFormats>
<generalDesc>
<nationalNumberPattern>
[2-79]\d{7,8}|
800\d{2,9}
</nationalNumberPattern>
<possibleNumberPattern>\d{5,12}</possibleNumberPattern>
</generalDesc>
<fixedLine>
<nationalNumberPattern>[2-4679][2-8]\d{6}</nationalNumberPattern>
<possibleNumberPattern>\d{7,8}</possibleNumberPattern>
<exampleNumber>22345678</exampleNumber>
</fixedLine>
<mobile>
<nationalNumberPattern>5[0256]\d{7}</nationalNumberPattern>
<possibleNumberPattern>\d{9}</possibleNumberPattern>
<exampleNumber>501234567</exampleNumber>
</mobile>
<tollFree>
<nationalNumberPattern>
400\d{6}|
800\d{2,9}
</nationalNumberPattern>
<possibleNumberPattern>\d{5,12}</possibleNumberPattern>
<exampleNumber>800123456</exampleNumber>
</tollFree>
<premiumRate>
<nationalNumberPattern>900[02]\d{5}</nationalNumberPattern>
<possibleNumberPattern>\d{9}</possibleNumberPattern>
<exampleNumber>900234567</exampleNumber>
</premiumRate>
<sharedCost>
<nationalNumberPattern>700[05]\d{5}</nationalNumberPattern>
<possibleNumberPattern>\d{9}</possibleNumberPattern>
<exampleNumber>700012345</exampleNumber>
</sharedCost>
<uan>
<nationalNumberPattern>600[25]\d{5}</nationalNumberPattern>
<possibleNumberPattern>\d{9}</possibleNumberPattern>
<exampleNumber>600212345</exampleNumber>
</uan>
</territory>
<!-- Afghanistan -->
<!-- http://www.itu.int/oth/T0202000001/en -->
<territory id="AF" countryCode="93" internationalPrefix="00"
nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
<availableFormats>
<numberFormat pattern="([2-7]\d)(\d{3})(\d{4})">
<format>$1 $2 $3</format>
</numberFormat>
</availableFormats>
<generalDesc>
<nationalNumberPattern>[2-7]\d{8}</nationalNumberPattern>
<possibleNumberPattern>\d{7,9}</possibleNumberPattern>
</generalDesc>
<fixedLine>
<nationalNumberPattern>
(?:
[25][0-8]|
[34][0-4]|
6[0-5]
)[2-9]\d{6}
</nationalNumberPattern>
<exampleNumber>234567890</exampleNumber>
</fixedLine>
<mobile>
<nationalNumberPattern>7[057-9]\d{7}</nationalNumberPattern>
<possibleNumberPattern>\d{9}</possibleNumberPattern>
<exampleNumber>701234567</exampleNumber>
</mobile>
</territory>
<!-- Antigua and Barbuda -->
<!-- http://www.itu.int/oth/T0202000008/en -->
<territory id="AG" countryCode="1" leadingDigits="268" nationalPrefix="1"
internationalPrefix="011">
<generalDesc>
<!-- NANPA country - uses US formatting rules -->
<nationalNumberPattern>[2589]\d{9}</nationalNumberPattern>
<possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
</generalDesc>
<fixedLine>
<!-- 268 468 is not in the plan, but has been added after numbers with this prefix have been
found in online searches. -->
<nationalNumberPattern>
268(?:
4(?:
6[0-38]|
84
)|
56[0-2]
)\d{4}
</nationalNumberPattern>
<exampleNumber>2684601234</exampleNumber>
</fixedLine>
<mobile>
<!-- 268 776/778/779 are not in the plan, but have been added after numbers with these
prefixes have been found in online searches. Same for 268 780/782/784/786. -->
<nationalNumberPattern>
268(?:
464|
7(?:
2[0-9]|
64|
7[0-689]|
8[02-68]
)
)\d{4}
</nationalNumberPattern>
<possibleNumberPattern>\d{10}</possibleNumberPattern>
<exampleNumber>2684641234</exampleNumber>
</mobile>
<pager>
<nationalNumberPattern>26840[69]\d{4}</nationalNumberPattern>
<possibleNumberPattern>\d{10}</possibleNumberPattern>
<exampleNumber>2684061234</exampleNumber>
</pager>
<tollFree>
<nationalNumberPattern>
8(?:
00|
55|
66|
77|
88
)[2-9]\d{6}
</nationalNumberPattern>
<possibleNumberPattern>\d{10}</possibleNumberPattern>
<exampleNumber>8002123456</exampleNumber>
</tollFree>
<premiumRate>
<nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
<possibleNumberPattern>\d{10}</possibleNumberPattern>
<exampleNumber>9002123456</exampleNumber>
</premiumRate>
<personalNumber>
<!-- http://www.nanpa.com/pdf/PL_416.pdf -->
<nationalNumberPattern>
5(?:
00|
33|
44
)[2-9]\d{6}
</nationalNumberPattern>
<possibleNumberPattern>\d{10}</possibleNumberPattern>
<exampleNumber>5002345678</exampleNumber>
</personalNumber>
<voip>
<!-- This is included as Centrex in the plan. -->
<nationalNumberPattern>26848[01]\d{4}</nationalNumberPattern>
<possibleNumberPattern>\d{10}</possibleNumberPattern>
<exampleNumber>2684801234</exampleNumber>
</voip>
</territory>
<!-- Anguilla -->
<!-- http://www.itu.int/oth/T0202000007/en -->
<territory id="AI" countryCode="1" leadingDigits="264" nationalPrefix="1"
internationalPrefix="011">
<generalDesc>
<!-- NANPA country - uses US formatting rules -->
<nationalNumberPattern>[2589]\d{9}</nationalNumberPattern>
<possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
</generalDesc>
<fixedLine>
<nationalNumberPattern>
2644(?:
6[12]|
9[78]
)\d{4}
</nationalNumberPattern>
<exampleNumber>2644612345</exampleNumber>
</fixedLine>
<mobile>
<nationalNumberPattern>
264(?:
235|
476|
5(?:
3[6-9]|
8[1-4]
)|
7(?:
29|
72
)
)\d{4}
</nationalNumberPattern>
<possibleNumberPattern>\d{10}</possibleNumberPattern>
<exampleNumber>2642351234</exampleNumber>
</mobile>
<tollFree>
<nationalNumberPattern>
8(?:
00|
55|
66|
77|
88
)[2-9]\d{6}
</nationalNumberPattern>
<possibleNumberPattern>\d{10}</possibleNumberPattern>
<exampleNumber>8002123456</exampleNumber>
</tollFree>
<premiumRate>
<nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
<possibleNumberPattern>\d{10}</possibleNumberPattern>
<exampleNumber>9002123456</exampleNumber>
</premiumRate>
<personalNumber>
<!-- http://www.nanpa.com/pdf/PL_416.pdf -->
<nationalNumberPattern>
5(?:
00|
33|
44
)[2-9]\d{6}
</nationalNumberPattern>
<possibleNumberPattern>\d{10}</possibleNumberPattern>
<exampleNumber>5002345678</exampleNumber>
</personalNumber>
</territory>
<!-- Albania -->
<!-- http://www.itu.int/oth/T0202000002/en -->
<territory id="AL" countryCode="355" internationalPrefix="00"
nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
mobileNumberPortableRegion="true">
<availableFormats>
<!-- Formats mostly follow http://tirana.usembassy.gov/list_of_doctors.html -->
<numberFormat pattern="(4)(\d{3})(\d{4})">
<leadingDigits>4[0-6]</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
<numberFormat pattern="(6[6-9])(\d{3})(\d{4})">
<leadingDigits>6</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
<numberFormat pattern="(\d{2})(\d{3})(\d{3})">
<leadingDigits>
[2358][2-5]|
4[7-9]
</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
<numberFormat pattern="(\d{3})(\d{3,5})">
<leadingDigits>
[235][16-9]|
8[016-9]|
[79]
</leadingDigits>
<format>$1 $2</format>
</numberFormat>
</availableFormats>
<generalDesc>
<nationalNumberPattern>
[2-57]\d{7}|
6\d{8}|
8\d{5,7}|
9\d{5}
</nationalNumberPattern>
<possibleNumberPattern>\d{5,9}</possibleNumberPattern>
</generalDesc>
<fixedLine>
<nationalNumberPattern>
(?:
2(?:
[168][1-9]|
[247]\d|
9[1-7]
)|
3(?:
1[1-3]|
[2-6]\d|
[79][1-8]|
8[1-9]
)|
4\d{2}|
5(?:
1[1-4]|
[2-578]\d|
6[1-5]|
9[1-7]
)|
8(?:
[19][1-5]|
[2-6]\d|
[78][1-7]
)
)\d{5}
</nationalNumberPattern>
<possibleNumberPattern>\d{5,8}</possibleNumberPattern>
<exampleNumber>22345678</exampleNumber>
</fixedLine>
<mobile>
<nationalNumberPattern>6[6-9]\d{7}</nationalNumberPattern>
<possibleNumberPattern>\d{9}</possibleNumberPattern>
<exampleNumber>661234567</exampleNumber>
</mobile>
<tollFree>
<nationalNumberPattern>800\d{4}</nationalNumberPattern>
<possibleNumberPattern>\d{7}</possibleNumberPattern>
<exampleNumber>8001234</exampleNumber>
</tollFree>
<premiumRate>
<!-- It is named "Shared Revenue Services" in the plan, but as there is a separate "Shared
Cost Services", it is highly likely these numbers are premium rate numbers. No
information/example is found in the Internet. -->
<nationalNumberPattern>900\d{3}</nationalNumberPattern>
<possibleNumberPattern>\d{6}</possibleNumberPattern>
<exampleNumber>900123</exampleNumber>
</premiumRate>
<sharedCost>
<nationalNumberPattern>808\d{3}</nationalNumberPattern>
<possibleNumberPattern>\d{6}</possibleNumberPattern>
<exampleNumber>808123</exampleNumber>
</sharedCost>
<personalNumber>
<nationalNumberPattern>700\d{5}</nationalNumberPattern>
<possibleNumberPattern>\d{8}</possibleNumberPattern>
<exampleNumber>70012345</exampleNumber>
</personalNumber>
</territory>
<!-- Armenia -->
<!-- http://www.itu.int/oth/T020200000A/en -->
<!-- http://en.wikipedia.org/wiki/%2B374 -->
<!-- http://en.wikipedia.org/wiki/Telephone_numbers_in_Nagorno-Karabakh_Republic -->
<!-- We think the national dialling prefix is 0 - it seems this was a change in 2005 (or 2008)
along with the new city codes. However, their official document makes no mention of it,
websites disagree, and we are not sure if the change has actually been made. -->
<territory id="AM" countryCode="374" internationalPrefix="00"
nationalPrefix="0" nationalPrefixFormattingRule="($NP$FG)">
<availableFormats>
<numberFormat pattern="(\d{2})(\d{6})">
<leadingDigits>
1|
47
</leadingDigits>
<format>$1 $2</format>
</numberFormat>
<numberFormat pattern="(\d{2})(\d{6})" nationalPrefixFormattingRule="$NP$FG">
<leadingDigits>
[5-7]|
9[1-9]
</leadingDigits>
<format>$1 $2</format>
</numberFormat>
<numberFormat pattern="(\d{3})(\d{5})">
<leadingDigits>[23]</leadingDigits>
<format>$1 $2</format>
</numberFormat>
<numberFormat pattern="(\d{3})(\d{2})(\d{3})" nationalPrefixFormattingRule="$NP $FG">
<leadingDigits>
8|
90
</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
</availableFormats>
<generalDesc>
<nationalNumberPattern>[1-9]\d{7}</nationalNumberPattern>
<possibleNumberPattern>\d{5,8}</possibleNumberPattern>
</generalDesc>
<fixedLine>
<!-- Includes telephone numbers in Nagorno-Karabakh Republic, physically located inside
Azerbaijan, which use prefix 47. -->
<nationalNumberPattern>
(?:
1[01]\d|
2(?:
2[2-46]|
3[1-8]|
4[2-69]|
5[2-7]|
6[1-9]|
8[1-7]
)|
3[12]2|
47\d
)\d{5}
</nationalNumberPattern>
<exampleNumber>10123456</exampleNumber>
</fixedLine>
<mobile>
<!-- Part of the range 97 is used by Nagorno-Karabakh Republic. -->
<nationalNumberPattern>
(?:
55|
77|
9[1-9]
)\d{6}
</nationalNumberPattern>
<possibleNumberPattern>\d{8}</possibleNumberPattern>
<exampleNumber>77123456</exampleNumber>
</mobile>
<tollFree>
<nationalNumberPattern>800\d{5}</nationalNumberPattern>
<possibleNumberPattern>\d{8}</possibleNumberPattern>
<exampleNumber>80012345</exampleNumber>
</tollFree>
<premiumRate>
<nationalNumberPattern>90[016]\d{5}</nationalNumberPattern>
<possibleNumberPattern>\d{8}</possibleNumberPattern>
<exampleNumber>90012345</exampleNumber>
</premiumRate>
<sharedCost>
<nationalNumberPattern>80[1-4]\d{5}</nationalNumberPattern>
<possibleNumberPattern>\d{8}</possibleNumberPattern>
<exampleNumber>80112345</exampleNumber>
</sharedCost>
<voip>
<nationalNumberPattern>60[2-6]\d{5}</nationalNumberPattern>
<possibleNumberPattern>\d{8}</possibleNumberPattern>
<exampleNumber>60271234</exampleNumber>
</voip>
</territory>
<!-- Angola -->
<!-- http://www.itu.int/oth/T0202000006/en -->
<territory id="AO" countryCode="244" internationalPrefix="00">
<availableFormats>
<numberFormat pattern="(\d{3})(\d{3})(\d{3})">
<format>$1 $2 $3</format>
</numberFormat>
</availableFormats>
<generalDesc>
<nationalNumberPattern>[29]\d{8}</nationalNumberPattern>
<possibleNumberPattern>\d{9}</possibleNumberPattern>
</generalDesc>
<fixedLine>
<nationalNumberPattern>
2\d(?:
[26-9]\d|
\d[26-9]
)\d{5}
</nationalNumberPattern>
<exampleNumber>222123456</exampleNumber>
</fixedLine>
<mobile>
<!-- Expanded the 92 prefix possibilities to match numbers found online. Unitel
apparently launched the prefix 94 on 25th April 2012, and Movicel has 99. -->
<nationalNumberPattern>9[1-49]\d{7}</nationalNumberPattern>
<exampleNumber>923123456</exampleNumber>
</mobile>
</territory>
<!-- Argentina -->
<!-- http://www.itu.int/oth/T0202000009/en -->
<!-- http://www.cnc.gov.ar/infotecnica/numeracion/Index.asp - click on Indicativos Interurbanos.
-->
<!-- http://en.wikipedia.org/wiki/+54 -->
<territory id="AR" countryCode="54" internationalPrefix="00" nationalPrefix="0"
nationalPrefixForParsing="
0?(?:
(11|
2(?:
2(?:
02?|
[13]|
2[13-79]|
4[1-6]|
5[2457]|
6[124-8]|
7[1-4]|
8[13-6]|
9[1267]
)|
3(?:
02?|
1[467]|
2[03-6]|
3[13-8]|
[49][2-6]|
5[2-8]|
[67]
)|
4(?:
7[3-578]|
9
)|
6(?:
[0136]|
2[24-6]|
4[6-8]?|
5[15-8]
)|
80|
9(?:
0[1-3]|
[19]|
2\d|
3[1-6]|
4[02568]?|
5[2-4]|
6[2-46]|
72?|
8[23]?
)
)|
3(?:
3(?:
2[79]|
6|
8[2578]
)|
4(?:
0[124-9]|
[12]|
3[5-8]?|
4[24-7]|
5[4-68]?|
6[02-9]|
7[126]|
8[2379]?|
9[1-36-8]
)|
5(?:
1|
2[1245]|
3[237]?|
4[1-46-9]|
6[2-4]|
7[1-6]|
8[2-5]?
)|
6[24]|
7(?:
1[1568]|
2[15]|
3[145]|
4[13]|
5[14-8]|
[069]|
7[2-57]|
8[126]
)|
8(?:
[01]|
2[15-7]|
3[2578]?|
4[13-6]|
5[4-8]?|
6[1-357-9]|
7[36-8]?|
8[5-8]?|
9[124]
)
)
)15
)?"
nationalPrefixTransformRule="9$1" nationalPrefixFormattingRule="$NP$FG"
mobileNumberPortableRegion="true">
<availableFormats>
<numberFormat pattern="([68]\d{2})(\d{3})(\d{4})">
<leadingDigits>[68]</leadingDigits>
<format>$1-$2-$3</format>
</numberFormat>
<numberFormat pattern="(9)(11)(\d{4})(\d{4})">
<leadingDigits>911</leadingDigits>
<format>$2 15-$3-$4</format>
<intlFormat>$1 $2 $3-$4</intlFormat>
</numberFormat>
<numberFormat pattern="(9)(\d{3})(\d{3})(\d{4})">
<!-- Some 4-digit area codes actually are caught by this rule. Preference is given however
to the 3-digit area codes, since they are considerably larger communities. -->
<leadingDigits>
9(?:
2[234689]|
3[3-8]
)
</leadingDigits>
<leadingDigits>
9(?:
2(?:
2[013]|
3[067]|
49|
6[01346]|
80|
9[147-9]
)|
3(?:
36|
4[12358]|
5[138]|
6[24]|
7[069]|
8[013578]
)
)
</leadingDigits>
<!-- We exclude here several 294X four-digit area codes: 2940, 2942, 2945, 2946 and 2948 -
and several 38[3578]X four-digit area codes. -->
<leadingDigits>
9(?:
2(?:
2[013]|
3[067]|
49|
6[01346]|
80|
9(?:
[17-9]|
4[13479]
)
)|
3(?:
36|
4[12358]|
5(?:
[18]|
3[014-689]
)|
6[24]|
7[069]|
8(?:
[01]|
3[013469]|
5[0-39]|
7[0-2459]|
8[0-49]
)
)
)
</leadingDigits>
<format>$2 15-$3-$4</format>
<intlFormat>$1 $2 $3-$4</intlFormat>
</numberFormat>
<numberFormat pattern="(9)(\d{4})(\d{3})(\d{3})">
<!-- The formatting pattern here for these newly introduced area codes is based on the ITU
document. We have not found sufficient examples online to know if this is actually
being followed by the general population, or whether the back-up pattern for
four-digit area codes (below) is preferred. -->
<leadingDigits>93[58]</leadingDigits>
<leadingDigits>
9(?:
3(?:
53|
8[78]
)
)
</leadingDigits>
<leadingDigits>
9(?:
3(?:
537|
8(?:
73|
88
)
)
)
</leadingDigits>
<format>$2 15-$3-$4</format>
<intlFormat>$1 $2 $3-$4</intlFormat>
</numberFormat>
<numberFormat pattern="(9)(\d{4})(\d{2})(\d{4})">
<leadingDigits>9[23]</leadingDigits>
<format>$2 15-$3-$4</format>
<intlFormat>$1 $2 $3-$4</intlFormat>
</numberFormat>
<numberFormat pattern="(11)(\d{4})(\d{4})" nationalPrefixOptionalWhenFormatting="true">
<leadingDigits>1</leadingDigits>
<format>$1 $2-$3</format>
</numberFormat>
<!-- These patterns are a copy of the mobile patterns with the leading 9 removed. -->
<numberFormat pattern="(\d{3})(\d{3})(\d{4})" nationalPrefixOptionalWhenFormatting="true">
<leadingDigits>
2(?:
2[013]|
3[067]|
49|
6[01346]|
80|
9[147-9]
)|
3(?:
36|
4[12358]|
5[138]|
6[24]|
7[069]|
8[013578]
)
</leadingDigits>
<!-- Several 294X four-digit area codes exist: 2940, 2942, 2945, 2946 and 2948. -->
<leadingDigits>
2(?:
2[013]|
3[067]|
49|
6[01346]|
80|
9(?:
[17-9]|
4[13479]
)
)|
3(?:
36|
4[12358]|
5(?:
[18]|
3[0-689]
)|
6[24]|
7[069]|
8(?:
[01]|
3[013469]|
5[0-39]|
7[0-2459]|
8[0-49]
)
)
</leadingDigits>
<format>$1 $2-$3</format>
</numberFormat>
<numberFormat pattern="(\d{4})(\d{3})(\d{3})" nationalPrefixOptionalWhenFormatting="true">
<leadingDigits>
3(?:
53|
8[78]
)
</leadingDigits>
<leadingDigits>
3(?:
537|
8(?:
73|
88
)
)
</leadingDigits>
<format>$1 $2-$3</format>
</numberFormat>
<numberFormat pattern="(\d{4})(\d{2})(\d{4})" nationalPrefixOptionalWhenFormatting="true">
<leadingDigits>[23]</leadingDigits>
<format>$1 $2-$3</format>
</numberFormat>
<!-- Format short numbers as a block. -->
<numberFormat pattern="(\d{3})" nationalPrefixFormattingRule="$FG">
<leadingDigits>
1[012]|
911
</leadingDigits>
<format>$1</format>
<intlFormat>NA</intlFormat>
</numberFormat>
</availableFormats>
<generalDesc>
<nationalNumberPattern>
[1-368]\d{9}|
9\d{10}
</nationalNumberPattern>
<possibleNumberPattern>\d{6,11}</possibleNumberPattern>
</generalDesc>
<noInternationalDialling>
<nationalNumberPattern>810\d{7}</nationalNumberPattern>
<possibleNumberPattern>\d{10}</possibleNumberPattern>
<exampleNumber>8101234567</exampleNumber>
</noInternationalDialling>
<fixedLine>
<!-- Also covering fixed satellite service numbers (670). -->
<nationalNumberPattern>
11\d{8}|
(?:
2(?:
2(?:
[013]\d|
2[13-79]|
4[1-6]|
5[2457]|
6[124-8]|
7[1-4]|
8[13-6]|
9[1267]
)|
3(?:
1[467]|
2[03-6]|
3[13-8]|
[49][2-6]|
5[2-8]|
[067]\d
)|
4(?:
7[3-8]|
9\d
)|
6(?:
[01346]\d|
2[24-6]|
5[15-8]
)|
80\d|
9(?:
[0124789]\d|
3[1-6]|
5[234]|
6[2-46]
)
)|
3(?:
3(?:
2[79]|
6\d|
8[2578]
)|
4(?:
[78]\d|
0[0124-9]|
[1-35]\d|
4[24-7]|
6[02-9]|
9[123678]
)|
5(?:
[138]\d|
2[1245]|
4[1-9]|
6[2-4]|
7[1-6]
)|
6[24]\d|
7(?:
[0469]\d|
1[1568]|
2[013-9]|
3[145]|
5[14-8]|
7[2-57]|
8[0-24-9]
)|
8(?:
[013578]\d|
2[15-7]|
4[13-6]|
6[1-357-9]|
9[124]
)
)|
670\d
)\d{6}
</nationalNumberPattern>
<possibleNumberPattern>\d{6,10}</possibleNumberPattern>
<exampleNumber>1123456789</exampleNumber>
</fixedLine>
<mobile>
<!-- Also covers mobile satellite services (675 numbers). -->
<!-- 4-digit area codes are not covered here in detail - we only check the digit after the
area code is in the range 2-9. The four-digit area-code checking is done in detail if
we attempt to strip the caller-pays token (15) from the number. -->
<nationalNumberPattern>
675\d{7}|
9(?:
11[2-9]\d{7}|
(?:
2(?:
2[013]|
3[067]|
49|
6[01346]|
80|
9[147-9]
)|
3(?:
36|
4[12358]|
5[138]|
6[24]|
7[069]|
8[013578]
)
)[2-9]\d{6}|
\d{4}[2-9]\d{5}
)
</nationalNumberPattern>
<possibleNumberPattern>\d{6,11}</possibleNumberPattern>
<exampleNumber>91123456789</exampleNumber>
</mobile>
<tollFree>
<nationalNumberPattern>800\d{7}</nationalNumberPattern>
<possibleNumberPattern>\d{10}</possibleNumberPattern>
<exampleNumber>8001234567</exampleNumber>
</tollFree>
<premiumRate>
<nationalNumberPattern>60[04579]\d{7}</nationalNumberPattern>
<possibleNumberPattern>\d{10}</possibleNumberPattern>
<exampleNumber>6001234567</exampleNumber>
</premiumRate>
<uan>
<nationalNumberPattern>810\d{7}</nationalNumberPattern>
<possibleNumberPattern>\d{10}</possibleNumberPattern>
<exampleNumber>8101234567</exampleNumber>
</uan>
</territory>
<!-- American Samoa -->
<!-- http://www.itu.int/oth/T0202000004/en -->
<territory id="AS" countryCode="1" leadingDigits="684" nationalPrefix="1"
internationalPrefix="011">
<generalDesc>
<!-- NANPA country - uses US formatting rules -->
<nationalNumberPattern>[5689]\d{9}</nationalNumberPattern>
<possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
</generalDesc>
<fixedLine>
<nationalNumberPattern>
6846(?:
22|
33|
44|
55|
77|
88|
9[19]
)\d{4}
</nationalNumberPattern>
<exampleNumber>6846221234</exampleNumber>
</fixedLine>
<mobile>
<!-- Adding 24[246], operated from Blue Sky. -->
<nationalNumberPattern>
684(?:
733|
25[2468]
)\d{4}
</nationalNumberPattern>
<possibleNumberPattern>\d{10}</possibleNumberPattern>
<exampleNumber>6847331234</exampleNumber>
</mobile>
<tollFree>
<nationalNumberPattern>
8(?:
00|
55|
66|
77|
88
)[2-9]\d{6}
</nationalNumberPattern>
<possibleNumberPattern>\d{10}</possibleNumberPattern>
<exampleNumber>8002123456</exampleNumber>
</tollFree>
<premiumRate>
<nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
<possibleNumberPattern>\d{10}</possibleNumberPattern>
<exampleNumber>9002123456</exampleNumber>
</premiumRate>
<personalNumber>
<!-- http://www.nanpa.com/pdf/PL_416.pdf -->
<nationalNumberPattern>
5(?:
00|
33|
44
)[2-9]\d{6}
</nationalNumberPattern>
<possibleNumberPattern>\d{10}</possibleNumberPattern>
<exampleNumber>5002345678</exampleNumber>
</personalNumber>
</territory>
<!-- Austria -->
<!-- http://www.rtr.at/en/tk/E129 -->
<territory id="AT" countryCode="43" internationalPrefix="00"
nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
mobileNumberPortableRegion="true">
<availableFormats>
<numberFormat pattern="(1)(\d{3,12})">
<leadingDigits>1</leadingDigits>
<format>$1 $2</format>
</numberFormat>
<!-- The following three patterns are the most common for prefixes 050, 057 and 059, as
found on Austrian web pages. -->
<numberFormat pattern="(5\d)(\d{3,5})">
<leadingDigits>5[079]</leadingDigits>
<format>$1 $2</format>
</numberFormat>
<numberFormat pattern="(5\d)(\d{3})(\d{3,4})">
<leadingDigits>5[079]</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
<numberFormat pattern="(5\d)(\d{4})(\d{4,7})">
<leadingDigits>5[079]</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
<numberFormat pattern="(\d{3})(\d{3,10})">
<leadingDigits>
316|
46|
51|
732|
6(?:
44|
5[0-3579]|
[6-9]
)|
7(?:
1|
[28]0
)|
[89]
</leadingDigits>
<format>$1 $2</format>
</numberFormat>
<numberFormat pattern="(\d{4})(\d{3,9})">
<leadingDigits>
2|
3(?:
1[1-578]|
[3-8]
)|
4[2378]|
5[2-6]|
6(?:
[12]|
4[1-35-9]|
5[468]
)|
7(?:
2[1-8]|
35|
4[1-8]|
[5-79]
)
</leadingDigits>
<format>$1 $2</format>
</numberFormat>
</availableFormats>
<generalDesc>
<nationalNumberPattern>[1-9]\d{3,12}</nationalNumberPattern>
<possibleNumberPattern>\d{3,13}</possibleNumberPattern>
</generalDesc>
<fixedLine>
<!-- Note that the full area code is not validated - just the first 3 digits. This also
means that even though for most Austrian numbers the minimum length is 7, we allow 6
since we don't differentiate below between 3 and 4 digit area codes for reasons of
efficiency. -->
<nationalNumberPattern>
1\d{3,12}|
(?:
2(?:
1[467]|
2[13-8]|
5[2357]|
6[1-46-8]|
7[1-8]|
8[124-7]|
9[1458]
)|
3(?:
1[1-8]|
3[23568]|
4[5-7]|
5[1378]|
6[1-38]|
8[3-68]
)|
4(?:
2[1-8]|
35|
63|
7[1368]|
8[2457]
)|
5(?:
12|
2[1-8]|
3[357]|
4[147]|
5[12578]|
6[37]
)|
6(?:
13|
2[1-47]|
4[1-35-8]|
5[468]|
62
)|
7(?:
2[1-8]|
3[25]|
4[13478]|
5[68]|
6[16-8]|
7[1-6]|
9[45]
)
)\d{3,10}
</nationalNumberPattern>
<exampleNumber>1234567890</exampleNumber>
</fixedLine>
<mobile>
<nationalNumberPattern>
6(?:
44|
5[0-3579]|
6[013-9]|
[7-9]\d
)\d{4,10}
</nationalNumberPattern>
<possibleNumberPattern>\d{7,13}</possibleNumberPattern>
<exampleNumber>644123456</exampleNumber>
</mobile>
<tollFree>
<nationalNumberPattern>80[02]\d{6,10}</nationalNumberPattern>
<possibleNumberPattern>\d{9,13}</possibleNumberPattern>
<exampleNumber>800123456</exampleNumber>
</tollFree>
<premiumRate>
<nationalNumberPattern>
(?:
711|
9(?:
0[01]|
3[019]
)
)\d{6,10}
</nationalNumberPattern>
<possibleNumberPattern>\d{9,13}</possibleNumberPattern>
<exampleNumber>900123456</exampleNumber>
</premiumRate>
<sharedCost>
<nationalNumberPattern>
8(?:
10|
2[018]
)\d{6,10}
</nationalNumberPattern>
<possibleNumberPattern>\d{9,13}</possibleNumberPattern>
<exampleNumber>810123456</exampleNumber>
</sharedCost>
<voip>
<nationalNumberPattern>780\d{6,10}</nationalNumberPattern>
<possibleNumberPattern>\d{9,13}</possibleNumberPattern>
<exampleNumber>780123456</exampleNumber>
</voip>
<uan>
<nationalNumberPattern>
5(?:
(?:
0[1-9]|
17
)\d{2,10}|
[79]\d{3,11}
)|
720\d{6,10}
</nationalNumberPattern>
<possibleNumberPattern>\d{5,13}</possibleNumberPattern>
<exampleNumber>50123</exampleNumber>
</uan>
</territory>
<!-- Australia -->
<!-- Metadata shared with Cocos Islands (CC) and Christmas Islands (CX) -->
<!-- http://www.itu.int/oth/T020200000D/en -->
<!-- http://en.wikipedia.org/wiki/Telephone_numbers_in_Australia -->
<territory id="AU" countryCode="61" mainCountryForCode="true"
internationalPrefix="(?:14(?:1[14]|34|4[17]|[56]6|7[47]|88))?001[14-689]"
preferredInternationalPrefix="0011" nationalPrefix="0"
mobileNumberPortableRegion="true">
<availableFormats>
<numberFormat nationalPrefixFormattingRule="($NP$FG)"
pattern="([2378])(\d{4})(\d{4})">
<leadingDigits>[2378]</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
<numberFormat nationalPrefixFormattingRule="$NP$FG"
pattern="(\d{3})(\d{3})(\d{3})">
<leadingDigits>
[45]|
14
</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
<numberFormat nationalPrefixFormattingRule="$NP$FG"
pattern="(16)(\d{3})(\d{2,4})">
<leadingDigits>16</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
<numberFormat nationalPrefixFormattingRule="$FG"
pattern="(1[389]\d{2})(\d{3})(\d{3})">
<leadingDigits>
1(?:
[38]0|
90
)
</leadingDigits>
<leadingDigits>
1(?:
[38]00|
90
)
</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
<numberFormat nationalPrefixFormattingRule="$FG"
pattern="(180)(2\d{3})">
<leadingDigits>180</leadingDigits>
<leadingDigits>1802</leadingDigits>
<format>$1 $2</format>
</numberFormat>
<numberFormat nationalPrefixFormattingRule="$FG"
pattern="(19\d)(\d{3})">
<leadingDigits>19[13]</leadingDigits>
<format>$1 $2</format>
</numberFormat>
<numberFormat nationalPrefixFormattingRule="$FG"
pattern="(19\d{2})(\d{4})">
<leadingDigits>19[67]</leadingDigits>
<format>$1 $2</format>
</numberFormat>
<numberFormat nationalPrefixFormattingRule="$FG"
pattern="(13)(\d{2})(\d{2})">
<leadingDigits>13[1-9]</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
</availableFormats>
<generalDesc>
<nationalNumberPattern>[1-578]\d{5,9}</nationalNumberPattern>
<possibleNumberPattern>\d{6,10}</possibleNumberPattern>
</generalDesc>
<noInternationalDialling>
<nationalNumberPattern>
1(?:
3(?:
\d{4}|
00\d{6}
)|
80(?:
0\d{6}|
2\d{3}
)
)
</nationalNumberPattern>
<possibleNumberPattern>\d{6,10}</possibleNumberPattern>
<exampleNumber>1300123456</exampleNumber>
</noInternationalDialling>
<fixedLine>
<!-- Excludes prefixes used by Cocos Islands and Christmas Islands -->
<nationalNumberPattern>
[237]\d{8}|
8(?:
[68]\d{3}|
7[0-69]\d{2}|
9(?:
[02-9]\d{2}|
1(?:
[0-57-9]\d|
6[0135-9]
)
)
)\d{4}
</nationalNumberPattern>
<possibleNumberPattern>\d{8,9}</possibleNumberPattern>
<exampleNumber>212345678</exampleNumber>
</fixedLine>
<mobile>
<!-- Includes MobileSat and Thuraya satellite services. According to the wikipedia page,
other ranges 14[1-3] are not currently used. -->
<nationalNumberPattern>
14(?:
5\d|
71
)\d{5}|
4(?:
[0-2]\d|
3[0-57-9]|
4[47-9]|
5[0-35-9]|
6[6-9]|
[79][07-9]|
8[17-9]
)\d{6}
</nationalNumberPattern>
<possibleNumberPattern>\d{9}</possibleNumberPattern>
<exampleNumber>412345678</exampleNumber>
</mobile>
<pager>
<nationalNumberPattern>16\d{3,7}</nationalNumberPattern>
<possibleNumberPattern>\d{5,9}</possibleNumberPattern>
<exampleNumber>1612345</exampleNumber>
</pager>
<tollFree>
<nationalNumberPattern>
180(?:
0\d{3}|
2
)\d{3}
</nationalNumberPattern>
<possibleNumberPattern>\d{7,10}</possibleNumberPattern>
<exampleNumber>1800123456</exampleNumber>
</tollFree>
<premiumRate>
<nationalNumberPattern>190[0126]\d{6}</nationalNumberPattern>
<possibleNumberPattern>\d{10}</possibleNumberPattern>
<exampleNumber>1900123456</exampleNumber>
</premiumRate>
<sharedCost>
<!-- Local-rate (SmartNumbers) are put here because they are a reverse-charge network,
although they charge a small local call connect fee (around 25c). These start with 13
or 1300. -->
<nationalNumberPattern>
13(?:
00\d{2}
)?\d{4}
</nationalNumberPattern>
<possibleNumberPattern>\d{6,10}</possibleNumberPattern>
<exampleNumber>1300123456</exampleNumber>
</sharedCost>
<!-- Wikipedia was the source for these types of numbers, and number allocation search here
http://web.acma.gov.au/numb/openAccess/inquiry/allocationSearch.do confirms this. (Search
from 0500000000 to 0590000000) -->
<personalNumber>
<nationalNumberPattern>500\d{6}</nationalNumberPattern>
<possibleNumberPattern>\d{9}</possibleNumberPattern>
<exampleNumber>500123456</exampleNumber>
</personalNumber>
<voip>
<nationalNumberPattern>550\d{6}</nationalNumberPattern>
<possibleNumberPattern>\d{9}</possibleNumberPattern>
<exampleNumber>550123456</exampleNumber>
</voip>
</territory>
<!-- Aruba -->
<!-- http://www.itu.int/oth/T020200000B/en -->
<territory id="AW" countryCode="297" internationalPrefix="00">
<availableFormats>
<numberFormat pattern="(\d{3})(\d{4})">
<format>$1 $2</format>
</numberFormat>
</availableFormats>
<generalDesc>
<nationalNumberPattern>[25-9]\d{6}</nationalNumberPattern>
<possibleNumberPattern>\d{7}</possibleNumberPattern>
</generalDesc>
<fixedLine>
<nationalNumberPattern>
5(?:
2\d|
8[1-9]
)\d{4}
</nationalNumberPattern>
<exampleNumber>5212345</exampleNumber>
</fixedLine>
<mobile>
<!-- The prefixes 662, 994 & 96[45], while not in the plan, seem to be used in mobile
numbers found online. -->
<nationalNumberPattern>
(?:
5(?:
6\d|
9[2-478]
)|
6(?:
[039]0|
22|
4[01]|
6[0-2]
)|
7[34]\d|
9(?:
6[45]|
9[4-8]
)
)\d{4}
</nationalNumberPattern>
<exampleNumber>5601234</exampleNumber>
</mobile>
<tollFree>
<nationalNumberPattern>800\d{4}</nationalNumberPattern>
<exampleNumber>8001234</exampleNumber>
</tollFree>
<premiumRate>
<nationalNumberPattern>900\d{4}</nationalNumberPattern>
<exampleNumber>9001234</exampleNumber>
</premiumRate>
<voip>
<nationalNumberPattern>
28\d{5}|
501\d{4}
</nationalNumberPattern>
<exampleNumber>5011234</exampleNumber>
</voip>
</territory>
<!-- Åland Islands. -->
<!-- Metadata shared with Finland. -->
<!-- http://www.ficora.fi/en/index/palvelut/palvelutaiheittain/numerointi/numerotyypitjaalueet.html -->
<territory id="AX" countryCode="358" internationalPrefix="00|99[049]" nationalPrefix="0"
nationalPrefixFormattingRule="$NP$FG">
<!-- The general desc and fixed line are numbers different from Finland metadata. -->
<generalDesc>
<nationalNumberPattern>
[135]\d{5,9}|
[27]\d{4,9}|
4\d{5,10}|
6\d{7,8}|
8\d{6,9}
</nationalNumberPattern>
<possibleNumberPattern>\d{5,12}</possibleNumberPattern>
</generalDesc>
<noInternationalDialling>
<!-- According to the national numbering plan, service numbers are in general not accessible
from abroad, although 600/700/800 numbers may be. -->
<nationalNumberPattern>
[13]00\d{3,7}|
2(?:
0(?:
0\d{3,7}|
2[023]\d{1,6}|
9[89]\d{1,6}
)
)|
60(?:
[12]\d{5,6}|
6\d{7}
)|
7(?:
1\d{7}|
3\d{8}|
5[03-9]\d{2,7}
)
</nationalNumberPattern>
<possibleNumberPattern>\d{5,10}</possibleNumberPattern>
<exampleNumber>100123</exampleNumber>
</noInternationalDialling>
<fixedLine>
<nationalNumberPattern>18[1-8]\d{3,9}</nationalNumberPattern>
<possibleNumberPattern>\d{6,12}</possibleNumberPattern>
<exampleNumber>1812345678</exampleNumber>
</fixedLine>
<!-- The mobile, toll free, premium rate and UAN numbers copied from Finland. -->
<mobile>
<nationalNumberPattern>
4\d{5,10}|
50\d{4,8}
</nationalNumberPattern>
<possibleNumberPattern>\d{6,11}</possibleNumberPattern>
<exampleNumber>412345678</exampleNumber>
</mobile>
<tollFree>
<nationalNumberPattern>800\d{4,7}</nationalNumberPattern>
<possibleNumberPattern>\d{7,10}</possibleNumberPattern>
<exampleNumber>8001234567</exampleNumber>
</tollFree>
<premiumRate>
<nationalNumberPattern>[67]00\d{5,6}</nationalNumberPattern>
<possibleNumberPattern>\d{8,9}</possibleNumberPattern>
<exampleNumber>600123456</exampleNumber>
</premiumRate>
<uan>
<!-- Covers nationwide non-geographic numbers, and nationwide "service numbers", typically
assigned to institutions such as universities, the national post, etc, where they are
not otherwise classified as toll-free or premium-rate numbers. -->
<nationalNumberPattern>
[13]0\d{4,8}|
2(?:
0(?:
[016-8]\d{3,7}|
[2-59]\d{2,7}
)|
9\d{4,8}
)|
60(?:
[12]\d{5,6}|
6\d{7}
)|
7(?:
1\d{7}|
3\d{8}|
5[03-9]\d{2,7}
)
</nationalNumberPattern>
<possibleNumberPattern>\d{5,10}</possibleNumberPattern>
<exampleNumber>10112345</exampleNumber>
</uan>
</territory>
<!-- Azerbaijan -->
<!-- http://www.itu.int/oth/T020200000F/en -->
<territory id="AZ" countryCode="994" internationalPrefix="00" nationalPrefix="0"
nationalPrefixFormattingRule="($NP$FG)" mobileNumberPortableRegion="true">
<availableFormats>
<numberFormat pattern="(\d{2})(\d{3})(\d{2})(\d{2})">
<leadingDigits>
(?:
1[28]|
2(?:
[45]2|
[0-36]
)|
365
)
</leadingDigits>
<format>$1 $2 $3 $4</format>
</numberFormat>
<numberFormat pattern="(\d{2})(\d{3})(\d{2})(\d{2})" nationalPrefixFormattingRule="$NP$FG">
<leadingDigits>[4-8]</leadingDigits>
<format>$1 $2 $3 $4</format>
</numberFormat>
<numberFormat pattern="(\d{3})(\d{2})(\d{2})(\d{2})"
nationalPrefixFormattingRule="$NP$FG">
<leadingDigits>9</leadingDigits>
<format>$1 $2 $3 $4</format>
</numberFormat>
</availableFormats>
<generalDesc>
<nationalNumberPattern>[1-9]\d{8}</nationalNumberPattern>
<possibleNumberPattern>\d{7,9}</possibleNumberPattern>
</generalDesc>
<fixedLine>
<nationalNumberPattern>
(?:
1[28]\d|
2(?:
02|
1[24]|
2[2-4]|
33|
[45]2|
6[23]
)|
365
)\d{6}
</nationalNumberPattern>
<exampleNumber>123123456</exampleNumber>
</fixedLine>
<mobile>
<nationalNumberPattern>
(?:
4[04]|
5[015]|
60|
7[07]
)\d{7}
</nationalNumberPattern>
<possibleNumberPattern>\d{9}</possibleNumberPattern>
<exampleNumber>401234567</exampleNumber>
</mobile>
<tollFree>
<!-- 88 is listed as fixed-line for Baku in the ITU document, but online numbers seem to
suggest they are in fact national toll-free numbers. -->
<nationalNumberPattern>88\d{7}</nationalNumberPattern>
<possibleNumberPattern>\d{9}</possibleNumberPattern>
<exampleNumber>881234567</exampleNumber>
</tollFree>
<premiumRate>
<!-- These are marked as Interactive Calls in the ITU document. -->
<nationalNumberPattern>900200\d{3}</nationalNumberPattern>
<possibleNumberPattern>\d{9}</possibleNumberPattern>
<exampleNumber>900200123</exampleNumber>
</premiumRate>
</territory>
<!-- Bosnia and Herzegovina -->
<!-- http://www.rak.ba/eng/index.php?uid=1272016657 (accessible from
http://www.cra.ba/en/telecom/numbering/) -->
<!-- http://en.wikipedia.org/wiki/+387 -->
<territory id="BA" countryCode="387" internationalPrefix="00"
nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
mobileNumberPortableRegion="true">
<availableFormats>
<numberFormat pattern="(\d{2})(\d{3})(\d{3})">
<leadingDigits>[3-5]</leadingDigits>
<format>$1 $2-$3</format>
</numberFormat>
<numberFormat pattern="(\d{2})(\d{3})(\d{3})">
<leadingDigits>
6[1-356]|
[7-9]
</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
<numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{3})">
<leadingDigits>6[047]</leadingDigits>
<format>$1 $2 $3 $4</format>
</numberFormat>
</availableFormats>
<generalDesc>
<nationalNumberPattern>[3-9]\d{7,8}</nationalNumberPattern>
<possibleNumberPattern>\d{6,9}</possibleNumberPattern>
</generalDesc>
<fixedLine>
<nationalNumberPattern>
(?:
[35]\d|
49
)\d{6}
</nationalNumberPattern>
<possibleNumberPattern>\d{6,8}</possibleNumberPattern>
<exampleNumber>30123456</exampleNumber>
</fixedLine>
<mobile>
<nationalNumberPattern>
6(?:
03|
44|
71|
[1-356]
)\d{6}
</nationalNumberPattern>
<possibleNumberPattern>\d{8,9}</possibleNumberPattern>
<exampleNumber>61123456</exampleNumber>
</mobile>
<tollFree>
<nationalNumberPattern>8[08]\d{6}</nationalNumberPattern>
<possibleNumberPattern>\d{8}</possibleNumberPattern>
<exampleNumber>80123456</exampleNumber>
</tollFree>
<premiumRate>
<nationalNumberPattern>9[0246]\d{6}</nationalNumberPattern>
<possibleNumberPattern>\d{8}</possibleNumberPattern>
<exampleNumber>90123456</exampleNumber>
</premiumRate>
<sharedCost>
<!-- Using this category to model national tariff numbers - these are under Shared Cost in
the plan. -->
<nationalNumberPattern>8[12]\d{6}</nationalNumberPattern>
<possibleNumberPattern>\d{8}</possibleNumberPattern>
<exampleNumber>82123456</exampleNumber>
</sharedCost>
<uan>
<!-- Using this to classify nomad numbers. -->
<nationalNumberPattern>70[23]\d{5}</nationalNumberPattern>
<possibleNumberPattern>\d{8}</possibleNumberPattern>
<exampleNumber>70223456</exampleNumber>
</uan>
</territory>
<!-- Barbados -->
<!-- http://www.itu.int/oth/T0202000013/en -->
<territory id="BB" countryCode="1" leadingDigits="246" nationalPrefix="1"
internationalPrefix="011">
<generalDesc>
<!-- NANPA country - uses US formatting rules -->
<nationalNumberPattern>[2589]\d{9}</nationalNumberPattern>
<possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
</generalDesc>
<fixedLine>
<nationalNumberPattern>246[2-9]\d{6}</nationalNumberPattern>
<exampleNumber>2462345678</exampleNumber>
</fixedLine>
<mobile>
<nationalNumberPattern>
246(?:
(?:
2[346]|
45|
82
)\d|
25[0-4]
)\d{4}
</nationalNumberPattern>
<possibleNumberPattern>\d{10}</possibleNumberPattern>
<exampleNumber>2462501234</exampleNumber>
</mobile>
<tollFree>
<nationalNumberPattern>
8(?:
00|
55|
66|
77|
88
)[2-9]\d{6}
</nationalNumberPattern>
<possibleNumberPattern>\d{10}</possibleNumberPattern>
<exampleNumber>8002123456</exampleNumber>
</tollFree>
<premiumRate>
<nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
<possibleNumberPattern>\d{10}</possibleNumberPattern>
<exampleNumber>9002123456</exampleNumber>
</premiumRate>
<personalNumber>
<!-- http://www.nanpa.com/pdf/PL_416.pdf -->
<nationalNumberPattern>
5(?:
00|
33|
44
)[2-9]\d{6}
</nationalNumberPattern>
<possibleNumberPattern>\d{10}</possibleNumberPattern>
<exampleNumber>5002345678</exampleNumber>
</personalNumber>
</territory>
<!-- Bangladesh -->
<!-- http://www.itu.int/oth/T0202000012/en -->
<!-- http://en.wikipedia.org/wiki/Telephone_numbers_in_Bangladesh -->
<!-- http://www.btrc.gov.bd/engineering/national_numbering_plan_2005.pdf -->
<territory id="BD" countryCode="880" internationalPrefix="00[12]?"
preferredInternationalPrefix="00"
nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
<availableFormats>
<numberFormat pattern="(2)(\d{7})">
<leadingDigits>2</leadingDigits>
<format>$1-$2</format>
</numberFormat>
<numberFormat pattern="(\d{2})(\d{4,6})">
<leadingDigits>[3-79]1</leadingDigits>
<format>$1-$2</format>
</numberFormat>
<!-- Mobile numbers, VOIP, and four-digit fixed-line area codes. -->
<numberFormat pattern="(\d{4})(\d{3,6})">
<leadingDigits>
1|
3(?:
0|
[2-58]2
)|
4(?:
0|
[25]2|
3[23]|
[4689][25]
)|
5(?:
[02-578]2|
6[25]
)|
6(?:
[0347-9]2|
[26][25]
)|
7[02-9]2|
8(?:
[023][23]|
[4-7]2
)|
9(?:
[02][23]|
[458]2|
6[016]
)
</leadingDigits>
<format>$1-$2</format>
</numberFormat>
<numberFormat pattern="(\d{3})(\d{3,7})">
<leadingDigits>
[3-79][2-9]|
8
</leadingDigits>
<format>$1-$2</format>
</numberFormat>
</availableFormats>
<generalDesc>
<!-- This is quite complex so we can define that numbers beginning with 88 are not part of the
plan, so the country code can be accurately stripped off. -->
<nationalNumberPattern>
[2-79]\d{5,9}|
1\d{9}|
8[0-7]\d{4,8}
</nationalNumberPattern>
<possibleNumberPattern>\d{6,10}</possibleNumberPattern>
</generalDesc>
<fixedLine>
<!-- There was a plan to move to 10 digit fixed-line numbers, but this does not seem to have
been realised, judging by online numbers and wikipedia. These patterns are grouped
first by leading digit, then within by number of digits. Several Dhaka prefixes (02 731
etc) are included despite not being mentioned on the wikipedia page or ITU doc due to
online evidence. Another oddity is Chittagong - some numbers have a leading 2, others
do not - both are allowed for now. For some area codes, the subscriber number length
described in our source documentation doesn't match numbers online (e.g. 05222) so we
allow both for now. (This applies to 0431, 04329, 04623, 05327 as well). We have
also added 04452 and 04923 from numbers found online. -->
<nationalNumberPattern>
2(?:
7(?:
1[0-267]|
2[0-289]|
3[0-29]|
[46][01]|
5[1-3]|
7[017]|
91
)|
8(?:
0[125]|
[139][1-6]|
2[0157-9]|
6[1-35]|
7[1-5]|
8[1-8]
)|
9(?:
0[0-2]|
1[1-4]|
2[568]|
3[3-6]|
5[5-7]|
6[0167]|
7[15]|
8[016-8]
)
)\d{4}|
3(?:
12?[5-7]\d{2}|
0(?:
2(?:
[025-79]\d|
[348]\d{1,2}
)|
3(?:
[2-4]\d|
[56]\d?
)
)|
2(?:
1\d{2}|
2(?:
[12]\d|
[35]\d{1,2}|
4\d?
)
)|
3(?:
1\d{2}|
2(?:
[2356]\d|
4\d{1,2}
)
)|
4(?:
1\d{2}|
2(?:
2\d{1,2}|
[47]|
5\d{2}
)
)|
5(?:
1\d{2}|
29
)|
[67]1\d{2}|
8(?:
1\d{2}|
2(?:
2\d{2}|
3|
4\d
)
)
)\d{3}|
4(?:
0(?:
2(?:
[09]\d|
7
)|
33\d{2}
)|
1\d{3}|
2(?:
1\d{2}|
2(?:
[25]\d?|
[348]\d|
[67]\d{1,2}
)
)|
3(?:
1\d{2}(?:\d{2})?|
2(?:
[045]\d|
[236-9]\d{1,2}
)|
32\d{2}
)|
4(?:
[18]\d{2}|
2(?:
[2-46]\d{2}|
3
)|
5[25]\d{2}
)|
5(?:
1\d{2}|
2(?:
3\d|
5
)
)|
6(?:
[18]\d{2}|
2(?:
3(?:\d{2})?|
[46]\d{1,2}|
5\d{2}|
7\d
)|
5(?:
3\d?|
4\d|
[57]\d{1,2}|
6\d{2}|
8
)
)|
71\d{2}|
8(?:
[18]\d{2}|
23\d{2}|
54\d{2}
)|
9(?:
[18]\d{2}|
2[2-5]\d{2}|
53\d{1,2}
)
)\d{3}|
5(?:
02[03489]\d{2}|
1\d{2}|
2(?:
1\d{2}|
2(?:
2(?:\d{2})?|
[457]\d{2}
)
)|
3(?:
1\d{2}|
2(?:
[37](?:\d{2})?|
[569]\d{2}
)
)|
4(?:
1\d{2}|
2[46]\d{2}
)|
5(?:
1\d{2}|
26\d{1,2}
)|
6(?:
[18]\d{2}|
2|
53\d{2}
)|
7(?:
1|
24
)\d{2}|
8(?:
1|
26
)\d{2}|
91\d{2}
)\d{3}|
6(?:
0(?:
1\d{2}|
2(?:
3\d{2}|
4\d{1,2}
)
)|
2(?:
2[2-5]\d{2}|
5(?:
[3-5]\d{2}|
7
)|
8\d{2}
)|
3(?:
1|
2[3478]
)\d{2}|
4(?:
1|
2[34]
)\d{2}|
5(?:
1|
2[47]
)\d{2}|
6(?:
[18]\d{2}|
6(?:
2(?:
2\d|
[34]\d{2}
)|
5(?:
[24]\d{2}|
3\d|
5\d{1,2}
)
)
)|
72[2-5]\d{2}|
8(?:
1\d{2}|
2[2-5]\d{2}
)|
9(?:
1\d{2}|
2[2-6]\d{2}
)
)\d{3}|
7(?:
(?:
02|
[3-589]1|
6[12]|
72[24]
)\d{2}|
21\d{3}|
32
)\d{3}|
8(?:
(?:
4[12]|
[5-7]2|
1\d?
)|
(?:
0|
3[12]|
[5-7]1|
217
)\d
)\d{4}|
9(?:
[35]1|
(?:
[024]2|
81
)\d|
(?:
1|
[24]1
)\d{2}
)\d{3}
</nationalNumberPattern>
<possibleNumberPattern>\d{6,9}</possibleNumberPattern>
<exampleNumber>27111234</exampleNumber>
</fixedLine>
<mobile>
<!-- Presuming that mobile numbers with the prefixes 66, 37, 44 and 38 must be followed by
numbers [02-9] or they would clash with fixed-line codes. According to the plan, mobile
numbers should be moving to 1[13-9] anyway. -->
<nationalNumberPattern>
(?:
1[13-9]\d|
(?:
3[78]|
44
)[02-9]|
6(?:
44|
6[02-9]
)
)\d{7}
</nationalNumberPattern>
<possibleNumberPattern>\d{10}</possibleNumberPattern>
<exampleNumber>1812345678</exampleNumber>
</mobile>
<tollFree>
<!-- Note: Including Tele-voting numbers here as they are free of charge. -->
<nationalNumberPattern>80[03]\d{7}</nationalNumberPattern>
<possibleNumberPattern>\d{10}</possibleNumberPattern>
<exampleNumber>8001234567</exampleNumber>
</tollFree>
<voip>
<nationalNumberPattern>
96(?:
0[49]|
1[0-4]|
6[69]
)\d{6}
</nationalNumberPattern>
<possibleNumberPattern>\d{10}</possibleNumberPattern>
<exampleNumber>9604123456</exampleNumber>
</voip>
</territory>
<!-- Belgium -->
<!-- http://www.bipt.be/en/161/ShowContent/502/Database/Databases.aspx -->
<!-- http://www.telefoonzones.be/ -->
<territory id="BE" countryCode="32" internationalPrefix="00"
nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
mobileNumberPortableRegion="true">
<availableFormats>
<numberFormat pattern="(4[6-9]\d)(\d{2})(\d{2})(\d{2})">
<leadingDigits>4[6-9]</leadingDigits>
<format>$1 $2 $3 $4</format>
</numberFormat>
<numberFormat pattern="([2-49])(\d{3})(\d{2})(\d{2})">
<leadingDigits>
[23]|
[49][23]
</leadingDigits>
<format>$1 $2 $3 $4</format>
</numberFormat>
<numberFormat pattern="([15-8]\d)(\d{2})(\d{2})(\d{2})">
<leadingDigits>
[156]|
7[018]|
8(?:
0[1-9]|
[1-79]
)
</leadingDigits>
<format>$1 $2 $3 $4</format>
</numberFormat>
<numberFormat pattern="([89]\d{2})(\d{2})(\d{3})">
<leadingDigits>
(?:
80|
9
)0
</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
</availableFormats>
<generalDesc>
<nationalNumberPattern>[1-9]\d{7,8}</nationalNumberPattern>
<possibleNumberPattern>\d{8,9}</possibleNumberPattern>
</generalDesc>
<fixedLine>
<!-- According to the published Excel document the third digit must be 1-9. -->
<nationalNumberPattern>
(?:
1[0-69]|
[49][23]|
5\d|
6[013-57-9]|
71|
8[0-79]
)[1-9]\d{5}|
[23][2-8]\d{6}
</nationalNumberPattern>
<possibleNumberPattern>\d{8}</possibleNumberPattern>
<exampleNumber>12345678</exampleNumber>
</fixedLine>
<mobile>
<!-- Numbers beginning with 46 outside the ranges allocated by the plan have been included
since many were found online. -->
<nationalNumberPattern>
4(?:
[679]\d|
8[03-9]
)\d{6}
</nationalNumberPattern>
<possibleNumberPattern>\d{9}</possibleNumberPattern>
<exampleNumber>470123456</exampleNumber>
</mobile>
<tollFree>
<nationalNumberPattern>800\d{5}</nationalNumberPattern>
<possibleNumberPattern>\d{8}</possibleNumberPattern>
<exampleNumber>80012345</exampleNumber>
</tollFree>
<premiumRate>
<nationalNumberPattern>
(?:
70[2-7]|
90\d
)\d{5}
</nationalNumberPattern>
<possibleNumberPattern>\d{8}</possibleNumberPattern>
<exampleNumber>90123456</exampleNumber>
</premiumRate>
<uan>
<!-- Using this for National Rate Services, since
http://www.voipgate.com/site/news/newsflash/new-numbers-available-the-netherlands-and-austria.html
says it will be priced the same as any other national calls. -->
<nationalNumberPattern>78\d{6}</nationalNumberPattern>
<possibleNumberPattern>\d{8}</possibleNumberPattern>
<exampleNumber>78123456</exampleNumber>
</uan>
</territory>
<!-- Burkina Faso -->
<!-- http://www.itu.int/oth/T0202000021/en -->
<!-- http://www.onatel.bf/onatelsa/plandenumerotation_burkina.pdf -->
<territory id="BF" countryCode="226" internationalPrefix="00">
<availableFormats>
<!-- The national numbering plan from ITU suggests grouping of 2, 2 and 4, but we have
chosen to use the standard from numbers found on the internet instead. -->
<numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
<format>$1 $2 $3 $4</format>
</numberFormat>
</availableFormats>
<generalDesc>
<nationalNumberPattern>[24-7]\d{7}</nationalNumberPattern>
<possibleNumberPattern>\d{8}</possibleNumberPattern>
</generalDesc>
<fixedLine>
<!-- The prefix 50 48 has been added based on numbers found online, while 40 49 has been
deleted since we haven't found any numbers with this prefix and it is not mentioned in
the Onatel document.
IMPORTANT: Note that the ITU documents of Mar/Apr 2013 seem to have major errors in the
fixed-line table, so we have not changed our patterns based on these. -->
<nationalNumberPattern>
(?:
20(?:
49|
5[23]|
9[016-9]
)|
40(?:
4[56]|
5[4-6]|
7[0179]
)|
50[34]\d
)\d{4}
</nationalNumberPattern>
<exampleNumber>20491234</exampleNumber>
</fixedLine>
<mobile>
<nationalNumberPattern>
6(?:
[0-24-6]\d|
8[0-8]|
3[0-3]
)\d{5}|
7\d{7}
</nationalNumberPattern>
<exampleNumber>70123456</exampleNumber>
</mobile>
</territory>
<!-- Bulgaria -->
<!-- http://www.itu.int/oth/T0202000020/en -->
<territory id="BG" countryCode="359" internationalPrefix="00"
nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
mobileNumberPortableRegion="true">
<availableFormats>
<!-- Formatting rules follow the conventions seen in web-search results. A space has been
used to separate the area code from the rest of the number, based on sites like
http://www.goldenpages.bg. -->
<numberFormat pattern="(2)(\d{5})">
<leadingDigits>29</leadingDigits>
<format>$1 $2</format>
</numberFormat>
<numberFormat pattern="(2)(\d{3})(\d{3,4})">
<leadingDigits>2</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
<numberFormat pattern="(\d{3})(\d{4})">
<leadingDigits>
43[124-7]|
70[1-9]
</leadingDigits>
<format>$1 $2</format>
</numberFormat>
<numberFormat pattern="(\d{3})(\d{3})(\d{2})">
<leadingDigits>
43[124-7]|
70[1-9]
</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
<numberFormat pattern="(\d{3})(\d{2})(\d{3})">
<leadingDigits>[78]00</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
<numberFormat pattern="(\d{2})(\d{3})(\d{2,3})">
<leadingDigits>
[356]|
4[124-7]|
7[1-9]|
8[1-6]|
9[1-7]
</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
<numberFormat pattern="(\d{2})(\d{3})(\d{3,4})">
<leadingDigits>
48|
8[7-9]|
9[08]
</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
</availableFormats>
<generalDesc>
<nationalNumberPattern>
[23567]\d{5,7}|
[489]\d{6,8}
</nationalNumberPattern>
<possibleNumberPattern>\d{5,9}</possibleNumberPattern>
</generalDesc>
<fixedLine>
<!-- 29xxxx numbers have been added because they can be found online, and are typically
used by taxi companies. -->
<nationalNumberPattern>
2(?:
[0-8]\d{5,6}|
9\d{4,6}
)|
(?:
[36]\d|
5[1-9]|
8[1-6]|
9[1-7]
)\d{5,6}|
(?:
4(?:
[124-7]\d|
3[1-6]
)|
7(?:
0[1-9]|
[1-9]\d
)
)\d{4,5}
</nationalNumberPattern>
<possibleNumberPattern>\d{5,8}</possibleNumberPattern>
<exampleNumber>2123456</exampleNumber>
</fixedLine>
<mobile>
<nationalNumberPattern>
(?:
8[7-9]|
98
)\d{7}|
4(?:
3[0789]|
8\d
)\d{5}
</nationalNumberPattern>
<possibleNumberPattern>\d{8,9}</possibleNumberPattern>
<exampleNumber>48123456</exampleNumber>
</mobile>
<tollFree>
<nationalNumberPattern>800\d{5}</nationalNumberPattern>
<possibleNumberPattern>\d{8}</possibleNumberPattern>
<exampleNumber>80012345</exampleNumber>
</tollFree>
<premiumRate>
<nationalNumberPattern>90\d{6}</nationalNumberPattern>
<possibleNumberPattern>\d{8}</possibleNumberPattern>
<exampleNumber>90123456</exampleNumber>
</premiumRate>
<personalNumber>
<nationalNumberPattern>700\d{5}</nationalNumberPattern>
<exampleNumber>70012345</exampleNumber>
</personalNumber>
</territory>
<!-- Bahrain -->
<!-- http://www.itu.int/oth/T0202000011/en -->
<!-- http://www.tra.org.bh/en/pdf/National_Numbering_Plan_2.pdf -->
<!-- http://www.tra.org.bh/en/marketNumbering.aspx -->
<!-- http://en.wikipedia.org/wiki/Telephone_numbers_in_Bahrain -->
<territory id="BH" countryCode="973" internationalPrefix="00" mobileNumberPortableRegion="true">
<availableFormats>
<numberFormat pattern="(\d{4})(\d{4})">
<format>$1 $2</format>
</numberFormat>
</availableFormats>
<generalDesc>
<nationalNumberPattern>[136-9]\d{7}</nationalNumberPattern>
<possibleNumberPattern>\d{8}</possibleNumberPattern>
</generalDesc>
<!-- Universal Service numbers are under both Mobile and Fixed-Line, as they can be assigned
to either. -->
<!-- According to http://en.wikipedia.org/wiki/Telephone_numbers_in_Bahrain, the ranges
"6966-6969, 6996, 6999" are assigned to Rapid. However this contradicts our ranges of
"6966, 6969, 6996-6999". TODO: Investigate this further. -->
<fixedLine>
<nationalNumberPattern>
(?:
1(?:
3[13-6]|
6[0156]|
7\d
)\d|
6(?:
1[16]\d|
6(?:
0\d|
3[12]|
44|
88
)|
9(?:
6[69]|
9[6-9]
)
)|
7(?:
7\d{2}|
178
)
)\d{4}
</nationalNumberPattern>
<exampleNumber>17001234</exampleNumber>
</fixedLine>
<!-- Previously 6644 was assigned to Universal Service, along with 6111, 6160, 6500, 6600,
6688, 6969, 6996, 6999, and 77. These were put under both Mobile and Fixed-Line, as they
could be assigned to either. However, in the new document these are assigned to
Fixed-Line only (with the exception of 6644 which was removed). For now we are keeping
these number in both sections.
Note also that 31 is not listed in the ITU document and could probably be removed.
TODO: Check above ranges and move/remove ranges where necessary.-->
<mobile>
<nationalNumberPattern>
(?:
3(?:
[1-4679]\d|
5[0135]|
8[348]
)\d|
6(?:
1[16]\d|
3(?:
00|
33|
6[16]
)|
500|
6(?:
[069]\d|
3[03-9]|
44|
88
)|
9(?:
6[69]|
9[6-9]
)
)|
77\d{2}
)\d{4}
</nationalNumberPattern>
<exampleNumber>36001234</exampleNumber>
</mobile>
<tollFree>
<nationalNumberPattern>80\d{6}</nationalNumberPattern>
<exampleNumber>80123456</exampleNumber>
</tollFree>
<!-- 87 numbers are "wholly paid by the caller", so they are slotted under premium-rate for
now. -->
<premiumRate>
<nationalNumberPattern>
(?:
87|
9[014578]
)\d{6}
</nationalNumberPattern>
<exampleNumber>90123456</exampleNumber>
</premiumRate>
<sharedCost>
<nationalNumberPattern>84\d{6}</nationalNumberPattern>
<exampleNumber>84123456</exampleNumber>
</sharedCost>
</territory>
<!-- Burundi -->
<!-- http://www.itu.int/oth/T0202000022/en -->
<territory id="BI" countryCode="257" internationalPrefix="00">
<availableFormats>
<numberFormat
pattern="([27]\d)(\d{2})(\d{2})(\d{2})">
<format>$1 $2 $3 $4</format>
</numberFormat>
</availableFormats>
<generalDesc>
<nationalNumberPattern>[27]\d{7}</nationalNumberPattern>
<possibleNumberPattern>\d{8}</possibleNumberPattern>
</generalDesc>
<fixedLine>
<nationalNumberPattern>
22(?:
2[0-7]|
[3-5]0
)\d{4}
</nationalNumberPattern>
<exampleNumber>22201234</exampleNumber>
</fixedLine>
<mobile>
<!-- Extra online mobile number prefixes found: 74.
The 29 prefix is listed as a mobile prefix, but many people list it as their fixed home
number. We will keep it as mobile for now, but it may actually be a prefix for fixed
satellite phones. -->
<nationalNumberPattern>
(?:
29|
7[14-9]
)\d{6}
</nationalNumberPattern>
<exampleNumber>79561234</exampleNumber>
</mobile>
</territory>
<!-- Benin -->
<!-- http://www.itu.int/oth/T0202000017/en -->
<territory id="BJ" countryCode="229" internationalPrefix="00">
<availableFormats>
<numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
<format>$1 $2 $3 $4</format>
</numberFormat>
<!-- Numbers beginning with 7 should be formatted as a block. -->
</availableFormats>
<generalDesc>
<nationalNumberPattern>
[2689]\d{7}|
7\d{3}
</nationalNumberPattern>
<possibleNumberPattern>\d{4,8}</possibleNumberPattern>
</generalDesc>
<fixedLine>
<!-- These come from the national numbering plan, but have been widened to include other
prefixes found in the yellow pages - specifically 21 0. -->
<nationalNumberPattern>
2(?:
02|
1[037]|
2[45]|
3[68]
)\d{5}
</nationalNumberPattern>
<possibleNumberPattern>\d{8}</possibleNumberPattern>
<exampleNumber>20211234</exampleNumber>
</fixedLine>
<mobile>
<!-- We have restricted the pattern here to the first two digits, as beyond this the data
seems to be no longer accurate. The prefixes 9[46] have also been added, along with
6[67] (seemingly prefixes for Mobile MTN), and 64 for BeninCell. Glo Mobile has been
reported as having prefixes 68 and 9[89]. -->
<nationalNumberPattern>
(?:
6[46-8]|
9[03-9]
)\d{6}
</nationalNumberPattern>
<possibleNumberPattern>\d{8}</possibleNumberPattern>
<exampleNumber>90011234</exampleNumber>
</mobile>
<tollFree>
<nationalNumberPattern>7[3-5]\d{2}</nationalNumberPattern>
<possibleNumberPattern>\d{4}</possibleNumberPattern>
<exampleNumber>7312</exampleNumber>
</tollFree>
<voip>
<nationalNumberPattern>857[58]\d{4}</nationalNumberPattern>
<possibleNumberPattern>\d{8}</possibleNumberPattern>
<exampleNumber>85751234</exampleNumber>
</voip>
<!-- Numbers beginning with 81 are reserved for _either_ free phone or shared-cost (same cost
as a local-call.) We model these as UAN since we have no more detailed information. -->
<uan>
<nationalNumberPattern>81\d{6}</nationalNumberPattern>
<possibleNumberPattern>\d{8}</possibleNumberPattern>
<exampleNumber>81123456</exampleNumber>
</uan>
</territory>
<!-- Saint Barthélemy, French Antilles -->
<!-- There seems to be some overlap with phone numbers from Saint Martin and Guadeloupe. The
national numbering plan does not specify any St Barthélemy-specific numbering prefixes, but
it appears from searches in online white and yellow pages that a subset of the prefixes
available in these regions are used. In these cases, if getRegionCodeForNumber is used, one
of these region codes will be returned, although numbers will be valid for both regions.
-->
<!-- http://www.itu.int/oth/T0202000058/en -->
<territory id="BL" countryCode="590" internationalPrefix="00" nationalPrefix="0">
<!-- Formatting rules borrowed from Guadeloupe. -->
<generalDesc>
<nationalNumberPattern>[56]\d{8}</nationalNumberPattern>
<possibleNumberPattern>\d{9}</possibleNumberPattern>
</generalDesc>
<fixedLine>
<nationalNumberPattern>
590(?:
2[7-9]|
5[12]|
87
)\d{4}
</nationalNumberPattern>
<exampleNumber>590271234</exampleNumber>
</fixedLine>
<mobile>
<!-- Any ranges assigned from
http://www.arcep.fr/index.php?id=interactivenumeros have been listed as belonging to
Guadeloupe, St Martin and St Barthélemy, since we can't reliably distinguish between
them. -->
<nationalNumberPattern>
690(?:
0[0-7]|
[1-9]\d
)\d{4}
</nationalNumberPattern>
<exampleNumber>690301234</exampleNumber>
</mobile>
</territory>
<!-- Bermuda -->
<!-- http://www.itu.int/oth/T0202000018/en -->
<territory id="BM" countryCode="1" leadingDigits="441" nationalPrefix="1"
internationalPrefix="011">
<generalDesc>
<!-- NANPA country - uses US formatting rules -->
<nationalNumberPattern>[4589]\d{9}</nationalNumberPattern>
<possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
</generalDesc>
<fixedLine>
<nationalNumberPattern>
441(?:
2(?:
02|
23|
61|
[3479]\d
)|
[46]\d{2}|
5(?:
4\d|
60|
89
)|
824
)\d{4}
</nationalNumberPattern>
<exampleNumber>4412345678</exampleNumber>
</fixedLine>
<mobile>
<nationalNumberPattern>
441(?:
[37]\d|
5[0-39]
)\d{5}
</nationalNumberPattern>
<possibleNumberPattern>\d{10}</possibleNumberPattern>
<exampleNumber>4413701234</exampleNumber>
</mobile>
<tollFree>
<nationalNumberPattern>
8(?:
00|
55|
66|
77|
88
)[2-9]\d{6}
</nationalNumberPattern>
<possibleNumberPattern>\d{10}</possibleNumberPattern>
<exampleNumber>8002123456</exampleNumber>
</tollFree>
<premiumRate>
<nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
<possibleNumberPattern>\d{10}</possibleNumberPattern>
<exampleNumber>9002123456</exampleNumber>
</premiumRate>
<personalNumber>
<!-- http://www.nanpa.com/pdf/PL_416.pdf -->
<nationalNumberPattern>
5(?:
00|
33|
44
)[2-9]\d{6}
</nationalNumberPattern>
<possibleNumberPattern>\d{10}</possibleNumberPattern>
<exampleNumber>5002345678</exampleNumber>
</personalNumber>
</territory>
<!-- Brunei Darussalam -->
<!-- http://www.itu.int/oth/T020200001F/en -->
<territory id="BN" countryCode="673" internationalPrefix="00">
<!-- Format is from http://aiti.gov.bn/contact.html -->
<availableFormats>
<numberFormat pattern="([2-578]\d{2})(\d{4})">
<format>$1 $2</format>
</numberFormat>
</availableFormats>
<generalDesc>
<nationalNumberPattern>[2-578]\d{6}</nationalNumberPattern>
<possibleNumberPattern>\d{7}</possibleNumberPattern>
</generalDesc>
<fixedLine>
<nationalNumberPattern>[2-5]\d{6}</nationalNumberPattern>
<exampleNumber>2345678</exampleNumber>
</fixedLine>
<mobile>
<nationalNumberPattern>[78]\d{6}</nationalNumberPattern>
<exampleNumber>7123456</exampleNumber>
</mobile>
</territory>
<!-- Bolivia -->
<!-- http://www.itu.int/oth/T020200001A/en -->
<!-- http://www.bolivia.com/Servicios/Plandenumeracion.pdf -->
<territory id="BO" countryCode="591" internationalPrefix="00(1\d)?" nationalPrefix="0"
nationalPrefixForParsing="0(1\d)?" carrierCodeFormattingRule="$NP$CC $FG">
<availableFormats>
<numberFormat pattern="([234])(\d{7})">
<leadingDigits>[234]</leadingDigits>
<format>$1 $2</format>
</numberFormat>
<numberFormat pattern="([67]\d{7})">
<leadingDigits>[67]</leadingDigits>
<format>$1</format>
</numberFormat>
</availableFormats>
<generalDesc>
<nationalNumberPattern>[23467]\d{7}</nationalNumberPattern>
<possibleNumberPattern>\d{7,8}</possibleNumberPattern>
</generalDesc>
<fixedLine>
<nationalNumberPattern>
(?:
2(?:
2\d{2}|
5(?:11|[258]\d|9[67])|
6(?:12|2\d|9[34])|
8(?:2[34]|39|62)
)|
3(?:
3\d{2}|
4(?:6\d|8[24])|
8(?:25|42|5[257]|86|9[25])|
9(?:2\d|3[234]|4[248]|5[24]|6[2-6]|7\d)
)|
4(?:
4\d{2}|
6(?:11|[24689]\d|72)
)
)\d{4}
</nationalNumberPattern>
<possibleNumberPattern>\d{7,8}</possibleNumberPattern>
<exampleNumber>22123456</exampleNumber>
</fixedLine>
<mobile>
<nationalNumberPattern>[67]\d{7}</nationalNumberPattern>
<possibleNumberPattern>\d{8}</possibleNumberPattern>
<exampleNumber>71234567</exampleNumber>
</mobile>
</territory>
<!-- Bonaire, Sint Eustatius and Saba -->
<!-- http://www.itu.int/oth/T02020000F8/en -->
<territory id="BQ" countryCode="599" internationalPrefix="00">
<!-- Shares formatting patterns with CW. -->
<generalDesc>
<nationalNumberPattern>[347]\d{6}</nationalNumberPattern>
<possibleNumberPattern>\d{7}</possibleNumberPattern>
</generalDesc>
<fixedLine>
<nationalNumberPattern>
(?:
318[023]|
416[0239]|
7(?:
1[578]|
50
)\d
)\d{3}
</nationalNumberPattern>
<exampleNumber>7151234</exampleNumber>
</fixedLine>
<mobile>
<nationalNumberPattern>
(?:
318[1456]|
416[15-8]|
7(?:
0[01]|
[89]\d
)\d
)\d{3}|
</nationalNumberPattern>
<exampleNumber>3181234</exampleNumber>
</mobile>
</territory>
<!-- Brazil -->
<!-- http://en.wikipedia.org/wiki/%2B55 -->
<!-- http://www.itu.int/oth/T020200001D/en -->
<territory id="BR" countryCode="55"
internationalPrefix="00(?:1[45]|2[135]|[34]1|43)"
nationalPrefix="0"
nationalPrefixForParsing="0(?:(1[245]|2[135]|[34]1)(\d{10,11}))?"
nationalPrefixTransformRule="$2" mobileNumberPortableRegion="true">
<!-- The national prefix for parsing here also contains a capturing group for the main number,
since the carrier codes here may also be area codes, so we want to check the length of
the number after capturing. We also need a nationalTransformRule to repopulate with the
number without the carrier code. -->
<availableFormats>
<!-- Numbers can be dialled without an area code on mobile phones in Brazil. The first two
rules here handle this case. The leading digits pattern must be specific enough such
that it doesn't match X00 numbers (e.g. toll-free). -->
<numberFormat nationalPrefixFormattingRule="$FG" pattern="(\d{4})(\d{4})">
<leadingDigits>
[2-9](?:
[1-9]|
0[1-9]
)
</leadingDigits>
<format>$1-$2</format>
<intlFormat>NA</intlFormat>
</numberFormat>
<numberFormat nationalPrefixFormattingRule="$FG" pattern="(\d{5})(\d{4})">
<leadingDigits>
9(?:
[1-9]|
0[1-9]
)
</leadingDigits>
<format>$1-$2</format>
<intlFormat>NA</intlFormat>
</numberFormat>
<!-- Format short numbers as a block. -->
<numberFormat nationalPrefixFormattingRule="$FG" pattern="(\d{3,5})">
<leadingDigits>1[125689]</leadingDigits>
<format>$1</format>
<intlFormat>NA</intlFormat>
</numberFormat>
<numberFormat nationalPrefixFormattingRule="($FG)"
pattern="(\d{2})(\d{5})(\d{4})"
carrierCodeFormattingRule="$NP $CC ($FG)">
<leadingDigits>
(?:
1[1-9]|
2[12478]
)9
</leadingDigits>
<format>$1 $2-$3</format>
</numberFormat>
<numberFormat nationalPrefixFormattingRule="($FG)"
pattern="(\d{2})(\d{4})(\d{4})"
carrierCodeFormattingRule="$NP $CC ($FG)">
<leadingDigits>[1-9][1-9]</leadingDigits>
<format>$1 $2-$3</format>
</numberFormat>
<numberFormat pattern="([34]00\d)(\d{4})">
<leadingDigits>[34]00</leadingDigits>
<format>$1-$2</format>
</numberFormat>
<numberFormat nationalPrefixFormattingRule="$NP$FG"
pattern="([3589]00)(\d{2,3})(\d{4})">
<leadingDigits>[3589]00</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
</availableFormats>
<generalDesc>
<nationalNumberPattern>
[1-46-9]\d{7,10}|
5\d{8,9}
</nationalNumberPattern>
<possibleNumberPattern>\d{8,11}</possibleNumberPattern>
</generalDesc>
<noInternationalDialling>
<nationalNumberPattern>[34]00\d{5}</nationalNumberPattern>
<possibleNumberPattern>\d{8}</possibleNumberPattern>
<exampleNumber>40041234</exampleNumber>
</noInternationalDialling>
<fixedLine>
<!-- According to this publication, the prefixes 11 53, 11 54 and 11 57 are to be used for
mobile phones prior to the introduction of a ninth digit. It is not clear whether they
are still valid as fixed-line numbers, so we are leaving them here in the meantime:
http://www.anatel.gov.br/Portal/exibirPortalNoticias.do?acao=carregaNoticia&codigo=22406
-->
<nationalNumberPattern>
1[1-9][2-5]\d{7}|
(?:
[4689][1-9]|
2[12478]|
3[1-578]|
5[13-5]|
7[13-579]
)[2-5]\d{7}
</nationalNumberPattern>
<exampleNumber>1123456789</exampleNumber>
</fixedLine>
<!-- Also includes the new 11-digit mobile numbers that are being rolled out since 2012,
which are added at the end. -->
<mobile>
<nationalNumberPattern>
1(?:
1(?:
5[347]|
[6-9]\d
)|
[2-9][6-9]\d
)\d{6}|
(?:
2[12478]|
3[1-578]|
[4689][1-9]|
5[13-5]|
7[13-579]
)[6-9]\d{7}|
(?:
1(?:
19\d|
[2-9]9[6-9]
)|
2[12478]9[6-9]
)\d{7}
</nationalNumberPattern>
<possibleNumberPattern>\d{10,11}</possibleNumberPattern>
<exampleNumber>1161234567</exampleNumber>
</mobile>
<tollFree>
<nationalNumberPattern>800\d{6,7}</nationalNumberPattern>
<exampleNumber>800123456</exampleNumber>
</tollFree>
<premiumRate>
<nationalNumberPattern>[359]00\d{6,7}</nationalNumberPattern>
<exampleNumber>300123456</exampleNumber>
</premiumRate>
<sharedCost>
<nationalNumberPattern>[34]00\d{5}</nationalNumberPattern>
<possibleNumberPattern>\d{8}</possibleNumberPattern>
<exampleNumber>40041234</exampleNumber>
</sharedCost>
</territory>
<!-- Bahamas -->
<!-- http://www.itu.int/oth/T0202000010/en -->
<territory id="BS" countryCode="1" leadingDigits="242" nationalPrefix="1"
internationalPrefix="011">
<generalDesc>
<!-- NANPA country - uses US formatting rules -->
<nationalNumberPattern>[2589]\d{9}</nationalNumberPattern>
<possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
</generalDesc>
<fixedLine>
<nationalNumberPattern>
242(?:
3(?:
02|
[236][1-9]|
4[0-24-9]|
5[0-68]|
7[3467]|
8[0-4]|
9[2-467]
)|
461|
502|
6(?:
12|
7[67]|
8[78]|
9[89]
)|
702
)\d{4}
</nationalNumberPattern>
<exampleNumber>2423456789</exampleNumber>
</fixedLine>
<mobile>
<nationalNumberPattern>
242(?:
3(?:
5[79]|
[79]5
)|
4(?:
[2-4][1-9]|
5[1-8]|
6[2-8]|
7\d|
81
)|
5(?:
2[45]|
3[35]|
44|
5[1-9]|
65|
77
)|
6[34]6|
727
)\d{4}
</nationalNumberPattern>
<possibleNumberPattern>\d{10}</possibleNumberPattern>
<exampleNumber>2423591234</exampleNumber>
</mobile>
<tollFree>
<!-- 242 300 is a Domestic Toll Free service. -->
<nationalNumberPattern>
242300\d{4}|
8(?:
00|
55|
66|
77|
88
)[2-9]\d{6}
</nationalNumberPattern>
<possibleNumberPattern>\d{10}</possibleNumberPattern>
<exampleNumber>8002123456</exampleNumber>
</tollFree>
<premiumRate>
<nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
<possibleNumberPattern>\d{10}</possibleNumberPattern>
<exampleNumber>9002123456</exampleNumber>
</premiumRate>
<personalNumber>
<!-- http://www.nanpa.com/pdf/PL_416.pdf -->
<nationalNumberPattern>
5(?:
00|
33|
44
)[2-9]\d{6}
</nationalNumberPattern>
<possibleNumberPattern>\d{10}</possibleNumberPattern>
<exampleNumber>5002345678</exampleNumber>
</personalNumber>
</territory>
<!-- Bhutan -->
<!-- http://www.itu.int/oth/T0202000019/en -->
<territory id="BT" countryCode="975" internationalPrefix="00">
<availableFormats>
<!-- Format is from
http://www.tourism.gov.bt/tour-operators/bhutan-abbot-tours-and-travels.html -->
<numberFormat pattern="([17]7)(\d{2})(\d{2})(\d{2})">
<leadingDigits>
1|
77
</leadingDigits>
<format>$1 $2 $3 $4</format>
</numberFormat>
<numberFormat pattern="([2-8])(\d{3})(\d{3})">
<leadingDigits>
[2-68]|
7[246]
</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
</availableFormats>
<generalDesc>
<nationalNumberPattern>[1-8]\d{6,7}</nationalNumberPattern>
<possibleNumberPattern>\d{6,8}</possibleNumberPattern>
</generalDesc>
<fixedLine>
<nationalNumberPattern>
(?:
2[3-6]|
[34][5-7]|
5[236]|
6[2-46]|
7[246]|
8[2-4]
)\d{5}
</nationalNumberPattern>
<possibleNumberPattern>\d{6,7}</possibleNumberPattern>
<exampleNumber>2345678</exampleNumber>
</fixedLine>
<mobile>
<!-- The 77 prefix is not yet in the ITU document but numbers online indicate this prefix
is in use. -->
<nationalNumberPattern>[17]7\d{6}</nationalNumberPattern>
<possibleNumberPattern>\d{8}</possibleNumberPattern>
<exampleNumber>17123456</exampleNumber>
</mobile>
<!-- No information on other types of phone numbers for Bhutan has been found. -->
</territory>
<!-- Botswana -->
<!-- http://www.itu.int/oth/T020200001C/en -->
<territory id="BW" countryCode="267" internationalPrefix="00">
<availableFormats>
<numberFormat pattern="(\d{3})(\d{4})">
<leadingDigits>[2-6]</leadingDigits>
<format>$1 $2</format>
</numberFormat>
<numberFormat pattern="(7\d)(\d{3})(\d{3})">
<leadingDigits>7</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
<numberFormat pattern="(90)(\d{5})">
<leadingDigits>9</leadingDigits>
<format>$1 $2</format>
</numberFormat>
</availableFormats>
<generalDesc>
<nationalNumberPattern>[2-79]\d{6,7}</nationalNumberPattern>
<possibleNumberPattern>\d{7,8}</possibleNumberPattern>
</generalDesc>
<fixedLine>
<nationalNumberPattern>
(?:
2(?:
4[0-48]|
6[0-24]|
9[0578]
)|
3(?:
1[0235-9]|
55|
6\d|
7[01]|
9[0-57]
)|
4(?:
6[03]|
7[1267]|
9[0-5]
)|