summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Drysdale <drysdale@google.com>2017-08-03 18:33:43 +0100
committerDavid Drysdale <drysdale@google.com>2017-08-03 18:33:43 +0100
commit5a9bf828b06b6f0d38ef28b0ab2617b3eebe01ba (patch)
treecc68c4c2950cfa843a5f71008a4e90604dafc266
parent2be1e06142f5b6a69ce754363b8a7fc3e7dcd841 (diff)
Merge metadata changes from upstream 8.7.1
Includes changes in resources/ up to and including upstream commit fb9aa53ecfa3: "[maven-release-plugin] prepare release v8.7.1"
-rw-r--r--resources/PhoneNumberMetadata.xml5915
-rw-r--r--resources/ShortNumberMetadata.xml465
-rw-r--r--resources/carrier/en/1.txt24
-rw-r--r--resources/carrier/en/254.txt1
-rw-r--r--resources/carrier/en/374.txt1
-rw-r--r--resources/carrier/en/56.txt6
-rw-r--r--resources/carrier/en/852.txt1
-rw-r--r--resources/carrier/zh/852.txt4
-rw-r--r--resources/carrier/zh_Hant/852.txt3
-rw-r--r--resources/geocoding/en/1.txt1
-rw-r--r--resources/timezones/map_data.txt90
11 files changed, 3472 insertions, 3039 deletions
diff --git a/resources/PhoneNumberMetadata.xml b/resources/PhoneNumberMetadata.xml
index aee011d1..47c85079 100644
--- a/resources/PhoneNumberMetadata.xml
+++ b/resources/PhoneNumberMetadata.xml
@@ -33,7 +33,19 @@
Country code, international and national prefix information main source:
http://www.itu.int/pub/T-SP-E.164C-2011
--->
+
+ Known omissions:
+ * French Southern Territories (id="TF" countryCode="262")
+ This is not covered due to lack of information about its numbering plan. It has 140
+ temporary inhabitants.
+
+ * Pitcairn Island (id="PN")
+ This is not supported since evidence seems to be that the 50 inhabitants use satellite
+ phones.
+
+ See also:
+ https://github.com/googlei18n/libphonenumber/blob/master/FAQ.md#unsupported
+ -->
<!DOCTYPE phoneNumberMetadata [
<!ELEMENT phoneNumberMetadata (territories)>
@@ -43,18 +55,18 @@
sharedCost?, personalNumber?, voip?, uan?, voicemail?)>
<!ELEMENT references (sourceUrl+)>
<!ELEMENT generalDesc (nationalNumberPattern)>
- <!ELEMENT noInternationalDialling (nationalNumberPattern, possibleLengths, exampleNumber)>
- <!ELEMENT areaCodeOptional (nationalNumberPattern, possibleLengths, exampleNumber)>
- <!ELEMENT fixedLine (nationalNumberPattern, possibleLengths, exampleNumber)>
- <!ELEMENT mobile (nationalNumberPattern, possibleLengths, exampleNumber)>
- <!ELEMENT pager (nationalNumberPattern, possibleLengths, exampleNumber)>
- <!ELEMENT tollFree (nationalNumberPattern, possibleLengths, exampleNumber)>
- <!ELEMENT premiumRate (nationalNumberPattern, possibleLengths, exampleNumber)>
- <!ELEMENT sharedCost (nationalNumberPattern, possibleLengths, exampleNumber)>
- <!ELEMENT personalNumber (nationalNumberPattern, possibleLengths, exampleNumber)>
- <!ELEMENT voip (nationalNumberPattern, possibleLengths, exampleNumber)>
- <!ELEMENT uan (nationalNumberPattern, possibleLengths, exampleNumber)>
- <!ELEMENT voicemail (nationalNumberPattern, possibleLengths, exampleNumber)>
+ <!ELEMENT noInternationalDialling (possibleLengths, exampleNumber, nationalNumberPattern)>
+ <!ELEMENT areaCodeOptional (possibleLengths, exampleNumber, nationalNumberPattern)>
+ <!ELEMENT fixedLine (possibleLengths, exampleNumber, nationalNumberPattern)>
+ <!ELEMENT mobile (possibleLengths, exampleNumber, nationalNumberPattern)>
+ <!ELEMENT pager (possibleLengths, exampleNumber, nationalNumberPattern)>
+ <!ELEMENT tollFree (possibleLengths, exampleNumber, nationalNumberPattern)>
+ <!ELEMENT premiumRate (possibleLengths, exampleNumber, nationalNumberPattern)>
+ <!ELEMENT sharedCost (possibleLengths, exampleNumber, nationalNumberPattern)>
+ <!ELEMENT personalNumber (possibleLengths, exampleNumber, nationalNumberPattern)>
+ <!ELEMENT voip (possibleLengths, exampleNumber, nationalNumberPattern)>
+ <!ELEMENT uan (possibleLengths, exampleNumber, nationalNumberPattern)>
+ <!ELEMENT voicemail (possibleLengths, exampleNumber, nationalNumberPattern)>
<!ELEMENT sourceUrl (#PCDATA)>
<!ELEMENT availableFormats (numberFormat+)>
<!ELEMENT nationalNumberPattern (#PCDATA)>
@@ -102,22 +114,20 @@
</nationalNumberPattern>
</generalDesc>
<fixedLine>
- <nationalNumberPattern>
- 6[2-467]\d{3}
- </nationalNumberPattern>
<possibleLengths national="5"/>
<exampleNumber>62889</exampleNumber>
+ <nationalNumberPattern>6[2-467]\d{3}</nationalNumberPattern>
</fixedLine>
<mobile>
- <!-- Note prefix 4 is reserved for mobile use , not currently in use -->
- <nationalNumberPattern>4\d{4}</nationalNumberPattern>
<possibleLengths national="5"/>
<exampleNumber>40123</exampleNumber>
+ <!-- Note prefix 4 is reserved for mobile use , not currently in use -->
+ <nationalNumberPattern>4\d{4}</nationalNumberPattern>
</mobile>
<uan>
- <nationalNumberPattern>[01589]\d{5}</nationalNumberPattern>
<possibleLengths national="6"/>
<exampleNumber>542011</exampleNumber>
+ <nationalNumberPattern>[01589]\d{5}</nationalNumberPattern>
</uan>
</territory>
@@ -151,16 +161,18 @@
</nationalNumberPattern>
</generalDesc>
<noInternationalDialling>
- <nationalNumberPattern>1800\d{4}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>18000000</exampleNumber>
+ <nationalNumberPattern>1800\d{4}</nationalNumberPattern>
</noInternationalDialling>
<fixedLine>
- <nationalNumberPattern>[78]\d{5}</nationalNumberPattern>
<possibleLengths national="6"/>
<exampleNumber>712345</exampleNumber>
+ <nationalNumberPattern>[78]\d{5}</nationalNumberPattern>
</fixedLine>
<mobile>
+ <possibleLengths national="6,9"/>
+ <exampleNumber>312345</exampleNumber>
<nationalNumberPattern>
(?:
3\d|
@@ -170,29 +182,27 @@
)
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="6,9"/>
- <exampleNumber>312345</exampleNumber>
</mobile>
<tollFree>
+ <possibleLengths national="8"/>
+ <exampleNumber>18001234</exampleNumber>
<!-- Note that the definitions of 1800 and 1802 numbers differ in the plan and on the
Andorran http://www.sta.ad website, but we consider both to be freephone here. -->
<nationalNumberPattern>180[02]\d{4}</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>18001234</exampleNumber>
</tollFree>
<!-- The national numbering plan says that 6-digit numbers beginning with 1 and 9 are reserved
for special services, so we assume they are premium rate here, although we cannot find
examples online. -->
<premiumRate>
- <nationalNumberPattern>[19]\d{5}</nationalNumberPattern>
<possibleLengths national="6"/>
<exampleNumber>912345</exampleNumber>
+ <nationalNumberPattern>[19]\d{5}</nationalNumberPattern>
</premiumRate>
</territory>
<!-- United Arab Emirates -->
- <territory id="AE" countryCode="971" internationalPrefix="00"
- nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
+ <territory id="AE" countryCode="971" internationalPrefix="00" nationalPrefix="0"
+ nationalPrefixFormattingRule="$NP$FG">
<references>
<sourceUrl>http://www.itu.int/oth/T02020000DC/en</sourceUrl>
</references>
@@ -224,54 +234,52 @@
</nationalNumberPattern>
</generalDesc>
<fixedLine>
- <nationalNumberPattern>[2-4679][2-8]\d{6}</nationalNumberPattern>
<possibleLengths national="8" localOnly="7"/>
<exampleNumber>22345678</exampleNumber>
+ <nationalNumberPattern>[2-4679][2-8]\d{6}</nationalNumberPattern>
</fixedLine>
<!-- Prefixes 54 and 58 are mentioned on Wikipedia,
https://en.wikipedia.org/wiki/Telephone_numbers_in_the_United_Arab_Emirates. -->
<mobile>
- <nationalNumberPattern>5[024-68]\d{7}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>501234567</exampleNumber>
+ <nationalNumberPattern>5[024-68]\d{7}</nationalNumberPattern>
</mobile>
<tollFree>
+ <possibleLengths national="[5-12]"/>
+ <exampleNumber>800123456</exampleNumber>
<nationalNumberPattern>
400\d{6}|
800\d{2,9}
</nationalNumberPattern>
- <possibleLengths national="[5-12]"/>
- <exampleNumber>800123456</exampleNumber>
</tollFree>
<premiumRate>
- <nationalNumberPattern>900[02]\d{5}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>900234567</exampleNumber>
+ <nationalNumberPattern>900[02]\d{5}</nationalNumberPattern>
</premiumRate>
<sharedCost>
- <nationalNumberPattern>700[05]\d{5}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>700012345</exampleNumber>
+ <nationalNumberPattern>700[05]\d{5}</nationalNumberPattern>
</sharedCost>
<uan>
- <nationalNumberPattern>600[25]\d{5}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>600212345</exampleNumber>
+ <nationalNumberPattern>600[25]\d{5}</nationalNumberPattern>
</uan>
</territory>
<!-- Afghanistan -->
- <territory id="AF" countryCode="93" internationalPrefix="00"
- nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
+ <territory id="AF" countryCode="93" internationalPrefix="00" nationalPrefix="0"
+ nationalPrefixFormattingRule="$NP$FG">
<references>
<sourceUrl>http://www.itu.int/oth/T0202000001/en</sourceUrl>
</references>
<availableFormats>
<!-- Formatting based primarily on ITU document. -->
<numberFormat pattern="([2-7]\d)(\d{3})(\d{4})">
- <leadingDigits>
- [2-7]
- </leadingDigits>
+ <leadingDigits>[2-7]</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
</availableFormats>
@@ -279,6 +287,8 @@
<nationalNumberPattern>[2-7]\d{8}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="9" localOnly="7"/>
+ <exampleNumber>234567890</exampleNumber>
<nationalNumberPattern>
(?:
[25][0-8]|
@@ -286,10 +296,10 @@
6[0-5]
)[2-9]\d{6}
</nationalNumberPattern>
- <possibleLengths national="9" localOnly="7"/>
- <exampleNumber>234567890</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="9"/>
+ <exampleNumber>701234567</exampleNumber>
<nationalNumberPattern>
7(?:
[014-9]\d|
@@ -297,22 +307,22 @@
30
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>701234567</exampleNumber>
</mobile>
</territory>
<!-- Antigua and Barbuda -->
- <territory id="AG" countryCode="1" leadingDigits="268" nationalPrefix="1"
- internationalPrefix="011">
+ <!-- Country calling code and formatting shared with 'US' -->
+ <territory id="AG" countryCode="1" leadingDigits="268" internationalPrefix="011"
+ nationalPrefix="1">
<references>
<sourceUrl>http://www.itu.int/oth/T0202000008/en</sourceUrl>
</references>
<generalDesc>
- <!-- NANPA country - uses US formatting rules -->
<nationalNumberPattern>[2589]\d{9}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="10" localOnly="7"/>
+ <exampleNumber>2684601234</exampleNumber>
<!-- 268 468 is not in the plan, but has been added after numbers with this prefix have been
found in online searches. -->
<nationalNumberPattern>
@@ -324,17 +334,17 @@
56[0-2]
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="10" localOnly="7"/>
- <exampleNumber>2684601234</exampleNumber>
</fixedLine>
<mobile>
- <!-- 268 732/734/736/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.
- -->
+ <possibleLengths national="10" localOnly="7"/>
+ <exampleNumber>2684641234</exampleNumber>
+ <!-- 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(?:
+ 1[3-9]|
2\d|
3[246]|
64|
@@ -343,15 +353,15 @@
)
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="10" localOnly="7"/>
- <exampleNumber>2684641234</exampleNumber>
</mobile>
<pager>
- <nationalNumberPattern>26840[69]\d{4}</nationalNumberPattern>
<possibleLengths national="10" localOnly="7"/>
<exampleNumber>2684061234</exampleNumber>
+ <nationalNumberPattern>26840[69]\d{4}</nationalNumberPattern>
</pager>
<tollFree>
+ <possibleLengths national="10"/>
+ <exampleNumber>8002123456</exampleNumber>
<nationalNumberPattern>
8(?:
00|
@@ -363,15 +373,15 @@
88
)[2-9]\d{6}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>8002123456</exampleNumber>
</tollFree>
<premiumRate>
- <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>9002123456</exampleNumber>
+ <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
</premiumRate>
<personalNumber>
+ <possibleLengths national="10"/>
+ <exampleNumber>5002345678</exampleNumber>
<!-- https://www.nationalnanpa.com/number_resource_info/5XX_codes.html -->
<nationalNumberPattern>
5(?:
@@ -384,38 +394,38 @@
88
)[2-9]\d{6}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>5002345678</exampleNumber>
</personalNumber>
<voip>
- <!-- This is included as Centrex in the plan. -->
- <nationalNumberPattern>26848[01]\d{4}</nationalNumberPattern>
<possibleLengths national="10" localOnly="7"/>
<exampleNumber>2684801234</exampleNumber>
+ <!-- This is included as Centrex in the plan. -->
+ <nationalNumberPattern>26848[01]\d{4}</nationalNumberPattern>
</voip>
</territory>
<!-- Anguilla -->
- <territory id="AI" countryCode="1" leadingDigits="264" nationalPrefix="1"
- internationalPrefix="011">
+ <!-- Country calling code and formatting shared with 'US' -->
+ <territory id="AI" countryCode="1" leadingDigits="264" internationalPrefix="011"
+ nationalPrefix="1">
<references>
<sourceUrl>http://www.itu.int/oth/T0202000007/en</sourceUrl>
</references>
<generalDesc>
- <!-- NANPA country - uses US formatting rules -->
<nationalNumberPattern>[2589]\d{9}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="10" localOnly="7"/>
+ <exampleNumber>2644612345</exampleNumber>
<nationalNumberPattern>
2644(?:
6[12]|
9[78]
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="10" localOnly="7"/>
- <exampleNumber>2644612345</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="10" localOnly="7"/>
+ <exampleNumber>2642351234</exampleNumber>
<nationalNumberPattern>
264(?:
235|
@@ -430,10 +440,10 @@
)
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="10" localOnly="7"/>
- <exampleNumber>2642351234</exampleNumber>
</mobile>
<tollFree>
+ <possibleLengths national="10"/>
+ <exampleNumber>8002123456</exampleNumber>
<nationalNumberPattern>
8(?:
00|
@@ -445,15 +455,15 @@
88
)[2-9]\d{6}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>8002123456</exampleNumber>
</tollFree>
<premiumRate>
- <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>9002123456</exampleNumber>
+ <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
</premiumRate>
<personalNumber>
+ <possibleLengths national="10"/>
+ <exampleNumber>5002345678</exampleNumber>
<!-- https://www.nationalnanpa.com/number_resource_info/5XX_codes.html -->
<nationalNumberPattern>
5(?:
@@ -466,15 +476,12 @@
88
)[2-9]\d{6}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>5002345678</exampleNumber>
</personalNumber>
</territory>
<!-- Albania -->
- <territory id="AL" countryCode="355" internationalPrefix="00"
- nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
- mobileNumberPortableRegion="true">
+ <territory id="AL" countryCode="355" internationalPrefix="00" nationalPrefix="0"
+ nationalPrefixFormattingRule="$NP$FG" mobileNumberPortableRegion="true">
<references>
<sourceUrl>http://www.itu.int/oth/T0202000002/en</sourceUrl>
</references>
@@ -513,6 +520,8 @@
</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="8" localOnly="[5-7]"/>
+ <exampleNumber>22345678</exampleNumber>
<nationalNumberPattern>
(?:
2(?:
@@ -575,10 +584,10 @@
)
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="8" localOnly="[5-7]"/>
- <exampleNumber>22345678</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="9"/>
+ <exampleNumber>662123456</exampleNumber>
<!-- More specific prefixes from the 1.NumraAlokuar.rar file linked from the ITU doc. -->
<nationalNumberPattern>
6(?:
@@ -586,31 +595,29 @@
7[2-6]
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>662123456</exampleNumber>
</mobile>
<tollFree>
- <nationalNumberPattern>800\d{4}</nationalNumberPattern>
<possibleLengths national="7"/>
<exampleNumber>8001234</exampleNumber>
+ <nationalNumberPattern>800\d{4}</nationalNumberPattern>
</tollFree>
<premiumRate>
+ <possibleLengths national="6"/>
+ <exampleNumber>900123</exampleNumber>
<!-- 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[1-9]\d{2}</nationalNumberPattern>
- <possibleLengths national="6"/>
- <exampleNumber>900123</exampleNumber>
</premiumRate>
<sharedCost>
- <nationalNumberPattern>808[1-9]\d{2}</nationalNumberPattern>
<possibleLengths national="6"/>
<exampleNumber>808123</exampleNumber>
+ <nationalNumberPattern>808[1-9]\d{2}</nationalNumberPattern>
</sharedCost>
<personalNumber>
- <nationalNumberPattern>700[2-9]\d{4}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>70021234</exampleNumber>
+ <nationalNumberPattern>700[2-9]\d{4}</nationalNumberPattern>
</personalNumber>
</territory>
@@ -618,9 +625,8 @@
<!-- 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)"
- mobileNumberPortableRegion="true" >
+ <territory id="AM" countryCode="374" internationalPrefix="00" nationalPrefix="0"
+ nationalPrefixFormattingRule="($NP$FG)" mobileNumberPortableRegion="true">
<references>
<sourceUrl>http://www.itu.int/oth/T020200000A/en</sourceUrl>
<sourceUrl>http://en.wikipedia.org/wiki/%2B374</sourceUrl>
@@ -638,6 +644,7 @@
<leadingDigits>
4[1349]|
[5-7]|
+ 88|
9[1-9]
</leadingDigits>
<format>$1 $2</format>
@@ -658,6 +665,8 @@
<nationalNumberPattern>[1-9]\d{7}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="8" localOnly="5,6"/>
+ <exampleNumber>10123456</exampleNumber>
<!-- Includes telephone numbers in Nagorno-Karabakh Republic, physically located inside
Azerbaijan, which use prefix 47. -->
<nationalNumberPattern>
@@ -675,38 +684,39 @@
47\d
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="8" localOnly="5,6"/>
- <exampleNumber>10123456</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="8"/>
+ <exampleNumber>77123456</exampleNumber>
<!-- Part of the range 97 is used by Nagorno-Karabakh Republic. -->
<nationalNumberPattern>
(?:
4[1349]|
55|
77|
+ 88|
9[1-9]
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>77123456</exampleNumber>
</mobile>
<tollFree>
- <nationalNumberPattern>800\d{5}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>80012345</exampleNumber>
+ <nationalNumberPattern>800\d{5}</nationalNumberPattern>
</tollFree>
<premiumRate>
- <nationalNumberPattern>90[016]\d{5}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>90012345</exampleNumber>
+ <nationalNumberPattern>90[016]\d{5}</nationalNumberPattern>
</premiumRate>
<sharedCost>
- <nationalNumberPattern>80[1-4]\d{5}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>80112345</exampleNumber>
+ <nationalNumberPattern>80[1-4]\d{5}</nationalNumberPattern>
</sharedCost>
<voip>
+ <possibleLengths national="8"/>
+ <exampleNumber>60271234</exampleNumber>
<nationalNumberPattern>
60(?:
2[078]|
@@ -714,8 +724,6 @@
8[0-5]
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>60271234</exampleNumber>
</voip>
</territory>
@@ -733,21 +741,21 @@
<nationalNumberPattern>[29]\d{8}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="9"/>
+ <exampleNumber>222123456</exampleNumber>
<nationalNumberPattern>
2\d(?:
[26-9]\d|
\d[26-9]
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>222123456</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="9"/>
+ <exampleNumber>923123456</exampleNumber>
<!-- 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>
- <possibleLengths national="9"/>
- <exampleNumber>923123456</exampleNumber>
</mobile>
</territory>
@@ -756,106 +764,107 @@
(which is captured, so that it can be retained), followed by 15, which is the mobile token,
which will be stripped if present. We expect the following combinations: 0AC15 and AC15
(where the 0 and 15 will be stripped, and it will be transformed into 9AC), 0, and 15 (in
- the latter two cases we just strip the 0 or 15 as appropriate and leave the number as is.)
- -->
+ the latter two cases we just strip the 0 or 15 as appropriate and leave the number as is.) -->
<territory id="AR" countryCode="54" internationalPrefix="00" nationalPrefix="0"
nationalPrefixForParsing="
- 0?(?:(
- 11|
- 2(?:
+ 0?(?:
+ (
+ 11|
2(?:
- 02?|
- [13]|
- 2[13-79]|
- 4[1-6]|
- 5[2457]|
- 6[124-8]|
- 7[1-4]|
- 8[13-6]|
- 9[1267]
+ 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(?:
- 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[0-24-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(?:
- [069]|
- 1[1568]|
- 2[15]|
- 3[145]|
- 4[13]|
- 5[14-8]|
- 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]
+ 3(?:
+ 2[79]|
+ 6|
+ 8[2578]
+ )|
+ 4(?:
+ 0[0-24-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(?:
+ [069]|
+ 1[1568]|
+ 2[15]|
+ 3[145]|
+ 4[13]|
+ 5[14-8]|
+ 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)?"
+ )?15
+ )?"
nationalPrefixTransformRule="9$1" nationalPrefixFormattingRule="$NP$FG"
mobileNumberPortableRegion="true">
<references>
@@ -916,8 +925,7 @@
See also:
https://github.com/googlei18n/libphonenumber/issues/611
- https://github.com/googlei18n/libphonenumber/issues/559
- -->
+ https://github.com/googlei18n/libphonenumber/issues/559 -->
<!-- Do NOT copy this into the section below. Removing the leading '9' will make it match
only 2 digits and the first <leadingDigits> section must always match 3 digits. -->
<leadingDigits>
@@ -963,8 +971,7 @@
- 3856 (19:44) - excluded
- 3876 (56:99) - excluded
- 3885 (120:45)
- - 3886 (3:137) - excluded
- -->
+ - 3886 (3:137) - excluded -->
<!-- If modified, copy this expression into the section below, minus the leading '9' -->
<leadingDigits>
9(?:
@@ -1047,7 +1054,7 @@
4|
5[014]|
6[1239]
- )|
+ )|
[58]4
)|
5(?:
@@ -1146,52 +1153,52 @@
)
</leadingDigits>
<leadingDigits>
+ 2(?:
2(?:
- 2(?:
- 0[013-9]|
- [13]
- )|
- 3(?:
- 0[013-9]|
- [67]
- )|
- 49|
- 6(?:
- [0136]|
- 4[0-59]
- )|
- 8|
- 9(?:
- [19]|
- 44|
- 7[013-9]|
- 8[14]
- )
+ 0[013-9]|
+ [13]
)|
3(?:
- 36|
- 4(?:
- [12]|
- 3(?:
- 4|
- 5[014]|
- 6[1239]
- )|
- [58]4
- )|
- 5(?:
- 1|
- 3[0-24-689]|
- 8[46]
+ 0[013-9]|
+ [67]
+ )|
+ 49|
+ 6(?:
+ [0136]|
+ 4[0-59]
+ )|
+ 8|
+ 9(?:
+ [19]|
+ 44|
+ 7[013-9]|
+ 8[14]
+ )
+ )|
+ 3(?:
+ 36|
+ 4(?:
+ [12]|
+ 3(?:
+ 4|
+ 5[014]|
+ 6[1239]
)|
- 6|
- 7[069]|
- 8(?:
- [01]|
- 34|
- [578][45]
- )
+ [58]4
+ )|
+ 5(?:
+ 1|
+ 3[0-24-689]|
+ 8[46]
+ )|
+ 6|
+ 7[069]|
+ 8(?:
+ [01]|
+ 34|
+ [578][45]
)
+ )
</leadingDigits>
<format>$1 $2-$3</format>
</numberFormat>
@@ -1209,9 +1216,9 @@
<intlFormat>NA</intlFormat>
</numberFormat>
</availableFormats>
- <generalDesc>
- <!-- We restrict the second digit after 1 here so we can recognise and strip the 15 mobile
+ <!-- We restrict the second digit after 1 here so we can recognise and strip the 15 mobile
carrier prefix when we see it. -->
+ <generalDesc>
<nationalNumberPattern>
11\d{8}|
[2368]\d{9}|
@@ -1219,11 +1226,13 @@
</nationalNumberPattern>
</generalDesc>
<noInternationalDialling>
- <nationalNumberPattern>810\d{7}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>8101234567</exampleNumber>
+ <nationalNumberPattern>810\d{7}</nationalNumberPattern>
</noInternationalDialling>
<fixedLine>
+ <possibleLengths national="10" localOnly="[6-8]"/>
+ <exampleNumber>1123456789</exampleNumber>
<!-- Also covering fixed satellite service numbers (670). -->
<nationalNumberPattern>
11\d{8}|
@@ -1306,10 +1315,10 @@
670\d
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="10" localOnly="[6-8]"/>
- <exampleNumber>1123456789</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="10,11" localOnly="[6-8]"/>
+ <exampleNumber>91123456789</exampleNumber>
<!-- 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
@@ -1339,37 +1348,37 @@
\d{4}[2-9]\d{5}
)
</nationalNumberPattern>
- <possibleLengths national="10,11" localOnly="[6-8]"/>
- <exampleNumber>91123456789</exampleNumber>
</mobile>
<tollFree>
- <nationalNumberPattern>800\d{7}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>8001234567</exampleNumber>
+ <nationalNumberPattern>800\d{7}</nationalNumberPattern>
</tollFree>
<premiumRate>
- <nationalNumberPattern>60[04579]\d{7}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>6001234567</exampleNumber>
+ <nationalNumberPattern>60[04579]\d{7}</nationalNumberPattern>
</premiumRate>
<uan>
- <nationalNumberPattern>810\d{7}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>8101234567</exampleNumber>
+ <nationalNumberPattern>810\d{7}</nationalNumberPattern>
</uan>
</territory>
<!-- American Samoa -->
- <territory id="AS" countryCode="1" leadingDigits="684" nationalPrefix="1"
- internationalPrefix="011">
+ <!-- Country calling code and formatting shared with 'US' -->
+ <territory id="AS" countryCode="1" leadingDigits="684" internationalPrefix="011"
+ nationalPrefix="1">
<references>
<sourceUrl>http://www.itu.int/oth/T0202000004/en</sourceUrl>
</references>
<generalDesc>
- <!-- NANPA country - uses US formatting rules -->
<nationalNumberPattern>[5689]\d{9}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="10" localOnly="7"/>
+ <exampleNumber>6846221234</exampleNumber>
<nationalNumberPattern>
6846(?:
22|
@@ -1381,10 +1390,10 @@
9[19]
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="10" localOnly="7"/>
- <exampleNumber>6846221234</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="10" localOnly="7"/>
+ <exampleNumber>6847331234</exampleNumber>
<!-- Added 25[246] and 272, operated by Blue Sky. Added 731, 770, operated by ASTCA. -->
<nationalNumberPattern>
684(?:
@@ -1398,10 +1407,10 @@
)
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="10" localOnly="7"/>
- <exampleNumber>6847331234</exampleNumber>
</mobile>
<tollFree>
+ <possibleLengths national="10"/>
+ <exampleNumber>8002123456</exampleNumber>
<nationalNumberPattern>
8(?:
00|
@@ -1413,15 +1422,15 @@
88
)[2-9]\d{6}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>8002123456</exampleNumber>
</tollFree>
<premiumRate>
- <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>9002123456</exampleNumber>
+ <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
</premiumRate>
<personalNumber>
+ <possibleLengths national="10"/>
+ <exampleNumber>5002345678</exampleNumber>
<!-- https://www.nationalnanpa.com/number_resource_info/5XX_codes.html -->
<nationalNumberPattern>
5(?:
@@ -1434,15 +1443,12 @@
88
)[2-9]\d{6}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>5002345678</exampleNumber>
</personalNumber>
</territory>
<!-- Austria -->
- <territory id="AT" countryCode="43" internationalPrefix="00"
- nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
- mobileNumberPortableRegion="true">
+ <territory id="AT" countryCode="43" internationalPrefix="00" nationalPrefix="0"
+ nationalPrefixFormattingRule="$NP$FG" mobileNumberPortableRegion="true">
<references>
<sourceUrl>http://www.rtr.at/en/tk/E129</sourceUrl>
</references>
@@ -1507,13 +1513,15 @@
[5-79]
)
</leadingDigits>
- <format>$1 $2</format>
- </numberFormat>
+ <format>$1 $2</format>
+ </numberFormat>
</availableFormats>
<generalDesc>
<nationalNumberPattern>[1-9]\d{3,12}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="[4-13]" localOnly="3"/>
+ <exampleNumber>1234567890</exampleNumber>
<!-- 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
@@ -1571,10 +1579,10 @@
)
)\d{3,10}
</nationalNumberPattern>
- <possibleLengths national="[4-13]" localOnly="3"/>
- <exampleNumber>1234567890</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="[7-13]"/>
+ <exampleNumber>664123456</exampleNumber>
<nationalNumberPattern>
6(?:
5[0-3579]|
@@ -1582,25 +1590,25 @@
[7-9]\d
)\d{4,10}
</nationalNumberPattern>
- <possibleLengths national="[7-13]"/>
- <exampleNumber>664123456</exampleNumber>
</mobile>
<tollFree>
- <nationalNumberPattern>800\d{6,10}</nationalNumberPattern>
<possibleLengths national="[9-13]"/>
<exampleNumber>800123456</exampleNumber>
+ <nationalNumberPattern>800\d{6,10}</nationalNumberPattern>
</tollFree>
<premiumRate>
+ <possibleLengths national="[9-13]"/>
+ <exampleNumber>900123456</exampleNumber>
<nationalNumberPattern>
9(?:
0[01]|
3[019]
)\d{6,10}
</nationalNumberPattern>
- <possibleLengths national="[9-13]"/>
- <exampleNumber>900123456</exampleNumber>
</premiumRate>
<sharedCost>
+ <possibleLengths national="[8-13]"/>
+ <exampleNumber>810123456</exampleNumber>
<nationalNumberPattern>
8(?:
10\d|
@@ -1610,15 +1618,15 @@
)
)\d{5,9}
</nationalNumberPattern>
- <possibleLengths national="[8-13]"/>
- <exampleNumber>810123456</exampleNumber>
</sharedCost>
<voip>
- <nationalNumberPattern>780\d{6,10}</nationalNumberPattern>
<possibleLengths national="[9-13]"/>
<exampleNumber>780123456</exampleNumber>
+ <nationalNumberPattern>780\d{6,10}</nationalNumberPattern>
</voip>
<uan>
+ <possibleLengths national="[5-13]"/>
+ <exampleNumber>50123</exampleNumber>
<nationalNumberPattern>
5(?:
(?:
@@ -1629,51 +1637,44 @@
)|
720\d{6,10}
</nationalNumberPattern>
- <possibleLengths national="[5-13]"/>
- <exampleNumber>50123</exampleNumber>
</uan>
</territory>
<!-- Australia -->
- <!-- Metadata shared with Cocos Islands (CC) and Christmas Islands (CX). International prefix
- based on the wikipedia page, either being a combination of the "Provider override codes"
- with the default IDD (0011) following, or the default IDD, or the other IDD codes for
- non-default carriers. -->
- <territory id="AU" countryCode="61" mainCountryForCode="true"
+ <!-- International prefix based on the wikipedia page, either being a combination of the
+ "Provider override codes" with the default IDD (0011) following, or the default IDD,
+ or the other IDD codes for non-default carriers. -->
+ <!-- Main region for 'CC,CX' -->
+ <territory id="AU" mainCountryForCode="true" countryCode="61"
+ preferredInternationalPrefix="0011"
internationalPrefix="(?:14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011)|001[14-689]"
- preferredInternationalPrefix="0011" nationalPrefix="0"
- mobileNumberPortableRegion="true">
+ nationalPrefix="0" mobileNumberPortableRegion="true">
<references>
<sourceUrl>http://www.itu.int/oth/T020200000D/en</sourceUrl>
<sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Australia</sourceUrl>
<sourceUrl>https://www.thenumberingsystem.com.au/#/number-register/search</sourceUrl>
</references>
<availableFormats>
- <numberFormat nationalPrefixFormattingRule="($NP$FG)"
- pattern="([2378])(\d{4})(\d{4})">
+ <numberFormat pattern="([2378])(\d{4})(\d{4})" nationalPrefixFormattingRule="($NP$FG)">
<leadingDigits>[2378]</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
- <numberFormat nationalPrefixFormattingRule="$NP$FG"
- pattern="(\d{3})(\d{3})(\d{3})">
+ <numberFormat pattern="(\d{3})(\d{3})(\d{3})" nationalPrefixFormattingRule="$NP$FG">
<leadingDigits>
[45]|
14
</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
- <numberFormat nationalPrefixFormattingRule="$NP$FG"
- pattern="(16)(\d{3,4})">
+ <numberFormat pattern="(16)(\d{3,4})" nationalPrefixFormattingRule="$NP$FG">
<leadingDigits>16</leadingDigits>
<format>$1 $2</format>
</numberFormat>
- <numberFormat nationalPrefixFormattingRule="$NP$FG"
- pattern="(16)(\d{3})(\d{2,4})">
+ <numberFormat pattern="(16)(\d{3})(\d{2,4})" nationalPrefixFormattingRule="$NP$FG">
<leadingDigits>16</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
- <numberFormat nationalPrefixFormattingRule="$FG"
- pattern="(1[389]\d{2})(\d{3})(\d{3})">
+ <numberFormat pattern="(1[389]\d{2})(\d{3})(\d{3})" nationalPrefixFormattingRule="$FG">
<leadingDigits>
1(?:
[38]0|
@@ -1688,24 +1689,20 @@
</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
- <numberFormat nationalPrefixFormattingRule="$FG"
- pattern="(180)(2\d{3})">
+ <numberFormat pattern="(180)(2\d{3})" nationalPrefixFormattingRule="$FG">
<leadingDigits>180</leadingDigits>
<leadingDigits>1802</leadingDigits>
<format>$1 $2</format>
</numberFormat>
- <numberFormat nationalPrefixFormattingRule="$FG"
- pattern="(19\d)(\d{3})">
+ <numberFormat pattern="(19\d)(\d{3})" nationalPrefixFormattingRule="$FG">
<leadingDigits>19[13]</leadingDigits>
<format>$1 $2</format>
</numberFormat>
- <numberFormat nationalPrefixFormattingRule="$FG"
- pattern="(19\d{2})(\d{4})">
+ <numberFormat pattern="(19\d{2})(\d{4})" nationalPrefixFormattingRule="$FG">
<leadingDigits>19[679]</leadingDigits>
<format>$1 $2</format>
</numberFormat>
- <numberFormat nationalPrefixFormattingRule="$FG"
- pattern="(13)(\d{2})(\d{2})">
+ <numberFormat pattern="(13)(\d{2})(\d{2})" nationalPrefixFormattingRule="$FG">
<leadingDigits>13[1-9]</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
@@ -1717,6 +1714,8 @@
</nationalNumberPattern>
</generalDesc>
<noInternationalDialling>
+ <possibleLengths national="[6-8],10"/>
+ <exampleNumber>1300123456</exampleNumber>
<nationalNumberPattern>
1(?:
3(?:
@@ -1730,10 +1729,10 @@
)
)
</nationalNumberPattern>
- <possibleLengths national="[6-8],10"/>
- <exampleNumber>1300123456</exampleNumber>
</noInternationalDialling>
<fixedLine>
+ <possibleLengths national="9" localOnly="8"/>
+ <exampleNumber>212345678</exampleNumber>
<!-- Note: For prefix 877 and 878 the pattern could be stricter.
Only 87[78]000\d{3} are assigned.
Excludes prefixes used by Cocos Islands and Christmas Islands. -->
@@ -1750,10 +1749,10 @@
)
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="9" localOnly="8"/>
- <exampleNumber>212345678</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="9"/>
+ <exampleNumber>412345678</exampleNumber>
<!-- Includes MobileSat and Thuraya satellite services. According to the wikipedia page,
other ranges 14[1-3] are not currently used. Note CC and CX should be updated as well
if this pattern changes. Prefix 472 is added based on user report. -->
@@ -1772,38 +1771,38 @@
9[017-9]
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>412345678</exampleNumber>
</mobile>
<pager>
- <nationalNumberPattern>16\d{3,7}</nationalNumberPattern>
<possibleLengths national="[5-9]"/>
<exampleNumber>1612345</exampleNumber>
+ <nationalNumberPattern>16\d{3,7}</nationalNumberPattern>
</pager>
<tollFree>
+ <possibleLengths national="7,10"/>
+ <exampleNumber>1800123456</exampleNumber>
<nationalNumberPattern>
180(?:
0\d{3}|
2
)\d{3}
</nationalNumberPattern>
- <possibleLengths national="7,10"/>
- <exampleNumber>1800123456</exampleNumber>
</tollFree>
<premiumRate>
+ <possibleLengths national="8,10"/>
+ <exampleNumber>1900123456</exampleNumber>
<nationalNumberPattern>
19(?:
0[0126]\d|
[679]
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="8,10"/>
- <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. -->
+ <possibleLengths national="6,8,10"/>
+ <exampleNumber>1300123456</exampleNumber>
+ <!-- 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{3}|
@@ -1811,21 +1810,19 @@
\d
)\d{3}
</nationalNumberPattern>
- <possibleLengths national="6,8,10"/>
- <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>
<possibleLengths national="9"/>
<exampleNumber>500123456</exampleNumber>
+ <nationalNumberPattern>500\d{6}</nationalNumberPattern>
</personalNumber>
<voip>
- <nationalNumberPattern>550\d{6}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>550123456</exampleNumber>
+ <nationalNumberPattern>550\d{6}</nationalNumberPattern>
</voip>
</territory>
@@ -1843,17 +1840,19 @@
<nationalNumberPattern>[25-9]\d{6}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="7"/>
+ <exampleNumber>5212345</exampleNumber>
<nationalNumberPattern>
5(?:
2\d|
8[1-9]
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="7"/>
- <exampleNumber>5212345</exampleNumber>
</fixedLine>
<mobile>
- <!-- The prefixes 662, 994 & 96[45], while not in the plan, seem to be used in mobile
+ <possibleLengths national="7"/>
+ <exampleNumber>5601234</exampleNumber>
+ <!-- The prefixes 662, 994 and 96[45], while not in the plan, seem to be used in mobile
numbers found online. -->
<nationalNumberPattern>
(?:
@@ -1874,36 +1873,33 @@
)
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="7"/>
- <exampleNumber>5601234</exampleNumber>
</mobile>
<tollFree>
- <nationalNumberPattern>800\d{4}</nationalNumberPattern>
<possibleLengths national="7"/>
<exampleNumber>8001234</exampleNumber>
+ <nationalNumberPattern>800\d{4}</nationalNumberPattern>
</tollFree>
<premiumRate>
- <nationalNumberPattern>900\d{4}</nationalNumberPattern>
<possibleLengths national="7"/>
<exampleNumber>9001234</exampleNumber>
+ <nationalNumberPattern>900\d{4}</nationalNumberPattern>
</premiumRate>
<voip>
+ <possibleLengths national="7"/>
+ <exampleNumber>5011234</exampleNumber>
<nationalNumberPattern>
28\d{5}|
501\d{4}
</nationalNumberPattern>
- <possibleLengths national="7"/>
- <exampleNumber>5011234</exampleNumber>
</voip>
</territory>
<!-- Åland Islands. -->
- <!-- Metadata shared with Finland. -->
<!-- Adding all international carrier access codes in below doc that we found corroborating
evidence for. https://www.viestintavirasto.fi/en/internettelephone/numberingoftelecommunicationsnetworks/internationalcalls/internationalcarrieraccesscodes.html -->
- <territory id="AX" countryCode="358"
- internationalPrefix="00|99(?:[02469]|5(?:11|33|5[59]|88|9[09]))"
- preferredInternationalPrefix="00" nationalPrefix="0">
+ <!-- Country calling code and formatting shared with 'FI' -->
+ <territory id="AX" countryCode="358" preferredInternationalPrefix="00"
+ internationalPrefix="00|99(?:[02469]|5(?:11|33|5[59]|88|9[09]))" nationalPrefix="0">
<references>
<sourceUrl>https://www.viestintavirasto.fi/internetpuhelin/puhelinverkonnumerointi.html</sourceUrl>
</references>
@@ -1919,6 +1915,8 @@
</nationalNumberPattern>
</generalDesc>
<noInternationalDialling>
+ <possibleLengths national="[5-10]"/>
+ <exampleNumber>1001234</exampleNumber>
<!-- According to the national numbering plan, service numbers are in general not accessible
from abroad, although 600/700/800 numbers may be. -->
<nationalNumberPattern>
@@ -1939,16 +1937,16 @@
5[03-9]\d{5,6}
)
</nationalNumberPattern>
- <possibleLengths national="[5-10]"/>
- <exampleNumber>1001234</exampleNumber>
</noInternationalDialling>
<fixedLine>
- <nationalNumberPattern>18[1-8]\d{4,6}</nationalNumberPattern>
<possibleLengths national="[7-9]"/>
<exampleNumber>181234567</exampleNumber>
+ <nationalNumberPattern>18[1-8]\d{4,6}</nationalNumberPattern>
</fixedLine>
<!-- The mobile, toll free, premium rate and UAN numbers are copied from Finland. -->
<mobile>
+ <possibleLengths national="[8-11]"/>
+ <exampleNumber>412345678</exampleNumber>
<nationalNumberPattern>
4(?:
[0-8]\d{6,8}|
@@ -1956,20 +1954,20 @@
)|
50\d{6,8}
</nationalNumberPattern>
- <possibleLengths national="[8-11]"/>
- <exampleNumber>412345678</exampleNumber>
</mobile>
<tollFree>
- <nationalNumberPattern>800\d{5,6}</nationalNumberPattern>
<possibleLengths national="8,9"/>
<exampleNumber>800123456</exampleNumber>
+ <nationalNumberPattern>800\d{5,6}</nationalNumberPattern>
</tollFree>
<premiumRate>
- <nationalNumberPattern>[67]00\d{5,6}</nationalNumberPattern>
<possibleLengths national="8,9"/>
<exampleNumber>600123456</exampleNumber>
+ <nationalNumberPattern>[67]00\d{5,6}</nationalNumberPattern>
</premiumRate>
<uan>
+ <possibleLengths national="[5-10]"/>
+ <exampleNumber>10112345</exampleNumber>
<!-- 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. Prefixes 70[78] and 7099
@@ -2018,8 +2016,6 @@
5[03-9]\d{5,6}
)
</nationalNumberPattern>
- <possibleLengths national="[5-10]"/>
- <exampleNumber>10112345</exampleNumber>
</uan>
</territory>
@@ -2049,8 +2045,7 @@
<leadingDigits>[4-8]</leadingDigits>
<format>$1 $2 $3 $4</format>
</numberFormat>
- <numberFormat pattern="(\d{3})(\d{2})(\d{2})(\d{2})"
- nationalPrefixFormattingRule="$NP$FG">
+ <numberFormat pattern="(\d{3})(\d{2})(\d{2})(\d{2})" nationalPrefixFormattingRule="$NP$FG">
<leadingDigits>9</leadingDigits>
<format>$1 $2 $3 $4</format>
</numberFormat>
@@ -2062,6 +2057,8 @@
by ITU. Added it to fixedline numbers as whole 12 range numbers are fixedline
numbers in Baku. -->
<fixedLine>
+ <possibleLengths national="9" localOnly="7"/>
+ <exampleNumber>123123456</exampleNumber>
<nationalNumberPattern>
(?:
1[28]\d{3}|
@@ -2079,10 +2076,10 @@
)
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="9" localOnly="7"/>
- <exampleNumber>123123456</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="9"/>
+ <exampleNumber>401234567</exampleNumber>
<!-- Prefix 36554 is added to mobile as per confirmation from Ministry of
Communications in Azerbaijan. -->
<nationalNumberPattern>
@@ -2096,28 +2093,25 @@
)\d{3}
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>401234567</exampleNumber>
</mobile>
<tollFree>
+ <possibleLengths national="9"/>
+ <exampleNumber>881234567</exampleNumber>
<!-- 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>
- <possibleLengths national="9"/>
- <exampleNumber>881234567</exampleNumber>
</tollFree>
<premiumRate>
- <!-- These are marked as Interactive Calls in the ITU document. -->
- <nationalNumberPattern>900200\d{3}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>900200123</exampleNumber>
+ <!-- These are marked as Interactive Calls in the ITU document. -->
+ <nationalNumberPattern>900200\d{3}</nationalNumberPattern>
</premiumRate>
</territory>
<!-- Bosnia and Herzegovina -->
- <territory id="BA" countryCode="387" internationalPrefix="00"
- nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
- mobileNumberPortableRegion="true">
+ <territory id="BA" countryCode="387" internationalPrefix="00" nationalPrefix="0"
+ nationalPrefixFormattingRule="$NP$FG" mobileNumberPortableRegion="true">
<references>
<!-- accessible from http://www.cra.ba/en/telecom/numbering/ -->
<sourceUrl>http://www.rak.ba/eng/index.php?uid=1272016657</sourceUrl>
@@ -2144,16 +2138,18 @@
<nationalNumberPattern>[3-9]\d{7,8}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="8" localOnly="6"/>
+ <exampleNumber>30123456</exampleNumber>
<nationalNumberPattern>
(?:
[35]\d|
49
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="8" localOnly="6"/>
- <exampleNumber>30123456</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="8,9"/>
+ <exampleNumber>61123456</exampleNumber>
<nationalNumberPattern>
6(?:
0(?:
@@ -2165,99 +2161,99 @@
71[137]
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="8,9"/>
- <exampleNumber>61123456</exampleNumber>
</mobile>
<tollFree>
- <nationalNumberPattern>8[08]\d{6}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>80123456</exampleNumber>
+ <nationalNumberPattern>8[08]\d{6}</nationalNumberPattern>
</tollFree>
<premiumRate>
- <nationalNumberPattern>9[0246]\d{6}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>90123456</exampleNumber>
+ <nationalNumberPattern>9[0246]\d{6}</nationalNumberPattern>
</premiumRate>
<sharedCost>
+ <possibleLengths national="8"/>
+ <exampleNumber>82123456</exampleNumber>
<!-- Using this category to model national tariff numbers - these are under Shared Cost in
the plan. -->
<nationalNumberPattern>8[12]\d{6}</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>82123456</exampleNumber>
</sharedCost>
<uan>
- <!-- Using this to classify nomad numbers. -->
- <nationalNumberPattern>70[23]\d{5}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>70223456</exampleNumber>
+ <!-- Using this to classify nomad numbers. -->
+ <nationalNumberPattern>70[23]\d{5}</nationalNumberPattern>
</uan>
</territory>
<!-- Barbados -->
- <territory id="BB" countryCode="1" leadingDigits="246" nationalPrefix="1"
- internationalPrefix="011">
+ <!-- Country calling code and formatting shared with 'US' -->
+ <territory id="BB" countryCode="1" leadingDigits="246" internationalPrefix="011"
+ nationalPrefix="1">
<references>
<sourceUrl>http://www.itu.int/oth/T0202000013/en</sourceUrl>
</references>
<generalDesc>
- <!-- NANPA country - uses US formatting rules -->
<nationalNumberPattern>[2589]\d{9}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="10" localOnly="7"/>
+ <exampleNumber>2464123456</exampleNumber>
<nationalNumberPattern>
246(?:
- 2(?:
- 2[78]|
- 7[0-4]
- )|
- 4(?:
- 1[024-6]|
- 2\d|
- 3[2-9]
- )|
- 5(?:
- 20|
- [34]\d|
- 54|
- 7[1-3]
- )|
- 6(?:
- 2\d|
- 38
- )|
- 7(?:
- 37|
- 57
- )|
- 9(?:
- 1[89]|
- 63
- )
+ 2(?:
+ 2[78]|
+ 7[0-4]
+ )|
+ 4(?:
+ 1[024-6]|
+ 2\d|
+ 3[2-9]
+ )|
+ 5(?:
+ 20|
+ [34]\d|
+ 54|
+ 7[1-3]
+ )|
+ 6(?:
+ 2\d|
+ 38
+ )|
+ 7(?:
+ 37|
+ 57
+ )|
+ 9(?:
+ 1[89]|
+ 63
+ )
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="10" localOnly="7"/>
- <exampleNumber>2464123456</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="10" localOnly="7"/>
+ <exampleNumber>2462501234</exampleNumber>
<!-- Prefix 256 was added from bug report. -->
<nationalNumberPattern>
246(?:
- 2(?:
- [356]\d|
- 4[0-57-9]|
- 8[0-79]
- )|
- 45\d|
- 8(?:
- [2-5]\d|
- 83
- )
+ 2(?:
+ [356]\d|
+ 4[0-57-9]|
+ 8[0-79]
+ )|
+ 45\d|
+ 8(?:
+ [2-5]\d|
+ 83
+ )
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="10" localOnly="7"/>
- <exampleNumber>2462501234</exampleNumber>
</mobile>
<tollFree>
+ <possibleLengths national="10"/>
+ <exampleNumber>8002123456</exampleNumber>
<nationalNumberPattern>
8(?:
00|
@@ -2269,18 +2265,18 @@
88
)[2-9]\d{6}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>8002123456</exampleNumber>
</tollFree>
<premiumRate>
+ <possibleLengths national="10" localOnly="7"/>
+ <exampleNumber>9002123456</exampleNumber>
<nationalNumberPattern>
900\d{7}|
246976\d{4}
</nationalNumberPattern>
- <possibleLengths national="10" localOnly="7"/>
- <exampleNumber>9002123456</exampleNumber>
</premiumRate>
<personalNumber>
+ <possibleLengths national="10"/>
+ <exampleNumber>5002345678</exampleNumber>
<!-- https://www.nationalnanpa.com/number_resource_info/5XX_codes.html -->
<nationalNumberPattern>
5(?:
@@ -2293,31 +2289,29 @@
88
)[2-9]\d{6}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>5002345678</exampleNumber>
</personalNumber>
<voip>
- <nationalNumberPattern>24631\d{5}</nationalNumberPattern>
<possibleLengths national="10" localOnly="7"/>
<exampleNumber>2463101234</exampleNumber>
+ <nationalNumberPattern>24631\d{5}</nationalNumberPattern>
</voip>
<uan>
+ <possibleLengths national="10" localOnly="7"/>
+ <exampleNumber>2464301234</exampleNumber>
<!-- CENTREX and Direct Inward Dialling (DID) prefixes have been added under uan. -->
<nationalNumberPattern>
246(?:
- 292|
- 367|
- 4(?:
- 1[7-9]|
- 3[01]|
- 44|
- 67
- )|
- 736
+ 292|
+ 367|
+ 4(?:
+ 1[7-9]|
+ 3[01]|
+ 44|
+ 67
+ )|
+ 736
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="10" localOnly="7"/>
- <exampleNumber>2464301234</exampleNumber>
</uan>
</territory>
@@ -2325,8 +2319,8 @@
<!-- As per official evidence, 001 and 002 can be used for International dialing covering toll
quality and non-toll quality services. But these are not in use according to our tests
(see b/29552679). -->
- <territory id="BD" countryCode="880" internationalPrefix="00"
- nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
+ <territory id="BD" countryCode="880" internationalPrefix="00" nationalPrefix="0"
+ nationalPrefixFormattingRule="$NP$FG">
<references>
<sourceUrl>http://www.itu.int/oth/T0202000012/en</sourceUrl>
<sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Bangladesh</sourceUrl>
@@ -2384,16 +2378,20 @@
<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. -->
+ <generalDesc>
<nationalNumberPattern>
[2-79]\d{5,9}|
1\d{9}|
8[0-7]\d{4,8}
</nationalNumberPattern>
</generalDesc>
+ <!-- It might be that lengths 6-8 are local numbers only. Documentation is poor on
+ Bangladesh numbers. -->
<fixedLine>
+ <possibleLengths national="[6-9]"/>
+ <exampleNumber>27111234</exampleNumber>
<!-- 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,
@@ -2507,7 +2505,9 @@
)
)|
3(?:
- 1\d{2}(?:\d{2})?|
+ 1\d{2}(?:
+ \d{2}
+ )?|
2(?:
[045]\d|
[236-9]\d{1,2}
@@ -2532,7 +2532,9 @@
6(?:
[18]\d{2}|
2(?:
- 3(?:\d{2})?|
+ 3(?:
+ \d{2}
+ )?|
[46]\d{1,2}|
5\d{2}|
7\d
@@ -2563,14 +2565,18 @@
2(?:
1\d{2}|
2(?:
- 2(?:\d{2})?|
+ 2(?:
+ \d{2}
+ )?|
[457]\d{2}
)
)|
3(?:
1\d{2}|
2(?:
- [37](?:\d{2})?|
+ [37](?:
+ \d{2}
+ )?|
[569]\d{2}
)
)|
@@ -2684,12 +2690,10 @@
)\d{2}
)\d{3}
</nationalNumberPattern>
- <!-- It might be that lengths 6-8 are local numbers only. Documentation is poor on
- Bangladesh numbers. -->
- <possibleLengths national="[6-9]"/>
- <exampleNumber>27111234</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="10"/>
+ <exampleNumber>1812345678</exampleNumber>
<!-- 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. -->
@@ -2706,16 +2710,16 @@
)
)\d{7}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>1812345678</exampleNumber>
</mobile>
<tollFree>
- <!-- Note: Including Tele-voting numbers here as they are free of charge. -->
- <nationalNumberPattern>80[03]\d{7}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>8001234567</exampleNumber>
+ <!-- Note: Including Tele-voting numbers here as they are free of charge. -->
+ <nationalNumberPattern>80[03]\d{7}</nationalNumberPattern>
</tollFree>
<voip>
+ <possibleLengths national="10"/>
+ <exampleNumber>9604123456</exampleNumber>
<nationalNumberPattern>
96(?:
0[49]|
@@ -2723,15 +2727,12 @@
6[69]
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>9604123456</exampleNumber>
</voip>
</territory>
<!-- Belgium -->
- <territory id="BE" countryCode="32" internationalPrefix="00"
- nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
- mobileNumberPortableRegion="true">
+ <territory id="BE" countryCode="32" internationalPrefix="00" nationalPrefix="0"
+ nationalPrefixFormattingRule="$NP$FG" mobileNumberPortableRegion="true">
<references>
<sourceUrl>http://www.bipt.be/en/operators/telecommunication/Numbering/Database</sourceUrl>
<sourceUrl>http://www.bipt.be/public/files/en/474/20140829153659_Belgian_numbering_plan</sourceUrl>
@@ -2775,6 +2776,8 @@
<nationalNumberPattern>[1-9]\d{7,8}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="8"/>
+ <exampleNumber>12345678</exampleNumber>
<nationalNumberPattern>
(?:
1[0-69]|
@@ -2788,10 +2791,10 @@
)\d{6}|
80[2-8]\d{5}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>12345678</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="9"/>
+ <exampleNumber>470123456</exampleNumber>
<nationalNumberPattern>
4(?:
6[0135-8]|
@@ -2799,31 +2802,29 @@
8[3-9]
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>470123456</exampleNumber>
</mobile>
<tollFree>
- <nationalNumberPattern>800\d{5}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>80012345</exampleNumber>
+ <nationalNumberPattern>800\d{5}</nationalNumberPattern>
</tollFree>
<premiumRate>
+ <possibleLengths national="8"/>
+ <exampleNumber>90123456</exampleNumber>
<nationalNumberPattern>
(?:
70[2-467]|
90[0-79]
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>90123456</exampleNumber>
</premiumRate>
<uan>
+ <possibleLengths national="8"/>
+ <exampleNumber>78123456</exampleNumber>
<!-- 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>
- <possibleLengths national="8"/>
- <exampleNumber>78123456</exampleNumber>
</uan>
</territory>
@@ -2844,6 +2845,8 @@
<nationalNumberPattern>[25-7]\d{7}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="8"/>
+ <exampleNumber>20491234</exampleNumber>
<nationalNumberPattern>
2(?:
0(?:
@@ -2865,25 +2868,22 @@
)
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>20491234</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="8"/>
+ <exampleNumber>70123456</exampleNumber>
<nationalNumberPattern>
(?:
5[1568]\d|
[67]\d{2}
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>70123456</exampleNumber>
</mobile>
</territory>
<!-- Bulgaria -->
- <territory id="BG" countryCode="359" internationalPrefix="00"
- nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
- mobileNumberPortableRegion="true">
+ <territory id="BG" countryCode="359" internationalPrefix="00" nationalPrefix="0"
+ nationalPrefixFormattingRule="$NP$FG" mobileNumberPortableRegion="true">
<references>
<sourceUrl>http://www.itu.int/oth/T0202000020/en</sourceUrl>
<sourceUrl>https://en.wikipedia.org/wiki/Telephone_numbers_in_Bulgaria</sourceUrl>
@@ -2948,6 +2948,8 @@
</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="[6-8]" localOnly="4,5"/>
+ <exampleNumber>2123456</exampleNumber>
<!-- We found evidence at least for ranges 28 and 29 followed by 4 digits in 2016, although
the latest ITU doc doesn't mention that. -->
<nationalNumberPattern>
@@ -2969,12 +2971,12 @@
)
)\d{4,5}
</nationalNumberPattern>
- <possibleLengths national="[6-8]" localOnly="4,5"/>
- <exampleNumber>2123456</exampleNumber>
</fixedLine>
<!-- The range 99\d{7} is marked as mobile in the ITU doc, but only prefix 999 seems to be in
use, based on the wikipedia page and information received from MAX telecom. -->
<mobile>
+ <possibleLengths national="8,9"/>
+ <exampleNumber>48123456</exampleNumber>
<nationalNumberPattern>
(?:
8[7-9]\d|
@@ -2988,23 +2990,21 @@
8\d
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="8,9"/>
- <exampleNumber>48123456</exampleNumber>
</mobile>
<tollFree>
- <nationalNumberPattern>800\d{5}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>80012345</exampleNumber>
+ <nationalNumberPattern>800\d{5}</nationalNumberPattern>
</tollFree>
<premiumRate>
- <nationalNumberPattern>90\d{6}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>90123456</exampleNumber>
+ <nationalNumberPattern>90\d{6}</nationalNumberPattern>
</premiumRate>
<personalNumber>
- <nationalNumberPattern>700\d{5}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>70012345</exampleNumber>
+ <nationalNumberPattern>700\d{5}</nationalNumberPattern>
</personalNumber>
</territory>
@@ -3030,6 +3030,8 @@
"6966-6969, 6996, 6999" are assigned to Rapid. However this contradicts the ITU doc
which lists "6966, 6969, 6996, 6999". We follow ITU here. -->
<fixedLine>
+ <possibleLengths national="8"/>
+ <exampleNumber>17001234</exampleNumber>
<nationalNumberPattern>
(?:
1(?:
@@ -3057,13 +3059,13 @@
)
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>17001234</exampleNumber>
</fixedLine>
<!-- 31 is assigned to Royal Court, as per documents on Bahrain's own telecom site, even
though it is omitted from the ITU document. Based on online evidences added prefix
354 to mobile. -->
<mobile>
+ <possibleLengths national="8"/>
+ <exampleNumber>36001234</exampleNumber>
<nationalNumberPattern>
(?:
3(?:
@@ -3085,30 +3087,28 @@
)
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>36001234</exampleNumber>
</mobile>
<tollFree>
- <nationalNumberPattern>80\d{6}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>80123456</exampleNumber>
+ <nationalNumberPattern>80\d{6}</nationalNumberPattern>
</tollFree>
<!-- 87 numbers are "wholly paid by the caller", so they are slotted under premium-rate for
now. -->
<premiumRate>
+ <possibleLengths national="8"/>
+ <exampleNumber>90123456</exampleNumber>
<nationalNumberPattern>
(?:
87|
9[014578]
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>90123456</exampleNumber>
</premiumRate>
<sharedCost>
- <nationalNumberPattern>84\d{6}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>84123456</exampleNumber>
+ <nationalNumberPattern>84\d{6}</nationalNumberPattern>
</sharedCost>
</territory>
@@ -3126,15 +3126,17 @@
<nationalNumberPattern>[267]\d{7}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="8"/>
+ <exampleNumber>22201234</exampleNumber>
<!-- ITU update 17.IV.2015 assigns 22X completely to Onatel fixed line. Earlier ITU
updates (11.IX.2013) were more detailed in that range and only half of it was
assigned. Erring on the side of ITU and lenience for now, but we may have to make the
range stricter again. -->
<nationalNumberPattern>22\d{6}</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>22201234</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="8"/>
+ <exampleNumber>79561234</exampleNumber>
<!-- 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
@@ -3148,8 +3150,6 @@
7[124-9]
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>79561234</exampleNumber>
</mobile>
</territory>
@@ -3160,17 +3160,16 @@
</references>
<availableFormats>
<numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
+ <leadingDigits>[2689]</leadingDigits>
<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>
+ <nationalNumberPattern>[2689]\d{7}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="8"/>
+ <exampleNumber>20211234</exampleNumber>
<!-- These come from the national numbering plan, but have been widened to include other
prefixes found in the yellow pages - specifically 21 0. -->
<nationalNumberPattern>
@@ -3181,10 +3180,10 @@
3[68]
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>20211234</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="8"/>
+ <exampleNumber>90011234</exampleNumber>
<!-- We have restricted the pattern here to the first two digits, as beyond this the data
seems to be no longer accurate. The latest ITU doc (2005) lists 9[0357] and lists
other 9x and the complete 6x range as reserved. The prefixes 9[46] have also been
@@ -3196,25 +3195,18 @@
9[03-9]
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>90011234</exampleNumber>
</mobile>
- <tollFree>
- <nationalNumberPattern>7[3-5]\d{2}</nationalNumberPattern>
- <possibleLengths national="4"/>
- <exampleNumber>7312</exampleNumber>
- </tollFree>
<voip>
- <nationalNumberPattern>857[58]\d{4}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>85751234</exampleNumber>
+ <nationalNumberPattern>857[58]\d{4}</nationalNumberPattern>
</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>
<possibleLengths national="8"/>
<exampleNumber>81123456</exampleNumber>
+ <nationalNumberPattern>81\d{6}</nationalNumberPattern>
</uan>
</territory>
@@ -3223,17 +3215,18 @@
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.
- -->
+ of these region codes will be returned, although numbers will be valid for both regions. -->
+ <!-- Country calling code and formatting shared with 'GP' -->
<territory id="BL" countryCode="590" internationalPrefix="00" nationalPrefix="0">
<references>
<sourceUrl>http://www.itu.int/oth/T0202000058/en</sourceUrl>
</references>
- <!-- Formatting rules borrowed from Guadeloupe. -->
<generalDesc>
<nationalNumberPattern>[56]\d{8}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="9"/>
+ <exampleNumber>590271234</exampleNumber>
<nationalNumberPattern>
590(?:
2[7-9]|
@@ -3241,10 +3234,10 @@
87
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>590271234</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="9"/>
+ <exampleNumber>690001234</exampleNumber>
<!-- 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
@@ -3256,22 +3249,22 @@
[1-9]\d
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>690001234</exampleNumber>
</mobile>
</territory>
<!-- Bermuda -->
- <territory id="BM" countryCode="1" leadingDigits="441" nationalPrefix="1"
- internationalPrefix="011">
+ <!-- Country calling code and formatting shared with 'US' -->
+ <territory id="BM" countryCode="1" leadingDigits="441" internationalPrefix="011"
+ nationalPrefix="1">
<references>
<sourceUrl>http://www.itu.int/oth/T0202000018/en</sourceUrl>
</references>
<generalDesc>
- <!-- NANPA country - uses US formatting rules -->
<nationalNumberPattern>[4589]\d{9}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="10" localOnly="7"/>
+ <exampleNumber>4412345678</exampleNumber>
<nationalNumberPattern>
441(?:
2(?:
@@ -3289,20 +3282,20 @@
824
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="10" localOnly="7"/>
- <exampleNumber>4412345678</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="10" localOnly="7"/>
+ <exampleNumber>4413701234</exampleNumber>
<nationalNumberPattern>
441(?:
[37]\d|
5[0-39]
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="10" localOnly="7"/>
- <exampleNumber>4413701234</exampleNumber>
</mobile>
<tollFree>
+ <possibleLengths national="10"/>
+ <exampleNumber>8002123456</exampleNumber>
<nationalNumberPattern>
8(?:
00|
@@ -3314,15 +3307,15 @@
88
)[2-9]\d{6}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>8002123456</exampleNumber>
</tollFree>
<premiumRate>
- <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>9002123456</exampleNumber>
+ <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
</premiumRate>
<personalNumber>
+ <possibleLengths national="10"/>
+ <exampleNumber>5002345678</exampleNumber>
<!-- https://www.nationalnanpa.com/number_resource_info/5XX_codes.html -->
<nationalNumberPattern>
5(?:
@@ -3335,8 +3328,6 @@
88
)[2-9]\d{6}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>5002345678</exampleNumber>
</personalNumber>
</territory>
@@ -3355,6 +3346,8 @@
<nationalNumberPattern>[2-578]\d{6}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="7"/>
+ <exampleNumber>2345678</exampleNumber>
<nationalNumberPattern>
2(?:
[013-9]\d|
@@ -3362,16 +3355,14 @@
)\d{4}|
[3-5]\d{6}
</nationalNumberPattern>
- <possibleLengths national="7"/>
- <exampleNumber>2345678</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="7"/>
+ <exampleNumber>7123456</exampleNumber>
<nationalNumberPattern>
22[89]\d{4}|
[78]\d{6}
</nationalNumberPattern>
- <possibleLengths national="7"/>
- <exampleNumber>7123456</exampleNumber>
</mobile>
</territory>
@@ -3391,11 +3382,20 @@
<leadingDigits>[67]</leadingDigits>
<format>$1</format>
</numberFormat>
+ <numberFormat pattern="(800)(\d{2})(\d{4})">
+ <leadingDigits>800</leadingDigits>
+ <format>$1 $2 $3</format>
+ </numberFormat>
</availableFormats>
<generalDesc>
- <nationalNumberPattern>[23467]\d{7}</nationalNumberPattern>
+ <nationalNumberPattern>
+ [23467]\d{7}|
+ 8\d{8}
+ </nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="8" localOnly="7"/>
+ <exampleNumber>22123456</exampleNumber>
<nationalNumberPattern>
(?:
2(?:
@@ -3448,26 +3448,32 @@
)
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="8" localOnly="7"/>
- <exampleNumber>22123456</exampleNumber>
</fixedLine>
<mobile>
- <nationalNumberPattern>[67]\d{7}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>71234567</exampleNumber>
+ <nationalNumberPattern>[67]\d{7}</nationalNumberPattern>
</mobile>
+ <tollFree>
+ <possibleLengths national="9"/>
+ <exampleNumber>800171234</exampleNumber>
+ <!-- Added prefix 80017 based on user report. -->
+ <nationalNumberPattern>80017\d{4}</nationalNumberPattern>
+ </tollFree>
</territory>
<!-- Bonaire, Sint Eustatius and Saba -->
+ <!-- Country calling code and formatting shared with 'CW' -->
<territory id="BQ" countryCode="599" internationalPrefix="00">
<references>
<sourceUrl>http://www.itu.int/oth/T02020000F8/en</sourceUrl>
</references>
- <!-- Shares formatting patterns with CW. -->
<generalDesc>
<nationalNumberPattern>[347]\d{6}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="7"/>
+ <exampleNumber>7151234</exampleNumber>
<!-- Prefixes 72[05] are mentioned as "Long distance service" numbers in ITU. Not supporting
them for now because we aren't sure what they are used for and no example numbers can
be found online. -->
@@ -3484,10 +3490,10 @@
)\d
)\d{3}
</nationalNumberPattern>
- <possibleLengths national="7"/>
- <exampleNumber>7151234</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="7"/>
+ <exampleNumber>3181234</exampleNumber>
<nationalNumberPattern>
(?:
31(?:
@@ -3503,16 +3509,25 @@
)\d
)\d{3}
</nationalNumberPattern>
- <possibleLengths national="7"/>
- <exampleNumber>3181234</exampleNumber>
</mobile>
</territory>
<!-- Brazil -->
- <territory id="BR" countryCode="55"
- internationalPrefix="00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)"
+ <territory id="BR" countryCode="55" internationalPrefix="00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)"
nationalPrefix="0"
- nationalPrefixForParsing="0(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\d{10,11}))?"
+ nationalPrefixForParsing="
+ 0(?:
+ (
+ 1[245]|
+ 2[1-35]|
+ 31|
+ 4[13]|
+ [56]5|
+ 99
+ )(
+ \d{10,11}
+ )
+ )?"
nationalPrefixTransformRule="$2" mobileNumberPortableRegion="true">
<references>
<sourceUrl>http://en.wikipedia.org/wiki/%2B55</sourceUrl>
@@ -3544,13 +3559,12 @@
</leadingDigits>
<format>$1-$2</format>
</numberFormat>
- <numberFormat nationalPrefixFormattingRule="$NP$FG"
- pattern="([3589]00)(\d{2,3})(\d{4})">
+ <numberFormat pattern="([3589]00)(\d{2,3})(\d{4})" nationalPrefixFormattingRule="$NP$FG">
<leadingDigits>[3589]00</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
<!-- Format short numbers as a block. -->
- <numberFormat nationalPrefixFormattingRule="$FG" pattern="(\d{3,5})">
+ <numberFormat pattern="(\d{3,5})" nationalPrefixFormattingRule="$FG">
<leadingDigits>1[125689]</leadingDigits>
<format>$1</format>
<intlFormat>NA</intlFormat>
@@ -3562,7 +3576,7 @@
for a simpler regex).
Note: We keep formatting pre-transition mobile numbers for a while after they're
invalid so that they are readable on clients that are still migrating. -->
- <numberFormat nationalPrefixFormattingRule="$FG" pattern="(\d{4})(\d{4})">
+ <numberFormat pattern="(\d{4})(\d{4})" nationalPrefixFormattingRule="$FG">
<leadingDigits>
[2-9](?:
[1-9]|
@@ -3576,7 +3590,7 @@
not required to correctly determine the appropriate format for a number, it speeds up
AYTF since it doesn't need to keep several patterns in scope (except for 4020 numbers,
which is a tradeoff we make for a simpler regex). -->
- <numberFormat nationalPrefixFormattingRule="$FG" pattern="(\d{5})(\d{4})">
+ <numberFormat pattern="(\d{5})(\d{4})" nationalPrefixFormattingRule="$FG">
<leadingDigits>
9(?:
[1-9]|
@@ -3590,16 +3604,14 @@
area code.
Note: We keep formatting pre-transition mobile numbers for a while after they're
invalid so that they are readable on clients that are still migrating. -->
- <numberFormat nationalPrefixFormattingRule="($FG)"
- pattern="(\d{2})(\d{4})(\d{4})"
- carrierCodeFormattingRule="$NP $CC ($FG)">
+ <numberFormat pattern="(\d{2})(\d{4})(\d{4})" nationalPrefixFormattingRule="($FG)"
+ carrierCodeFormattingRule="$NP $CC ($FG)">
<leadingDigits>[1-9][1-9]</leadingDigits>
<format>$1 $2-$3</format>
</numberFormat>
<!-- Mobile numbers dialled with an area code. -->
- <numberFormat nationalPrefixFormattingRule="($FG)"
- pattern="(\d{2})(\d{5})(\d{4})"
- carrierCodeFormattingRule="$NP $CC ($FG)">
+ <numberFormat pattern="(\d{2})(\d{5})(\d{4})" nationalPrefixFormattingRule="($FG)"
+ carrierCodeFormattingRule="$NP $CC ($FG)">
<leadingDigits>[1-9][1-9]9</leadingDigits>
<format>$1 $2-$3</format>
</numberFormat>
@@ -3617,21 +3629,23 @@
</nationalNumberPattern>
</generalDesc>
<noInternationalDialling>
+ <possibleLengths national="8"/>
+ <exampleNumber>40041234</exampleNumber>
<nationalNumberPattern>
(?:
- 300\d|
- 40(?:
+ 300\d|
+ 40(?:
0\d|
20
- )
+ )
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>40041234</exampleNumber>
</noInternationalDialling>
- <!-- 52 is not added as an area code even though ITU mentions it, since it is not yet
- assigned as per ANATEL and Wikipedia. -->
+ <!-- 52 is not added as an area code even though ITU mentions it, since it is not yet
+ assigned as per ANATEL and Wikipedia. -->
<fixedLine>
+ <possibleLengths national="10" localOnly="8"/>
+ <exampleNumber>1123456789</exampleNumber>
<nationalNumberPattern>
(?:
[14689][1-9]|
@@ -3641,10 +3655,10 @@
7[13-579]
)[2-5]\d{7}
</nationalNumberPattern>
- <possibleLengths national="10" localOnly="8"/>
- <exampleNumber>1123456789</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="10,11" localOnly="8"/>
+ <exampleNumber>11961234567</exampleNumber>
<!-- Between 2012 and 2017, Brazil's mobile numbers migrated from 10 to 11 digits by
inserting a 9 before the last 8 digits. Mobile radio services are still 10 digits,
where the 3rd digit is 7. 52 is not added as an area code even though ITU mentions it,
@@ -3670,50 +3684,52 @@
9\d?
)\d{7}
</nationalNumberPattern>
- <possibleLengths national="10,11" localOnly="8"/>
- <exampleNumber>11961234567</exampleNumber>
</mobile>
<tollFree>
- <nationalNumberPattern>800\d{6,7}</nationalNumberPattern>
<possibleLengths national="9,10"/>
<exampleNumber>800123456</exampleNumber>
+ <nationalNumberPattern>800\d{6,7}</nationalNumberPattern>
</tollFree>
<premiumRate>
+ <possibleLengths national="9,10"/>
+ <exampleNumber>300123456</exampleNumber>
<nationalNumberPattern>
(?:
300|
[59]00\d?
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="9,10"/>
- <exampleNumber>300123456</exampleNumber>
</premiumRate>
<sharedCost>
+ <possibleLengths national="8,10"/>
+ <exampleNumber>40041234</exampleNumber>
<nationalNumberPattern>
(?:
- 300\d(?:\d{2})?|
- 40(?:
+ 300\d(?:
+ \d{2}
+ )?|
+ 40(?:
0\d|
20
- )
+ )
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="8,10"/>
- <exampleNumber>40041234</exampleNumber>
</sharedCost>
</territory>
<!-- Bahamas -->
- <territory id="BS" countryCode="1" leadingDigits="242" nationalPrefix="1"
- internationalPrefix="011">
+ <!-- Country calling code and formatting shared with 'US' -->
+ <territory id="BS" countryCode="1" leadingDigits="242" internationalPrefix="011"
+ nationalPrefix="1">
<references>
<sourceUrl>http://www.itu.int/oth/T0202000010/en</sourceUrl>
</references>
<generalDesc>
- <!-- NANPA country - uses US formatting rules -->
<nationalNumberPattern>[2589]\d{9}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="10" localOnly="7"/>
+ <exampleNumber>2423456789</exampleNumber>
<nationalNumberPattern>
242(?:
3(?:
@@ -3740,10 +3756,10 @@
)
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="10" localOnly="7"/>
- <exampleNumber>2423456789</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="10" localOnly="7"/>
+ <exampleNumber>2423591234</exampleNumber>
<nationalNumberPattern>
242(?:
3(?:
@@ -3778,10 +3794,10 @@
)
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="10" localOnly="7"/>
- <exampleNumber>2423591234</exampleNumber>
</mobile>
<tollFree>
+ <possibleLengths national="10" localOnly="7"/>
+ <exampleNumber>8002123456</exampleNumber>
<!-- 242 300 is a Domestic Toll Free service. -->
<nationalNumberPattern>
242300\d{4}|
@@ -3795,15 +3811,15 @@
88
)[2-9]\d{6}
</nationalNumberPattern>
- <possibleLengths national="10" localOnly="7"/>
- <exampleNumber>8002123456</exampleNumber>
</tollFree>
<premiumRate>
- <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>9002123456</exampleNumber>
+ <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
</premiumRate>
<personalNumber>
+ <possibleLengths national="10"/>
+ <exampleNumber>5002345678</exampleNumber>
<!-- https://www.nationalnanpa.com/number_resource_info/5XX_codes.html -->
<nationalNumberPattern>
5(?:
@@ -3816,12 +3832,14 @@
88
)[2-9]\d{6}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>5002345678</exampleNumber>
</personalNumber>
</territory>
<!-- Bhutan -->
+ <!-- Universal personal telecommunication prefixes 700 and 878 are not
+ added as there is no information on length of numbers. -->
+ <!-- Pager service prefix 91 is not added as there is no information on
+ length of numbers. -->
<territory id="BT" countryCode="975" internationalPrefix="00">
<references>
<sourceUrl>http://www.itu.int/oth/T0202000019/en</sourceUrl>
@@ -3848,6 +3866,8 @@
<nationalNumberPattern>[1-8]\d{6,7}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="7" localOnly="6"/>
+ <exampleNumber>2345678</exampleNumber>
<nationalNumberPattern>
(?:
2[3-6]|
@@ -3858,23 +3878,17 @@
8[2-4]
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="7" localOnly="6"/>
- <exampleNumber>2345678</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="8"/>
+ <exampleNumber>17123456</exampleNumber>
<nationalNumberPattern>
(?:
1[67]|
77
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>17123456</exampleNumber>
</mobile>
- <!-- Universal personal telecommunication prefixes 700 and 878 are not
- added as there is no information on length of numbers. -->
- <!-- Pager service prefix 91 is not added as there is no information on
- length of numbers. -->
</territory>
<!-- Botswana -->
@@ -3900,6 +3914,8 @@
<nationalNumberPattern>[2-79]\d{6,7}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="7"/>
+ <exampleNumber>2401234</exampleNumber>
<nationalNumberPattern>
(?:
2(?:
@@ -3932,47 +3948,44 @@
)
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="7"/>
- <exampleNumber>2401234</exampleNumber>
</fixedLine>
<mobile>
- <!-- Added prefixes 748, 749, 778 after getting confirmation from the carriers who
- own them. -->
+ <possibleLengths national="8"/>
+ <exampleNumber>71123456</exampleNumber>
+ <!-- Added prefixes 748, 749, 778 after getting confirmation from the carriers who
+ own them. -->
<nationalNumberPattern>
7(?:
[1-6]\d|
7[014-8]
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>71123456</exampleNumber>
</mobile>
<!-- No reliable information about toll-free numbers can be found; many are written on the
internet like 0800 123 456, but this is not supported by any documentation and no
numbers can be found that actually work. -->
<premiumRate>
- <nationalNumberPattern>90\d{5}</nationalNumberPattern>
<possibleLengths national="7"/>
<exampleNumber>9012345</exampleNumber>
+ <nationalNumberPattern>90\d{5}</nationalNumberPattern>
</premiumRate>
<voip>
- <nationalNumberPattern>79[12][01]\d{4}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>79101234</exampleNumber>
+ <nationalNumberPattern>79[12][01]\d{4}</nationalNumberPattern>
</voip>
</territory>
<!-- Belarus -->
<!-- Information on national prefix provided by a Belarussian person. -->
<territory id="BY" countryCode="375" preferredInternationalPrefix="8~10"
- internationalPrefix="810" nationalPrefixForParsing="8?0?"
- nationalPrefix="8" mobileNumberPortableRegion="true">
+ internationalPrefix="810" nationalPrefix="8" nationalPrefixForParsing="8?0?"
+ mobileNumberPortableRegion="true">
<references>
<sourceUrl>http://www.eng.beltelecom.by/en/subscribers/phone-codes</sourceUrl>
</references>
<availableFormats>
- <numberFormat nationalPrefixFormattingRule="$NP 0$FG"
- pattern="(\d{2})(\d{3})(\d{2})(\d{2})">
+ <numberFormat pattern="(\d{2})(\d{3})(\d{2})(\d{2})" nationalPrefixFormattingRule="$NP 0$FG">
<leadingDigits>
17[0-3589]|
2[4-9]|
@@ -3989,8 +4002,7 @@
</leadingDigits>
<format>$1 $2-$3-$4</format>
</numberFormat>
- <numberFormat nationalPrefixFormattingRule="$NP 0$FG"
- pattern="(\d{3})(\d{2})(\d{2})(\d{2})">
+ <numberFormat pattern="(\d{3})(\d{2})(\d{2})(\d{2})" nationalPrefixFormattingRule="$NP 0$FG">
<leadingDigits>
1(?:
5[24]|
@@ -4024,8 +4036,7 @@
</leadingDigits>
<format>$1 $2-$3-$4</format>
</numberFormat>
- <numberFormat nationalPrefixFormattingRule="$NP 0$FG"
- pattern="(\d{4})(\d{2})(\d{3})">
+ <numberFormat pattern="(\d{4})(\d{2})(\d{3})" nationalPrefixFormattingRule="$NP 0$FG">
<leadingDigits>
1(?:
5[169]|
@@ -4060,26 +4071,22 @@
</leadingDigits>
<format>$1 $2-$3</format>
</numberFormat>
- <numberFormat nationalPrefixFormattingRule="$NP $FG"
- pattern="([89]\d{2})(\d{3})(\d{4})">
+ <numberFormat pattern="([89]\d{2})(\d{3})(\d{4})" nationalPrefixFormattingRule="$NP $FG">
<leadingDigits>
8[01]|
9
</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
- <numberFormat nationalPrefixFormattingRule="$NP $FG"
- pattern="(82\d)(\d{4})(\d{4})">
+ <numberFormat pattern="(82\d)(\d{4})(\d{4})" nationalPrefixFormattingRule="$NP $FG">
<leadingDigits>82</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
- <numberFormat nationalPrefixFormattingRule="$NP $FG"
- pattern="(800)(\d{3})">
+ <numberFormat pattern="(800)(\d{3})" nationalPrefixFormattingRule="$NP $FG">
<leadingDigits>800</leadingDigits>
<format>$1 $2</format>
</numberFormat>
- <numberFormat nationalPrefixFormattingRule="$NP $FG"
- pattern="(800)(\d{2})(\d{2,4})">
+ <numberFormat pattern="(800)(\d{2})(\d{2,4})" nationalPrefixFormattingRule="$NP $FG">
<leadingDigits>800</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
@@ -4090,10 +4097,11 @@
800\d{3,7}|
[89]\d{9,10}
</nationalNumberPattern>
- <!-- Numbers are often written without the city code. -->
</generalDesc>
<!-- Toll-free and premium rate numbers are not available from abroad. -->
<noInternationalDialling>
+ <possibleLengths national="[6-11]"/>
+ <exampleNumber>82012345678</exampleNumber>
<nationalNumberPattern>
8(?:
0[13]|
@@ -4103,10 +4111,11 @@
800\d{3,7}|
902\d{7}
</nationalNumberPattern>
- <possibleLengths national="[6-11]"/>
- <exampleNumber>82012345678</exampleNumber>
</noInternationalDialling>
<fixedLine>
+ <possibleLengths national="9" localOnly="[5-7]"/>
+ <!-- Using test number for Grodno from the plan. -->
+ <exampleNumber>152450911</exampleNumber>
<nationalNumberPattern>
(?:
1(?:
@@ -4141,11 +4150,11 @@
)
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="9" localOnly="[5-7]"/>
- <!-- Using test number for Grodno from the plan. -->
- <exampleNumber>152450911</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="9"/>
+ <!-- Using test number for BelCel from the plan. -->
+ <exampleNumber>294911911</exampleNumber>
<nationalNumberPattern>
(?:
2(?:
@@ -4156,11 +4165,10 @@
44\d
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <!-- Using test number for BelCel from the plan. -->
- <exampleNumber>294911911</exampleNumber>
</mobile>
<tollFree>
+ <possibleLengths national="[6-11]"/>
+ <exampleNumber>8011234567</exampleNumber>
<!-- Putting Interactive Polling Service (free) here too. -->
<nationalNumberPattern>
8(?:
@@ -4169,10 +4177,10 @@
)\d{7}|
800\d{3,7}
</nationalNumberPattern>
- <possibleLengths national="[6-11]"/>
- <exampleNumber>8011234567</exampleNumber>
</tollFree>
<premiumRate>
+ <possibleLengths national="10"/>
+ <exampleNumber>9021234567</exampleNumber>
<!-- Putting Interactive Polling Service (paid) here too. -->
<nationalNumberPattern>
(?:
@@ -4180,20 +4188,17 @@
902
)\d{7}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>9021234567</exampleNumber>
</premiumRate>
<voip>
- <!-- 249 prefix for Beltelcom's Maxiphone added based on online info. -->
- <nationalNumberPattern>249\d{6}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>249123456</exampleNumber>
+ <!-- 249 prefix for Beltelcom's Maxiphone added based on online info. -->
+ <nationalNumberPattern>249\d{6}</nationalNumberPattern>
</voip>
</territory>
<!-- Belize -->
- <!-- The trunk prefix, formally 0, was dropped in the last reorganisation of the numbering plan.
- -->
+ <!-- The trunk prefix, formally 0, was dropped in the last reorganisation of the numbering plan. -->
<territory id="BZ" countryCode="501" internationalPrefix="00">
<references>
<sourceUrl>http://www.itu.int/oth/T0202000016/en</sourceUrl>
@@ -4216,6 +4221,8 @@
</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="7"/>
+ <exampleNumber>2221234</exampleNumber>
<!-- Wikipedia and ITU seem out of date, but say that for a number in the format ZNY-XXXX
Z represents the district code (or 6 for mobile), N the type of number and Y the first
digit of the customer's number. Only N = 0 and 2 are supposedly in use, but we have
@@ -4235,40 +4242,40 @@
)
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="7"/>
- <exampleNumber>2221234</exampleNumber>
</fixedLine>
<mobile>
- <!-- 62[6-9], 63X, 65X and 6[67][2-9] were added as we have been able to successfully
- send SMSs to these numbers or many numbers have been found online. -->
- <nationalNumberPattern>6[0-35-7]\d{5}</nationalNumberPattern>
<possibleLengths national="7"/>
<exampleNumber>6221234</exampleNumber>
+ <!-- 62[6-9], 63X, 65X and 6[67][2-9] were added as we have been able to successfully
+ send SMSs to these numbers or many numbers have been found online. -->
+ <nationalNumberPattern>6[0-35-7]\d{5}</nationalNumberPattern>
</mobile>
<!-- We don't know how these would be dialled internationally - it is possible that they can't
be dialled internationally at all - so we represent the leading 0 as part of the number.
Information from http://www.belizetelemedia.net. -->
<tollFree>
- <nationalNumberPattern>0800\d{7}</nationalNumberPattern>
<possibleLengths national="11"/>
<exampleNumber>08001234123</exampleNumber>
+ <nationalNumberPattern>0800\d{7}</nationalNumberPattern>
</tollFree>
</territory>
<!-- Canada -->
+ <!-- Country calling code and formatting shared with 'US' -->
<territory id="CA" countryCode="1" internationalPrefix="011" nationalPrefix="1"
mobileNumberPortableRegion="true">
<references>
<sourceUrl>http://www.cnac.ca/canadian_dial_plan/canadian_dial_plan.htm</sourceUrl>
</references>
<generalDesc>
- <!-- NANPA country - uses US formatting rules -->
<nationalNumberPattern>
[2-9]\d{9}|
3\d{6}
</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="10" localOnly="7"/>
+ <exampleNumber>2042345678</exampleNumber>
<nationalNumberPattern>
(?:
2(?:
@@ -4317,10 +4324,10 @@
)[2-9]\d{6}|
310\d{4}
</nationalNumberPattern>
- <possibleLengths national="10" localOnly="7"/>
- <exampleNumber>2042345678</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="10" localOnly="7"/>
+ <exampleNumber>2042345678</exampleNumber>
<nationalNumberPattern>
(?:
2(?:
@@ -4368,10 +4375,10 @@
90[25]
)[2-9]\d{6}
</nationalNumberPattern>
- <possibleLengths national="10" localOnly="7"/>
- <exampleNumber>2042345678</exampleNumber>
</mobile>
<tollFree>
+ <possibleLengths national="7,10"/>
+ <exampleNumber>8002123456</exampleNumber>
<nationalNumberPattern>
8(?:
00|
@@ -4384,15 +4391,15 @@
)[2-9]\d{6}|
310\d{4}
</nationalNumberPattern>
- <possibleLengths national="7,10"/>
- <exampleNumber>8002123456</exampleNumber>
</tollFree>
<premiumRate>
- <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>9002123456</exampleNumber>
+ <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
</premiumRate>
<personalNumber>
+ <possibleLengths national="10"/>
+ <exampleNumber>5002345678</exampleNumber>
<!-- https://www.nationalnanpa.com/number_resource_info/5XX_codes.html -->
<nationalNumberPattern>
5(?:
@@ -4405,14 +4412,12 @@
88
)[2-9]\d{6}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>5002345678</exampleNumber>
</personalNumber>
</territory>
<!-- Cocos Islands -->
- <!-- Metadata shared with Australia. -->
<!-- References state Cocos Islands have fixed line numbers starting +61 8 9162. -->
+ <!-- Country calling code and formatting shared with 'AU' -->
<territory id="CC" countryCode="61" preferredInternationalPrefix="0011"
internationalPrefix="(?:14(?:1[14]|34|4[17]|[56]6|7[47]|88))?001[14-689]"
nationalPrefix="0">
@@ -4420,18 +4425,19 @@
<sourceUrl>http://en.wikipedia.org/wiki/List_of_country_calling_codes</sourceUrl>
<sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Australia</sourceUrl>
</references>
- <!-- Uses AU formatting rules. -->
<!-- General desc and fixed line rules different from Australia. -->
<generalDesc>
<nationalNumberPattern>[1458]\d{5,9}</nationalNumberPattern>
</generalDesc>
<fixedLine>
- <nationalNumberPattern>89162\d{4}</nationalNumberPattern>
<possibleLengths national="9" localOnly="8"/>
<exampleNumber>891621234</exampleNumber>
+ <nationalNumberPattern>89162\d{4}</nationalNumberPattern>
</fixedLine>
<!-- Mobile, toll free, premium rate, personal number and VOIP copied from Australia. -->
<mobile>
+ <possibleLengths national="9"/>
+ <exampleNumber>412345678</exampleNumber>
<nationalNumberPattern>
14(?:
5\d|
@@ -4448,51 +4454,49 @@
9[017-9]
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>412345678</exampleNumber>
</mobile>
<tollFree>
+ <possibleLengths national="7,10"/>
+ <exampleNumber>1800123456</exampleNumber>
<nationalNumberPattern>
180(?:
0\d{3}|
2
)\d{3}
</nationalNumberPattern>
- <possibleLengths national="7,10"/>
- <exampleNumber>1800123456</exampleNumber>
</tollFree>
<premiumRate>
- <nationalNumberPattern>190[0126]\d{6}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>1900123456</exampleNumber>
+ <nationalNumberPattern>190[0126]\d{6}</nationalNumberPattern>
</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. -->
+ <possibleLengths national="6,10"/>
+ <exampleNumber>1300123456</exampleNumber>
+ <!-- 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>
- <possibleLengths national="6,10"/>
- <exampleNumber>1300123456</exampleNumber>
</sharedCost>
<personalNumber>
- <nationalNumberPattern>500\d{6}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>500123456</exampleNumber>
+ <nationalNumberPattern>500\d{6}</nationalNumberPattern>
</personalNumber>
<voip>
- <nationalNumberPattern>550\d{6}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>550123456</exampleNumber>
+ <nationalNumberPattern>550\d{6}</nationalNumberPattern>
</voip>
</territory>
<!-- Congo, Dem. Rep. of the (formerly Zaire) -->
- <territory id="CD" countryCode="243" internationalPrefix="00"
- nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
+ <territory id="CD" countryCode="243" internationalPrefix="00" nationalPrefix="0"
+ nationalPrefixFormattingRule="$NP$FG">
<references>
<sourceUrl>http://www.itu.int/oth/T0202000037/en</sourceUrl>
</references>
@@ -4525,6 +4529,8 @@
</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="7,9"/>
+ <exampleNumber>1234567</exampleNumber>
<nationalNumberPattern>
1(?:
2\d{7}|
@@ -4532,10 +4538,10 @@
)|
[2-6]\d{6}
</nationalNumberPattern>
- <possibleLengths national="7,9"/>
- <exampleNumber>1234567</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="7,9"/>
+ <exampleNumber>991234567</exampleNumber>
<!-- As of May'13 the 88 range looks as if it is defunct. The ITU document lists "Yozma
Timeturns" as the operator, but their website (http://www.ytt.cd) is offline and the
holdings company http://www.timeturnsholdings.com/products does not show a link for
@@ -4549,8 +4555,6 @@
)\d{5}|
9[017-9]\d{7}
</nationalNumberPattern>
- <possibleLengths national="7,9"/>
- <exampleNumber>991234567</exampleNumber>
</mobile>
</territory>
@@ -4568,19 +4572,19 @@
<nationalNumberPattern>[278]\d{7}</nationalNumberPattern>
</generalDesc>
<fixedLine>
- <nationalNumberPattern>2[12]\d{6}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>21612345</exampleNumber>
+ <nationalNumberPattern>2[12]\d{6}</nationalNumberPattern>
</fixedLine>
<mobile>
- <nationalNumberPattern>7[0257]\d{6}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>70012345</exampleNumber>
+ <nationalNumberPattern>7[0257]\d{6}</nationalNumberPattern>
</mobile>
<premiumRate>
- <nationalNumberPattern>8776\d{4}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>87761234</exampleNumber>
+ <nationalNumberPattern>8776\d{4}</nationalNumberPattern>
</premiumRate>
</territory>
@@ -4607,17 +4611,19 @@
<nationalNumberPattern>[028]\d{8}</nationalNumberPattern>
</generalDesc>
<fixedLine>
- <nationalNumberPattern>222[1-589]\d{5}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>222123456</exampleNumber>
+ <nationalNumberPattern>222[1-589]\d{5}</nationalNumberPattern>
</fixedLine>
<mobile>
- <nationalNumberPattern>0[14-6]\d{7}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>061234567</exampleNumber>
+ <nationalNumberPattern>0[14-6]\d{7}</nationalNumberPattern>
</mobile>
<!-- Referred to as a "Green number" in the telephone plan. -->
<premiumRate>
+ <possibleLengths national="9"/>
+ <exampleNumber>800123456</exampleNumber>
<!-- Using this to represent Value Added Service in the plan. -->
<nationalNumberPattern>
80(?:
@@ -4625,15 +4631,12 @@
11[01]
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>800123456</exampleNumber>
</premiumRate>
</territory>
<!-- Switzerland -->
- <territory id="CH" countryCode="41" internationalPrefix="00"
- nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
- mobileNumberPortableRegion="true">
+ <territory id="CH" countryCode="41" internationalPrefix="00" nationalPrefix="0"
+ nationalPrefixFormattingRule="$NP$FG" mobileNumberPortableRegion="true">
<references>
<!-- Under Technical prescriptions: Numbering plan for international carriers. -->
<sourceUrl>http://www.bakom.admin.ch/themen/telekom/00479/00604/index.html?lang=en</sourceUrl>
@@ -4665,6 +4668,8 @@
</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="9"/>
+ <exampleNumber>212345678</exampleNumber>
<nationalNumberPattern>
(?:
2[12467]|
@@ -4675,50 +4680,48 @@
[7-9]1
)\d{7}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>212345678</exampleNumber>
</fixedLine>
<mobile>
- <nationalNumberPattern>7[5-9]\d{7}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>781234567</exampleNumber>
+ <nationalNumberPattern>7[5-9]\d{7}</nationalNumberPattern>
</mobile>
<pager>
- <!-- https://www.eofcom.admin.ch/eofcom/public/listEofcom_e164Allocated.do -->
- <nationalNumberPattern>74[0248]\d{6}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>740123456</exampleNumber>
+ <!-- https://www.eofcom.admin.ch/eofcom/public/listEofcom_e164Allocated.do -->
+ <nationalNumberPattern>74[0248]\d{6}</nationalNumberPattern>
</pager>
<tollFree>
- <nationalNumberPattern>800\d{6}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>800123456</exampleNumber>
+ <nationalNumberPattern>800\d{6}</nationalNumberPattern>
</tollFree>
<premiumRate>
- <nationalNumberPattern>90[016]\d{6}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>900123456</exampleNumber>
+ <nationalNumberPattern>90[016]\d{6}</nationalNumberPattern>
</premiumRate>
<sharedCost>
- <nationalNumberPattern>84[0248]\d{6}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>840123456</exampleNumber>
+ <nationalNumberPattern>84[0248]\d{6}</nationalNumberPattern>
</sharedCost>
<personalNumber>
- <nationalNumberPattern>878\d{6}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>878123456</exampleNumber>
+ <nationalNumberPattern>878\d{6}</nationalNumberPattern>
</personalNumber>
<uan>
- <!-- Used for corporate networks. -->
- <nationalNumberPattern>5[18]\d{7}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>581234567</exampleNumber>
+ <!-- Used for corporate networks. -->
+ <nationalNumberPattern>5[18]\d{7}</nationalNumberPattern>
</uan>
<voicemail>
- <nationalNumberPattern>860\d{9}</nationalNumberPattern>
<possibleLengths national="12"/>
<exampleNumber>860123456789</exampleNumber>
+ <nationalNumberPattern>860\d{9}</nationalNumberPattern>
</voicemail>
</territory>
@@ -4729,8 +4732,7 @@
<sourceUrl>http://fr.wikipedia.org/wiki/Liste_des_indicatifs_téléphoniques_en_Côte_d’Ivoire</sourceUrl>
</references>
<availableFormats>
- <!-- Using format from online yellow pages over format implied in national numbering plan.
- -->
+ <!-- Using format from online yellow pages over format implied in national numbering plan. -->
<numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
<format>$1 $2 $3 $4</format>
</numberFormat>
@@ -4739,6 +4741,8 @@
<nationalNumberPattern>[02-8]\d{7}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="8"/>
+ <exampleNumber>21234567</exampleNumber>
<nationalNumberPattern>
(?:
2(?:
@@ -4756,11 +4760,11 @@
)
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>21234567</exampleNumber>
</fixedLine>
<mobile>
- <!-- Added the prefixes 4[0-2] (Moov), 5[7-9] & 61 because SMS messages have been
+ <possibleLengths national="8"/>
+ <exampleNumber>01234567</exampleNumber>
+ <!-- Added the prefixes 4[0-2] (Moov), 5[7-9] and 61 because SMS messages have been
successfully delivered. Supported by numbers found on the internet. Also added 43
(Moov) based on numbers found online. Added 8[456] MTN ranges based on Wikipedia page.
50 has been removed since Warid seems to have stopped operation in Côte d'Ivoire. -->
@@ -4773,8 +4777,6 @@
[78][4-9]
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>01234567</exampleNumber>
</mobile>
</territory>
@@ -4792,6 +4794,8 @@
<nationalNumberPattern>[2-8]\d{4}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="5"/>
+ <exampleNumber>21234</exampleNumber>
<nationalNumberPattern>
(?:
2\d|
@@ -4799,13 +4803,11 @@
4[1-5]
)\d{3}
</nationalNumberPattern>
- <possibleLengths national="5"/>
- <exampleNumber>21234</exampleNumber>
</fixedLine>
<mobile>
- <nationalNumberPattern>[5-8]\d{4}</nationalNumberPattern>
<possibleLengths national="5"/>
<exampleNumber>71234</exampleNumber>
+ <nationalNumberPattern>[5-8]\d{4}</nationalNumberPattern>
</mobile>
</territory>
@@ -4816,7 +4818,18 @@
<territory id="CL" countryCode="56"
internationalPrefix="(?:0|1(?:1[0-69]|2[0-57]|5[13-58]|69|7[0167]|8[018]))0"
nationalPrefix="0"
- nationalPrefixForParsing="0|(1(?:1[0-69]|2[0-57]|5[13-58]|69|7[0167]|8[018]))"
+ nationalPrefixForParsing="
+ 0|
+ (
+ 1(?:
+ 1[0-69]|
+ 2[0-57]|
+ 5[13-58]|
+ 69|
+ 7[0167]|
+ 8[018]
+ )
+ )"
nationalPrefixFormattingRule="$NP$FG" mobileNumberPortableRegion="true">
<references>
<sourceUrl>http://www.itu.int/oth/T020200002A/en</sourceUrl>
@@ -4827,15 +4840,13 @@
we strip here. National destinations may be dialled with a carrier if they are not local
so we extract these carrier codes as well. -->
<availableFormats>
- <numberFormat pattern="(\d)(\d{4})(\d{4})"
- nationalPrefixFormattingRule="($FG)"
- carrierCodeFormattingRule="$CC ($FG)">
+ <numberFormat pattern="(\d)(\d{4})(\d{4})" nationalPrefixFormattingRule="($FG)"
+ carrierCodeFormattingRule="$CC ($FG)">
<leadingDigits>2[23]</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
- <numberFormat pattern="(\d{2})(\d{3})(\d{4})"
- nationalPrefixFormattingRule="($FG)"
- carrierCodeFormattingRule="$CC ($FG)">
+ <numberFormat pattern="(\d{2})(\d{3})(\d{4})" nationalPrefixFormattingRule="($FG)"
+ carrierCodeFormattingRule="$CC ($FG)">
<leadingDigits>
[357]|
4[1-35]|
@@ -4851,33 +4862,28 @@
<leadingDigits>44</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
- <numberFormat nationalPrefixFormattingRule="$FG"
- pattern="([68]00)(\d{3})(\d{3,4})">
+ <numberFormat pattern="([68]00)(\d{3})(\d{3,4})" nationalPrefixFormattingRule="$FG">
<leadingDigits>
60|
8
</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
- <numberFormat nationalPrefixFormattingRule="$FG"
- pattern="(600)(\d{3})(\d{2})(\d{3})">
+ <numberFormat pattern="(600)(\d{3})(\d{2})(\d{3})" nationalPrefixFormattingRule="$FG">
<leadingDigits>60</leadingDigits>
<format>$1 $2 $3 $4</format>
</numberFormat>
- <numberFormat nationalPrefixFormattingRule="$FG"
- pattern="(1230)(\d{3})(\d{4})">
+ <numberFormat pattern="(1230)(\d{3})(\d{4})" nationalPrefixFormattingRule="$FG">
<leadingDigits>1</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
- <numberFormat pattern="(\d{5})(\d{4})"
- nationalPrefixFormattingRule="($FG)"
- carrierCodeFormattingRule="$CC ($FG)">
+ <numberFormat pattern="(\d{5})(\d{4})" nationalPrefixFormattingRule="($FG)"
+ carrierCodeFormattingRule="$CC ($FG)">
<leadingDigits>219</leadingDigits>
<format>$1 $2</format>
</numberFormat>
<!-- Format some short numbers as a block. -->
- <numberFormat nationalPrefixFormattingRule="$FG"
- pattern="(\d{4,5})">
+ <numberFormat pattern="(\d{4,5})" nationalPrefixFormattingRule="$FG">
<leadingDigits>[1-9]</leadingDigits>
<format>$1</format>
<intlFormat>NA</intlFormat>
@@ -4893,11 +4899,15 @@
</nationalNumberPattern>
</generalDesc>
<noInternationalDialling>
- <nationalNumberPattern>600\d{7,8}</nationalNumberPattern>
<possibleLengths national="10,11"/>
<exampleNumber>6001234567</exampleNumber>
+ <nationalNumberPattern>600\d{7,8}</nationalNumberPattern>
</noInternationalDialling>
+ <!-- Area codes do not need to be dialled when dialling within the same area, so the
+ smallest possible number is length 7. -->
<fixedLine>
+ <possibleLengths national="9" localOnly="7,8"/>
+ <exampleNumber>221234567</exampleNumber>
<!-- In mid-2013, Chile switched from 8 digits to 9 digits for fixed-line numbers, by
inserting a '2' after the area code (which are 2 digits, with the exception of '2').
As of Aug. 2014, all of the prefixes have been switched over to the new plan.
@@ -4905,13 +4915,13 @@
already numbers with the prefix "23" are being added.
See: http://www.gob.cl/especiales/informate-de-la-nueva-forma-de-marcar/
http://www.subtel.cl/index.php?option=com_content&view=article&id=3081:&catid=3:noticias
- Added 2326 range based on online evidence. Added prefixes 2324 and 2327 based on user
- reports. -->
+ Added prefixes 2323 and 2326 range based on online evidence. Added prefixes 2324 and
+ 2327 based on user reports. -->
<nationalNumberPattern>
2(?:
1962\d{4}|
2\d{7}|
- 32[0-2467]\d{5}
+ 32[0-467]\d{5}
)|
(?:
3[2-5]|
@@ -4921,18 +4931,16 @@
9[3-9]
)\d{7}
</nationalNumberPattern>
- <!-- Area codes do not need to be dialled when dialling within the same area, so the
- smallest possible number is length 7. -->
- <possibleLengths national="9" localOnly="7,8"/>
- <exampleNumber>221234567</exampleNumber>
</fixedLine>
<!-- Supported 93 mobile range as per issue reported. -->
<mobile>
+ <possibleLengths national="9" localOnly="8"/>
+ <exampleNumber>961234567</exampleNumber>
<nationalNumberPattern>
2(?:
1962\d{4}|
2\d{7}|
- 32[0-2467]\d{5}
+ 32[0-467]\d{5}
)|
(?:
3[2-5]|
@@ -4942,30 +4950,28 @@
9[3-9]
)\d{7}
</nationalNumberPattern>
- <possibleLengths national="9" localOnly="8"/>
- <exampleNumber>961234567</exampleNumber>
</mobile>
<!-- Toll free patterns have been collected by looking at numbers on the internet, rather than
from a definitive source. -->
<tollFree>
+ <possibleLengths national="9,11"/>
+ <exampleNumber>800123456</exampleNumber>
<!-- 1230 numbers are used by Visa/Mastercard helplines in Chile -->
<nationalNumberPattern>
800\d{6}|
1230\d{7}
</nationalNumberPattern>
- <possibleLengths national="9,11"/>
- <exampleNumber>800123456</exampleNumber>
</tollFree>
<sharedCost>
- <!-- http://empresa.movistar.cl/nuestros_productos/soluciones_telefonia_ip/servicios/servicio_600.php -->
- <nationalNumberPattern>600\d{7,8}</nationalNumberPattern>
<possibleLengths national="10,11"/>
<exampleNumber>6001234567</exampleNumber>
+ <!-- http://empresa.movistar.cl/nuestros_productos/soluciones_telefonia_ip/servicios/servicio_600.php -->
+ <nationalNumberPattern>600\d{7,8}</nationalNumberPattern>
</sharedCost>
<voip>
- <nationalNumberPattern>44\d{7}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>441234567</exampleNumber>
+ <nationalNumberPattern>44\d{7}</nationalNumberPattern>
</voip>
</territory>
@@ -4977,8 +4983,7 @@
</references>
<availableFormats>
<!-- Formatting in the ITU update document aligns with formatting online (all 2 digit
- groups). For the new number format with 9 digits the first digit has it's own group.
- -->
+ groups). For the new number format with 9 digits the first digit has it's own group. -->
<numberFormat pattern="([26])(\d{2})(\d{2})(\d{2})(\d{2})">
<leadingDigits>[26]</leadingDigits>
<format>$1 $2 $3 $4 $5</format>
@@ -4995,45 +5000,45 @@
<nationalNumberPattern>[2368]\d{7,8}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="9"/>
+ <exampleNumber>222123456</exampleNumber>
<!-- CDMA numbers are described in a subcategory to fixed line numbers in the ITU update
document, so those prefixes are added to fixed line (24[23]). -->
<nationalNumberPattern>
2(?:
- 22|
- 33|
- 4[23]
+ 22|
+ 33|
+ 4[23]
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>222123456</exampleNumber>
</fixedLine>
<mobile>
- <!-- 68 was added based on info found online. -->
- <nationalNumberPattern>6[5-9]\d{7}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>671234567</exampleNumber>
+ <!-- 68 was added based on info found online. -->
+ <nationalNumberPattern>6[5-9]\d{7}</nationalNumberPattern>
</mobile>
<tollFree>
+ <possibleLengths national="8"/>
+ <exampleNumber>88012345</exampleNumber>
<!-- Numbers starting with 8 are listed as value-added in the ITU doc, but only numbers
starting with 88 have been found online. These are all listed as being "numéro vert",
"ligne verte" or "gratuit" (free). -->
<nationalNumberPattern>88\d{6}</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>88012345</exampleNumber>
</tollFree>
</territory>
<!-- China -->
<!-- The international/national prefix patterns must not collide with valid prefixes such
as 170, 176, 177 and 178. 179XX00 is a valid calling prefix, see: www.chahaoba.com/179 -->
- <territory id="CN" countryCode="86" internationalPrefix="(1(?:[129]\d{3}|79\d{2}))?00"
- preferredInternationalPrefix="00" nationalPrefix="0"
+ <territory id="CN" countryCode="86" preferredInternationalPrefix="00"
+ internationalPrefix="(1(?:[129]\d{3}|79\d{2}))?00" nationalPrefix="0"
nationalPrefixForParsing="(1(?:[129]\d{3}|79\d{2}))|0">
<references>
<sourceUrl>http://www.itu.int/oth/T020200002B/en</sourceUrl>
</references>
<availableFormats>
- <numberFormat nationalPrefixFormattingRule="$NP$FG" pattern="(80\d{2})(\d{4})"
+ <numberFormat pattern="(80\d{2})(\d{4})" nationalPrefixFormattingRule="$NP$FG"
nationalPrefixOptionalWhenFormatting="true"
carrierCodeFormattingRule="$CC $FG">
<leadingDigits>80[2678]</leadingDigits>
@@ -5060,7 +5065,7 @@
dealt with by ShortNumberMetadata.xml) and 96xxx(x) numbers with area codes (we don't
support these as short numbers because they are only unique within a province, not
within a country). -->
- <numberFormat nationalPrefixFormattingRule="$NP$FG" pattern="(\d{2})(\d{5,6})"
+ <numberFormat pattern="(\d{2})(\d{5,6})" nationalPrefixFormattingRule="$NP$FG"
carrierCodeFormattingRule="$CC $FG">
<leadingDigits>
(?:
@@ -5088,7 +5093,7 @@
</leadingDigits>
<format>$1 $2</format>
</numberFormat>
- <numberFormat nationalPrefixFormattingRule="$NP$FG" pattern="(\d{3})(\d{5,6})"
+ <numberFormat pattern="(\d{3})(\d{5,6})" nationalPrefixFormattingRule="$NP$FG"
carrierCodeFormattingRule="$CC $FG">
<leadingDigits>[3-9]</leadingDigits>
<leadingDigits>[3-9]\d{2}[19]</leadingDigits>
@@ -5111,13 +5116,13 @@
<format>$1 $2</format>
<intlFormat>NA</intlFormat>
</numberFormat>
- <numberFormat nationalPrefixFormattingRule="$NP$FG" pattern="(21)(\d{4})(\d{4,6})"
+ <numberFormat pattern="(21)(\d{4})(\d{4,6})" nationalPrefixFormattingRule="$NP$FG"
nationalPrefixOptionalWhenFormatting="true"
carrierCodeFormattingRule="$CC $FG">
<leadingDigits>21</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
- <numberFormat nationalPrefixFormattingRule="$NP$FG" pattern="([12]\d)(\d{4})(\d{4})"
+ <numberFormat pattern="([12]\d)(\d{4})(\d{4})" nationalPrefixFormattingRule="$NP$FG"
nationalPrefixOptionalWhenFormatting="true"
carrierCodeFormattingRule="$CC $FG">
<leadingDigits>
@@ -5141,7 +5146,7 @@
</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
- <numberFormat nationalPrefixFormattingRule="$NP$FG" pattern="(\d{3})(\d{3})(\d{4})"
+ <numberFormat pattern="(\d{3})(\d{3})(\d{4})" nationalPrefixFormattingRule="$NP$FG"
nationalPrefixOptionalWhenFormatting="true"
carrierCodeFormattingRule="$CC $FG">
<leadingDigits>
@@ -5202,7 +5207,7 @@
</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
- <numberFormat nationalPrefixFormattingRule="$NP$FG" pattern="(\d{3})(\d{4})(\d{4})"
+ <numberFormat pattern="(\d{3})(\d{4})(\d{4})" nationalPrefixFormattingRule="$NP$FG"
nationalPrefixOptionalWhenFormatting="true"
carrierCodeFormattingRule="$CC $FG">
<leadingDigits>
@@ -5235,7 +5240,7 @@
</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
- <numberFormat nationalPrefixFormattingRule="$NP$FG" pattern="(\d{4})(\d{3})(\d{4})"
+ <numberFormat pattern="(\d{4})(\d{3})(\d{4})" nationalPrefixFormattingRule="$NP$FG"
nationalPrefixOptionalWhenFormatting="true"
carrierCodeFormattingRule="$CC $FG">
<leadingDigits>807</leadingDigits>
@@ -5265,6 +5270,8 @@
</nationalNumberPattern>
</generalDesc>
<noInternationalDialling>
+ <possibleLengths national="[10-12]"/>
+ <exampleNumber>4001234567</exampleNumber>
<nationalNumberPattern>
(?:
4|
@@ -5274,18 +5281,17 @@
)00\d{7}|
950\d{7,8}
</nationalNumberPattern>
- <possibleLengths national="[10-12]"/>
- <exampleNumber>4001234567</exampleNumber>
</noInternationalDialling>
<fixedLine>
+ <possibleLengths national="[7-12]" localOnly="5,6"/>
+ <exampleNumber>1012345678</exampleNumber>
<!-- 0432 increased to 8 digits on October 24, 2009. 0791 increased to 8 digits on August
28, 2011. 0551 increased to 8 digits and 0565 was cancelled on Dec 8, 2012. 0871
increased to 8 digits on December 16, 2012. 0475 is the prefix for Tongliao but is not
in the ITU data.
10xxx and 95xxx(x) numbers with area codes are also included here, as they behave
exactly like fixed-line numbers. We don't support them for 4-digit area codes though,
- as they don't seem to be used there based on making actual phone calls.
- -->
+ as they don't seem to be used there based on making actual phone calls. -->
<nationalNumberPattern>
21(?:
100\d{2}|
@@ -5397,10 +5403,10 @@
81
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="[7-12]" localOnly="5,6"/>
- <exampleNumber>1012345678</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="11"/>
+ <exampleNumber>13123456789</exampleNumber>
<!-- 170, 176 and 177 prefixes are introduced in early 2014 for 4G networks.
171 and 175 are valid mobile ranges as per online evidence. -->
<nationalNumberPattern>
@@ -5411,28 +5417,28 @@
7[0-35-8]
)\d{8}
</nationalNumberPattern>
- <possibleLengths national="11"/>
- <exampleNumber>13123456789</exampleNumber>
</mobile>
<!-- Toll free, premium rate, and VoIP numbers are not clearly defined in the official Chinese
number plan, and do not seem to have been standardized. The information below is
collected from searching the web. -->
<!-- http://en.wikipedia.org/wiki/Toll-free_telephone_number -->
<tollFree>
+ <possibleLengths national="10,12"/>
+ <exampleNumber>8001234567</exampleNumber>
<nationalNumberPattern>
(?:
10
)?800\d{7}
</nationalNumberPattern>
- <possibleLengths national="10,12"/>
- <exampleNumber>8001234567</exampleNumber>
</tollFree>
<premiumRate>
- <nationalNumberPattern>16[08]\d{5}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>16812345</exampleNumber>
+ <nationalNumberPattern>16[08]\d{5}</nationalNumberPattern>
</premiumRate>
<sharedCost>
+ <possibleLengths national="[7-11]" localOnly="5,6"/>
+ <exampleNumber>4001234567</exampleNumber>
<!-- 96xxx(x) numbers with area codes are included here. Their costs are not well
documented, but they are thought to be mostly local costs with certain exceptions. We
don't support them for 4-digit area codes though, as they don't seem to be used there
@@ -5494,8 +5500,6 @@
)
)96\d{3,4}
</nationalNumberPattern>
- <possibleLengths national="[7-11]" localOnly="5,6"/>
- <exampleNumber>4001234567</exampleNumber>
</sharedCost>
</territory>
@@ -5511,8 +5515,8 @@
<sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Colombia</sourceUrl>
</references>
<availableFormats>
- <numberFormat pattern="(\d)(\d{7})" carrierCodeFormattingRule="$NP$CC $FG"
- nationalPrefixFormattingRule="($FG)">
+ <numberFormat pattern="(\d)(\d{7})" nationalPrefixFormattingRule="($FG)"
+ carrierCodeFormattingRule="$NP$CC $FG">
<leadingDigits>
1(?:
8[2-9]|
@@ -5567,12 +5571,14 @@
</nationalNumberPattern>
</generalDesc>
<fixedLine>
- <nationalNumberPattern>[124-8][2-9]\d{6}</nationalNumberPattern>
<possibleLengths national="8" localOnly="7"/>
<exampleNumber>12345678</exampleNumber>
+ <nationalNumberPattern>[124-8][2-9]\d{6}</nationalNumberPattern>
</fixedLine>
<!-- Added prefix 323 based on user report and online evidences. -->
<mobile>
+ <possibleLengths national="10"/>
+ <exampleNumber>3211234567</exampleNumber>
<nationalNumberPattern>
3(?:
0[0-5]|
@@ -5581,23 +5587,21 @@
5[01]
)\d{7}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>3211234567</exampleNumber>
</mobile>
<tollFree>
- <nationalNumberPattern>1800\d{7}</nationalNumberPattern>
<possibleLengths national="11"/>
<exampleNumber>18001234567</exampleNumber>
+ <nationalNumberPattern>1800\d{7}</nationalNumberPattern>
</tollFree>
<premiumRate>
+ <possibleLengths national="11"/>
+ <exampleNumber>19001234567</exampleNumber>
<nationalNumberPattern>
19(?:
0[01]|
4[78]
)\d{7}
</nationalNumberPattern>
- <possibleLengths national="11"/>
- <exampleNumber>19001234567</exampleNumber>
</premiumRate>
</territory>
@@ -5627,11 +5631,13 @@
</generalDesc>
<!-- Added prefix 20 and 21 found online. -->
<fixedLine>
- <nationalNumberPattern>2[0-24-7]\d{6}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>22123456</exampleNumber>
+ <nationalNumberPattern>2[0-24-7]\d{6}</nationalNumberPattern>
</fixedLine>
<mobile>
+ <possibleLengths national="8"/>
+ <exampleNumber>83123456</exampleNumber>
<nationalNumberPattern>
5(?:
0[01]|
@@ -5646,21 +5652,21 @@
8[3-9]
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>83123456</exampleNumber>
</mobile>
<tollFree>
- <nationalNumberPattern>800\d{7}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>8001234567</exampleNumber>
+ <nationalNumberPattern>800\d{7}</nationalNumberPattern>
</tollFree>
<premiumRate>
- <!-- Includes "mass calls" numbers with prefix 905. -->
- <nationalNumberPattern>90[059]\d{7}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>9001234567</exampleNumber>
+ <!-- Includes "mass calls" numbers with prefix 905. -->
+ <nationalNumberPattern>90[059]\d{7}</nationalNumberPattern>
</premiumRate>
<voip>
+ <possibleLengths national="8"/>
+ <exampleNumber>40001234</exampleNumber>
<!-- Including trunking service numbers starting with 5100. -->
<!-- Prefixes for VOIP simplified from wikipedia 4xxx xxxx -->
<!-- Prefix 210x xxxx present before, taken from ITU doc -->
@@ -5669,14 +5675,12 @@
4\d{7}|
5100\d{4}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>40001234</exampleNumber>
</voip>
</territory>
<!-- Cuba -->
- <territory id="CU" countryCode="53" internationalPrefix="119"
- nationalPrefix="0" nationalPrefixFormattingRule="($NP$FG)">
+ <territory id="CU" countryCode="53" internationalPrefix="119" nationalPrefix="0"
+ nationalPrefixFormattingRule="($NP$FG)">
<references>
<sourceUrl>http://www.itu.int/oth/T0202000033/en</sourceUrl>
</references>
@@ -5698,6 +5702,8 @@
<nationalNumberPattern>[2-57]\d{5,7}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="[6-8]" localOnly="4,5"/>
+ <exampleNumber>71234567</exampleNumber>
<nationalNumberPattern>
2[1-4]\d{5,6}|
3(?:
@@ -5711,13 +5717,11 @@
)|
7\d{6,7}
</nationalNumberPattern>
- <possibleLengths national="[6-8]" localOnly="4,5"/>
- <exampleNumber>71234567</exampleNumber>
</fixedLine>
<mobile>
- <nationalNumberPattern>5\d{7}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>51234567</exampleNumber>
+ <nationalNumberPattern>5\d{7}</nationalNumberPattern>
</mobile>
</territory>
@@ -5735,6 +5739,8 @@
<nationalNumberPattern>[259]\d{6}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="7"/>
+ <exampleNumber>2211234</exampleNumber>
<nationalNumberPattern>
2(?:
2[1-7]|
@@ -5746,10 +5752,10 @@
8[1-5]
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="7"/>
- <exampleNumber>2211234</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="7"/>
+ <exampleNumber>9911234</exampleNumber>
<!-- It seems, contrary to their numbering plan, the entire 9X range is used for mobile
phones. SMS messages has been successfully sent to numbers starting with 95 and 97 for
example, and there are plenty of numbers on the internet that start with these
@@ -5760,13 +5766,12 @@
59
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="7"/>
- <exampleNumber>9911234</exampleNumber>
</mobile>
</territory>
<!-- Curaçao -->
- <territory id="CW" countryCode="599" internationalPrefix="00" mainCountryForCode="true">
+ <!-- Main region for 'BQ' -->
+ <territory id="CW" mainCountryForCode="true" countryCode="599" internationalPrefix="00">
<references>
<sourceUrl>http://www.itu.int/oth/T02020000F5/en</sourceUrl>
</references>
@@ -5785,6 +5790,8 @@
<nationalNumberPattern>[169]\d{6,7}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="8"/>
+ <exampleNumber>94151234</exampleNumber>
<nationalNumberPattern>
9(?:
[48]\d{2}|
@@ -5798,10 +5805,10 @@
)
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>94151234</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="8"/>
+ <exampleNumber>95181234</exampleNumber>
<nationalNumberPattern>
9(?:
5(?:
@@ -5814,26 +5821,24 @@
)
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>95181234</exampleNumber>
</mobile>
<pager>
- <nationalNumberPattern>955\d{5}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>95581234</exampleNumber>
+ <nationalNumberPattern>955\d{5}</nationalNumberPattern>
</pager>
<sharedCost>
+ <possibleLengths national="7"/>
+ <exampleNumber>6001234</exampleNumber>
<!-- Value-added services are lumped together under shared cost, since we are not sure
exactly what they are. -->
<nationalNumberPattern>60[0-2]\d{4}</nationalNumberPattern>
- <possibleLengths national="7"/>
- <exampleNumber>6001234</exampleNumber>
</sharedCost>
</territory>
<!-- Christmas Islands -->
- <!-- Metadata shared with Australia. -->
<!-- References state Christmas Islands have fixed line numbers starting +61 8 9164. -->
+ <!-- Country calling code and formatting shared with 'AU' -->
<territory id="CX" countryCode="61" preferredInternationalPrefix="0011"
internationalPrefix="(?:14(?:1[14]|34|4[17]|[56]6|7[47]|88))?001[14-689]"
nationalPrefix="0">
@@ -5841,18 +5846,19 @@
<sourceUrl>http://en.wikipedia.org/wiki/List_of_country_calling_codes</sourceUrl>
<sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Australia</sourceUrl>
</references>
- <!-- Uses AU formatting rules. -->
<!-- General desc and fixed line rules different from Australia. -->
<generalDesc>
<nationalNumberPattern>[1458]\d{5,9}</nationalNumberPattern>
</generalDesc>
<fixedLine>
- <nationalNumberPattern>89164\d{4}</nationalNumberPattern>
<possibleLengths national="9" localOnly="8"/>
<exampleNumber>891641234</exampleNumber>
+ <nationalNumberPattern>89164\d{4}</nationalNumberPattern>
</fixedLine>
<!-- Mobile, toll free, premium rate, personal number and VOIP copied from Australia. -->
<mobile>
+ <possibleLengths national="9"/>
+ <exampleNumber>412345678</exampleNumber>
<nationalNumberPattern>
14(?:
5\d|
@@ -5869,45 +5875,43 @@
9[017-9]
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>412345678</exampleNumber>
</mobile>
<tollFree>
+ <possibleLengths national="7,10"/>
+ <exampleNumber>1800123456</exampleNumber>
<nationalNumberPattern>
180(?:
0\d{3}|
2
)\d{3}
</nationalNumberPattern>
- <possibleLengths national="7,10"/>
- <exampleNumber>1800123456</exampleNumber>
</tollFree>
<premiumRate>
- <nationalNumberPattern>190[0126]\d{6}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>1900123456</exampleNumber>
+ <nationalNumberPattern>190[0126]\d{6}</nationalNumberPattern>
</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. -->
+ <possibleLengths national="6,8,10"/>
+ <exampleNumber>1300123456</exampleNumber>
+ <!-- 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>
- <possibleLengths national="6,8,10"/>
- <exampleNumber>1300123456</exampleNumber>
</sharedCost>
<personalNumber>
- <nationalNumberPattern>500\d{6}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>500123456</exampleNumber>
+ <nationalNumberPattern>500\d{6}</nationalNumberPattern>
</personalNumber>
<voip>
- <nationalNumberPattern>550\d{6}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>550123456</exampleNumber>
+ <nationalNumberPattern>550\d{6}</nationalNumberPattern>
</voip>
</territory>
@@ -5926,37 +5930,39 @@
<nationalNumberPattern>[257-9]\d{7}</nationalNumberPattern>
</generalDesc>
<fixedLine>
- <nationalNumberPattern>2[2-6]\d{6}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>22345678</exampleNumber>
+ <nationalNumberPattern>2[2-6]\d{6}</nationalNumberPattern>
</fixedLine>
<mobile>
- <!-- Includes paging numbers (they are mixed into the same block). -->
- <nationalNumberPattern>9[4-79]\d{6}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>96123456</exampleNumber>
+ <!-- Includes paging numbers (they are mixed into the same block). -->
+ <nationalNumberPattern>9[4-79]\d{6}</nationalNumberPattern>
</mobile>
<tollFree>
- <nationalNumberPattern>800\d{5}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>80001234</exampleNumber>
+ <nationalNumberPattern>800\d{5}</nationalNumberPattern>
</tollFree>
<premiumRate>
- <nationalNumberPattern>90[09]\d{5}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>90012345</exampleNumber>
+ <nationalNumberPattern>90[09]\d{5}</nationalNumberPattern>
</premiumRate>
<sharedCost>
- <nationalNumberPattern>80[1-9]\d{5}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>80112345</exampleNumber>
+ <nationalNumberPattern>80[1-9]\d{5}</nationalNumberPattern>
</sharedCost>
<personalNumber>
- <nationalNumberPattern>700\d{5}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>70012345</exampleNumber>
+ <nationalNumberPattern>700\d{5}</nationalNumberPattern>
</personalNumber>
<uan>
+ <possibleLengths national="8"/>
+ <exampleNumber>77123456</exampleNumber>
<!-- Using for Corporate Network numbers and Universal Service numbers. -->
<nationalNumberPattern>
(?:
@@ -5964,8 +5970,6 @@
77
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>77123456</exampleNumber>
</uan>
</territory>
@@ -5999,6 +6003,8 @@
</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="9"/>
+ <exampleNumber>212345678</exampleNumber>
<nationalNumberPattern>
2\d{8}|
(?:
@@ -6007,10 +6013,10 @@
5[13-9]
)\d{7}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>212345678</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="9"/>
+ <exampleNumber>601123456</exampleNumber>
<nationalNumberPattern>
(?:
60[1-8]|
@@ -6020,15 +6026,15 @@
)
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>601123456</exampleNumber>
</mobile>
<tollFree>
- <nationalNumberPattern>800\d{6}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>800123456</exampleNumber>
+ <nationalNumberPattern>800\d{6}</nationalNumberPattern>
</tollFree>
<premiumRate>
+ <possibleLengths national="9"/>
+ <exampleNumber>900123456</exampleNumber>
<!-- Includes premium rate dial-up. -->
<nationalNumberPattern>
9(?:
@@ -6036,25 +6042,25 @@
76
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>900123456</exampleNumber>
</premiumRate>
<sharedCost>
- <nationalNumberPattern>8[134]\d{7}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>811234567</exampleNumber>
+ <nationalNumberPattern>8[134]\d{7}</nationalNumberPattern>
</sharedCost>
<personalNumber>
- <nationalNumberPattern>70[01]\d{6}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>700123456</exampleNumber>
+ <nationalNumberPattern>70[01]\d{6}</nationalNumberPattern>
</personalNumber>
<voip>
- <nationalNumberPattern>9[17]0\d{6}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>910123456</exampleNumber>
+ <nationalNumberPattern>9[17]0\d{6}</nationalNumberPattern>
</voip>
<uan>
+ <possibleLengths national="9"/>
+ <exampleNumber>972123456</exampleNumber>
<!-- Numbers belonging to private communication networks are included here. These are
classified as Institutional networks, belonging to institutions like the police, armed
forces and railways, along with a couple of formerly government-owned banks. These
@@ -6065,25 +6071,22 @@
7[234]
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>972123456</exampleNumber>
</uan>
<voicemail>
+ <possibleLengths national="[9-12]"/>
+ <exampleNumber>93123456789</exampleNumber>
<nationalNumberPattern>
9(?:
3\d{9}|
6\d{7,10}
)
</nationalNumberPattern>
- <possibleLengths national="[9-12]"/>
- <exampleNumber>93123456789</exampleNumber>
</voicemail>
</territory>
<!-- Germany -->
- <territory id="DE" countryCode="49" internationalPrefix="00"
- nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
- mobileNumberPortableRegion="true">
+ <territory id="DE" countryCode="49" internationalPrefix="00" nationalPrefix="0"
+ nationalPrefixFormattingRule="$NP$FG" mobileNumberPortableRegion="true">
<references>
<sourceUrl>http://www.itu.int/oth/T0202000051/en</sourceUrl>
<sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_germany</sourceUrl>
@@ -6301,12 +6304,12 @@
<format>$1 $2 $3</format>
</numberFormat>
</availableFormats>
+ <!-- When deciding whether to assume a leading 49 is a country code or not, the number is
+ examined to see if it is valid with the 49 as part of the number. Due to the variable
+ length of German numbers, this test is hard to do. The national pattern is hence
+ stricter for numbers starting with 49, to try and remove the country code if the number
+ begins with 49 whenever possible. -->
<generalDesc>
- <!-- When deciding whether to assume a leading 49 is a country code or not, the number is
- examined to see if it is valid with the 49 as part of the number. Due to the variable
- length of German numbers, this test is hard to do. The national pattern is hence
- stricter for numbers starting with 49, to try and remove the country code if the number
- begins with 49 whenever possible. -->
<nationalNumberPattern>
[1-35-9]\d{3,14}|
4(?:
@@ -6324,6 +6327,8 @@
</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="[5-15]" localOnly="3,4"/>
+ <exampleNumber>30123456</exampleNumber>
<!-- The numbering plan defines rather optimistic longest-number limits - online numbers
don't seem to respect this. The max-length is hence extended. -->
<nationalNumberPattern>
@@ -6363,10 +6368,10 @@
[2-9]\d{4,11}
)
</nationalNumberPattern>
- <possibleLengths national="[5-15]" localOnly="3,4"/>
- <exampleNumber>30123456</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="10,11"/>
+ <exampleNumber>15123456789</exampleNumber>
<!-- According to
http://www.bundesnetzagentur.de/SharedDocs/Downloads/DE/BNetzA/Sachgebiete/Telekommunikation/Regulierung/Nummernverwaltung/Mobilfunkdienste/NummernplanMobileDienstepdf.pdf?__blob=publicationFile
numbers beginning with 162, 163 and 17 can all be 10 or 11 digits long.
@@ -6381,25 +6386,25 @@
7\d{8,9}
)
</nationalNumberPattern>
- <possibleLengths national="10,11"/>
- <exampleNumber>15123456789</exampleNumber>
</mobile>
<pager>
+ <possibleLengths national="[4-14]"/>
+ <exampleNumber>16412345</exampleNumber>
<nationalNumberPattern>
16(?:
4\d{1,10}|
[89]\d{1,11}
)
</nationalNumberPattern>
- <possibleLengths national="[4-14]"/>
- <exampleNumber>16412345</exampleNumber>
</pager>
<tollFree>
- <nationalNumberPattern>800\d{7,12}</nationalNumberPattern>
<possibleLengths national="[10-15]"/>
<exampleNumber>8001234567890</exampleNumber>
+ <nationalNumberPattern>800\d{7,12}</nationalNumberPattern>
</tollFree>
<premiumRate>
+ <possibleLengths national="10,11"/>
+ <exampleNumber>9001234567</exampleNumber>
<!-- Includes the more expensive of the "televoting" line numbers. See the shared cost
section for more information. -->
<nationalNumberPattern>
@@ -6409,17 +6414,16 @@
9\d{7}
)
</nationalNumberPattern>
- <possibleLengths national="10,11"/>
- <exampleNumber>9001234567</exampleNumber>
</premiumRate>
<sharedCost>
+ <possibleLengths national="[7-14]"/>
+ <exampleNumber>18012345</exampleNumber>
<!-- Includes some mass-traffic numbers, used for e.g. phone voting, raffles, since their
costs when dialling from a fixed-line phone is similar.
Prices:
http://www.billiger-telefonieren.de/0180-0137-0900-sonderrufnummern/
Documentation:
- http://www.bundesnetzagentur.de/SharedDocs/Downloads/DE/Sachgebiete/Telekommunikation/Unternehmen_Institutionen/Nummerierung/Rufnummern/0137/0137_Nummernplan.pdf?__blob=publicationFile&v=2
- -->
+ http://www.bundesnetzagentur.de/SharedDocs/Downloads/DE/Sachgebiete/Telekommunikation/Unternehmen_Institutionen/Nummerierung/Rufnummern/0137/0137_Nummernplan.pdf?__blob=publicationFile&v=2 -->
<nationalNumberPattern>
1(?:
3(?:
@@ -6429,17 +6433,17 @@
80\d{5,11}
)
</nationalNumberPattern>
- <possibleLengths national="[7-14]"/>
- <exampleNumber>18012345</exampleNumber>
</sharedCost>
<personalNumber>
- <nationalNumberPattern>700\d{8}</nationalNumberPattern>
<possibleLengths national="11"/>
<exampleNumber>70012345678</exampleNumber>
+ <nationalNumberPattern>700\d{8}</nationalNumberPattern>
</personalNumber>
<uan>
+ <possibleLengths national="[8-14]"/>
+ <exampleNumber>18500123456</exampleNumber>
<!-- Using UAN for numbers marked in the plan as being assigned to International Virtual
- Private Networks (0181) & User Groups (018[2-9]). These seem in practice to be assigned
+ Private Networks (0181) and User Groups (018[2-9]). These seem in practice to be assigned
to companies. More information here: http://de.wikipedia.org/wiki/Vorwahl_01 -->
<nationalNumberPattern>
18(?:
@@ -6447,10 +6451,10 @@
[2-9]\d{8}
)
</nationalNumberPattern>
- <possibleLengths national="[8-14]"/>
- <exampleNumber>18500123456</exampleNumber>
</uan>
<voicemail>
+ <possibleLengths national="12,13"/>
+ <exampleNumber>177991234567</exampleNumber>
<!-- Note corresponding mobile prefixes should be updated as well if new prefixes are added
to this section. -->
<nationalNumberPattern>
@@ -6479,8 +6483,6 @@
)\d{7,8}
)
</nationalNumberPattern>
- <possibleLengths national="12,13"/>
- <exampleNumber>177991234567</exampleNumber>
</voicemail>
</territory>
@@ -6498,6 +6500,8 @@
<nationalNumberPattern>[27]\d{7}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="8"/>
+ <exampleNumber>21360003</exampleNumber>
<!-- Includes "Numéro long CDMA fixe" numbers. -->
<nationalNumberPattern>
2(?:
@@ -6505,13 +6509,11 @@
7[45]
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>21360003</exampleNumber>
</fixedLine>
<mobile>
- <nationalNumberPattern>77\d{6}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>77831001</exampleNumber>
+ <nationalNumberPattern>77\d{6}</nationalNumberPattern>
</mobile>
</territory>
@@ -6531,6 +6533,8 @@
<!-- Note that "mainly mobile" and "mainly fixed-line" are put under both number types to be
safe. -->
<fixedLine>
+ <possibleLengths national="8"/>
+ <exampleNumber>32123456</exampleNumber>
<nationalNumberPattern>
(?:
[2-7]\d|
@@ -6538,10 +6542,10 @@
9[1-36-9]
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>32123456</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="8"/>
+ <exampleNumber>20123456</exampleNumber>
<nationalNumberPattern>
(?:
[2-7]\d|
@@ -6549,32 +6553,32 @@
9[1-36-9]
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>20123456</exampleNumber>
</mobile>
<tollFree>
- <nationalNumberPattern>80\d{6}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>80123456</exampleNumber>
+ <nationalNumberPattern>80\d{6}</nationalNumberPattern>
</tollFree>
<premiumRate>
- <nationalNumberPattern>90\d{6}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>90123456</exampleNumber>
+ <nationalNumberPattern>90\d{6}</nationalNumberPattern>
</premiumRate>
</territory>
<!-- Dominica -->
- <territory id="DM" countryCode="1" leadingDigits="767" nationalPrefix="1"
- internationalPrefix="011">
+ <!-- Country calling code and formatting shared with 'US' -->
+ <territory id="DM" countryCode="1" leadingDigits="767" internationalPrefix="011"
+ nationalPrefix="1">
<references>
<sourceUrl>http://www.itu.int/oth/T020200003B/en</sourceUrl>
</references>
<generalDesc>
- <!-- NANPA country - uses US formatting rules -->
<nationalNumberPattern>[57-9]\d{9}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="10" localOnly="7"/>
+ <exampleNumber>7674201234</exampleNumber>
<nationalNumberPattern>
767(?:
2(?:
@@ -6589,10 +6593,10 @@
70[1-3]
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="10" localOnly="7"/>
- <exampleNumber>7674201234</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="10" localOnly="7"/>
+ <exampleNumber>7672251234</exampleNumber>
<!-- Adding 61[237], 285 and 295 since online numbers have been found with this prefix. -->
<nationalNumberPattern>
767(?:
@@ -6604,10 +6608,10 @@
61[2-7]
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="10" localOnly="7"/>
- <exampleNumber>7672251234</exampleNumber>
</mobile>
<tollFree>
+ <possibleLengths national="10"/>
+ <exampleNumber>8002123456</exampleNumber>
<nationalNumberPattern>
8(?:
00|
@@ -6619,15 +6623,15 @@
88
)[2-9]\d{6}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>8002123456</exampleNumber>
</tollFree>
<premiumRate>
- <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>9002123456</exampleNumber>
+ <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
</premiumRate>
<personalNumber>
+ <possibleLengths national="10"/>
+ <exampleNumber>5002345678</exampleNumber>
<!-- https://www.nationalnanpa.com/number_resource_info/5XX_codes.html -->
<nationalNumberPattern>
5(?:
@@ -6640,22 +6644,22 @@
88
)[2-9]\d{6}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>5002345678</exampleNumber>
</personalNumber>
</territory>
<!-- Dominican Rep. -->
- <territory id="DO" countryCode="1" leadingDigits="8[024]9" nationalPrefix="1"
- internationalPrefix="011" mobileNumberPortableRegion="true">
+ <!-- Country calling code and formatting shared with 'US' -->
+ <territory id="DO" countryCode="1" leadingDigits="8[024]9" internationalPrefix="011"
+ nationalPrefix="1" mobileNumberPortableRegion="true">
<references>
<sourceUrl>http://www.itu.int/oth/T020200003C/en</sourceUrl>
</references>
<generalDesc>
- <!-- NANPA country - uses US formatting rules -->
<nationalNumberPattern>[589]\d{9}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="10" localOnly="7"/>
+ <exampleNumber>8092345678</exampleNumber>
<!-- The ITU data seems to be somewhat incomplete. We ensure that the fully-specified mobile
prefixes in the document are classified as such by excluding them from the fixed-line
ranges, but other than this have a generic rule. -->
@@ -6710,15 +6714,15 @@
)\d{4}
)
</nationalNumberPattern>
- <possibleLengths national="10" localOnly="7"/>
- <exampleNumber>8092345678</exampleNumber>
</fixedLine>
<mobile>
- <nationalNumberPattern>8[024]9[2-9]\d{6}</nationalNumberPattern>
<possibleLengths national="10" localOnly="7"/>
<exampleNumber>8092345678</exampleNumber>
+ <nationalNumberPattern>8[024]9[2-9]\d{6}</nationalNumberPattern>
</mobile>
<tollFree>
+ <possibleLengths national="10"/>
+ <exampleNumber>8002123456</exampleNumber>
<nationalNumberPattern>
8(?:
00|
@@ -6730,15 +6734,15 @@
88
)[2-9]\d{6}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>8002123456</exampleNumber>
</tollFree>
<premiumRate>
- <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>9002123456</exampleNumber>
+ <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
</premiumRate>
<personalNumber>
+ <possibleLengths national="10"/>
+ <exampleNumber>5002345678</exampleNumber>
<!-- https://www.nationalnanpa.com/number_resource_info/5XX_codes.html -->
<nationalNumberPattern>
5(?:
@@ -6751,14 +6755,12 @@
88
)[2-9]\d{6}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>5002345678</exampleNumber>
</personalNumber>
</territory>
<!-- Algeria -->
- <territory id="DZ" countryCode="213" internationalPrefix="00"
- nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
+ <territory id="DZ" countryCode="213" internationalPrefix="00" nationalPrefix="0"
+ nationalPrefixFormattingRule="$NP$FG">
<references>
<sourceUrl>http://www.itu.int/oth/T0202000003/en</sourceUrl>
<sourceUrl>http://www.arpt.dz</sourceUrl>
@@ -6787,6 +6789,8 @@
</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="8,9"/>
+ <exampleNumber>12345678</exampleNumber>
<!-- We include the VSAT lines here. -->
<!-- Added prefix 23 found online. -->
<nationalNumberPattern>
@@ -6798,15 +6802,14 @@
)\d{6}|
9619\d{5}
</nationalNumberPattern>
- <possibleLengths national="8,9"/>
- <exampleNumber>12345678</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="9"/>
+ <exampleNumber>551234567</exampleNumber>
<!-- Adding 65 and 78 from numbers found online. Also, prefix 670 is added since the carrier
Mobilis Algeria provided it, and 54 for Nedjma. Prefixes 67[1-4] were also added for
Mobilis Algeria based on evidence found online. Added new ranges 675 and 676 as
- per IR21 received.
- -->
+ per IR21 received. -->
<nationalNumberPattern>
(?:
5[4-6]|
@@ -6817,38 +6820,34 @@
7[0-6]
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>551234567</exampleNumber>
</mobile>
<tollFree>
- <nationalNumberPattern>800\d{6}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>800123456</exampleNumber>
+ <nationalNumberPattern>800\d{6}</nationalNumberPattern>
</tollFree>
<premiumRate>
- <nationalNumberPattern>80[3-689]1\d{5}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>808123456</exampleNumber>
+ <nationalNumberPattern>80[3-689]1\d{5}</nationalNumberPattern>
</premiumRate>
<!-- The Algerian plan doesn't specify where the costs start to be considered "premium", so we
- draw an arbitrary line here and say that from 50 Da up they will be considered premium.
- -->
+ draw an arbitrary line here and say that from 50 Da up they will be considered premium. -->
<sharedCost>
- <nationalNumberPattern>80[12]1\d{5}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>801123456</exampleNumber>
+ <nationalNumberPattern>80[12]1\d{5}</nationalNumberPattern>
</sharedCost>
<voip>
- <nationalNumberPattern>98[23]\d{6}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>983123456</exampleNumber>
+ <nationalNumberPattern>98[23]\d{6}</nationalNumberPattern>
</voip>
</territory>
<!-- Ecuador -->
- <territory id="EC" countryCode="593" internationalPrefix="00"
- nationalPrefix="0" nationalPrefixFormattingRule="($NP$FG)"
- mobileNumberPortableRegion="true">
+ <territory id="EC" countryCode="593" internationalPrefix="00" nationalPrefix="0"
+ nationalPrefixFormattingRule="($NP$FG)" mobileNumberPortableRegion="true">
<references>
<sourceUrl>http://en.wikipedia.org/wiki/+593</sourceUrl>
<sourceUrl>http://www.conatel.gob.ec/site_conatel/index.php?option=com_content&amp;view=category&amp;layout=blog&amp;id=52&amp;Itemid=153</sourceUrl>
@@ -6882,11 +6881,13 @@
</nationalNumberPattern>
</generalDesc>
<fixedLine>
- <nationalNumberPattern>[2-7][2-7]\d{6}</nationalNumberPattern>
<possibleLengths national="8" localOnly="7"/>
<exampleNumber>22123456</exampleNumber>
+ <nationalNumberPattern>[2-7][2-7]\d{6}</nationalNumberPattern>
</fixedLine>
<mobile>
+ <possibleLengths national="9"/>
+ <exampleNumber>991234567</exampleNumber>
<nationalNumberPattern>
9(?:
(?:
@@ -6901,18 +6902,16 @@
)
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>991234567</exampleNumber>
</mobile>
<tollFree>
- <nationalNumberPattern>1800\d{6,7}</nationalNumberPattern>
<possibleLengths national="10,11"/>
<exampleNumber>18001234567</exampleNumber>
+ <nationalNumberPattern>1800\d{6,7}</nationalNumberPattern>
</tollFree>
<voip>
- <nationalNumberPattern>[2-7]890\d{4}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>28901234</exampleNumber>
+ <nationalNumberPattern>[2-7]890\d{4}</nationalNumberPattern>
</voip>
</territory>
@@ -6920,7 +6919,6 @@
<territory id="EE" countryCode="372" internationalPrefix="00" mobileNumberPortableRegion="true">
<references>
<sourceUrl>http://www.itu.int/oth/T0202000043/en</sourceUrl>
- <sourceUrl>http://www.tja.ee/numbering/</sourceUrl>
</references>
<availableFormats>
<numberFormat pattern="([3-79]\d{2})(\d{4})">
@@ -6984,20 +6982,18 @@
</availableFormats>
<generalDesc>
<nationalNumberPattern>
- 1\d{3,4}|
[3-9]\d{6,7}|
800\d{6,7}
</nationalNumberPattern>
</generalDesc>
<noInternationalDialling>
- <nationalNumberPattern>
- 1\d{3,4}|
- 800[2-9]\d{3}
- </nationalNumberPattern>
- <possibleLengths national="4,5,7"/>
+ <possibleLengths national="7"/>
<exampleNumber>8002123</exampleNumber>
+ <nationalNumberPattern>800[2-9]\d{3}</nationalNumberPattern>
</noInternationalDialling>
<fixedLine>
+ <possibleLengths national="7"/>
+ <exampleNumber>3212345</exampleNumber>
<nationalNumberPattern>
(?:
3[23589]|
@@ -7007,10 +7003,10 @@
88
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="7"/>
- <exampleNumber>3212345</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="7,8"/>
+ <exampleNumber>51234567</exampleNumber>
<!-- 7 digit mobile numbers currently in use with special prefixes are preserved - new
numbers are 8 digits. -->
<nationalNumberPattern>
@@ -7029,10 +7025,10 @@
65[1-589]
)\d{3}
</nationalNumberPattern>
- <possibleLengths national="7,8"/>
- <exampleNumber>51234567</exampleNumber>
</mobile>
<tollFree>
+ <possibleLengths national="7,8,10"/>
+ <exampleNumber>80012345</exampleNumber>
<nationalNumberPattern>
800(?:
0\d{3}|
@@ -7040,10 +7036,10 @@
[2-9]
)\d{3}
</nationalNumberPattern>
- <possibleLengths national="7,8,10"/>
- <exampleNumber>80012345</exampleNumber>
</tollFree>
<premiumRate>
+ <possibleLengths national="7,8"/>
+ <exampleNumber>9001234</exampleNumber>
<!-- Supporting eFax numbers here as well. We aren't sure the exact cost, but have
had user reports that they are expensive to dial. -->
<nationalNumberPattern>
@@ -7052,45 +7048,21 @@
900
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="7,8"/>
- <exampleNumber>9001234</exampleNumber>
</premiumRate>
<personalNumber>
- <nationalNumberPattern>70[0-2]\d{5}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>70012345</exampleNumber>
+ <nationalNumberPattern>70[0-2]\d{5}</nationalNumberPattern>
</personalNumber>
- <uan>
- <!-- All 4-5 digit numbers listed in the plan as being a "short number for a service" are
- included here. -->
- <nationalNumberPattern>
- 1(?:
- 2[01245]|
- 3[0-6]|
- 4[1-489]|
- 5[0-59]|
- 6[1-46-9]|
- 7[0-27-9]|
- 8[189]|
- 9[012]
- )\d{1,2}
- </nationalNumberPattern>
- <possibleLengths national="4,5"/>
- <exampleNumber>12123</exampleNumber>
- </uan>
</territory>
<!-- Egypt -->
- <territory id="EG" countryCode="20" internationalPrefix="00"
- nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
- mobileNumberPortableRegion="true">
+ <territory id="EG" countryCode="20" internationalPrefix="00" nationalPrefix="0"
+ nationalPrefixFormattingRule="$NP$FG" mobileNumberPortableRegion="true">
<references>
<sourceUrl>http://www.itu.int/oth/T020200003E/en</sourceUrl>
</references>
<availableFormats>
- <!-- Note that no explicit formatting rule is here for 5-digit numbers starting with a 16
- or 19. These are formatted without national prefix, as a block, so do not need to be
- listed here. -->
<numberFormat pattern="(\d)(\d{7,8})">
<leadingDigits>[23]</leadingDigits>
<format>$1 $2</format>
@@ -7120,8 +7092,9 @@
</nationalNumberPattern>
</generalDesc>
<fixedLine>
- <!-- Short numbers used for businesses (starting with 16 or 19) are covered here. Note also
- that the plan says numbers starting with 15 should be followed by seven digit
+ <possibleLengths national="8,9" localOnly="7"/>
+ <exampleNumber>234567890</exampleNumber>
+ <!-- Note also that the plan says numbers starting with 15 should be followed by seven digit
subscriber numbers, but some numbers we have found online are in fact six digit.
Subscriber numbers starting with 5 are also permitted for the area codes 040, with 5, 6
and 7 for the area code 050, with 5 and 7 for 082, with 6 for 084, with 7 for 086 and
@@ -7160,13 +7133,12 @@
6[2356]|
7[2-4]
)\d
- )\d{5}|
- 1[69]\d{3}
+ )\d{5}
</nationalNumberPattern>
- <possibleLengths national="5,8,9" localOnly="7"/>
- <exampleNumber>234567890</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="10"/>
+ <exampleNumber>1001234567</exampleNumber>
<!-- Adding the extra prefixes 102 and 121 from user reports that Vodafone and Mobinil have
started allocating numbers beginning with these prefixes, along with 115 from numbers
found online. Etisalat is using 110. -->
@@ -7177,43 +7149,41 @@
2[0-278]
)\d{7}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>1001234567</exampleNumber>
</mobile>
<tollFree>
- <nationalNumberPattern>800\d{7}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>8001234567</exampleNumber>
+ <nationalNumberPattern>800\d{7}</nationalNumberPattern>
</tollFree>
<premiumRate>
- <nationalNumberPattern>900\d{7}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>9001234567</exampleNumber>
+ <nationalNumberPattern>900\d{7}</nationalNumberPattern>
</premiumRate>
</territory>
<!-- Western Sahara -->
<!-- Country calling code shared with Morocco (MA). -->
<!-- Two area codes are defined in the Morocco ITU document; 05288 XXXXX and 05289 XXXXX -->
+ <!-- Country calling code and formatting shared with 'MA' -->
<territory id="EH" countryCode="212" leadingDigits="528[89]" internationalPrefix="00"
nationalPrefix="0">
<references>
<sourceUrl>http://www.itu.int/oth/T0202000090/en</sourceUrl>
</references>
- <!-- Uses MA formatting rules and shares general description
- (non-geographical numbers for Morocco are still valid). -->
<generalDesc>
<nationalNumberPattern>[5-9]\d{8}</nationalNumberPattern>
- <!-- Closed numbering plan. -->
</generalDesc>
<fixedLine>
- <nationalNumberPattern>528[89]\d{5}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>528812345</exampleNumber>
+ <nationalNumberPattern>528[89]\d{5}</nationalNumberPattern>
</fixedLine>
<!-- The following sections are copied verbatim from Morocco to allow these non-geographical
numbers to be recognized as available from within Western Sahara. -->
<mobile>
+ <possibleLengths national="9"/>
+ <exampleNumber>650123456</exampleNumber>
<nationalNumberPattern>
(?:
6(?:
@@ -7226,30 +7196,28 @@
)
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>650123456</exampleNumber>
</mobile>
<tollFree>
- <nationalNumberPattern>80\d{7}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>801234567</exampleNumber>
+ <nationalNumberPattern>80\d{7}</nationalNumberPattern>
</tollFree>
<premiumRate>
- <nationalNumberPattern>89\d{7}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>891234567</exampleNumber>
+ <nationalNumberPattern>89\d{7}</nationalNumberPattern>
</premiumRate>
<voip>
- <!-- Putting VSAT numbers here. -->
- <nationalNumberPattern>5924[01]\d{4}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>592401234</exampleNumber>
+ <!-- Putting VSAT numbers here. -->
+ <nationalNumberPattern>5924[01]\d{4}</nationalNumberPattern>
</voip>
</territory>
<!-- Eritrea -->
- <territory id="ER" countryCode="291" internationalPrefix="00"
- nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
+ <territory id="ER" countryCode="291" internationalPrefix="00" nationalPrefix="0"
+ nationalPrefixFormattingRule="$NP$FG">
<references>
<sourceUrl>http://www.itu.int/oth/T0202000042/en</sourceUrl>
</references>
@@ -7261,7 +7229,10 @@
<generalDesc>
<nationalNumberPattern>[178]\d{6}</nationalNumberPattern>
</generalDesc>
+ <!-- Test number from plan. -->
<fixedLine>
+ <possibleLengths national="7" localOnly="6"/>
+ <exampleNumber>8370362</exampleNumber>
<nationalNumberPattern>
1(?:
1[12568]|
@@ -7272,27 +7243,23 @@
)\d{4}|
8\d{6}
</nationalNumberPattern>
- <possibleLengths national="7" localOnly="6"/>
- <exampleNumber>8370362</exampleNumber><!-- Test number from plan. -->
</fixedLine>
<mobile>
+ <possibleLengths national="7"/>
+ <exampleNumber>7123456</exampleNumber>
<!-- It is unclear in the plan whether the 07 mobile prefix superseded the previous 017[1-3]
numbers or was in addition to them, so we support both here. -->
<nationalNumberPattern>
17[1-3]\d{4}|
7\d{6}
</nationalNumberPattern>
- <possibleLengths national="7"/>
- <exampleNumber>7123456</exampleNumber>
</mobile>
</territory>
<!-- Spain -->
<territory id="ES" countryCode="34" internationalPrefix="00" mobileNumberPortableRegion="true">
<references>
- <sourceUrl>
- http://www.minetur.gob.es/telecomunicaciones/es-ES/Servicios/Numeracion/Documents/14-10_Descripcion_PNN.pdf
- </sourceUrl>
+ <sourceUrl>http://www.minetur.gob.es/telecomunicaciones/es-ES/Servicios/Numeracion/Documents/14-10_Descripcion_PNN.pdf</sourceUrl>
</references>
<availableFormats>
<numberFormat pattern="([89]00)(\d{3})(\d{3})">
@@ -7311,6 +7278,8 @@
<nationalNumberPattern>[5-9]\d{8}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="9"/>
+ <exampleNumber>810123456</exampleNumber>
<!-- The pattern is complex because the Lleida Networks mobile ranges are inside the
fixed-line ranges. As per official announcement, 919 prefix is assigned to
Madrid area http://www.boe.es/boe/dias/2016/11/17/pdfs/BOE-A-2016-10756.pdf. -->
@@ -7347,12 +7316,12 @@
)\d{4}
)
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>810123456</exampleNumber>
</fixedLine>
<!-- The ranges 969060900 to 969061099 and 973900000 to 973909999 are mobile according to
information received from Lleida Networks. Added 78 range based on user bug reports. -->
<mobile>
+ <possibleLengths national="9"/>
+ <exampleNumber>612345678</exampleNumber>
<nationalNumberPattern>
(?:
6\d{6}|
@@ -7366,40 +7335,38 @@
)
)\d{2}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>612345678</exampleNumber>
</mobile>
<tollFree>
- <nationalNumberPattern>[89]00\d{6}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>800123456</exampleNumber>
+ <nationalNumberPattern>[89]00\d{6}</nationalNumberPattern>
</tollFree>
<premiumRate>
- <nationalNumberPattern>80[367]\d{6}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>803123456</exampleNumber>
+ <nationalNumberPattern>80[367]\d{6}</nationalNumberPattern>
</premiumRate>
<sharedCost>
- <nationalNumberPattern>90[12]\d{6}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>901123456</exampleNumber>
+ <nationalNumberPattern>90[12]\d{6}</nationalNumberPattern>
</sharedCost>
<personalNumber>
- <nationalNumberPattern>70\d{7}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>701234567</exampleNumber>
+ <nationalNumberPattern>70\d{7}</nationalNumberPattern>
</personalNumber>
<!-- Modelling non-geographic nomadic numbers as UAN. -->
<uan>
- <nationalNumberPattern>51\d{7}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>511234567</exampleNumber>
+ <nationalNumberPattern>51\d{7}</nationalNumberPattern>
</uan>
</territory>
<!-- Ethiopia -->
- <territory id="ET" countryCode="251" internationalPrefix="00"
- nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
+ <territory id="ET" countryCode="251" internationalPrefix="00" nationalPrefix="0"
+ nationalPrefixFormattingRule="$NP$FG">
<references>
<sourceUrl>http://www.itu.int/oth/T0202000044/en</sourceUrl>
</references>
@@ -7413,6 +7380,8 @@
</generalDesc>
<!-- Found valid fixed-line numbers online that starts with prefix 11 639 -->
<fixedLine>
+ <possibleLengths national="9" localOnly="7"/>
+ <exampleNumber>111112345</exampleNumber>
<nationalNumberPattern>
(?:
11(?:
@@ -7530,34 +7499,30 @@
)
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="9" localOnly="7"/>
- <exampleNumber>111112345</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="9"/>
+ <exampleNumber>911234567</exampleNumber>
<!-- The data here is not regularly updated by the Ethiopian authorities, and many more
numbers are visible online than are reported in the ITU document. This pattern is
therefore somewhat more relaxed than in the ITU document. According to the ETC,
- 95[89] is assigned to some CDMA providers. Prefix 9[46-8] added after a user report.-->
+ 95[89] is assigned to some CDMA providers. Prefix 9[46-8] added after a user report. -->
<nationalNumberPattern>
9(?:
[1-46-8]\d|
5[89]
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>911234567</exampleNumber>
</mobile>
</territory>
<!-- Finland -->
- <!-- Metadata shared with Åland (AX) -->
<!-- Adding all international carrier access codes in below doc that we found corroborating
evidence for. https://www.viestintavirasto.fi/en/internettelephone/numberingoftelecommunicationsnetworks/internationalcalls/internationalcarrieraccesscodes.html -->
- <territory id="FI" countryCode="358"
- internationalPrefix="00|99(?:[02469]|5(?:11|33|5[59]|88|9[09]))"
- preferredInternationalPrefix="00" nationalPrefix="0"
- nationalPrefixFormattingRule="$NP$FG" mainCountryForCode="true"
- mobileNumberPortableRegion="true">
+ <!-- Main region for 'AX' -->
+ <territory id="FI" mainCountryForCode="true" countryCode="358" preferredInternationalPrefix="00"
+ internationalPrefix="00|99(?:[02469]|5(?:11|33|5[59]|88|9[09]))" nationalPrefix="0"
+ nationalPrefixFormattingRule="$NP$FG" mobileNumberPortableRegion="true">
<references>
<sourceUrl>https://www.viestintavirasto.fi/internetpuhelin/puhelinverkonnumerointi.html</sourceUrl>
</references>
@@ -7624,6 +7589,8 @@
</nationalNumberPattern>
</generalDesc>
<noInternationalDialling>
+ <possibleLengths national="[5-10]"/>
+ <exampleNumber>1001234</exampleNumber>
<!-- According to the national numbering plan, service numbers are in general not accessible
from abroad, although 600/700/800 numbers may be. -->
<nationalNumberPattern>
@@ -7644,20 +7611,20 @@
5[03-9]\d{5,6}
)
</nationalNumberPattern>
- <possibleLengths national="[5-10]"/>
- <exampleNumber>1001234</exampleNumber>
</noInternationalDialling>
<fixedLine>
+ <possibleLengths national="[7-9]"/>
+ <exampleNumber>131234567</exampleNumber>
<!-- This is limited to geographic numbers - non-geographic nationwide subscriber numbers
are listed under UAN. It also excludes Åland numbers. -->
<nationalNumberPattern>
1[3-79][1-8]\d{4,6}|
[235689][1-8]\d{5,7}
</nationalNumberPattern>
- <possibleLengths national="[7-9]"/>
- <exampleNumber>131234567</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="[6-11]"/>
+ <exampleNumber>412345678</exampleNumber>
<!-- 50\d{4,5} is not mentioned in the ITU doc, but there are online working numbers with
these lengths, which users have reported as being issued by Radiolinja Finland. -->
<nationalNumberPattern>
@@ -7667,20 +7634,20 @@
)|
50\d{4,8}
</nationalNumberPattern>
- <possibleLengths national="[6-11]"/>
- <exampleNumber>412345678</exampleNumber>
</mobile>
<tollFree>
- <nationalNumberPattern>800\d{5,6}</nationalNumberPattern>
<possibleLengths national="8,9"/>
<exampleNumber>800123456</exampleNumber>
+ <nationalNumberPattern>800\d{5,6}</nationalNumberPattern>
</tollFree>
<premiumRate>
- <nationalNumberPattern>[67]00\d{5,6}</nationalNumberPattern>
<possibleLengths national="8,9"/>
<exampleNumber>600123456</exampleNumber>
+ <nationalNumberPattern>[67]00\d{5,6}</nationalNumberPattern>
</premiumRate>
<uan>
+ <possibleLengths national="[5-10]"/>
+ <exampleNumber>10112345</exampleNumber>
<!-- 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. Prefixes 70[78] and 7099
@@ -7729,14 +7696,12 @@
5[03-9]\d{5,6}
)
</nationalNumberPattern>
- <possibleLengths national="[5-10]"/>
- <exampleNumber>10112345</exampleNumber>
</uan>
</territory>
<!-- Fiji -->
- <territory id="FJ" countryCode="679" internationalPrefix="0(?:0|52)"
- preferredInternationalPrefix="00">
+ <territory id="FJ" countryCode="679" preferredInternationalPrefix="00"
+ internationalPrefix="0(?:0|52)">
<references>
<sourceUrl>http://www.itu.int/oth/T0202000048/en</sourceUrl>
<sourceUrl>http://www.tfl.com.fj</sourceUrl>
@@ -7758,6 +7723,8 @@
</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="7"/>
+ <exampleNumber>3212345</exampleNumber>
<!-- Adding the prefixes 30X, 31X and 62X, since numbers with these prefixes have been found
online, including in the white pages. 35X and 85X were found in the exchanges listed on
http://www.tfl.com.fj. -->
@@ -7768,28 +7735,26 @@
8[58]
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="7"/>
- <exampleNumber>3212345</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="7"/>
+ <exampleNumber>7012345</exampleNumber>
<!-- Adding 8[03679] and 9[034678] from numbers found online and numbers from which SMSs
have been received. -->
<nationalNumberPattern>
(?:
- 5[018]|
- [79]\d|
- 8[034679]
+ 5[018]|
+ [79]\d|
+ 8[034679]
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="7"/>
- <exampleNumber>7012345</exampleNumber>
</mobile>
<tollFree>
+ <possibleLengths national="11"/>
+ <exampleNumber>08001234567</exampleNumber>
<!-- Information found on http://www.tfl.com.fj. It is not clear if these are
internationally diallable, or if so, how. -->
<nationalNumberPattern>0800\d{7}</nationalNumberPattern>
- <possibleLengths national="11"/>
- <exampleNumber>08001234567</exampleNumber>
</tollFree>
</territory>
@@ -7803,14 +7768,14 @@
<nationalNumberPattern>[2-7]\d{4}</nationalNumberPattern>
</generalDesc>
<fixedLine>
- <nationalNumberPattern>[2-47]\d{4}</nationalNumberPattern>
<possibleLengths national="5"/>
<exampleNumber>31234</exampleNumber>
+ <nationalNumberPattern>[2-47]\d{4}</nationalNumberPattern>
</fixedLine>
<mobile>
- <nationalNumberPattern>[56]\d{4}</nationalNumberPattern>
<possibleLengths national="5"/>
<exampleNumber>51234</exampleNumber>
+ <nationalNumberPattern>[56]\d{4}</nationalNumberPattern>
</mobile>
</territory>
@@ -7828,29 +7793,28 @@
<nationalNumberPattern>[39]\d{6}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="7"/>
+ <exampleNumber>3201234</exampleNumber>
<nationalNumberPattern>
3[2357]0[1-9]\d{3}|
9[2-6]\d{5}
</nationalNumberPattern>
- <possibleLengths national="7"/>
- <exampleNumber>3201234</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="7"/>
+ <exampleNumber>3501234</exampleNumber>
<!-- Note that most ranges are used for both fixed and mobile but numbers starting with 970
are exclusively mobile. -->
<nationalNumberPattern>
3[2357]0[1-9]\d{3}|
9[2-7]\d{5}
</nationalNumberPattern>
- <possibleLengths national="7"/>
- <exampleNumber>3501234</exampleNumber>
</mobile>
</territory>
<!-- Faroe Islands -->
<territory id="FO" countryCode="298" internationalPrefix="00"
- nationalPrefixForParsing="(10(?:01|[12]0|88))"
- carrierCodeFormattingRule="$CC $FG">
+ nationalPrefixForParsing="(10(?:01|[12]0|88))" carrierCodeFormattingRule="$CC $FG">
<references>
<sourceUrl>http://www.itu.int/oth/T0202000047/en</sourceUrl>
</references>
@@ -7864,6 +7828,8 @@
<nationalNumberPattern>[2-9]\d{5}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="6"/>
+ <exampleNumber>201234</exampleNumber>
<nationalNumberPattern>
(?:
20|
@@ -7871,25 +7837,25 @@
8[19]
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="6"/>
- <exampleNumber>201234</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="6"/>
+ <exampleNumber>211234</exampleNumber>
<nationalNumberPattern>
(?:
[27][1-9]|
5\d
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="6"/>
- <exampleNumber>211234</exampleNumber>
</mobile>
<tollFree>
- <nationalNumberPattern>80[257-9]\d{3}</nationalNumberPattern>
<possibleLengths national="6"/>
<exampleNumber>802123</exampleNumber>
+ <nationalNumberPattern>80[257-9]\d{3}</nationalNumberPattern>
</tollFree>
<premiumRate>
+ <possibleLengths national="6"/>
+ <exampleNumber>901123</exampleNumber>
<nationalNumberPattern>
90(?:
[1345][15-7]|
@@ -7897,18 +7863,16 @@
99
)\d{2}
</nationalNumberPattern>
- <possibleLengths national="6"/>
- <exampleNumber>901123</exampleNumber>
</premiumRate>
<voip>
+ <possibleLengths national="6"/>
+ <exampleNumber>601234</exampleNumber>
<nationalNumberPattern>
(?:
6[0-36]|
88
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="6"/>
- <exampleNumber>601234</exampleNumber>
</voip>
</territory>
@@ -7931,8 +7895,7 @@
<format>$1 $2</format>
<intlFormat>NA</intlFormat>
</numberFormat>
- <numberFormat nationalPrefixFormattingRule="$NP $FG"
- pattern="(8\d{2})(\d{2})(\d{2})(\d{2})">
+ <numberFormat pattern="(8\d{2})(\d{2})(\d{2})(\d{2})" nationalPrefixFormattingRule="$NP $FG">
<leadingDigits>8</leadingDigits>
<format>$1 $2 $3 $4</format>
</numberFormat>
@@ -7941,31 +7904,33 @@
<nationalNumberPattern>[1-9]\d{8}</nationalNumberPattern>
</generalDesc>
<fixedLine>
- <nationalNumberPattern>[1-5]\d{8}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>123456789</exampleNumber>
+ <nationalNumberPattern>[1-5]\d{8}</nationalNumberPattern>
</fixedLine>
<mobile>
+ <possibleLengths national="9"/>
+ <exampleNumber>612345678</exampleNumber>
<nationalNumberPattern>
(?:
6\d|
7[3-9]
)\d{7}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>612345678</exampleNumber>
</mobile>
<tollFree>
- <nationalNumberPattern>80[0-5]\d{6}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>801234567</exampleNumber>
+ <nationalNumberPattern>80[0-5]\d{6}</nationalNumberPattern>
</tollFree>
<premiumRate>
- <nationalNumberPattern>89[1-37-9]\d{6}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>891123456</exampleNumber>
+ <nationalNumberPattern>89[1-37-9]\d{6}</nationalNumberPattern>
</premiumRate>
<sharedCost>
+ <possibleLengths national="9"/>
+ <exampleNumber>810123456</exampleNumber>
<!-- Prefix 812 was added from a user report. -->
<nationalNumberPattern>
8(?:
@@ -7975,21 +7940,19 @@
90
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>810123456</exampleNumber>
</sharedCost>
<voip>
- <!-- 087 numbers used to be used for this. -->
- <nationalNumberPattern>9\d{8}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>912345678</exampleNumber>
+ <!-- 087 numbers used to be used for this. -->
+ <nationalNumberPattern>9\d{8}</nationalNumberPattern>
</voip>
<uan>
+ <possibleLengths national="9"/>
+ <exampleNumber>806123456</exampleNumber>
<!-- 80[6-9] numbers cost the same as fixed-line calls, but are not geographically assigned,
so we classify them as UAN. -->
<nationalNumberPattern>80[6-9]\d{6}</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>806123456</exampleNumber>
</uan>
</territory>
@@ -8022,15 +7985,15 @@
website still lists fixed line numbers as "+241 01 44 68 11" and upon ringing they will
not connect from outside the country without the 0. This was last tested March 2014. -->
<fixedLine>
- <nationalNumberPattern>01\d{6}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>01441234</exampleNumber>
+ <nationalNumberPattern>01\d{6}</nationalNumberPattern>
</fixedLine>
<mobile>
- <!-- Mobile numbers can be 7 or 8 digits (with or without a leading zero). -->
- <nationalNumberPattern>0?[2-7]\d{6}</nationalNumberPattern>
<possibleLengths national="7,8"/>
<exampleNumber>06031234</exampleNumber>
+ <!-- Mobile numbers can be 7 or 8 digits (with or without a leading zero). -->
+ <nationalNumberPattern>0?[2-7]\d{6}</nationalNumberPattern>
</mobile>
</territory>
@@ -8038,9 +8001,10 @@
<!-- Note that this excludes Isle of Man, Jersey and Guernsey prefixes for the purposes of
validation, although the formatting rules are shared. Also numbers are fine-grained where
needed in order to disambiguate between the 4 regions. -->
- <territory id="GB" countryCode="44" internationalPrefix="00"
+ <!-- Main region for 'GG,IM,JE' -->
+ <territory id="GB" mainCountryForCode="true" countryCode="44" internationalPrefix="00"
nationalPrefix="0" preferredExtnPrefix=" x" nationalPrefixFormattingRule="$NP$FG"
- mainCountryForCode="true" mobileNumberPortableRegion="true">
+ mobileNumberPortableRegion="true">
<references>
<sourceUrl>http://static.ofcom.org.uk/static/numbering/</sourceUrl>
<sourceUrl>http://stakeholders.ofcom.org.uk/telecoms/numbering/</sourceUrl>
@@ -8175,6 +8139,8 @@
<nationalNumberPattern>\d{7,10}</nationalNumberPattern>
</generalDesc>
<areaCodeOptional>
+ <possibleLengths national="9,10"/>
+ <exampleNumber>1332456789</exampleNumber>
<!-- These are a subset of the fixed-line rules, with digits 2-9 as the leading digit of the
subscriber number. There are patterns for 2+8, 3+7 and a combined pattern for all
4+6/4+5 and 5+5/5+4 numbers. Note that numbers matching this pattern are not
@@ -8240,10 +8206,10 @@
)\d{3,4}
)
</nationalNumberPattern>
- <possibleLengths national="9,10"/>
- <exampleNumber>1332456789</exampleNumber>
</areaCodeOptional>
<fixedLine>
+ <possibleLengths national="9,10" localOnly="[4-8]"/>
+ <exampleNumber>1212345678</exampleNumber>
<!-- http://en.wikipedia.org/wiki/List_of_United_Kingdom_dialling_codes -->
<!-- Pattern matches geographic NSN=10 numbers as follows:
- area code and local number first digit for 2+8,
@@ -8484,10 +8450,10 @@
176888[2-46-8]\d{2}|
16977[23]\d{3}
</nationalNumberPattern>
- <possibleLengths national="9,10" localOnly="[4-8]"/>
- <exampleNumber>1212345678</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="10"/>
+ <exampleNumber>7400123456</exampleNumber>
<!-- http://stakeholders.ofcom.org.uk/telecoms/numbering/telephone-no-availability/numbers-administered/
7100-7599, 7700-7999 with 10 digits; excluding ranges used in GG, IM, JE. -->
<nationalNumberPattern>
@@ -8528,10 +8494,10 @@
)
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>7400123456</exampleNumber>
</mobile>
<pager>
+ <possibleLengths national="10"/>
+ <exampleNumber>7640123456</exampleNumber>
<!-- 76 with 10 digits; excluding ranges used in IM. -->
<nationalNumberPattern>
76(?:
@@ -8545,14 +8511,13 @@
9[39]
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>7640123456</exampleNumber>
</pager>
<!-- Source for non geographic numbers:
http://en.wikipedia.org/wiki/Non-geographic_telephone_numbers_in_the_United_Kingdom -->
<tollFree>
- <!-- 800 1111 with 7 digits, 800 with 9 or 10 digits, 808 with 10 digits, 500 with 9 digits.
- -->
+ <possibleLengths national="7,9,10"/>
+ <exampleNumber>8001234567</exampleNumber>
+ <!-- 800 1111 with 7 digits, 800 with 9 or 10 digits, 808 with 10 digits, 500 with 9 digits. -->
<nationalNumberPattern>
80(?:
0(?:
@@ -8563,10 +8528,10 @@
)|
500\d{6}
</nationalNumberPattern>
- <possibleLengths national="7,9,10"/>
- <exampleNumber>8001234567</exampleNumber>
</tollFree>
<premiumRate>
+ <possibleLengths national="10"/>
+ <exampleNumber>9012345678</exampleNumber>
<!-- 871, 872, 873 with 10 digits are now Controlled Premium Rate Services, so are listed
here as well as 900-909, 910-919, 982-984, 989 with 10 digits.
Note that only 908, 909, 980-989 are reserved for "adult services" while 900-907 and
@@ -8580,10 +8545,10 @@
)
)\d{7}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>9012345678</exampleNumber>
</premiumRate>
<sharedCost>
+ <possibleLengths national="7,10"/>
+ <exampleNumber>8431234567</exampleNumber>
<!-- Using shared cost to deal with the various revenue sharing number prefixes in the
United Kingdom: 845 46 47 with 7 digits, 842-845, 870 with 10 digits. -->
<nationalNumberPattern>
@@ -8595,22 +8560,22 @@
70\d{7}
)
</nationalNumberPattern>
- <possibleLengths national="7,10"/>
- <exampleNumber>8431234567</exampleNumber>
</sharedCost>
<personalNumber>
- <!-- 70 with 10 digits. -->
- <nationalNumberPattern>70\d{8}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>7012345678</exampleNumber>
+ <!-- 70 with 10 digits. -->
+ <nationalNumberPattern>70\d{8}</nationalNumberPattern>
</personalNumber>
<voip>
- <!-- 56 with 10 digits. -->
- <nationalNumberPattern>56\d{8}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>5612345678</exampleNumber>
+ <!-- 56 with 10 digits. -->
+ <nationalNumberPattern>56\d{8}</nationalNumberPattern>
</voip>
<uan>
+ <possibleLengths national="10"/>
+ <exampleNumber>5512345678</exampleNumber>
<!-- 30d, 33d, 34d, 37d, 55 with 10 digits. -->
<nationalNumberPattern>
(?:
@@ -8618,22 +8583,22 @@
55
)\d{8}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>5512345678</exampleNumber>
</uan>
</territory>
<!-- Grenada -->
- <territory id="GD" countryCode="1" leadingDigits="473" nationalPrefix="1"
- internationalPrefix="011">
+ <!-- Country calling code and formatting shared with 'US' -->
+ <territory id="GD" countryCode="1" leadingDigits="473" internationalPrefix="011"
+ nationalPrefix="1">
<references>
<sourceUrl>http://www.itu.int/oth/T0202000057/en</sourceUrl>
</references>
<generalDesc>
- <!-- NANPA country - uses US formatting rules -->
<nationalNumberPattern>[4589]\d{9}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="10" localOnly="7"/>
+ <exampleNumber>4732691234</exampleNumber>
<nationalNumberPattern>
473(?:
2(?:
@@ -8662,16 +8627,16 @@
938
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="10" localOnly="7"/>
- <exampleNumber>4732691234</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="10" localOnly="7"/>
+ <exampleNumber>4734031234</exampleNumber>
<nationalNumberPattern>
473(?:
4(?:
0[2-79]|
1[04-9]|
- 20|
+ 2[0-5]|
58
)|
5(?:
@@ -8681,10 +8646,10 @@
901
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="10" localOnly="7"/>
- <exampleNumber>4734031234</exampleNumber>
</mobile>
<tollFree>
+ <possibleLengths national="10"/>
+ <exampleNumber>8002123456</exampleNumber>
<nationalNumberPattern>
8(?:
00|
@@ -8696,15 +8661,15 @@
88
)[2-9]\d{6}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>8002123456</exampleNumber>
</tollFree>
<premiumRate>
- <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>9002123456</exampleNumber>
+ <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
</premiumRate>
<personalNumber>
+ <possibleLengths national="10"/>
+ <exampleNumber>5002345678</exampleNumber>
<!-- https://www.nationalnanpa.com/number_resource_info/5XX_codes.html -->
<nationalNumberPattern>
5(?:
@@ -8717,12 +8682,12 @@
88
)[2-9]\d{6}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>5002345678</exampleNumber>
</personalNumber>
</territory>
<!-- Georgia -->
+ <!-- It seems there may be special 6 digit numbers beginning with 91, but we are not sure, so
+ these are omitted for now. -->
<territory id="GE" countryCode="995" internationalPrefix="00" nationalPrefix="0"
mobileNumberPortableRegion="true">
<references>
@@ -8749,12 +8714,14 @@
<nationalNumberPattern>[34578]\d{8}</nationalNumberPattern>
</generalDesc>
<noInternationalDialling>
- <!-- Online numbers mention that this is not internationally diallable. -->
- <nationalNumberPattern>706\d{6}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>706123456</exampleNumber>
+ <!-- Online numbers mention that this is not internationally diallable. -->
+ <nationalNumberPattern>706\d{6}</nationalNumberPattern>
</noInternationalDialling>
<fixedLine>
+ <possibleLengths national="9" localOnly="6"/>
+ <exampleNumber>322123456</exampleNumber>
<nationalNumberPattern>
(?:
3(?:
@@ -8772,10 +8739,10 @@
)
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="9" localOnly="6"/>
- <exampleNumber>322123456</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="9"/>
+ <exampleNumber>555123456</exampleNumber>
<!-- The ITU document says 790 instead of 590, but this contradicts their press release
about the change in numbers, and online numbers found. 54444 is the only assigned range
we have found, but we support all of 544 to keep the regex simple. -->
@@ -8788,30 +8755,29 @@
9[0-35-9]
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>555123456</exampleNumber>
</mobile>
<!-- Information from http://www.yell.ge, examples such as Wissol Petroleum Georgia
hotline. -->
<tollFree>
- <nationalNumberPattern>800\d{6}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>800123456</exampleNumber>
+ <nationalNumberPattern>800\d{6}</nationalNumberPattern>
</tollFree>
<voip>
- <!-- http://www.mydivert.com/virtual-numbers/995-virtual-number-National.html -->
- <nationalNumberPattern>706\d{6}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>706123456</exampleNumber>
+ <!-- http://www.mydivert.com/virtual-numbers/995-virtual-number-National.html -->
+ <nationalNumberPattern>706\d{6}</nationalNumberPattern>
</voip>
- <!-- It seems there may be special 6 digit numbers beginning with 91, but we are not sure, so
- these are omitted for now. -->
</territory>
<!-- French Guiana (French Dept. of) -->
<!-- Using a national prefix here as online numbers are formatted with it. -->
- <territory id="GF" countryCode="594" internationalPrefix="00"
- nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
+ <!-- The 876 prefix is mentioned in the plan, but the plan is from 2006 and in France VOIP
+ numbers were changed from 087 to the 09 prefix in 2009. It is likely this occurred here
+ too. -->
+ <territory id="GF" countryCode="594" internationalPrefix="00" nationalPrefix="0"
+ nationalPrefixFormattingRule="$NP$FG">
<references>
<sourceUrl>http://www.itu.int/oth/T020200004C/en</sourceUrl>
<sourceUrl>http://www.arcep.fr/index.php?id=2137&amp;bloc=0594&amp;CMD=RESULTS_NUMEROTATION</sourceUrl>
@@ -8826,6 +8792,8 @@
<nationalNumberPattern>[56]\d{8}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="9"/>
+ <exampleNumber>594101234</exampleNumber>
<nationalNumberPattern>
594(?:
10|
@@ -8837,10 +8805,10 @@
9[014]
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>594101234</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="9"/>
+ <exampleNumber>694201234</exampleNumber>
<!-- Prefixes from arcep, excluding the prefixes assigned to Guyane Téléphone Mobile since
the operator is no longer functioning. -->
<nationalNumberPattern>
@@ -8850,18 +8818,13 @@
3[0-48]
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>694201234</exampleNumber>
</mobile>
- <!-- The 876 prefix is mentioned in the plan, but the plan is from 2006 and in France VOIP
- numbers were changed from 087 to the 09 prefix in 2009. It is likely this occurred here
- too. -->
</territory>
<!-- Guernsey -->
- <!-- Inherits formatting rules from the UK. Note that the numbers are fine-grained where
- needed in order to disambiguate between the 4 regions i.e UK, Isle of Man, Jersey
- and Guernsey. -->
+ <!-- Note that the numbers are fine-grained where needed in order to disambiguate between the
+ 4 regions i.e UK, Isle of Man, Jersey and Guernsey. -->
+ <!-- Country calling code and formatting shared with 'GB' -->
<territory id="GG" countryCode="44" internationalPrefix="00" nationalPrefix="0">
<references>
<sourceUrl>http://static.ofcom.org.uk/static/numbering/</sourceUrl>
@@ -8871,18 +8834,20 @@
<nationalNumberPattern>[135789]\d{6,9}</nationalNumberPattern>
</generalDesc>
<areaCodeOptional>
- <nationalNumberPattern>1481[2-9]\d{5}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>1481250123</exampleNumber>
+ <nationalNumberPattern>1481[2-9]\d{5}</nationalNumberPattern>
</areaCodeOptional>
<!-- Specific to GG. -->
<fixedLine>
- <!-- 1481 with 10 digits. -->
- <nationalNumberPattern>1481[25-9]\d{5}</nationalNumberPattern>
<possibleLengths national="10" localOnly="6"/>
<exampleNumber>1481256789</exampleNumber>
+ <!-- 1481 with 10 digits. -->
+ <nationalNumberPattern>1481[25-9]\d{5}</nationalNumberPattern>
</fixedLine>
<mobile>
+ <possibleLengths national="10"/>
+ <exampleNumber>7781123456</exampleNumber>
<nationalNumberPattern>
7(?:
781\d|
@@ -8890,11 +8855,11 @@
911[17]
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>7781123456</exampleNumber>
</mobile>
<!-- Other numbers as per GB. -->
<pager>
+ <possibleLengths national="10"/>
+ <exampleNumber>7640123456</exampleNumber>
<nationalNumberPattern>
76(?:
0[012]|
@@ -8907,10 +8872,10 @@
9[39]
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>7640123456</exampleNumber>
</pager>
<tollFree>
+ <possibleLengths national="7,9,10"/>
+ <exampleNumber>8001234567</exampleNumber>
<nationalNumberPattern>
80(?:
0(?:
@@ -8921,10 +8886,10 @@
)|
500\d{6}
</nationalNumberPattern>
- <possibleLengths national="7,9,10"/>
- <exampleNumber>8001234567</exampleNumber>
</tollFree>
<premiumRate>
+ <possibleLengths national="10"/>
+ <exampleNumber>9012345678</exampleNumber>
<nationalNumberPattern>
(?:
87[123]|
@@ -8934,10 +8899,10 @@
)
)\d{7}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>9012345678</exampleNumber>
</premiumRate>
<sharedCost>
+ <possibleLengths national="7,10"/>
+ <exampleNumber>8431234567</exampleNumber>
<nationalNumberPattern>
8(?:
4(?:
@@ -8947,35 +8912,33 @@
70\d{7}
)
</nationalNumberPattern>
- <possibleLengths national="7,10"/>
- <exampleNumber>8431234567</exampleNumber>
</sharedCost>
<personalNumber>
- <nationalNumberPattern>70\d{8}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>7012345678</exampleNumber>
+ <nationalNumberPattern>70\d{8}</nationalNumberPattern>
</personalNumber>
<voip>
- <nationalNumberPattern>56\d{8}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>5612345678</exampleNumber>
+ <nationalNumberPattern>56\d{8}</nationalNumberPattern>
</voip>
<uan>
+ <possibleLengths national="10"/>
+ <exampleNumber>5512345678</exampleNumber>
<nationalNumberPattern>
(?:
3[0347]|
55
)\d{8}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>5512345678</exampleNumber>
</uan>
</territory>
<!-- Ghana -->
- <territory id="GH" countryCode="233" internationalPrefix="00"
- nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
- mobileNumberPortableRegion="true">
+ <!-- No premiumRate information can be found. -->
+ <territory id="GH" countryCode="233" internationalPrefix="00" nationalPrefix="0"
+ nationalPrefixFormattingRule="$NP$FG" mobileNumberPortableRegion="true">
<references>
<sourceUrl>http://www.itu.int/oth/T0202000052/en</sourceUrl>
<sourceUrl>http://www.nca.org.gh/index.php?option=com_content&amp;view=article&amp;id=90&amp;Itemid=65</sourceUrl>
@@ -8997,11 +8960,13 @@
</nationalNumberPattern>
</generalDesc>
<noInternationalDialling>
- <nationalNumberPattern>800\d{5}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>80012345</exampleNumber>
+ <nationalNumberPattern>800\d{5}</nationalNumberPattern>
</noInternationalDialling>
<fixedLine>
+ <possibleLengths national="9" localOnly="7"/>
+ <exampleNumber>302345678</exampleNumber>
<nationalNumberPattern>
3(?:
0(?:
@@ -9045,10 +9010,10 @@
)
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="9" localOnly="7"/>
- <exampleNumber>302345678</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="9"/>
+ <exampleNumber>231234567</exampleNumber>
<nationalNumberPattern>
(?:
2[034678]\d|
@@ -9058,17 +9023,14 @@
)
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>231234567</exampleNumber>
</mobile>
<tollFree>
+ <possibleLengths national="8"/>
+ <exampleNumber>80012345</exampleNumber>
<!-- Found online references to these numbers, although they are not in the plan since they
are not internationally diallable. -->
<nationalNumberPattern>800\d{5}</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>80012345</exampleNumber>
</tollFree>
- <!-- No premiumRate information can be found. -->
</territory>
<!-- Gibraltar -->
@@ -9087,6 +9049,8 @@
<nationalNumberPattern>[256]\d{7}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="8"/>
+ <exampleNumber>20012345</exampleNumber>
<nationalNumberPattern>
2(?:
00\d{2}|
@@ -9100,18 +9064,16 @@
)
)\d{3}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>20012345</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="8"/>
+ <exampleNumber>57123456</exampleNumber>
<nationalNumberPattern>
(?:
5[46-8]|
62
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>57123456</exampleNumber>
</mobile>
</territory>
@@ -9129,6 +9091,8 @@
<nationalNumberPattern>[1-689]\d{5}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="6"/>
+ <exampleNumber>321000</exampleNumber>
<!-- Including VSAT numbers here. -->
<nationalNumberPattern>
(?:
@@ -9139,23 +9103,21 @@
9\d
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="6"/>
- <exampleNumber>321000</exampleNumber>
</fixedLine>
<mobile>
- <nationalNumberPattern>[245][2-9]\d{4}</nationalNumberPattern>
<possibleLengths national="6"/>
<exampleNumber>221234</exampleNumber>
+ <nationalNumberPattern>[245][2-9]\d{4}</nationalNumberPattern>
</mobile>
<tollFree>
- <nationalNumberPattern>80\d{4}</nationalNumberPattern>
<possibleLengths national="6"/>
<exampleNumber>801234</exampleNumber>
+ <nationalNumberPattern>80\d{4}</nationalNumberPattern>
</tollFree>
<voip>
- <nationalNumberPattern>3[89]\d{4}</nationalNumberPattern>
<possibleLengths national="6"/>
<exampleNumber>381234</exampleNumber>
+ <nationalNumberPattern>3[89]\d{4}</nationalNumberPattern>
</voip>
</territory>
@@ -9173,6 +9135,8 @@
<nationalNumberPattern>[2-9]\d{6}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="7"/>
+ <exampleNumber>5661234</exampleNumber>
<nationalNumberPattern>
(?:
4(?:
@@ -9197,13 +9161,11 @@
8\d{3}
)\d{3}
</nationalNumberPattern>
- <possibleLengths national="7"/>
- <exampleNumber>5661234</exampleNumber>
</fixedLine>
<mobile>
- <nationalNumberPattern>[23679]\d{6}</nationalNumberPattern>
<possibleLengths national="7"/>
<exampleNumber>3012345</exampleNumber>
+ <nationalNumberPattern>[23679]\d{6}</nationalNumberPattern>
</mobile>
</territory>
@@ -9226,6 +9188,8 @@
<nationalNumberPattern>[367]\d{7,8}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="8"/>
+ <exampleNumber>30241234</exampleNumber>
<nationalNumberPattern>
30(?:
24|
@@ -9237,29 +9201,27 @@
9[1478]
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>30241234</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="9"/>
+ <exampleNumber>601123456</exampleNumber>
<!-- Prefixes here match those assigned to carriers, as per the ITU communication Jan 23rd
2013. -->
<nationalNumberPattern>6[02356]\d{7}</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>601123456</exampleNumber>
</mobile>
<voip>
+ <possibleLengths national="9"/>
+ <exampleNumber>722123456</exampleNumber>
<!-- Gamma concept network is being listed as VoIP as per
http://www.gammaconcept.com/internet%20sat.html -->
<nationalNumberPattern>722\d{6}</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>722123456</exampleNumber>
</voip>
</territory>
<!-- Guadeloupe -->
- <territory id="GP" countryCode="590" internationalPrefix="00"
- mainCountryForCode="true" nationalPrefix="0"
- nationalPrefixFormattingRule="$NP$FG">
+ <!-- Main region for 'BL,MF' -->
+ <territory id="GP" mainCountryForCode="true" countryCode="590" internationalPrefix="00"
+ nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
<references>
<sourceUrl>http://www.itu.int/oth/T0202000058/en</sourceUrl>
<!-- Linked from http://www.arcep.fr/index.php?id=interactivenumeros -->
@@ -9274,6 +9236,8 @@
<nationalNumberPattern>[56]\d{8}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="9"/>
+ <exampleNumber>590201234</exampleNumber>
<nationalNumberPattern>
590(?:
0[13468]|
@@ -9288,10 +9252,10 @@
9\d
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>590201234</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="9"/>
+ <exampleNumber>690001234</exampleNumber>
<!-- 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. Prefixes assigned to Guadeloupe Téléphone Mobile have been
@@ -9302,8 +9266,6 @@
[1-9]\d
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>690001234</exampleNumber>
</mobile>
</territory>
@@ -9326,6 +9288,8 @@
<nationalNumberPattern>[23589]\d{8}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="9"/>
+ <exampleNumber>333091234</exampleNumber>
<nationalNumberPattern>
3(?:
3(?:
@@ -9335,31 +9299,29 @@
5\d{2}[7-9]
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>333091234</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="9"/>
+ <exampleNumber>222123456</exampleNumber>
<nationalNumberPattern>
(?:
222|
55[15]
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>222123456</exampleNumber>
</mobile>
<!-- Note that personal and sharedCost numbers are said to go under here too - hopefully when
they start allocating them there will be a differentiation of prefixes, but this is not
clear now. -->
<tollFree>
- <nationalNumberPattern>80\d[1-9]\d{5}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>800123456</exampleNumber>
+ <nationalNumberPattern>80\d[1-9]\d{5}</nationalNumberPattern>
</tollFree>
<premiumRate>
- <nationalNumberPattern>90\d[1-9]\d{5}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>900123456</exampleNumber>
+ <nationalNumberPattern>90\d[1-9]\d{5}</nationalNumberPattern>
</premiumRate>
</territory>
@@ -9393,6 +9355,8 @@
<nationalNumberPattern>[26-9]\d{9}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="10"/>
+ <exampleNumber>2123456789</exampleNumber>
<nationalNumberPattern>
2(?:
1\d{2}|
@@ -9455,27 +9419,27 @@
)
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>2123456789</exampleNumber>
</fixedLine>
<mobile>
- <nationalNumberPattern>69\d{8}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>6912345678</exampleNumber>
+ <nationalNumberPattern>69\d{8}</nationalNumberPattern>
</mobile>
<tollFree>
- <nationalNumberPattern>800\d{7}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>8001234567</exampleNumber>
+ <nationalNumberPattern>800\d{7}</nationalNumberPattern>
</tollFree>
<premiumRate>
- <nationalNumberPattern>90[19]\d{7}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>9091234567</exampleNumber>
+ <nationalNumberPattern>90[19]\d{7}</nationalNumberPattern>
</premiumRate>
<!-- Including calls with maximum charge of 0,25 EUR/minute here instead of under premium
rate. -->
<sharedCost>
+ <possibleLengths national="10"/>
+ <exampleNumber>8011234567</exampleNumber>
<nationalNumberPattern>
8(?:
0[16]|
@@ -9483,13 +9447,11 @@
25
)\d{7}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>8011234567</exampleNumber>
</sharedCost>
<personalNumber>
- <nationalNumberPattern>70\d{8}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>7012345678</exampleNumber>
+ <nationalNumberPattern>70\d{8}</nationalNumberPattern>
</personalNumber>
</territory>
@@ -9517,40 +9479,42 @@
</nationalNumberPattern>
</generalDesc>
<fixedLine>
- <nationalNumberPattern>[267][2-9]\d{6}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>22456789</exampleNumber>
+ <nationalNumberPattern>[267][2-9]\d{6}</nationalNumberPattern>
</fixedLine>
<mobile>
+ <possibleLengths national="8"/>
+ <exampleNumber>51234567</exampleNumber>
<!-- Wikipedia claims numbers with 3 are also mobile although in ITU document it says that
they are just reserved. -->
<nationalNumberPattern>[345]\d{7}</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>51234567</exampleNumber>
</mobile>
<tollFree>
- <nationalNumberPattern>18[01]\d{8}</nationalNumberPattern>
<possibleLengths national="11"/>
<exampleNumber>18001112222</exampleNumber>
+ <nationalNumberPattern>18[01]\d{8}</nationalNumberPattern>
</tollFree>
<premiumRate>
- <nationalNumberPattern>19\d{9}</nationalNumberPattern>
<possibleLengths national="11"/>
<exampleNumber>19001112222</exampleNumber>
+ <nationalNumberPattern>19\d{9}</nationalNumberPattern>
</premiumRate>
</territory>
<!-- Guam -->
- <territory id="GU" countryCode="1" leadingDigits="671" nationalPrefix="1"
- internationalPrefix="011">
+ <!-- Country calling code and formatting shared with 'US' -->
+ <territory id="GU" countryCode="1" leadingDigits="671" internationalPrefix="011"
+ nationalPrefix="1">
<references>
<sourceUrl>http://www.nationalnanpa.com/nas/public/assigned_code_query_step1.do?method=resetCodeQueryModel</sourceUrl>
</references>
<generalDesc>
- <!-- NANPA country - uses US formatting rules -->
<nationalNumberPattern>[5689]\d{9}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="10" localOnly="7"/>
+ <exampleNumber>6713001234</exampleNumber>
<!-- Added 671 489/555/720/721 based on information from
http://www.area-codes.com/area-code/area-code-671.asp -->
<nationalNumberPattern>
@@ -9599,12 +9563,11 @@
)
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="10" localOnly="7"/>
- <exampleNumber>6713001234</exampleNumber>
</fixedLine>
- <!-- We assume mobile phone numbers to be the same as fixed-line - further info unavailable
- -->
+ <!-- We assume mobile phone numbers to be the same as fixed-line - further info unavailable -->
<mobile>
+ <possibleLengths national="10" localOnly="7"/>
+ <exampleNumber>6713001234</exampleNumber>
<nationalNumberPattern>
671(?:
3(?:
@@ -9651,10 +9614,10 @@
)
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="10" localOnly="7"/>
- <exampleNumber>6713001234</exampleNumber>
</mobile>
<tollFree>
+ <possibleLengths national="10"/>
+ <exampleNumber>8002123456</exampleNumber>
<nationalNumberPattern>
8(?:
00|
@@ -9666,15 +9629,15 @@
88
)[2-9]\d{6}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>8002123456</exampleNumber>
</tollFree>
<premiumRate>
- <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>9002123456</exampleNumber>
+ <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
</premiumRate>
<personalNumber>
+ <possibleLengths national="10"/>
+ <exampleNumber>5002345678</exampleNumber>
<!-- https://www.nationalnanpa.com/number_resource_info/5XX_codes.html -->
<nationalNumberPattern>
5(?:
@@ -9687,8 +9650,6 @@
88
)[2-9]\d{6}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>5002345678</exampleNumber>
</personalNumber>
</territory>
@@ -9713,20 +9674,22 @@
<generalDesc>
<nationalNumberPattern>
(?:
- 4(?:
- 0\d{5}|
- 4\d{7}
- )|
- 9\d{8}
+ 4(?:
+ 0\d{5}|
+ 4\d{7}
+ )|
+ 9\d{8}
)
</nationalNumberPattern>
</generalDesc>
<fixedLine>
- <nationalNumberPattern>443\d{6}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>443201234</exampleNumber>
+ <nationalNumberPattern>443\d{6}</nationalNumberPattern>
</fixedLine>
<mobile>
+ <possibleLengths national="9"/>
+ <exampleNumber>955012345</exampleNumber>
<nationalNumberPattern>
9(?:
5(?:
@@ -9741,13 +9704,11 @@
77\d
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>955012345</exampleNumber>
</mobile>
<voip>
- <nationalNumberPattern>40\d{5}</nationalNumberPattern>
<possibleLengths national="7"/>
<exampleNumber>4012345</exampleNumber>
+ <nationalNumberPattern>40\d{5}</nationalNumberPattern>
</voip>
</territory>
@@ -9765,6 +9726,8 @@
<nationalNumberPattern>[2-46-9]\d{6}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="7"/>
+ <exampleNumber>2201234</exampleNumber>
<nationalNumberPattern>
(?:
2(?:
@@ -9786,37 +9749,35 @@
77[1-57]
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="7"/>
- <exampleNumber>2201234</exampleNumber>
</fixedLine>
<!-- Although the ITU document would allow for a stricter pattern, the country has a track
record of underreporting valid mobile ranges and 6XXXXXX is almost fully assigned.
A more lenient pattern is better here. -->
<mobile>
- <nationalNumberPattern>6\d{6}</nationalNumberPattern>
<possibleLengths national="7"/>
<exampleNumber>6091234</exampleNumber>
+ <nationalNumberPattern>6\d{6}</nationalNumberPattern>
</mobile>
<tollFree>
+ <possibleLengths national="7"/>
+ <exampleNumber>2891234</exampleNumber>
<nationalNumberPattern>
(?:
289|
862
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="7"/>
- <exampleNumber>2891234</exampleNumber>
</tollFree>
<premiumRate>
- <nationalNumberPattern>9008\d{3}</nationalNumberPattern>
<possibleLengths national="7"/>
<exampleNumber>9008123</exampleNumber>
+ <nationalNumberPattern>9008\d{3}</nationalNumberPattern>
</premiumRate>
</territory>
<!-- Hong Kong -->
- <territory id="HK" countryCode="852" internationalPrefix="00(?:[126-9]|30|5[09])?"
- preferredInternationalPrefix="00" mobileNumberPortableRegion="true">
+ <territory id="HK" countryCode="852" preferredInternationalPrefix="00"
+ internationalPrefix="00(?:[126-9]|30|5[09])?" mobileNumberPortableRegion="true">
<references>
<sourceUrl>http://www.ofca.gov.hk/en/industry_focus/telecommunications/portability/index.html</sourceUrl>
</references>
@@ -9844,16 +9805,20 @@
<format>$1 $2</format>
</numberFormat>
</availableFormats>
+ <!-- Slightly more complex pattern to allow the country code to be stripped off if
+ necessary. -->
<generalDesc>
- <!-- Slightly more complex pattern to allow the country code to be stripped off if
- necessary. -->
<nationalNumberPattern>
[235-7]\d{7}|
8\d{7,8}|
9\d{4,10}
</nationalNumberPattern>
</generalDesc>
+ <!-- For easier maintenance, the granularity of the fixed-line and mobile ranges are less
+ than the ones listed in the official OFCA's numbering plan. -->
<fixedLine>
+ <possibleLengths national="8"/>
+ <exampleNumber>21234567</exampleNumber>
<nationalNumberPattern>
(?:
2(?:
@@ -9870,16 +9835,18 @@
58[01]
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>21234567</exampleNumber>
</fixedLine>
+ <!-- For easier maintenance, the granularity of the fixed-line and mobile ranges are less
+ than the ones listed in the official OFCA's numbering plan. -->
<mobile>
+ <possibleLengths national="8"/>
+ <exampleNumber>51234567</exampleNumber>
<nationalNumberPattern>
(?:
5(?:
[1-59][0-46-9]|
6[0-4689]|
- 7[0-2469]
+ 7[0-469]
)|
6(?:
0[1-9]|
@@ -9895,52 +9862,52 @@
)
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>51234567</exampleNumber>
</mobile>
<pager>
+ <possibleLengths national="8"/>
+ <exampleNumber>71234567</exampleNumber>
<nationalNumberPattern>
7(?:
- 1[0-369]|
- [23][0-37-9]|
- 47|
- 5[1578]|
- 6[0235]|
- 7[278]|
- 8[236-9]|
- 9[025-9]
+ 1[0-369]|
+ [23][0-37-9]|
+ 47|
+ 5[1578]|
+ 6[0235]|
+ 7[278]|
+ 8[236-9]|
+ 9[025-9]
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>71234567</exampleNumber>
</pager>
<tollFree>
- <nationalNumberPattern>800\d{6}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>800123456</exampleNumber>
+ <nationalNumberPattern>800\d{6}</nationalNumberPattern>
</tollFree>
<premiumRate>
+ <possibleLengths national="[5-8],11"/>
+ <exampleNumber>90012345678</exampleNumber>
<nationalNumberPattern>
900(?:
[0-24-9]\d{7}|
3\d{1,4}
)
</nationalNumberPattern>
- <possibleLengths national="[5-8],11"/>
- <exampleNumber>90012345678</exampleNumber>
</premiumRate>
<personalNumber>
+ <possibleLengths national="8"/>
+ <exampleNumber>81123456</exampleNumber>
<nationalNumberPattern>
8(?:
- 1[1-4679]|
- 2[0-367]|
- 3[02-47]
+ 1[1-4679]|
+ 2[0-367]|
+ 3[02-47]
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>81123456</exampleNumber>
</personalNumber>
<uan>
+ <possibleLengths national="8"/>
+ <exampleNumber>30161234</exampleNumber>
<!-- These are mentioned as Access Codes in the ITU doc however UAN seems to be the best
since they seem to cost the same as fixed-line based on our correspondence with ofca,
and are used by businesses to forward to a local number. -->
@@ -9952,8 +9919,6 @@
89
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>30161234</exampleNumber>
</uan>
</territory>
@@ -9961,7 +9926,7 @@
<!-- It seems there is no longer a trunk prefix in use, based on websites like
http://www.howtocallabroad.com/codes.html and on seeing how locals write their numbers in
national format. -->
- <territory id="HN" countryCode="504" internationalPrefix="00" >
+ <territory id="HN" countryCode="504" internationalPrefix="00">
<references>
<sourceUrl>http://www.itu.int/oth/T020200005F/en</sourceUrl>
</references>
@@ -9974,6 +9939,8 @@
<nationalNumberPattern>[237-9]\d{7}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="8"/>
+ <exampleNumber>22123456</exampleNumber>
<!-- Extra prefixes 2244, 227[01389], 228X, 2292, 2407, 2516, 2540, 2564, 260X, 2617,
263[04] and 2780 were added from numbers found online and user reports. -->
<nationalNumberPattern>
@@ -10022,20 +9989,17 @@
)
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>22123456</exampleNumber>
</fixedLine>
<mobile>
- <nationalNumberPattern>[37-9]\d{7}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>91234567</exampleNumber>
+ <nationalNumberPattern>[37-9]\d{7}</nationalNumberPattern>
</mobile>
</territory>
<!-- Croatia -->
- <territory id="HR" countryCode="385" internationalPrefix="00"
- nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
- mobileNumberPortableRegion="true">
+ <territory id="HR" countryCode="385" internationalPrefix="00" nationalPrefix="0"
+ nationalPrefixFormattingRule="$NP$FG" mobileNumberPortableRegion="true">
<references>
<sourceUrl>http://www.itu.int/oth/T0202000032/en</sourceUrl>
<sourceUrl>http://en.wikipedia.org/wiki/%2B385</sourceUrl>
@@ -10083,7 +10047,9 @@
</nationalNumberPattern>
</generalDesc>
<fixedLine>
- <nationalNumberPattern>
+ <possibleLengths national="8,9" localOnly="6,7"/>
+ <exampleNumber>12345678</exampleNumber>
+ <nationalNumberPattern>
1\d{7}|
(?:
2[0-3]|
@@ -10092,10 +10058,10 @@
5[1-3]
)\d{6,7}
</nationalNumberPattern>
- <possibleLengths national="8,9" localOnly="6,7"/>
- <exampleNumber>12345678</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="8,9"/>
+ <exampleNumber>921234567</exampleNumber>
<nationalNumberPattern>
9(?:
01\d|
@@ -10107,30 +10073,30 @@
8\d{1,2}
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="8,9"/>
- <exampleNumber>921234567</exampleNumber>
</mobile>
<tollFree>
- <nationalNumberPattern>80[01]\d{4,6}</nationalNumberPattern>
<possibleLengths national="[7-9]"/>
<exampleNumber>800123456</exampleNumber>
+ <nationalNumberPattern>80[01]\d{4,6}</nationalNumberPattern>
</tollFree>
<premiumRate>
+ <possibleLengths national="[6-8]"/>
+ <exampleNumber>611234</exampleNumber>
<nationalNumberPattern>
6(?:
[01]\d{0,2}|
[459]\d{2}
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="[6-8]"/>
- <exampleNumber>611234</exampleNumber>
</premiumRate>
<personalNumber>
- <nationalNumberPattern>7[45]\d{6}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>74123456</exampleNumber>
+ <nationalNumberPattern>7[45]\d{6}</nationalNumberPattern>
</personalNumber>
<uan>
+ <possibleLengths national="8,9"/>
+ <exampleNumber>62123456</exampleNumber>
<!-- ITU numbering specifies the length of the numbers with prefix 62 as 8, but there
are numbers on the internet with 7 digits after the prefix too. -->
<nationalNumberPattern>
@@ -10139,8 +10105,6 @@
72
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="8,9"/>
- <exampleNumber>62123456</exampleNumber>
</uan>
</territory>
@@ -10159,6 +10123,8 @@
<nationalNumberPattern>[2-489]\d{7}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="8"/>
+ <exampleNumber>22453300</exampleNumber>
<!-- Digicel reported 281 and 29[149] belong to them, the more recent ITU doc 20.I.2017
agrees and classifies them as fixedLine so we follow that here. -->
<nationalNumberPattern>
@@ -10169,27 +10135,27 @@
9[149]
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>22453300</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="8"/>
+ <exampleNumber>34101234</exampleNumber>
<!-- 32, 33, 35 are kept even though they are not in the ITU doc because numbers found
online are working. -->
<nationalNumberPattern>[34]\d{7}</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>34101234</exampleNumber>
</mobile>
<tollFree>
+ <possibleLengths national="8"/>
+ <exampleNumber>80012345</exampleNumber>
<!-- ITU document says numbers with prefix 8 are "value-added services and free numbers
without making any further distinction. However, http://www.numberingplans.com/ seems
to suggest they are free. -->
<nationalNumberPattern>8\d{7}</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>80012345</exampleNumber>
</tollFree>
<voip>
- <!-- ITU document suggests 98\d{6}, but http://www.numberingplans.com/ restricts it to
- 98[89]\d{5}. -->
+ <possibleLengths national="8"/>
+ <exampleNumber>98901234</exampleNumber>
+ <!-- ITU document suggests 98\d{6}, but http://www.numberingplans.com/ restricts it to
+ 98[89]\d{5}. -->
<nationalNumberPattern>
(?:
9(?:
@@ -10199,15 +10165,12 @@
)
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>98901234</exampleNumber>
</voip>
</territory>
<!-- Hungary -->
- <territory id="HU" countryCode="36" internationalPrefix="00"
- nationalPrefix="06" nationalPrefixFormattingRule="($FG)"
- mobileNumberPortableRegion="true">
+ <territory id="HU" countryCode="36" internationalPrefix="00" nationalPrefix="06"
+ nationalPrefixFormattingRule="($FG)" mobileNumberPortableRegion="true">
<references>
<sourceUrl>http://www.itu.int/oth/T0202000061/en</sourceUrl>
</references>
@@ -10228,11 +10191,13 @@
<nationalNumberPattern>[1-9]\d{7,8}</nationalNumberPattern>
</generalDesc>
<noInternationalDialling>
- <nationalNumberPattern>[48]0\d{6}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>80123456</exampleNumber>
+ <nationalNumberPattern>[48]0\d{6}</nationalNumberPattern>
</noInternationalDialling>
<fixedLine>
+ <possibleLengths national="8" localOnly="6"/>
+ <exampleNumber>12345678</exampleNumber>
<nationalNumberPattern>
(?:
1\d|
@@ -10246,41 +10211,39 @@
9[2-69]
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="8" localOnly="6"/>
- <exampleNumber>12345678</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="9"/>
+ <exampleNumber>201234567</exampleNumber>
<nationalNumberPattern>
(?:
[257]0|
3[01]
)\d{7}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>201234567</exampleNumber>
</mobile>
<tollFree>
- <!-- The prefix 40 which was earlier sharedcost is changed to toll free as of Jul. 2016. -->
- <nationalNumberPattern>[48]0\d{6}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>80123456</exampleNumber>
+ <!-- The prefix 40 which was earlier sharedcost is changed to toll free as of Jul. 2016. -->
+ <nationalNumberPattern>[48]0\d{6}</nationalNumberPattern>
</tollFree>
<premiumRate>
- <nationalNumberPattern>9[01]\d{6}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>90123456</exampleNumber>
+ <nationalNumberPattern>9[01]\d{6}</nationalNumberPattern>
</premiumRate>
- <voip>
- <!-- Includes non-geographic nomadic numbers. -->
- <nationalNumberPattern>21\d{7}</nationalNumberPattern>
+ <voip>
<possibleLengths national="9"/>
<exampleNumber>211234567</exampleNumber>
+ <!-- Includes non-geographic nomadic numbers. -->
+ <nationalNumberPattern>21\d{7}</nationalNumberPattern>
</voip>
<uan>
- <!-- Includes numbers for corporate networks. -->
- <nationalNumberPattern>38\d{7}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>381234567</exampleNumber>
+ <!-- Includes numbers for corporate networks. -->
+ <nationalNumberPattern>38\d{7}</nationalNumberPattern>
</uan>
</territory>
@@ -10293,16 +10256,14 @@
<sourceUrl>http://en.wikipedia.org/wiki/%2B62</sourceUrl>
</references>
<availableFormats>
- <numberFormat nationalPrefixFormattingRule="($NP$FG)"
- pattern="(\d{2})(\d{5,8})">
+ <numberFormat pattern="(\d{2})(\d{5,8})" nationalPrefixFormattingRule="($NP$FG)">
<leadingDigits>
2[124]|
[36]1
</leadingDigits>
<format>$1 $2</format>
</numberFormat>
- <numberFormat nationalPrefixFormattingRule="($NP$FG)"
- pattern="(\d{3})(\d{5,8})">
+ <numberFormat pattern="(\d{3})(\d{5,8})" nationalPrefixFormattingRule="($NP$FG)">
<leadingDigits>
[4579]|
2[035-9]|
@@ -10344,17 +10305,19 @@
<generalDesc>
<nationalNumberPattern>
(?:
- [1-79]\d{6,10}|
- 8\d{7,11}
+ [1-79]\d{6,10}|
+ 8\d{7,11}
)
</nationalNumberPattern>
</generalDesc>
<noInternationalDialling>
- <nationalNumberPattern>8071\d{6}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>8071123456</exampleNumber>
+ <nationalNumberPattern>8071\d{6}</nationalNumberPattern>
</noInternationalDialling>
<fixedLine>
+ <possibleLengths national="[7-11]" localOnly="5,6"/>
+ <exampleNumber>612345678</exampleNumber>
<!-- Area codes taken from wikipedia, with missing ones added from
http://www.telkom.co.id/customer-services/area-and-country-code/?type=area.
We also added 0770 after user feedback because it seems to be used on Bintan island.
@@ -10435,10 +10398,10 @@
)
)\d{5,8}
</nationalNumberPattern>
- <possibleLengths national="[7-11]" localOnly="5,6"/>
- <exampleNumber>612345678</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="[9-12]"/>
+ <exampleNumber>812345678</exampleNumber>
<!-- It is unclear exactly which prefixes could be mobile phones, based on the information
on the wikipedia page. However, Bakrie have provided a list of their prefixes, which
are captured below. The pattern covers the area code plus the first one-two digits of
@@ -10520,42 +10483,39 @@
)\d{5,6}|
8[1-35-9]\d{7,10}
</nationalNumberPattern>
- <possibleLengths national="[9-12]"/>
- <exampleNumber>812345678</exampleNumber>
</mobile>
<tollFree>
+ <possibleLengths national="[8-11]"/>
+ <exampleNumber>8001234567</exampleNumber>
<nationalNumberPattern>
177\d{6,8}|
800\d{5,7}
</nationalNumberPattern>
- <possibleLengths national="[8-11]"/>
- <exampleNumber>8001234567</exampleNumber>
</tollFree>
<!-- The information below is provided by an Indonesian -->
<premiumRate>
- <nationalNumberPattern>809\d{7}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>8091234567</exampleNumber>
+ <nationalNumberPattern>809\d{7}</nationalNumberPattern>
</premiumRate>
<sharedCost>
- <nationalNumberPattern>804\d{7}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>8041234567</exampleNumber>
+ <nationalNumberPattern>804\d{7}</nationalNumberPattern>
</sharedCost>
<uan>
+ <possibleLengths national="7,10"/>
+ <exampleNumber>8071123456</exampleNumber>
<nationalNumberPattern>
1500\d{3}|
8071\d{6}
</nationalNumberPattern>
- <possibleLengths national="7,10"/>
- <exampleNumber>8071123456</exampleNumber>
</uan>
</territory>
<!-- Ireland -->
- <territory id="IE" countryCode="353" internationalPrefix="00"
- nationalPrefix="0" nationalPrefixFormattingRule="($NP$FG)"
- mobileNumberPortableRegion="true">
+ <territory id="IE" countryCode="353" internationalPrefix="00" nationalPrefix="0"
+ nationalPrefixFormattingRule="($NP$FG)" mobileNumberPortableRegion="true">
<references>
<sourceUrl>http://www.comreg.ie/licensing_and_services/numbering_plan_for_ireland.552.440.html</sourceUrl>
<sourceUrl>http://www.comreg.ie/_fileupload/publications/ComReg1119.pdf</sourceUrl>
@@ -10597,8 +10557,7 @@
</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
- <numberFormat nationalPrefixFormattingRule="$NP$FG"
- pattern="(\d{2})(\d{3})(\d{4})">
+ <numberFormat pattern="(\d{2})(\d{3})(\d{4})" nationalPrefixFormattingRule="$NP$FG">
<leadingDigits>
76|
8[35-9]
@@ -10608,17 +10567,15 @@
<!-- Voicemail numbers: same as mobile prefixes but the third digit is always 5. Formatting
done like this to differentiate from mobile numbers (which are shorter), and based on
a couple of examples found online. -->
- <numberFormat nationalPrefixFormattingRule="$NP$FG"
- pattern="(8\d)(\d)(\d{3})(\d{4})">
+ <numberFormat pattern="(8\d)(\d)(\d{3})(\d{4})" nationalPrefixFormattingRule="$NP$FG">
<leadingDigits>8[35-9]5</leadingDigits>
<format>$1 $2 $3 $4</format>
</numberFormat>
- <numberFormat nationalPrefixFormattingRule="$NP$FG"
- pattern="(700)(\d{3})(\d{3})">
+ <numberFormat pattern="(700)(\d{3})(\d{3})" nationalPrefixFormattingRule="$NP$FG">
<leadingDigits>70</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
- <numberFormat nationalPrefixFormattingRule="$FG" pattern="(\d{4})(\d{3})(\d{3})">
+ <numberFormat pattern="(\d{4})(\d{3})(\d{3})" nationalPrefixFormattingRule="$FG">
<leadingDigits>
1(?:
8[059]|
@@ -10638,11 +10595,13 @@
<nationalNumberPattern>[124-9]\d{6,9}</nationalNumberPattern>
</generalDesc>
<noInternationalDialling>
- <nationalNumberPattern>18[59]0\d{6}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>1850123456</exampleNumber>
+ <nationalNumberPattern>18[59]0\d{6}</nationalNumberPattern>
</noInternationalDialling>
<fixedLine>
+ <possibleLengths national="[7-10]" localOnly="5,6"/>
+ <exampleNumber>2212345</exampleNumber>
<!-- We allow 6-7 digit subscriber numbers for the 021 area code since that seems to be
reflected by the numbers in the Yellow Pages. Another peculiarity is that 048 actually
replaces 00 44 28 when Irish people dial, allowing them to easily dial Northern
@@ -10680,25 +10639,25 @@
[35-9]\d{5}
)
</nationalNumberPattern>
- <possibleLengths national="[7-10]" localOnly="5,6"/>
- <exampleNumber>2212345</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="9"/>
+ <exampleNumber>850123456</exampleNumber>
<nationalNumberPattern>
8(?:
22\d{6}|
[35-9]\d{7}
)
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>850123456</exampleNumber>
</mobile>
<tollFree>
- <nationalNumberPattern>1800\d{6}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>1800123456</exampleNumber>
+ <nationalNumberPattern>1800\d{6}</nationalNumberPattern>
</tollFree>
<premiumRate>
+ <possibleLengths national="10"/>
+ <exampleNumber>1520123456</exampleNumber>
<nationalNumberPattern>
15(?:
1[2-8]|
@@ -10706,43 +10665,40 @@
9[089]
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>1520123456</exampleNumber>
</premiumRate>
<sharedCost>
- <nationalNumberPattern>18[59]0\d{6}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>1850123456</exampleNumber>
+ <nationalNumberPattern>18[59]0\d{6}</nationalNumberPattern>
</sharedCost>
<personalNumber>
- <nationalNumberPattern>700\d{6}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>700123456</exampleNumber>
+ <nationalNumberPattern>700\d{6}</nationalNumberPattern>
</personalNumber>
<voip>
- <nationalNumberPattern>76\d{7}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>761234567</exampleNumber>
+ <nationalNumberPattern>76\d{7}</nationalNumberPattern>
</voip>
<uan>
- <nationalNumberPattern>818\d{6}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>818123456</exampleNumber>
+ <nationalNumberPattern>818\d{6}</nationalNumberPattern>
</uan>
<voicemail>
+ <possibleLengths national="10"/>
+ <exampleNumber>8551234567</exampleNumber>
<!-- These start with mobile prefixes, and then have the digit 5 inserted, before the rest
of the number. -->
<nationalNumberPattern>8[35-9]5\d{7}</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>8551234567</exampleNumber>
</voicemail>
</territory>
<!-- Israel -->
<!-- Formatting practice following wikipedia, and government sites. -->
- <territory id="IL" countryCode="972" internationalPrefix="0(?:0|1[2-9])"
- nationalPrefix="0" nationalPrefixFormattingRule="$FG"
- mobileNumberPortableRegion="true">
+ <territory id="IL" countryCode="972" internationalPrefix="0(?:0|1[2-9])" nationalPrefix="0"
+ nationalPrefixFormattingRule="$FG" mobileNumberPortableRegion="true">
<references>
<sourceUrl>http://www.itu.int/oth/T020200006A/en</sourceUrl>
<sourceUrl>http://en.wikipedia.org/wiki/%2B972</sourceUrl>
@@ -10750,13 +10706,11 @@
<sourceUrl>http://he.wikipedia.org/wiki/%D7%A7%D7%99%D7%93%D7%95%D7%9E%D7%AA_%D7%98%D7%9C%D7%A4%D7%95%D7%9F_%D7%91%D7%99%D7%A9%D7%A8%D7%90%D7%9C</sourceUrl>
</references>
<availableFormats>
- <numberFormat nationalPrefixFormattingRule="$NP$FG"
- pattern="([2-489])(\d{3})(\d{4})">
+ <numberFormat pattern="([2-489])(\d{3})(\d{4})" nationalPrefixFormattingRule="$NP$FG">
<leadingDigits>[2-489]</leadingDigits>
<format>$1-$2-$3</format>
</numberFormat>
- <numberFormat nationalPrefixFormattingRule="$NP$FG"
- pattern="([57]\d)(\d{3})(\d{4})">
+ <numberFormat pattern="([57]\d)(\d{3})(\d{4})" nationalPrefixFormattingRule="$NP$FG">
<leadingDigits>[57]</leadingDigits>
<format>$1-$2-$3</format>
</numberFormat>
@@ -10798,23 +10752,27 @@
<format>*$1</format>
</numberFormat>
</availableFormats>
- <generalDesc >
+ <generalDesc>
<nationalNumberPattern>
1\d{6,11}|
- [2-589]\d{3}(?:\d{3,6})?|
+ [2-589]\d{3}(?:
+ \d{3,6}
+ )?|
6\d{3}|
7\d{6,9}
</nationalNumberPattern>
</generalDesc>
<noInternationalDialling>
+ <possibleLengths national="4,10"/>
+ <exampleNumber>1700123456</exampleNumber>
<nationalNumberPattern>
1700\d{6}|
[2-689]\d{3}
</nationalNumberPattern>
- <possibleLengths national="4,10"/>
- <exampleNumber>1700123456</exampleNumber>
</noInternationalDialling>
<fixedLine>
+ <possibleLengths national="8,11,12" localOnly="7"/>
+ <exampleNumber>21234567</exampleNumber>
<!-- ITU doc states that 153 + NDC (either mobile or fixed-line) + SN corresponds to fax
mail. As we do not have separate a fax category, fixedLine is the closest match and
consistent with some other countries. For maintainability, only NDC lengths are
@@ -10825,10 +10783,10 @@
[2-489]
)\d{7}
</nationalNumberPattern>
- <possibleLengths national="8,11,12" localOnly="7"/>
- <exampleNumber>21234567</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="9"/>
+ <exampleNumber>501234567</exampleNumber>
<!-- The ITU document has only some of these prefixes - wikipedia lists more. We are fairly
sure wikipedia is accurate based on news coverage of the launch of these numbers. Also
added 5570, 5571, and 5594 prefixes based on confirmations from the carriers. 559[23]
@@ -10850,10 +10808,10 @@
6[2-9]\d
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>501234567</exampleNumber>
</mobile>
<tollFree>
+ <possibleLengths national="7,10"/>
+ <exampleNumber>1800123456</exampleNumber>
<!-- Online 1-809 numbers now classify themselves as "toll-free". -->
<nationalNumberPattern>
1(?:
@@ -10861,10 +10819,10 @@
255
)\d{3}
</nationalNumberPattern>
- <possibleLengths national="7,10"/>
- <exampleNumber>1800123456</exampleNumber>
</tollFree>
<premiumRate>
+ <possibleLengths national="[8-10]"/>
+ <exampleNumber>1919123456</exampleNumber>
<!-- Peculiarly, one source states that 1956 and 1957 are the new premium rate prefixes.
However, no online numbers starting with these prefixes can be found, and this data
is not found in any other source. -->
@@ -10881,15 +10839,15 @@
)\d{2}
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="[8-10]"/>
- <exampleNumber>1919123456</exampleNumber>
</premiumRate>
<sharedCost>
- <nationalNumberPattern>1700\d{6}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>1700123456</exampleNumber>
+ <nationalNumberPattern>1700\d{6}</nationalNumberPattern>
</sharedCost>
<voip>
+ <possibleLengths national="9"/>
+ <exampleNumber>771234567</exampleNumber>
<!-- These rules are a union of the wikipedia and ITU document prefixes. They are mostly
marked as VoIP on wikipedia, but it seems they may indeed be DID (Direct Inward
Dialing) numbers, that most people forward to VoIP numbers. -->
@@ -10911,10 +10869,10 @@
9[2579]\d
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>771234567</exampleNumber>
</voip>
<uan>
+ <possibleLengths national="4,10"/>
+ <exampleNumber>1599123456</exampleNumber>
<!-- 4-digit star numbers and 1-599 numbers. The latter are actually labelled "interactive
voicemail" in the ITU document, but according to reports from businesses in Israel and
the Hebrew version of the wikipedia page, these are actually a router for business
@@ -10923,20 +10881,18 @@
[2-689]\d{3}|
1599\d{6}
</nationalNumberPattern>
- <possibleLengths national="4,10"/>
- <exampleNumber>1599123456</exampleNumber>
</uan>
<voicemail>
- <nationalNumberPattern>151\d{8,9}</nationalNumberPattern>
<possibleLengths national="11,12"/>
<exampleNumber>15112340000</exampleNumber>
+ <nationalNumberPattern>151\d{8,9}</nationalNumberPattern>
</voicemail>
</territory>
<!-- Isle of Man -->
- <!-- Inherits formatting rules from the UK. Note that the numbers are fine-grained where
- needed in order to disambiguate between the 4 regions i.e UK, Isle of Man, Jersey
- and Guernsey. -->
+ <!-- Note that the numbers are fine-grained where needed in order to disambiguate between the
+ 4 regions i.e UK, Isle of Man, Jersey and Guernsey. -->
+ <!-- Country calling code and formatting shared with 'GB' -->
<territory id="IM" countryCode="44" internationalPrefix="00" nationalPrefix="0">
<references>
<sourceUrl>http://static.ofcom.org.uk/static/numbering/</sourceUrl>
@@ -10946,18 +10902,20 @@
<nationalNumberPattern>[135789]\d{6,9}</nationalNumberPattern>
</generalDesc>
<areaCodeOptional>
- <nationalNumberPattern>1624[2-9]\d{5}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>1624250123</exampleNumber>
+ <nationalNumberPattern>1624[2-9]\d{5}</nationalNumberPattern>
</areaCodeOptional>
<!-- Specific to IM. -->
<fixedLine>
- <!-- 1624 with 10 digits. -->
- <nationalNumberPattern>1624[5-8]\d{5}</nationalNumberPattern>
<possibleLengths national="10" localOnly="6"/>
<exampleNumber>1624756789</exampleNumber>
+ <!-- 1624 with 10 digits. -->
+ <nationalNumberPattern>1624[5-8]\d{5}</nationalNumberPattern>
</fixedLine>
<mobile>
+ <possibleLengths national="10"/>
+ <exampleNumber>7924123456</exampleNumber>
<!-- 7624[2-4] numbers could be mobile or paging. -->
<nationalNumberPattern>
7(?:
@@ -10966,21 +10924,21 @@
624[2-4]
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>7924123456</exampleNumber>
</mobile>
<pager>
- <nationalNumberPattern>7624[01689]\d{5}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>7624012345</exampleNumber>
+ <nationalNumberPattern>7624[01689]\d{5}</nationalNumberPattern>
</pager>
<tollFree>
- <!-- 808 162 with 10 digits. -->
- <nationalNumberPattern>808162\d{4}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>8081624567</exampleNumber>
+ <!-- 808 162 with 10 digits. -->
+ <nationalNumberPattern>808162\d{4}</nationalNumberPattern>
</tollFree>
<premiumRate>
+ <possibleLengths national="10"/>
+ <exampleNumber>9016247890</exampleNumber>
<!-- 872 299, 900 624, 901 624, 906 624, 907 624 with 10 digits. -->
<nationalNumberPattern>
(?:
@@ -10988,10 +10946,10 @@
90[0167]624
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>9016247890</exampleNumber>
</premiumRate>
<sharedCost>
+ <possibleLengths national="10"/>
+ <exampleNumber>8456247890</exampleNumber>
<!-- 844 040 6, 844 090 6, 845 624, 870 624 with 10 digits. -->
<nationalNumberPattern>
8(?:
@@ -11002,21 +10960,21 @@
70624\d
)\d{3}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>8456247890</exampleNumber>
</sharedCost>
<!-- Other numbers as per GB. -->
<personalNumber>
- <nationalNumberPattern>70\d{8}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>7012345678</exampleNumber>
+ <nationalNumberPattern>70\d{8}</nationalNumberPattern>
</personalNumber>
<voip>
- <nationalNumberPattern>56\d{8}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>5612345678</exampleNumber>
+ <nationalNumberPattern>56\d{8}</nationalNumberPattern>
</voip>
<uan>
+ <possibleLengths national="10"/>
+ <exampleNumber>5512345678</exampleNumber>
<!-- 308 162, 33d, 344 040 6, 344 090 6, 345 624, 370 624, 372 299, 55 with 10 digits. -->
<nationalNumberPattern>
3(?:
@@ -11033,12 +10991,10 @@
)\d{3}|
55\d{8}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>5512345678</exampleNumber>
</uan>
</territory>
- <!-- India -->
+ <!-- India -->
<territory id="IN" countryCode="91" internationalPrefix="00" nationalPrefix="0"
nationalPrefixFormattingRule="$NP$FG" nationalPrefixOptionalWhenFormatting="true"
mobileNumberPortableRegion="true">
@@ -11049,6 +11005,15 @@
<sourceUrl>http://dq.ndc.bsnl.co.in/bsnl-web/stdSearch.seam</sourceUrl>
</references>
<availableFormats>
+ <!-- 8-digit short numbers. Leading digits are more granular to ensure that fixed-line
+ numbers that should not be formatted this way instead fall to the correct formatting
+ rule. -->
+ <numberFormat pattern="(\d{8})" nationalPrefixFormattingRule="$FG">
+ <leadingDigits>561</leadingDigits>
+ <leadingDigits>5616</leadingDigits>
+ <leadingDigits>56161</leadingDigits>
+ <format>$1</format>
+ </numberFormat>
<!-- Mobile numbers. We also use this pattern for FIXED_LINE_OR_MOBILE numbers. -->
<numberFormat pattern="(\d{5})(\d{5})">
<leadingDigits>
@@ -11463,33 +11428,33 @@
<leadingDigits>008</leadingDigits>
<format>$1 $2 $3 $4</format>
</numberFormat>
- <numberFormat nationalPrefixFormattingRule="$FG" pattern="(\d{3})(\d{3})(\d{4})">
+ <numberFormat pattern="(\d{3})(\d{3})(\d{4})" nationalPrefixFormattingRule="$FG">
<leadingDigits>140</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
- <numberFormat nationalPrefixFormattingRule="$FG" pattern="(\d{4})(\d{2})(\d{4})">
+ <numberFormat pattern="(\d{4})(\d{2})(\d{4})" nationalPrefixFormattingRule="$FG">
<leadingDigits>160</leadingDigits>
<leadingDigits>1600</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
- <numberFormat nationalPrefixFormattingRule="$FG" pattern="(\d{4})(\d{4,5})">
+ <numberFormat pattern="(\d{4})(\d{4,5})" nationalPrefixFormattingRule="$FG">
<leadingDigits>180</leadingDigits>
<leadingDigits>1800</leadingDigits>
<format>$1 $2</format>
</numberFormat>
- <numberFormat nationalPrefixFormattingRule="$FG" pattern="(\d{4})(\d{2,4})(\d{4})">
+ <numberFormat pattern="(\d{4})(\d{2,4})(\d{4})" nationalPrefixFormattingRule="$FG">
<leadingDigits>180</leadingDigits>
<leadingDigits>1800</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
- <numberFormat nationalPrefixFormattingRule="$FG" pattern="(\d{4})(\d{3,4})(\d{4})">
+ <numberFormat pattern="(\d{4})(\d{3,4})(\d{4})" nationalPrefixFormattingRule="$FG">
<leadingDigits>186</leadingDigits>
<leadingDigits>1860</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
<!-- Formatting information for the televoting numbers is from
http://www.bsnl.co.in/service/telev.htm -->
- <numberFormat nationalPrefixFormattingRule="$FG" pattern="(\d{4})(\d{3})(\d{3})(\d{3})">
+ <numberFormat pattern="(\d{4})(\d{3})(\d{3})(\d{3})" nationalPrefixFormattingRule="$FG">
<leadingDigits>18[06]</leadingDigits>
<format>$1 $2 $3 $4</format>
</numberFormat>
@@ -11502,6 +11467,8 @@
</nationalNumberPattern>
</generalDesc>
<noInternationalDialling>
+ <possibleLengths national="[8-13]"/>
+ <exampleNumber>1800123456</exampleNumber>
<nationalNumberPattern>
00800\d{7}|
1(?:
@@ -11518,10 +11485,10 @@
)
)
</nationalNumberPattern>
- <possibleLengths national="[8-13]"/>
- <exampleNumber>1800123456</exampleNumber>
</noInternationalDialling>
<fixedLine>
+ <possibleLengths national="10" localOnly="[6-8]"/>
+ <exampleNumber>1123456789</exampleNumber>
<!-- This is a list of the 2 and 3 digit area codes and the first 3 digits of 4 digit area
codes, so we can check the following digit belongs to one of the operator-codes (2-7).
Operator codes are from wikipedia, with the addition of 5 (HFCL Infotel in some areas).
@@ -11701,15 +11668,14 @@
)
)[2-7]\d{5}
</nationalNumberPattern>
- <possibleLengths national="10" localOnly="[6-8]"/>
- <exampleNumber>1123456789</exampleNumber>
</fixedLine>
<!-- http://en.wikipedia.org/wiki/Mobile_telephone_numbering_in_India -->
<!-- The document titled "List of MSC codes" linked off
http://www.dot.gov.in/access-services/national-numbering-plan-2003 was helpful but last
- updated 2012 - more updates at http://www.dot.gov.in/access-services/allotment-msc-codes.
- -->
+ updated 2012 - more updates at http://www.dot.gov.in/access-services/allotment-msc-codes. -->
<mobile>
+ <possibleLengths national="10"/>
+ <exampleNumber>8123456789</exampleNumber>
<!-- A couple of additional prefixes found neither on the wikipedia page nor in the MSC
codes list, are added because SMS messages have been successfully sent to these
numbers. It seems almost impossible to know for some of these numbers whether they are
@@ -11875,7 +11841,7 @@
6(?:
[089]\d|
7[02-8]
- )
+ )
)|
2(?:
0(?:
@@ -11955,10 +11921,10 @@
9\d{4}
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>8123456789</exampleNumber>
</mobile>
<tollFree>
+ <possibleLengths national="[8-13]"/>
+ <exampleNumber>1800123456</exampleNumber>
<!-- Information gathered from sites such as
http://www.surfindia.com/india-facts/toll-free-no.html and
http://indmusings.blogspot.com/2008/09/free-help-line-numbersindia.html
@@ -11973,32 +11939,30 @@
)
)
</nationalNumberPattern>
- <possibleLengths national="[8-13]"/>
- <exampleNumber>1800123456</exampleNumber>
</tollFree>
<premiumRate>
+ <possibleLengths national="13"/>
+ <exampleNumber>1861123456789</exampleNumber>
<!-- Only televoting numbers are covered here for now. The 900 numbers are not covered
because they overlap with mobile, and we haven't found any real numbers online.
1863 424 Tele-voting (Different Charge Rate) numbers are not added as there are no
valid numbers online. -->
<nationalNumberPattern>186[12]\d{9}</nationalNumberPattern>
- <possibleLengths national="13"/>
- <exampleNumber>1861123456789</exampleNumber>
</premiumRate>
<sharedCost>
+ <possibleLengths national="11"/>
+ <exampleNumber>18603451234</exampleNumber>
<!-- While described as "universal numbers" in the numbering plan, evidence suggests
that 1860 number are best described as shared cost. See "Call Local Service" in:
http://www.tatadocomo.com/corporates/toll-free.aspx -->
<nationalNumberPattern>1860\d{7}</nationalNumberPattern>
- <possibleLengths national="11"/>
- <exampleNumber>18603451234</exampleNumber>
</sharedCost>
<uan>
+ <possibleLengths national="10"/>
+ <exampleNumber>1409305260</exampleNumber>
<!-- Telemarketing numbers: http://en.wikipedia.org/wiki/Telephone_numbers_in_India. 1869 -
long distance UAN numbers are not added here as there are no valid numbers online. -->
<nationalNumberPattern>140\d{7}</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>1409305260</exampleNumber>
</uan>
</territory>
@@ -12016,20 +11980,21 @@
<nationalNumberPattern>3\d{6}</nationalNumberPattern>
</generalDesc>
<fixedLine>
- <nationalNumberPattern>37\d{5}</nationalNumberPattern>
<possibleLengths national="7"/>
<exampleNumber>3709100</exampleNumber>
+ <nationalNumberPattern>37\d{5}</nationalNumberPattern>
</fixedLine>
<mobile>
- <nationalNumberPattern>38\d{5}</nationalNumberPattern>
<possibleLengths national="7"/>
<exampleNumber>3801234</exampleNumber>
+ <nationalNumberPattern>38\d{5}</nationalNumberPattern>
</mobile>
</territory>
<!-- Iraq -->
- <territory id="IQ" countryCode="964" internationalPrefix="00"
- nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
+ <!-- No tollFree or premiumRate information can be found. -->
+ <territory id="IQ" countryCode="964" internationalPrefix="00" nationalPrefix="0"
+ nationalPrefixFormattingRule="$NP$FG">
<references>
<sourceUrl>https://www.itu.int/oth/T0202000067/en</sourceUrl>
<sourceUrl>http://en.wikipedia.org/wiki/%2B964</sourceUrl>
@@ -12053,6 +12018,8 @@
<nationalNumberPattern>[1-7]\d{7,9}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="8,9" localOnly="6,7"/>
+ <exampleNumber>12345678</exampleNumber>
<nationalNumberPattern>
1\d{7}|
(?:
@@ -12063,20 +12030,17 @@
6[026]
)\d{6,7}
</nationalNumberPattern>
- <possibleLengths national="8,9" localOnly="6,7"/>
- <exampleNumber>12345678</exampleNumber>
</fixedLine>
<mobile>
- <nationalNumberPattern>7[3-9]\d{8}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>7912345678</exampleNumber>
+ <nationalNumberPattern>7[3-9]\d{8}</nationalNumberPattern>
</mobile>
- <!-- No tollFree or premiumRate information can be found. -->
</territory>
<!-- Iran, Islamic Republic of -->
- <territory id="IR" countryCode="98" internationalPrefix="00"
- nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
+ <territory id="IR" countryCode="98" internationalPrefix="00" nationalPrefix="0"
+ nationalPrefixFormattingRule="$NP$FG">
<references>
<sourceUrl>http://en.wikipedia.org/wiki/%2B98</sourceUrl>
<sourceUrl>http://www.itu.int/oth/T0202000066/en</sourceUrl>
@@ -12108,16 +12072,18 @@
</nationalNumberPattern>
</generalDesc>
<noInternationalDialling>
+ <possibleLengths national="10"/>
+ <exampleNumber>9411110000</exampleNumber>
<nationalNumberPattern>
(?:
9411[1-7]|
94440
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>9411110000</exampleNumber>
</noInternationalDialling>
<fixedLine>
+ <possibleLengths national="6,7,10" localOnly="4,5,8"/>
+ <exampleNumber>2123456789</exampleNumber>
<!-- In Summer 2014 Iran unified all fixed phone numbers in the following way:
Each province is assigned a two digit prefix.
Within each province, all numbers are exactly eight digits. The expression below is
@@ -12169,8 +12135,7 @@
6[16]|
7[1467]|
8[13467]
- )
- (?:
+ )(?:
\d{8}|
(?:
[16]|
@@ -12185,10 +12150,10 @@
440
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="6,7,10" localOnly="4,5,8"/>
- <exampleNumber>2123456789</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="10"/>
+ <exampleNumber>9123456789</exampleNumber>
<nationalNumberPattern>
9(?:
0[1-3]\d{2}|
@@ -12205,16 +12170,16 @@
)
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>9123456789</exampleNumber>
</mobile>
<pager>
- <nationalNumberPattern>943\d{7}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>9432123456</exampleNumber>
+ <nationalNumberPattern>943\d{7}</nationalNumberPattern>
</pager>
<!-- No tollFree or premiumRate information can be found. -->
<voip>
+ <possibleLengths national="10"/>
+ <exampleNumber>9932123456</exampleNumber>
<!-- Includes VSAT and Boomehen Satellite numbers. -->
<nationalNumberPattern>
(?:
@@ -12222,15 +12187,13 @@
993
)\d{7}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>9932123456</exampleNumber>
</voip>
</territory>
<!-- Iceland -->
<!-- As per new update from Iceland added carrier selection codes as international prefixes. -->
- <territory id="IS" countryCode="354" internationalPrefix="1(?:0(?:01|10|20)|100)|00"
- preferredInternationalPrefix="00" mobileNumberPortableRegion="true">
+ <territory id="IS" countryCode="354" preferredInternationalPrefix="00"
+ internationalPrefix="1(?:0(?:01|10|20)|100)|00" mobileNumberPortableRegion="true">
<references>
<sourceUrl>http://www.pta.is/default.aspx?cat_id=85</sourceUrl>
<sourceUrl>http://www.pfs.is/default.aspx?cat_id=14&amp;module_id=210&amp;element_id=4</sourceUrl>
@@ -12253,6 +12216,8 @@
</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="7"/>
+ <exampleNumber>4101234</exampleNumber>
<!-- Including 87[23] XXXX here as it is listed as a fax number. -->
<nationalNumberPattern>
(?:
@@ -12278,10 +12243,10 @@
87[23]
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="7"/>
- <exampleNumber>4101234</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="7,9"/>
+ <exampleNumber>6111234</exampleNumber>
<!-- TETRA = TErrestrial Trunked RAdio is included under mobile. -->
<nationalNumberPattern>
38[589]\d{6}|
@@ -12308,33 +12273,33 @@
)
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="7,9"/>
- <exampleNumber>6111234</exampleNumber>
</mobile>
<tollFree>
+ <possibleLengths national="7"/>
+ <exampleNumber>8001234</exampleNumber>
<!-- The UIFN numbers mentioned in the Excel document are not yet included since no real
numbers can be found online, and it is not clear what these are; the standard
definition would have them under the +800 country code instead of Iceland. -->
<nationalNumberPattern>800\d{4}</nationalNumberPattern>
- <possibleLengths national="7"/>
- <exampleNumber>8001234</exampleNumber>
</tollFree>
<premiumRate>
- <nationalNumberPattern>90\d{5}</nationalNumberPattern>
<possibleLengths national="7"/>
<exampleNumber>9011234</exampleNumber>
+ <nationalNumberPattern>90\d{5}</nationalNumberPattern>
</premiumRate>
<voip>
- <nationalNumberPattern>49\d{5}</nationalNumberPattern>
<possibleLengths national="7"/>
<exampleNumber>4921234</exampleNumber>
+ <nationalNumberPattern>49\d{5}</nationalNumberPattern>
</voip>
<uan>
- <nationalNumberPattern>809\d{4}</nationalNumberPattern>
<possibleLengths national="7"/>
<exampleNumber>8091234</exampleNumber>
+ <nationalNumberPattern>809\d{4}</nationalNumberPattern>
</uan>
<voicemail>
+ <possibleLengths national="7"/>
+ <exampleNumber>6271234</exampleNumber>
<nationalNumberPattern>
(?:
6(?:
@@ -12349,22 +12314,20 @@
95[48]
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="7"/>
- <exampleNumber>6271234</exampleNumber>
</voicemail>
</territory>
<!-- Italy -->
- <!-- Metadata shared with Vatican City (VA) -->
- <territory id="IT" countryCode="39" internationalPrefix="00" mobileNumberPortableRegion="true"
- mainCountryForCode="true">
+ <!-- Main region for 'VA' -->
+ <territory id="IT" mainCountryForCode="true" countryCode="39" internationalPrefix="00"
+ mobileNumberPortableRegion="true">
<references>
<sourceUrl>http://en.wikipedia.org/wiki/%2B39</sourceUrl>
<sourceUrl>https://www.agcom.it/piano-di-numerazione</sourceUrl>
</references>
<availableFormats>
<!-- The leading zero for fixed numbers will be prepended before the matching of these
- regular expressions.-->
+ regular expressions. -->
<numberFormat pattern="(\d{2})(\d{3,4})(\d{4})">
<leadingDigits>
0[26]|
@@ -12456,11 +12419,13 @@
</nationalNumberPattern>
</generalDesc>
<noInternationalDialling>
- <nationalNumberPattern>848\d{6}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>848123456</exampleNumber>
+ <nationalNumberPattern>848\d{6}</nationalNumberPattern>
</noInternationalDialling>
<fixedLine>
+ <possibleLengths national="[6-11]"/>
+ <exampleNumber>0212345678</exampleNumber>
<!-- Maximum lengths in the ITU document are 10, but it states above that for numbers
starting with 01, the maximum length is in fact 11. In fact, online, numbers can be
found with other prefixes that are 11 digits long as well, so we allow it for all the
@@ -12527,10 +12492,10 @@
)\d{2,7}
)
</nationalNumberPattern>
- <possibleLengths national="[6-11]"/>
- <exampleNumber>0212345678</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="[9-11]"/>
+ <exampleNumber>3123456789</exampleNumber>
<!-- According to wikipedia, TIM mobile numbers can be 9 digits long, but all others are 10
digits long. However, a user reported the existence of new 11 digit long numbers for
TIM with the prefix 33X, so this is supported also. -->
@@ -12541,20 +12506,20 @@
3\d{7,9}
)
</nationalNumberPattern>
- <possibleLengths national="[9-11]"/>
- <exampleNumber>3123456789</exampleNumber>
</mobile>
<tollFree>
+ <possibleLengths national="6,9"/>
+ <exampleNumber>800123456</exampleNumber>
<nationalNumberPattern>
80(?:
0\d{6}|
3\d{3}
)
</nationalNumberPattern>
- <possibleLengths national="6,9"/>
- <exampleNumber>800123456</exampleNumber>
</tollFree>
<premiumRate>
+ <possibleLengths national="6,[8-10]"/>
+ <exampleNumber>899123456</exampleNumber>
<!-- Adding 0878 numbers, as per
http://www.aduc.it/notizia/polizia+mette+allerta+sul+numero+0878_73136.php. Other
premium prefixes are mentioned here:
@@ -12578,40 +12543,38 @@
9\d{6}
)
</nationalNumberPattern>
- <possibleLengths national="6,[8-10]"/>
- <exampleNumber>899123456</exampleNumber>
</premiumRate>
<sharedCost>
+ <possibleLengths national="6,9"/>
+ <exampleNumber>848123456</exampleNumber>
<nationalNumberPattern>
84(?:
[08]\d{6}|
[17]\d{3}
)
</nationalNumberPattern>
- <possibleLengths national="6,9"/>
- <exampleNumber>848123456</exampleNumber>
</sharedCost>
<personalNumber>
+ <possibleLengths national="9,10"/>
+ <exampleNumber>1781234567</exampleNumber>
<nationalNumberPattern>
1(?:
78\d|
99
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="9,10"/>
- <exampleNumber>1781234567</exampleNumber>
</personalNumber>
<voip>
- <nationalNumberPattern>55\d{8}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>5512345678</exampleNumber>
+ <nationalNumberPattern>55\d{8}</nationalNumberPattern>
</voip>
</territory>
<!-- Jersey -->
- <!-- Inherits formatting rules from the UK. Note that the numbers are fine-grained where
- needed in order to disambiguate between the 4 regions i.e UK, Isle of Man, Jersey
- and Guernsey. -->
+ <!-- Note that the numbers are fine-grained where needed in order to disambiguate between the
+ 4 regions i.e UK, Isle of Man, Jersey and Guernsey. -->
+ <!-- Country calling code and formatting shared with 'GB' -->
<territory id="JE" countryCode="44" internationalPrefix="00" nationalPrefix="0">
<references>
<sourceUrl>http://static.ofcom.org.uk/static/numbering/</sourceUrl>
@@ -12622,18 +12585,20 @@
<nationalNumberPattern>[135789]\d{6,9}</nationalNumberPattern>
</generalDesc>
<areaCodeOptional>
- <nationalNumberPattern>1534[2-9]\d{5}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>1534250123</exampleNumber>
+ <nationalNumberPattern>1534[2-9]\d{5}</nationalNumberPattern>
</areaCodeOptional>
<!-- Specific to JE. -->
<fixedLine>
- <!-- 1534 with 10 digits. -->
- <nationalNumberPattern>1534[0-24-8]\d{5}</nationalNumberPattern>
<possibleLengths national="10" localOnly="6"/>
<exampleNumber>1534456789</exampleNumber>
+ <!-- 1534 with 10 digits. -->
+ <nationalNumberPattern>1534[0-24-8]\d{5}</nationalNumberPattern>
</fixedLine>
<mobile>
+ <possibleLengths national="10"/>
+ <exampleNumber>7797712345</exampleNumber>
<nationalNumberPattern>
7(?:
509\d|
@@ -12645,10 +12610,10 @@
937\d
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>7797712345</exampleNumber>
</mobile>
<pager>
+ <possibleLengths national="10"/>
+ <exampleNumber>7640123456</exampleNumber>
<!-- Pager numbers as per GB. -->
<nationalNumberPattern>
76(?:
@@ -12662,11 +12627,11 @@
9[39]
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>7640123456</exampleNumber>
</pager>
<!-- Specific to JE. -->
<tollFree>
+ <possibleLengths national="10"/>
+ <exampleNumber>8007354567</exampleNumber>
<!-- 800 735, 800 781, 808 901 with 10 digits. -->
<nationalNumberPattern>
80(?:
@@ -12677,10 +12642,10 @@
8901
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>8007354567</exampleNumber>
</tollFree>
<premiumRate>
+ <possibleLengths national="10"/>
+ <exampleNumber>9018105678</exampleNumber>
<!-- 871 206, 900 665, 900 669, 901 810, 907 107, 907 155 with 10 digits. -->
<nationalNumberPattern>
(?:
@@ -12695,10 +12660,10 @@
)
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>9018105678</exampleNumber>
</premiumRate>
<sharedCost>
+ <possibleLengths national="10"/>
+ <exampleNumber>8447034567</exampleNumber>
<!-- 844 405, 844 442, 844 469, 844 703, 845 041, 845 800, 870 002 with 10 digits. -->
<nationalNumberPattern>
8(?:
@@ -12719,22 +12684,22 @@
70002
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>8447034567</exampleNumber>
</sharedCost>
<personalNumber>
- <!-- 70 1511 with 10 digits. -->
- <nationalNumberPattern>701511\d{4}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>7015115678</exampleNumber>
+ <!-- 70 1511 with 10 digits. -->
+ <nationalNumberPattern>701511\d{4}</nationalNumberPattern>
</personalNumber>
<voip>
- <!-- VoIP numbers as per GB. -->
- <nationalNumberPattern>56\d{8}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>5612345678</exampleNumber>
+ <!-- VoIP numbers as per GB. -->
+ <nationalNumberPattern>56\d{8}</nationalNumberPattern>
</voip>
<uan>
+ <possibleLengths national="10"/>
+ <exampleNumber>5512345678</exampleNumber>
<!-- 300 735, 300 781, 308 901, 33d, 344 405, 344 442, 344 469, 344 703, 345 041, 345 800,
370 002, 371 206, 55 with 10 digits. -->
<nationalNumberPattern>
@@ -12768,22 +12733,22 @@
)\d{4}|
55\d{8}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>5512345678</exampleNumber>
</uan>
</territory>
<!-- Jamaica -->
- <territory id="JM" countryCode="1" leadingDigits="876" nationalPrefix="1"
- internationalPrefix="011">
+ <!-- Country calling code and formatting shared with 'US' -->
+ <territory id="JM" countryCode="1" leadingDigits="876" internationalPrefix="011"
+ nationalPrefix="1">
<references>
<sourceUrl>http://www.itu.int/oth/T020200006C/en</sourceUrl>
</references>
<generalDesc>
- <!-- NANPA country - uses US formatting rules -->
<nationalNumberPattern>[589]\d{9}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="10" localOnly="7"/>
+ <exampleNumber>8765123456</exampleNumber>
<!-- Numbers have been found online for ranges 62x,63x, 656, 66[2-589]. -->
<nationalNumberPattern>
876(?:
@@ -12818,10 +12783,10 @@
)
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="10" localOnly="7"/>
- <exampleNumber>8765123456</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="10" localOnly="7"/>
+ <exampleNumber>8762101234</exampleNumber>
<!-- Adding 27, 28, 299, 31, 508 and 566 as extra prefixes, as they have been found to be
valid by sending SMSs and looking at online number lookup sites. Numbers have been
found online for the following ranges 258, 26x, 29x, 53x, 54x, 55x, 56x. Most have
@@ -12848,10 +12813,10 @@
)
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="10" localOnly="7"/>
- <exampleNumber>8762101234</exampleNumber>
</mobile>
<tollFree>
+ <possibleLengths national="10"/>
+ <exampleNumber>8002123456</exampleNumber>
<nationalNumberPattern>
8(?:
00|
@@ -12863,15 +12828,15 @@
88
)[2-9]\d{6}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>8002123456</exampleNumber>
</tollFree>
<premiumRate>
- <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>9002123456</exampleNumber>
+ <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
</premiumRate>
<personalNumber>
+ <possibleLengths national="10"/>
+ <exampleNumber>5002345678</exampleNumber>
<!-- https://www.nationalnanpa.com/number_resource_info/5XX_codes.html -->
<nationalNumberPattern>
5(?:
@@ -12884,23 +12849,19 @@
88
)[2-9]\d{6}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>5002345678</exampleNumber>
</personalNumber>
</territory>
<!-- Jordan -->
- <territory id="JO" countryCode="962" internationalPrefix="00"
- nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
- mobileNumberPortableRegion="true">
+ <territory id="JO" countryCode="962" internationalPrefix="00" nationalPrefix="0"
+ nationalPrefixFormattingRule="$NP$FG" mobileNumberPortableRegion="true">
<references>
<sourceUrl>http://www.trc.gov.jo/images/stories/pdf/NNP_ver200[1].pdf?lang=english</sourceUrl>
<sourceUrl>http://www.itu.int/oth/T020200006E/en</sourceUrl>
<sourceUrl>http://en.wikipedia.org/wiki/%2B962</sourceUrl>
</references>
<availableFormats>
- <numberFormat nationalPrefixFormattingRule="($NP$FG)"
- pattern="(\d)(\d{3})(\d{4})">
+ <numberFormat pattern="(\d)(\d{3})(\d{4})" nationalPrefixFormattingRule="($NP$FG)">
<leadingDigits>
[2356]|
87
@@ -12927,6 +12888,8 @@
<nationalNumberPattern>[235-9]\d{7,8}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="8"/>
+ <exampleNumber>62001234</exampleNumber>
<nationalNumberPattern>
(?:
2(?:
@@ -12970,8 +12933,8 @@
6(?:
2[50]0|
3(?:
- 00|
- 33
+ 00|
+ 33
)|
4(?:
0[0125]|
@@ -13002,10 +12965,10 @@
)
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>62001234</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="9"/>
+ <exampleNumber>790123456</exampleNumber>
<nationalNumberPattern>
7(?:
55|
@@ -13014,40 +12977,40 @@
9[0-25-9]
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>790123456</exampleNumber>
</mobile>
<pager>
+ <possibleLengths national="9"/>
+ <exampleNumber>746612345</exampleNumber>
<nationalNumberPattern>
74(?:
66|
77
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>746612345</exampleNumber>
</pager>
<tollFree>
- <nationalNumberPattern>80\d{6}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>80012345</exampleNumber>
+ <nationalNumberPattern>80\d{6}</nationalNumberPattern>
</tollFree>
<premiumRate>
- <nationalNumberPattern>900\d{5}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>90012345</exampleNumber>
+ <nationalNumberPattern>900\d{5}</nationalNumberPattern>
</premiumRate>
<sharedCost>
- <nationalNumberPattern>85\d{6}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>85012345</exampleNumber>
+ <nationalNumberPattern>85\d{6}</nationalNumberPattern>
</sharedCost>
<personalNumber>
- <nationalNumberPattern>70\d{7}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>700123456</exampleNumber>
+ <nationalNumberPattern>70\d{7}</nationalNumberPattern>
</personalNumber>
<uan>
+ <possibleLengths national="8"/>
+ <exampleNumber>88101234</exampleNumber>
<!-- These numbers are Location Independent Services / Fixed cost according to
http://www.trc.gov.jo -->
<nationalNumberPattern>
@@ -13056,8 +13019,6 @@
8\d
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>88101234</exampleNumber>
</uan>
</territory>
@@ -13085,56 +13046,56 @@
<format>$1-$2-$3</format>
</numberFormat>
<!-- National-only toll-free numbers (0037, 0066, 0077 and 0088). -->
- <numberFormat nationalPrefixFormattingRule="$FG" pattern="(\d{4})(\d{4})">
+ <numberFormat pattern="(\d{4})(\d{4})" nationalPrefixFormattingRule="$FG">
<leadingDigits>0077</leadingDigits>
<format>$1-$2</format>
<intlFormat>NA</intlFormat>
</numberFormat>
- <numberFormat nationalPrefixFormattingRule="$FG" pattern="(\d{4})(\d{2})(\d{3,4})">
+ <numberFormat pattern="(\d{4})(\d{2})(\d{3,4})" nationalPrefixFormattingRule="$FG">
<leadingDigits>0077</leadingDigits>
<format>$1-$2-$3</format>
<intlFormat>NA</intlFormat>
</numberFormat>
- <numberFormat nationalPrefixFormattingRule="$FG" pattern="(\d{4})(\d{2})(\d{4})">
+ <numberFormat pattern="(\d{4})(\d{2})(\d{4})" nationalPrefixFormattingRule="$FG">
<leadingDigits>0088</leadingDigits>
<format>$1-$2-$3</format>
<intlFormat>NA</intlFormat>
</numberFormat>
- <numberFormat nationalPrefixFormattingRule="$FG" pattern="(\d{4})(\d{3})(\d{3,4})">
+ <numberFormat pattern="(\d{4})(\d{3})(\d{3,4})" nationalPrefixFormattingRule="$FG">
<leadingDigits>
00(?:
- 37|
- 66
+ 37|
+ 66
)
</leadingDigits>
<format>$1-$2-$3</format>
<intlFormat>NA</intlFormat>
</numberFormat>
- <numberFormat nationalPrefixFormattingRule="$FG" pattern="(\d{4})(\d{4})(\d{4,5})">
+ <numberFormat pattern="(\d{4})(\d{4})(\d{4,5})" nationalPrefixFormattingRule="$FG">
<leadingDigits>
00(?:
- 37|
- 66
+ 37|
+ 66
)
</leadingDigits>
<format>$1-$2-$3</format>
<intlFormat>NA</intlFormat>
</numberFormat>
- <numberFormat nationalPrefixFormattingRule="$FG" pattern="(\d{4})(\d{5})(\d{5,6})">
+ <numberFormat pattern="(\d{4})(\d{5})(\d{5,6})" nationalPrefixFormattingRule="$FG">
<leadingDigits>
00(?:
- 37|
- 66
+ 37|
+ 66
)
</leadingDigits>
<format>$1-$2-$3</format>
<intlFormat>NA</intlFormat>
</numberFormat>
- <numberFormat nationalPrefixFormattingRule="$FG" pattern="(\d{4})(\d{6})(\d{6,7})">
+ <numberFormat pattern="(\d{4})(\d{6})(\d{6,7})" nationalPrefixFormattingRule="$FG">
<leadingDigits>
00(?:
- 37|
- 66
+ 37|
+ 66
)
</leadingDigits>
<format>$1-$2-$3</format>
@@ -13152,8 +13113,7 @@
"70": PHS (Personal Handy-phone System, which has been used in Japan
with Non-3G, Japanese-specific protocol).
See also http://ja.wikipedia.org/wiki/PHS (Japanese)
- "80" and "90": Mobile phone
- -->
+ "80" and "90": Mobile phone -->
<numberFormat pattern="(\d{2})(\d{4})(\d{4})">
<leadingDigits>
[2579]0|
@@ -13168,8 +13128,7 @@
- "42": 42000 -> 4-2000, 42901 -> 4-2901, 42910 -> 42-910
- "82": 82200 -> 82-200, 82020 -> 820-20, 82400 -> 82-400
- "99": 99400 -> 99-400, 99430 -> 994-30, 99692 -> 9969-2, 99750 -> 997-50
- - "993": 99330 -> 993-30, 99331 -> 99-331, 99332 -> 993-32
- -->
+ - "993": 99330 -> 993-30, 99331 -> 99-331, 99332 -> 993-32 -->
<numberFormat pattern="(\d{4})(\d)(\d{4})">
<leadingDigits>
1(?:
@@ -13908,30 +13867,32 @@
<nationalNumberPattern>
[1-9]\d{8,9}|
00(?:
- [36]\d{7,14}|
- 7\d{5,7}|
- 8\d{7}
+ [36]\d{7,14}|
+ 7\d{5,7}|
+ 8\d{7}
)
</nationalNumberPattern>
</generalDesc>
<noInternationalDialling>
+ <possibleLengths national="[8-17]"/>
+ <exampleNumber>00777012</exampleNumber>
<!-- Toll-free numbers with a leading "00" cannot be dialled internationally. -->
<nationalNumberPattern>
00(?:
- 37\d{6,13}|
- 66\d{6,13}|
- 777(?:
- [01]\d{2}|
- 5\d{3}|
- 8\d{4}
- )|
- 882[1245]\d{4}
+ 37\d{6,13}|
+ 66\d{6,13}|
+ 777(?:
+ [01]\d{2}|
+ 5\d{3}|
+ 8\d{4}
+ )|
+ 882[1245]\d{4}
)
</nationalNumberPattern>
- <possibleLengths national="[8-17]"/>
- <exampleNumber>00777012</exampleNumber>
</noInternationalDialling>
<fixedLine>
+ <possibleLengths national="9"/>
+ <exampleNumber>312345678</exampleNumber>
<nationalNumberPattern>
(?:
1(?:
@@ -13974,20 +13935,20 @@
)
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>312345678</exampleNumber>
</fixedLine>
<mobile>
- <nationalNumberPattern>[7-9]0[1-9]\d{7}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>9012345678</exampleNumber>
+ <nationalNumberPattern>[7-9]0[1-9]\d{7}</nationalNumberPattern>
</mobile>
<pager>
- <nationalNumberPattern>20\d{8}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>2012345678</exampleNumber>
+ <nationalNumberPattern>20\d{8}</nationalNumberPattern>
</pager>
<tollFree>
+ <possibleLengths national="[8-17]"/>
+ <exampleNumber>120123456</exampleNumber>
<!-- http://www.kddi.com/english/business/free_call_dx/number.html and
http://tm.softbank.jp/english/business/phone_service/freecall_sp/index.html
http://eonet.jp/home/denwa/service/access.html
@@ -14001,46 +13962,44 @@
120\d{6}|
800\d{7}|
00(?:
- 37\d{6,13}|
- 66\d{6,13}|
- 777(?:
- [01]\d{2}|
- 5\d{3}|
- 8\d{4}
- )|
- 882[1245]\d{4}
+ 37\d{6,13}|
+ 66\d{6,13}|
+ 777(?:
+ [01]\d{2}|
+ 5\d{3}|
+ 8\d{4}
+ )|
+ 882[1245]\d{4}
)
</nationalNumberPattern>
- <possibleLengths national="[8-17]"/>
- <exampleNumber>120123456</exampleNumber>
</tollFree>
<premiumRate>
- <nationalNumberPattern>990\d{6}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>990123456</exampleNumber>
+ <nationalNumberPattern>990\d{6}</nationalNumberPattern>
</premiumRate>
<personalNumber>
- <nationalNumberPattern>60\d{7}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>601234567</exampleNumber>
+ <nationalNumberPattern>60\d{7}</nationalNumberPattern>
</personalNumber>
<voip>
- <nationalNumberPattern>50[1-9]\d{7}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>5012345678</exampleNumber>
+ <nationalNumberPattern>50[1-9]\d{7}</nationalNumberPattern>
</voip>
<!-- Storing "unified number service" as UAN. -->
<uan>
- <nationalNumberPattern>570\d{6}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>570123456</exampleNumber>
+ <nationalNumberPattern>570\d{6}</nationalNumberPattern>
</uan>
</territory>
<!-- Kenya -->
- <territory id="KE" countryCode="254" internationalPrefix="000"
- nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
- mobileNumberPortableRegion="true" nationalPrefixForParsing="005|0">
+ <territory id="KE" countryCode="254" internationalPrefix="000" nationalPrefix="0"
+ nationalPrefixForParsing="005|0" nationalPrefixFormattingRule="$NP$FG"
+ mobileNumberPortableRegion="true">
<references>
<sourceUrl>http://www.ca.go.ke/index.php/numbering</sourceUrl>
<sourceUrl>https://www.itu.int/oth/T0202000070/en</sourceUrl>
@@ -14067,6 +14026,8 @@
</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="[7-9]"/>
+ <exampleNumber>202012345</exampleNumber>
<!-- The prefixes 046, 050, 058, and 066 may appear online in less than 9 digits but
calling them has confirmed these are outdated. However a 7-digit 068 number was
dialed successfully so we consider these valid despite the plan. -->
@@ -14087,22 +14048,22 @@
6\d{6,7}
)
</nationalNumberPattern>
- <possibleLengths national="[7-9]"/>
- <exampleNumber>202012345</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="9"/>
+ <exampleNumber>712123456</exampleNumber>
<nationalNumberPattern>
7(?:
[0-3679]\d|
- 4[0-4679]|
+ 4[0-46-9]|
5[0-6]|
8[0-25-9]
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>712123456</exampleNumber>
</mobile>
<tollFree>
+ <possibleLengths national="9,10"/>
+ <exampleNumber>800223456</exampleNumber>
<!-- Longer numbers have been found than the plan suggests, so we support them here too. -->
<!-- The plan suggests 0844 and 0845 may belong here, but these are short numbers rather
than prefixes:
@@ -14110,19 +14071,18 @@
http://www.kenya-advisor.com/phone-calls-kenya.html
http://www.telkom.co.ke/index.php?option=com_content&view=article&id=64&Itemid=98 -->
<nationalNumberPattern>800[24-8]\d{5,6}</nationalNumberPattern>
- <possibleLengths national="9,10"/>
- <exampleNumber>800223456</exampleNumber>
</tollFree>
<premiumRate>
- <nationalNumberPattern>900[02-9]\d{5}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>900223456</exampleNumber>
+ <nationalNumberPattern>900[02-9]\d{5}</nationalNumberPattern>
</premiumRate>
</territory>
<!-- Kyrgyzstan -->
- <territory id="KG" countryCode="996" internationalPrefix="00"
- nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
+ <!-- No premiumRate information can be found. -->
+ <territory id="KG" countryCode="996" internationalPrefix="00" nationalPrefix="0"
+ nationalPrefixFormattingRule="$NP$FG">
<references>
<sourceUrl>http://www.itu.int/oth/T0202000074/en</sourceUrl>
</references>
@@ -14152,6 +14112,8 @@
<nationalNumberPattern>[235-8]\d{8,9}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="9" localOnly="5,6"/>
+ <exampleNumber>312123456</exampleNumber>
<!-- Extra area codes found on Web Search: 3147. -->
<nationalNumberPattern>
(?:
@@ -14202,10 +14164,10 @@
)\d
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="9" localOnly="5,6"/>
- <exampleNumber>312123456</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="9"/>
+ <exampleNumber>700123456</exampleNumber>
<nationalNumberPattern>
(?:
20[0-35]|
@@ -14213,23 +14175,18 @@
7[07]\d
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>700123456</exampleNumber>
</mobile>
<tollFree>
+ <possibleLengths national="9,10"/>
+ <exampleNumber>800123456</exampleNumber>
<!-- Add an extra digit to the number pattern since the only toll-free number found on Web
Search contains 10 digits instead of the 9 digits specified in the ITU document. -->
<nationalNumberPattern>800\d{6,7}</nationalNumberPattern>
- <possibleLengths national="9,10"/>
- <exampleNumber>800123456</exampleNumber>
</tollFree>
- <!-- No premiumRate information can be found. -->
- <!-- http://www.iru-nelti.org/index/info-app/id.216 -->
</territory>
<!-- Cambodia -->
- <territory id="KH" countryCode="855" internationalPrefix="00[14-9]"
- nationalPrefix="0">
+ <territory id="KH" countryCode="855" internationalPrefix="00[14-9]" nationalPrefix="0">
<references>
<sourceUrl>http://www.itu.int/oth/T0202000023/en</sourceUrl>
<sourceUrl>http://en.wikipedia.org/wiki/+855</sourceUrl>
@@ -14251,6 +14208,8 @@
<nationalNumberPattern>[1-9]\d{7,9}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="8,9" localOnly="6,7"/>
+ <exampleNumber>23756789</exampleNumber>
<!-- Allowing subscriber numbers beginning with 5 since Mobitel have informed us they have
started issuing fixed-line numbers like this. Apparently, mobile-company-issued
fixed-line numbers are one digit longer than government-issued numbers. Moreover, the
@@ -14274,10 +14233,10 @@
8\d{2}
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="8,9" localOnly="6,7"/>
- <exampleNumber>23756789</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="8,9"/>
+ <exampleNumber>91234567</exampleNumber>
<!-- SMART uses prefixes 01[056], 070, 08[167] and 09[368].
Beeline uses 060.
Mobitel uses 01[1247].
@@ -14318,10 +14277,10 @@
)
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="8,9"/>
- <exampleNumber>91234567</exampleNumber>
</mobile>
<tollFree>
+ <possibleLengths national="10"/>
+ <exampleNumber>1800123456</exampleNumber>
<!-- Adding extra prefix 180021 used by tollfreetc.com.kh. -->
<nationalNumberPattern>
1800(?:
@@ -14329,18 +14288,16 @@
2[019]
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>1800123456</exampleNumber>
</tollFree>
<premiumRate>
+ <possibleLengths national="10"/>
+ <exampleNumber>1900123456</exampleNumber>
<nationalNumberPattern>
1900(?:
1\d|
2[09]
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>1900123456</exampleNumber>
</premiumRate>
</territory>
@@ -14348,8 +14305,7 @@
<!-- We include the national prefix for parsing here just in case numbers can be dialled with a
leading 0 - no numbers online have been found formatted this way, but the ITU document
lists it as a national dialling prefix. -->
- <territory id="KI" countryCode="686" internationalPrefix="00"
- nationalPrefixForParsing="0">
+ <territory id="KI" countryCode="686" internationalPrefix="00" nationalPrefixForParsing="0">
<references>
<sourceUrl>http://www.itu.int/oth/T0202000071/en</sourceUrl>
</references>
@@ -14362,6 +14318,8 @@
</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="5,8"/>
+ <exampleNumber>31234</exampleNumber>
<!-- The 5 digit numbers are in transition (July-1 2016 to 2017) to 8 digit numbers starting
with a 7. -->
<nationalNumberPattern>
@@ -14377,28 +14335,26 @@
5[0-4]
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="5,8"/>
- <exampleNumber>31234</exampleNumber>
</fixedLine>
<mobile>
- <nationalNumberPattern>7[23]0\d{5}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>72012345</exampleNumber>
+ <nationalNumberPattern>7[23]0\d{5}</nationalNumberPattern>
</mobile>
<voip>
+ <possibleLengths national="8"/>
+ <exampleNumber>30010000</exampleNumber>
<!-- ITU refers to these as "Overseas Operator" (used to call Phone Group's usage
"Telemedia and audiotext"). -->
<nationalNumberPattern>
30(?:
- 0[01]\d{2}|
- 12(?:
- 11|
- 20
- )
+ 0[01]\d{2}|
+ 12(?:
+ 11|
+ 20
+ )
)\d{2}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>30010000</exampleNumber>
</voip>
</territory>
@@ -14416,18 +14372,20 @@
<nationalNumberPattern>[3478]\d{6}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="7"/>
+ <exampleNumber>7712345</exampleNumber>
<!-- CDMA phones are included here, as they are considered as an extension of fixed line:
http://www.comorestelecom.km/presentationcdma.php -->
<nationalNumberPattern>7[4-7]\d{5}</nationalNumberPattern>
- <possibleLengths national="7"/>
- <exampleNumber>7712345</exampleNumber>
</fixedLine>
<mobile>
- <nationalNumberPattern>[34]\d{6}</nationalNumberPattern>
<possibleLengths national="7"/>
<exampleNumber>3212345</exampleNumber>
+ <nationalNumberPattern>[34]\d{6}</nationalNumberPattern>
</mobile>
<premiumRate>
+ <possibleLengths national="7"/>
+ <exampleNumber>8001234</exampleNumber>
<!-- These are referred to as value-added services in the plan and no further information
can be found. -->
<nationalNumberPattern>
@@ -14436,22 +14394,22 @@
8\d{2}
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="7"/>
- <exampleNumber>8001234</exampleNumber>
</premiumRate>
</territory>
<!-- Saint Kitts and Nevis -->
- <territory id="KN" countryCode="1" leadingDigits="869" nationalPrefix="1"
- internationalPrefix="011">
+ <!-- Country calling code and formatting shared with 'US' -->
+ <territory id="KN" countryCode="1" leadingDigits="869" internationalPrefix="011"
+ nationalPrefix="1">
<references>
<sourceUrl>http://www.itu.int/oth/T02020000B0/en</sourceUrl>
</references>
<generalDesc>
- <!-- NANPA country - uses US formatting rules -->
<nationalNumberPattern>[589]\d{9}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="10" localOnly="7"/>
+ <exampleNumber>8692361234</exampleNumber>
<!-- Adding the 869 302 prefix as it is used by Marriott Hotels, even though no other record
of it can be found. -->
<nationalNumberPattern>
@@ -14467,10 +14425,11 @@
)
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="10" localOnly="7"/>
- <exampleNumber>8692361234</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="10" localOnly="7"/>
+ <!-- Example number from the ITU document. -->
+ <exampleNumber>8697652917</exampleNumber>
<!-- Added some more prefixes in the 66 and 76 range from online numbers. -->
<nationalNumberPattern>
869(?:
@@ -14482,11 +14441,10 @@
76[02-7]
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="10" localOnly="7"/>
- <!-- Example number from the ITU document. -->
- <exampleNumber>8697652917</exampleNumber>
</mobile>
<tollFree>
+ <possibleLengths national="10"/>
+ <exampleNumber>8002123456</exampleNumber>
<nationalNumberPattern>
8(?:
00|
@@ -14498,15 +14456,15 @@
88
)[2-9]\d{6}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>8002123456</exampleNumber>
</tollFree>
<premiumRate>
- <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>9002123456</exampleNumber>
+ <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
</premiumRate>
<personalNumber>
+ <possibleLengths national="10"/>
+ <exampleNumber>5002345678</exampleNumber>
<!-- https://www.nationalnanpa.com/number_resource_info/5XX_codes.html -->
<nationalNumberPattern>
5(?:
@@ -14519,14 +14477,12 @@
88
)[2-9]\d{6}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>5002345678</exampleNumber>
</personalNumber>
</territory>
<!-- Korea, Dem. People's Rep. of -->
- <territory id="KP" countryCode="850" internationalPrefix="00|99"
- nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
+ <territory id="KP" countryCode="850" internationalPrefix="00|99" nationalPrefix="0"
+ nationalPrefixFormattingRule="$NP$FG">
<references>
<sourceUrl>http://en.wikipedia.org/wiki/%2B850</sourceUrl>
</references>
@@ -14551,6 +14507,8 @@
</nationalNumberPattern>
</generalDesc>
<noInternationalDialling>
+ <possibleLengths national="8"/>
+ <exampleNumber>23821234</exampleNumber>
<!-- For numbers starting with 2, only the 2381 range can be dialed internationally. -->
<nationalNumberPattern>
2(?:
@@ -14561,10 +14519,10 @@
)
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>23821234</exampleNumber>
</noInternationalDialling>
<fixedLine>
+ <possibleLengths national="8" localOnly="6,7"/>
+ <exampleNumber>21234567</exampleNumber>
<!-- Covers only numbers from Pyongyang and Rason Economic Special Zone. According to
wikipedia, other ranges of phone numbers are top secret, unpublished, and not dialable
from overseas. Also, there is conflicting information about the length of fixed-line
@@ -14573,26 +14531,24 @@
2\d{7}|
85\d{6}
</nationalNumberPattern>
- <possibleLengths national="8" localOnly="6,7"/>
- <exampleNumber>21234567</exampleNumber>
</fixedLine>
<mobile>
- <nationalNumberPattern>19[123]\d{7}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>1921234567</exampleNumber>
+ <nationalNumberPattern>19[123]\d{7}</nationalNumberPattern>
</mobile>
</territory>
<!-- Korea (Rep. of) -->
<!-- Exceptions :
- internationalPrefix
- 0031, 0033, 0071, 0073 - Special services of KT and DACOM, ignorable
- nationalPrefix
- 1[4-6]XX-YYYY - Country-wide common number services, display as it is without hyphens.
- 00798 is an ITFS range. So it doesn't appear here as internationalPrefix. -->
+ internationalPrefix
+ 0031, 0033, 0071, 0073 - Special services of KT and DACOM, ignorable
+ nationalPrefix
+ 1[4-6]XX-YYYY - Country-wide common number services, display as it is without hyphens.
+ 00798 is an ITFS range. So it doesn't appear here as internationalPrefix. -->
<territory id="KR" countryCode="82"
- internationalPrefix="00(?:[124-68]|3\d{2}|7(?:[0-8]\d|9[0-79]))"
- nationalPrefix="0" nationalPrefixForParsing="0(8[1-46-8]|85\d{2})?"
+ internationalPrefix="00(?:[124-68]|3\d{2}|7(?:[0-8]\d|9[0-79]))" nationalPrefix="0"
+ nationalPrefixForParsing="0(8[1-46-8]|85\d{2})?"
nationalPrefixFormattingRule="$NP$FG" carrierCodeFormattingRule="$NP$CC-$FG"
mobileNumberPortableRegion="true">
<references>
@@ -14705,8 +14661,7 @@
<format>$1-$2</format>
</numberFormat>
<!-- Company numbers. -->
- <numberFormat pattern="(\d{4})(\d{4})"
- nationalPrefixFormattingRule="$FG">
+ <numberFormat pattern="(\d{4})(\d{4})" nationalPrefixFormattingRule="$FG">
<leadingDigits>
1(?:
5[246-9]|
@@ -14751,12 +14706,14 @@
</nationalNumberPattern>
</generalDesc>
<noInternationalDialling>
- <!-- 00798 ITFS numbers can't be dialled internationally. -->
- <nationalNumberPattern>00798\d{7,9}</nationalNumberPattern>
<possibleLengths national="[12-14]"/>
<exampleNumber>007981234567</exampleNumber>
+ <!-- 00798 ITFS numbers can't be dialled internationally. -->
+ <nationalNumberPattern>00798\d{7,9}</nationalNumberPattern>
</noInternationalDialling>
<fixedLine>
+ <possibleLengths national="[4-6],[8-10]" localOnly="3,7"/>
+ <exampleNumber>22123456</exampleNumber>
<!-- We omit 049, supposedly for Kaesong Industrial Region, since real numbers can't be
found, and it is in North Korea anyway. We support 7-8 digits long subscriber numbers
starting with 1 based on evidence of real numbers found online. -->
@@ -14771,46 +14728,46 @@
[1-9]\d{6,7}
)
</nationalNumberPattern>
- <possibleLengths national="[4-6],[8-10]" localOnly="3,7"/>
- <exampleNumber>22123456</exampleNumber>
</fixedLine>
<mobile>
- <nationalNumberPattern>1[0-26-9]\d{7,8}</nationalNumberPattern>
<possibleLengths national="9,10"/>
<exampleNumber>1000000000</exampleNumber>
+ <nationalNumberPattern>1[0-26-9]\d{7,8}</nationalNumberPattern>
</mobile>
<pager>
- <nationalNumberPattern>15\d{7,8}</nationalNumberPattern>
<possibleLengths national="9,10"/>
<exampleNumber>1523456789</exampleNumber>
+ <nationalNumberPattern>15\d{7,8}</nationalNumberPattern>
</pager>
<tollFree>
+ <possibleLengths national="9,[12-14]"/>
+ <exampleNumber>801234567</exampleNumber>
<nationalNumberPattern>
(?:
00798\d{0,2}|
80
)\d{7}
</nationalNumberPattern>
- <possibleLengths national="9,[12-14]"/>
- <exampleNumber>801234567</exampleNumber>
</tollFree>
<!-- The information below is provided by a Korean person. -->
<premiumRate>
- <nationalNumberPattern>60[2-9]\d{6}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>602345678</exampleNumber>
+ <nationalNumberPattern>60[2-9]\d{6}</nationalNumberPattern>
</premiumRate>
<personalNumber>
- <nationalNumberPattern>50\d{8}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>5012345678</exampleNumber>
+ <nationalNumberPattern>50\d{8}</nationalNumberPattern>
</personalNumber>
<voip>
- <nationalNumberPattern>70\d{8}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>7012345678</exampleNumber>
+ <nationalNumberPattern>70\d{8}</nationalNumberPattern>
</voip>
<uan>
+ <possibleLengths national="8"/>
+ <exampleNumber>15441234</exampleNumber>
<!-- Prefixes 18 and 1522 are added from numbers found online. -->
<nationalNumberPattern>
1(?:
@@ -14838,12 +14795,11 @@
)
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>15441234</exampleNumber>
</uan>
</territory>
<!-- Kuwait -->
+ <!-- No tollFree or premiumRate information can be found. -->
<territory id="KW" countryCode="965" internationalPrefix="00" mobileNumberPortableRegion="true">
<references>
<sourceUrl>http://www.itu.int/oth/T0202000073/en</sourceUrl>
@@ -14877,6 +14833,8 @@
<nationalNumberPattern>[12569]\d{6,7}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="7,8"/>
+ <exampleNumber>22345678</exampleNumber>
<nationalNumberPattern>
(?:
18\d|
@@ -14895,10 +14853,13 @@
)
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="7,8"/>
- <exampleNumber>22345678</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="8"/>
+ <exampleNumber>50012345</exampleNumber>
+ <!-- Supported 966[1-9] range based on numbers found online. -->
+ <!-- 989X range is mentioned in older (15.IV.2014) ITU doc but it is not mentioned in
+ ITU doc dated 5.V.2017. As valid numbers are found online, supporting the range. -->
<nationalNumberPattern>
(?:
5(?:
@@ -14915,8 +14876,14 @@
222|
5[015-9]\d|
6\d{2}|
- 7[067]\d|
- 9[0369]\d
+ 7(?:
+ 0[013-9]|
+ [67]\d
+ )|
+ 9(?:
+ [069]\d|
+ 3[039]
+ )
)|
9(?:
0[09]\d|
@@ -14924,30 +14891,33 @@
4[01479]\d|
55\d|
6[0679]\d|
- [79]\d{2}|
- 8[057-9]\d
+ 7(?:
+ 02|
+ [1-9]\d
+ )|
+ 8[057-9]\d|
+ 9\d{2}
)
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>50012345</exampleNumber>
</mobile>
- <!-- No tollFree or premiumRate information can be found. -->
</territory>
<!-- Cayman Islands -->
- <territory id="KY" countryCode="1" leadingDigits="345" nationalPrefix="1"
- internationalPrefix="011">
+ <!-- Country calling code and formatting shared with 'US' -->
+ <territory id="KY" countryCode="1" leadingDigits="345" internationalPrefix="011"
+ nationalPrefix="1">
<references>
<sourceUrl>http://www.itu.int/oth/T0202000027/en</sourceUrl>
</references>
<generalDesc>
- <!-- NANPA country - uses US formatting rules -->
<nationalNumberPattern>[3589]\d{9}</nationalNumberPattern>
</generalDesc>
<!-- The 800 NXX code is listed as being "national only", but we successfully reached numbers
from Switzerland with this prefix so do not list it as noInternationalDialling. -->
<fixedLine>
+ <possibleLengths national="10" localOnly="7"/>
+ <exampleNumber>3452221234</exampleNumber>
<!-- The Westtel numbers in the plan seem now to be live and assigned to fixed-line phones,
as per numbers found online and their website http://www.logic.ky. -->
<nationalNumberPattern>
@@ -14979,11 +14949,11 @@
)
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="10" localOnly="7"/>
- <exampleNumber>3452221234</exampleNumber>
</fixedLine>
<mobile>
- <!-- Adding central office codes 321, 322, 328, 576, 923 & 936 from numbers found online.
+ <possibleLengths national="10" localOnly="7"/>
+ <exampleNumber>3453231234</exampleNumber>
+ <!-- Adding central office codes 321, 322, 328, 576, 923 and 936 from numbers found online.
Most central office codes that were surrendered have not been included, with the
exception of 546 where numbers have been found. -->
<nationalNumberPattern>
@@ -15002,15 +14972,15 @@
)
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="10" localOnly="7"/>
- <exampleNumber>3453231234</exampleNumber>
</mobile>
<pager>
- <nationalNumberPattern>345849\d{4}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>3458491234</exampleNumber>
+ <nationalNumberPattern>345849\d{4}</nationalNumberPattern>
</pager>
<tollFree>
+ <possibleLengths national="10"/>
+ <exampleNumber>8002345678</exampleNumber>
<nationalNumberPattern>
8(?:
00|
@@ -15022,18 +14992,18 @@
88
)[2-9]\d{6}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>8002345678</exampleNumber>
</tollFree>
<premiumRate>
+ <possibleLengths national="10"/>
+ <exampleNumber>9002345678</exampleNumber>
<nationalNumberPattern>
900[2-9]\d{6}|
345976\d{4}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>9002345678</exampleNumber>
</premiumRate>
<personalNumber>
+ <possibleLengths national="10"/>
+ <exampleNumber>5002345678</exampleNumber>
<!-- https://www.nationalnanpa.com/number_resource_info/5XX_codes.html -->
<nationalNumberPattern>
5(?:
@@ -15046,22 +15016,20 @@
88
)[2-9]\d{6}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>5002345678</exampleNumber>
</personalNumber>
</territory>
<!-- Kazakhstan -->
- <territory id="KZ" countryCode="7" preferredInternationalPrefix="8~10"
- internationalPrefix="810" nationalPrefix="8">
+ <!-- Country calling code and formatting shared with 'RU' -->
+ <territory id="KZ" countryCode="7" preferredInternationalPrefix="8~10" internationalPrefix="810"
+ nationalPrefix="8">
<references>
<sourceUrl>http://www.itu.int/oth/T020200006F/en</sourceUrl>
<sourceUrl>https://telecom.kz/en/catalog/kazahstan.171777/5</sourceUrl>
</references>
- <!-- Formatting rules obtained from Russia. -->
+ <!-- We make this as specific as possible to overlap as little as possible with Russia, so
+ determining the country is faster. -->
<generalDesc>
- <!-- We make this as specific as possible to overlap as little as possible with Russia, so
- determining the country is faster. -->
<nationalNumberPattern>
(?:
33\d|
@@ -15071,11 +15039,13 @@
</nationalNumberPattern>
</generalDesc>
<noInternationalDialling>
- <nationalNumberPattern>751\d{7}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>7511234567</exampleNumber>
+ <nationalNumberPattern>751\d{7}</nationalNumberPattern>
</noInternationalDialling>
<fixedLine>
+ <possibleLengths national="10"/>
+ <exampleNumber>7123456789</exampleNumber>
<!-- VSAT numbers are also included here. We also include the area code for Baikonur (336
22), which is within Kazakhstan but in fact rented and administered by Russia at the
moment. Added 7279 from numbers found online. -->
@@ -15178,10 +15148,10 @@
)
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>7123456789</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="10"/>
+ <exampleNumber>7710009998</exampleNumber>
<!-- Added 708 for Altel, 776 for Beeline, 747 for Tele2, confirmed by
https://ru.wikipedia.org/wiki/Телефонный_план_нумерации_Казахстана -->
<nationalNumberPattern>
@@ -15193,29 +15163,27 @@
85
)\d{7}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>7710009998</exampleNumber>
</mobile>
<tollFree>
- <nationalNumberPattern>800\d{7}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>8001234567</exampleNumber>
+ <nationalNumberPattern>800\d{7}</nationalNumberPattern>
</tollFree>
<premiumRate>
- <nationalNumberPattern>809\d{7}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>8091234567</exampleNumber>
+ <nationalNumberPattern>809\d{7}</nationalNumberPattern>
</premiumRate>
<voip>
- <nationalNumberPattern>751\d{7}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>7511234567</exampleNumber>
+ <nationalNumberPattern>751\d{7}</nationalNumberPattern>
</voip>
</territory>
<!-- Lao People's Dem. Rep. -->
- <territory id="LA" countryCode="856" internationalPrefix="00"
- nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
+ <territory id="LA" countryCode="856" internationalPrefix="00" nationalPrefix="0"
+ nationalPrefixFormattingRule="$NP$FG">
<references>
<!-- Seems incomplete -->
<sourceUrl>http://www.itu.int/oth/T0202000075/en</sourceUrl>
@@ -15243,6 +15211,8 @@
<nationalNumberPattern>[2-8]\d{7,9}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="8,9" localOnly="6"/>
+ <exampleNumber>21212862</exampleNumber>
<!-- The Lonely Planet says that newer WIN phones (fixed phones without a physical landline)
start with 030 (and are longer). There are plenty of examples online. -->
<nationalNumberPattern>
@@ -15257,10 +15227,10 @@
8[1468]
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="8,9" localOnly="6"/>
- <exampleNumber>21212862</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="10"/>
+ <exampleNumber>2023123456</exampleNumber>
<!-- Adding 202[89], 205[289], 207[68] and 209[15-7] from numbers found online. -->
<nationalNumberPattern>
20(?:
@@ -15270,10 +15240,7 @@
9[125-9]
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>2023123456</exampleNumber>
</mobile>
- <!-- No information on other types of phone numbers for Lao P.D.R. has been found. -->
</territory>
<!-- Lebanon -->
@@ -15294,7 +15261,7 @@
)|
8[02-9]|
9
- </leadingDigits>
+ </leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
<numberFormat pattern="([7-9]\d)(\d{3})(\d{3})">
@@ -15314,6 +15281,8 @@
<nationalNumberPattern>[13-9]\d{6,7}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="7"/>
+ <exampleNumber>1123456</exampleNumber>
<nationalNumberPattern>
(?:
[14-6]\d{2}|
@@ -15327,10 +15296,10 @@
9\d{2}
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="7"/>
- <exampleNumber>1123456</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="7,8"/>
+ <exampleNumber>71123456</exampleNumber>
<!-- We only validate the first three digits here, since the ranges are growing rapidly.
The 79[02-9] prefixes were added from bug reports and numbers found online. -->
<nationalNumberPattern>
@@ -15345,32 +15314,32 @@
81\d
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="7,8"/>
- <exampleNumber>71123456</exampleNumber>
</mobile>
<premiumRate>
- <nationalNumberPattern>9[01]\d{6}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>90123456</exampleNumber>
+ <nationalNumberPattern>9[01]\d{6}</nationalNumberPattern>
</premiumRate>
<sharedCost>
- <nationalNumberPattern>80\d{6}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>80123456</exampleNumber>
+ <nationalNumberPattern>80\d{6}</nationalNumberPattern>
</sharedCost>
</territory>
<!-- Saint Lucia -->
- <territory id="LC" countryCode="1" leadingDigits="758" nationalPrefix="1"
- internationalPrefix="011">
+ <!-- Country calling code and formatting shared with 'US' -->
+ <territory id="LC" countryCode="1" leadingDigits="758" internationalPrefix="011"
+ nationalPrefix="1">
<references>
<sourceUrl>http://www.itu.int/oth/T02020000B1/en</sourceUrl>
</references>
<generalDesc>
- <!-- NANPA country - uses US formatting rules -->
<nationalNumberPattern>[5789]\d{9}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="10" localOnly="7"/>
+ <exampleNumber>7584305678</exampleNumber>
<!-- Adding 430 since numbers have been found with these prefixes online. -->
<nationalNumberPattern>
758(?:
@@ -15384,10 +15353,10 @@
638
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="10" localOnly="7"/>
- <exampleNumber>7584305678</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="10" localOnly="7"/>
+ <exampleNumber>7582845678</exampleNumber>
<nationalNumberPattern>
758(?:
28[4-7]|
@@ -15407,10 +15376,10 @@
)
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="10" localOnly="7"/>
- <exampleNumber>7582845678</exampleNumber>
</mobile>
<tollFree>
+ <possibleLengths national="10"/>
+ <exampleNumber>8002123456</exampleNumber>
<nationalNumberPattern>
8(?:
00|
@@ -15422,15 +15391,15 @@
88
)[2-9]\d{6}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>8002123456</exampleNumber>
</tollFree>
<premiumRate>
- <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>9002123456</exampleNumber>
+ <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
</premiumRate>
<personalNumber>
+ <possibleLengths national="10"/>
+ <exampleNumber>5002345678</exampleNumber>
<!-- https://www.nationalnanpa.com/number_resource_info/5XX_codes.html -->
<nationalNumberPattern>
5(?:
@@ -15443,16 +15412,14 @@
88
)[2-9]\d{6}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>5002345678</exampleNumber>
</personalNumber>
</territory>
<!-- Liechtenstein -->
<!-- The national prefix of "0" is only used for 0800 and 0900 numbers. Three carrier-selection
- codes are in use.-->
+ codes are in use. -->
<territory id="LI" countryCode="423" internationalPrefix="00" nationalPrefix="0"
- nationalPrefixForParsing="0|10(?:01|20|66)" >
+ nationalPrefixForParsing="0|10(?:01|20|66)">
<references>
<sourceUrl>http://www.llv.li/#/11193</sourceUrl>
<sourceUrl>https://www.itu.int/oth/T020200007B/en</sourceUrl>
@@ -15484,6 +15451,8 @@
</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="7"/>
+ <exampleNumber>2345678</exampleNumber>
<nationalNumberPattern>
(?:
2(?:
@@ -15500,10 +15469,10 @@
)
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="7"/>
- <exampleNumber>2345678</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="7,9"/>
+ <exampleNumber>660234567</exampleNumber>
<nationalNumberPattern>
6(?:
5(?:
@@ -15524,22 +15493,22 @@
56
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="7,9"/>
- <exampleNumber>660234567</exampleNumber>
</mobile>
<!-- The prefix 809 seems to be used for AT&T and Verizon access lines from Liechtenstein,
even though it doesn't appear in the plan. -->
<tollFree>
+ <possibleLengths national="7"/>
+ <exampleNumber>8002222</exampleNumber>
<nationalNumberPattern>
80(?:
02[28]|
9\d{2}
)\d{2}
</nationalNumberPattern>
- <possibleLengths national="7"/>
- <exampleNumber>8002222</exampleNumber>
</tollFree>
<premiumRate>
+ <possibleLengths national="7"/>
+ <exampleNumber>9002222</exampleNumber>
<nationalNumberPattern>
90(?:
02[258]|
@@ -15550,20 +15519,20 @@
66[136]
)\d{2}
</nationalNumberPattern>
- <possibleLengths national="7"/>
- <exampleNumber>9002222</exampleNumber>
</premiumRate>
<uan>
+ <possibleLengths national="7"/>
+ <exampleNumber>8702812</exampleNumber>
<nationalNumberPattern>
870(?:
28|
87
)\d{2}
</nationalNumberPattern>
- <possibleLengths national="7"/>
- <exampleNumber>8702812</exampleNumber>
</uan>
<voicemail>
+ <possibleLengths national="9"/>
+ <exampleNumber>697861234</exampleNumber>
<nationalNumberPattern>
697(?:
42|
@@ -15571,14 +15540,12 @@
[78]\d
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>697861234</exampleNumber>
</voicemail>
</territory>
<!-- Sri Lanka -->
- <territory id="LK" countryCode="94" internationalPrefix="00"
- nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
+ <territory id="LK" countryCode="94" internationalPrefix="00" nationalPrefix="0"
+ nationalPrefixFormattingRule="$NP$FG">
<references>
<sourceUrl>http://en.wikipedia.org/wiki/%2B94</sourceUrl>
<sourceUrl>http://www.itu.int/oth/T02020000C3/en</sourceUrl>
@@ -15597,38 +15564,43 @@
<nationalNumberPattern>[1-9]\d{8}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="9" localOnly="7"/>
+ <exampleNumber>112345678</exampleNumber>
+ <!-- Prefix 1973 is assigned to SriLankan Airlines in various locations. -->
<nationalNumberPattern>
+ 1(?:
+ 1[2-57]\d{6}|
+ 973\d{5}
+ )|
(?:
- [189]1|
2[13-7]|
3[1-8]|
4[157]|
5[12457]|
- 6[35-7]
+ 6[35-7]|
+ [89]1
)[2-57]\d{6}
</nationalNumberPattern>
- <possibleLengths national="9" localOnly="7"/>
- <exampleNumber>112345678</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="9"/>
+ <exampleNumber>712345678</exampleNumber>
<!-- Adding the prefix 76 for Dialog, based on information from open-source users. -->
<!-- Adding Prefix 702 and 703 based on update from Mobitel which has verified these
prefixes to be correct. -->
<nationalNumberPattern>7[0125-8]\d{7}</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>712345678</exampleNumber>
</mobile>
</territory>
<!-- Liberia -->
- <territory id="LR" countryCode="231" internationalPrefix="00"
- nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
+ <territory id="LR" countryCode="231" internationalPrefix="00" nationalPrefix="0"
+ nationalPrefixFormattingRule="$NP$FG">
<references>
<sourceUrl>http://www.itu.int/oth/T0202000079/en</sourceUrl>
</references>
<availableFormats>
<!-- Formatting from Ministry of Agriculture,
- http://www.moa.gov.lr/content.php?sub=Email&?related=Contacts -->
+ http://www.moa.gov.lr/content.php?sub=Email&?related=Contacts -->
<numberFormat pattern="(2\d)(\d{3})(\d{3})">
<leadingDigits>2</leadingDigits>
<format>$1 $2 $3</format>
@@ -15651,39 +15623,41 @@
</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="8,9"/>
+ <exampleNumber>21234567</exampleNumber>
<nationalNumberPattern>
(?:
2\d{3}|
33333
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="8,9"/>
- <exampleNumber>21234567</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="7,9"/>
+ <exampleNumber>770123456</exampleNumber>
<!-- West Africa Telecom seems to be a mobile company from their website. -->
<nationalNumberPattern>
(?:
20\d{2}|
330\d|
4[67]|
- 5(?:55)?\d|
+ 5(?:
+ 55
+ )?\d|
77\d{2}|
88\d{2}
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="7,9"/>
- <exampleNumber>770123456</exampleNumber>
</mobile>
<premiumRate>
+ <possibleLengths national="9"/>
+ <exampleNumber>332021234</exampleNumber>
<nationalNumberPattern>
332(?:
02|
[2-5]\d
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>332021234</exampleNumber>
</premiumRate>
</territory>
@@ -15702,28 +15676,27 @@
<nationalNumberPattern>[2568]\d{7}</nationalNumberPattern>
</generalDesc>
<fixedLine>
- <nationalNumberPattern>2\d{7}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>22123456</exampleNumber>
+ <nationalNumberPattern>2\d{7}</nationalNumberPattern>
</fixedLine>
<mobile>
- <nationalNumberPattern>[56]\d{7}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>50123456</exampleNumber>
+ <nationalNumberPattern>[56]\d{7}</nationalNumberPattern>
</mobile>
<tollFree>
- <nationalNumberPattern>800[256]\d{4}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>80021234</exampleNumber>
+ <nationalNumberPattern>800[256]\d{4}</nationalNumberPattern>
</tollFree>
</territory>
<!-- Lithuania -->
<!-- Note that Lithuania is switching to a national prefix of 0. We support
both 0 and 8 when parsing until this switch is complete. -->
- <territory id="LT" countryCode="370" internationalPrefix="00"
- nationalPrefix="8" nationalPrefixForParsing="[08]"
- nationalPrefixFormattingRule="($NP-$FG)"
+ <territory id="LT" countryCode="370" internationalPrefix="00" nationalPrefix="8"
+ nationalPrefixForParsing="[08]" nationalPrefixFormattingRule="($NP-$FG)"
nationalPrefixOptionalWhenFormatting="true" mobileNumberPortableRegion="true">
<references>
<sourceUrl>http://www.itu.int/oth/T020200007C/en</sourceUrl>
@@ -15755,8 +15728,7 @@
</leadingDigits>
<format>$1 $2</format>
</numberFormat>
- <numberFormat pattern="([7-9]\d{2})(\d{2})(\d{3})"
- nationalPrefixFormattingRule="$NP $FG">
+ <numberFormat pattern="([7-9]\d{2})(\d{2})(\d{3})" nationalPrefixFormattingRule="$NP $FG">
<leadingDigits>[7-9]</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
@@ -15769,6 +15741,8 @@
<nationalNumberPattern>[3-9]\d{7}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="8"/>
+ <exampleNumber>31234567</exampleNumber>
<nationalNumberPattern>
(?:
3[1478]|
@@ -15776,44 +15750,42 @@
52
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>31234567</exampleNumber>
</fixedLine>
<mobile>
- <nationalNumberPattern>6\d{7}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>61234567</exampleNumber>
+ <nationalNumberPattern>6\d{7}</nationalNumberPattern>
</mobile>
<tollFree>
- <nationalNumberPattern>800\d{5}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>80012345</exampleNumber>
+ <nationalNumberPattern>800\d{5}</nationalNumberPattern>
</tollFree>
<premiumRate>
+ <possibleLengths national="8"/>
+ <exampleNumber>90012345</exampleNumber>
<nationalNumberPattern>
9(?:
0[0239]|
10
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>90012345</exampleNumber>
</premiumRate>
<sharedCost>
- <nationalNumberPattern>808\d{5}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>80812345</exampleNumber>
+ <nationalNumberPattern>808\d{5}</nationalNumberPattern>
</sharedCost>
<personalNumber>
- <nationalNumberPattern>700\d{5}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>70012345</exampleNumber>
+ <nationalNumberPattern>700\d{5}</nationalNumberPattern>
</personalNumber>
<uan>
- <!-- Including government service numbers here too. -->
- <nationalNumberPattern>70[67]\d{5}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>70712345</exampleNumber>
+ <!-- Including government service numbers here too. -->
+ <nationalNumberPattern>70[67]\d{5}</nationalNumberPattern>
</uan>
</territory>
@@ -15854,8 +15826,7 @@
</numberFormat>
<!-- The pattern for 7-digit numbers starting with 20 here will never be reached - but since
we want this pattern to apply for 8-digit numbers with a 20 prefix, we include 20 in
- the leading digits. This is also done for 9-10 digit numbers starting with 20 below.
- -->
+ the leading digits. This is also done for 9-10 digit numbers starting with 20 below. -->
<numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{1,2})">
<leadingDigits>
2(?:
@@ -15879,8 +15850,7 @@
<format>$1 $2 $3 $4 $5</format>
</numberFormat>
<!-- We consider numbers starting with 240 and 249 valid, but we do not format them, as we
- found no examples of such numbers online.
- -->
+ found no examples of such numbers online. -->
<numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{1,4})">
<leadingDigits>
2(?:
@@ -15913,9 +15883,9 @@
<format>$1 $2 $3</format>
</numberFormat>
</availableFormats>
+ <!-- The country-code is an impossible number prefix, so has been excluded here. This is
+ necessary since the numbers have a variable number length. -->
<generalDesc>
- <!-- The country-code is an impossible number prefix, so has been excluded here. This is
- necessary since the numbers have a variable number length. -->
<nationalNumberPattern>
[24-9]\d{3,10}|
3(?:
@@ -15925,6 +15895,8 @@
</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="[4-11]"/>
+ <exampleNumber>27123456</exampleNumber>
<!-- Even though 20 is listed in the fixed-line plan, other documentation clarify that it is
for VOIP. Furthermore, even though the plan says that numbers beginning with 2[346-8]
by default are 8 digits, from information found online it seems that they can actually
@@ -15945,35 +15917,35 @@
)\d{1,8}
)
</nationalNumberPattern>
- <possibleLengths national="[4-11]"/>
- <exampleNumber>27123456</exampleNumber>
</fixedLine>
<mobile>
- <nationalNumberPattern>6[25-79][18]\d{6}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>628123456</exampleNumber>
+ <nationalNumberPattern>6[25-79][18]\d{6}</nationalNumberPattern>
</mobile>
<tollFree>
- <nationalNumberPattern>800\d{5}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>80012345</exampleNumber>
+ <nationalNumberPattern>800\d{5}</nationalNumberPattern>
</tollFree>
<premiumRate>
- <nationalNumberPattern>90[015]\d{5}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>90012345</exampleNumber>
+ <nationalNumberPattern>90[015]\d{5}</nationalNumberPattern>
</premiumRate>
<sharedCost>
- <nationalNumberPattern>801\d{5}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>80112345</exampleNumber>
+ <nationalNumberPattern>801\d{5}</nationalNumberPattern>
</sharedCost>
<personalNumber>
- <nationalNumberPattern>70\d{6}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>70123456</exampleNumber>
+ <nationalNumberPattern>70\d{6}</nationalNumberPattern>
</personalNumber>
<voip>
+ <possibleLengths national="[4-10]"/>
+ <exampleNumber>20201234</exampleNumber>
<!-- The document says the normal length will be 8 digits, but many numbers found online
deviate from that. The prefixes from the following document have been added:
http://www.ilr.public.lu/communications_electroniques/numerotation/plan_nat_num/numeros_geographiques_geo.pdf
@@ -15987,8 +15959,6 @@
[2-689]\d{1,7}
)
</nationalNumberPattern>
- <possibleLengths national="[4-10]"/>
- <exampleNumber>20201234</exampleNumber>
</voip>
</territory>
@@ -16007,29 +15977,29 @@
<nationalNumberPattern>[2689]\d{7}</nationalNumberPattern>
</generalDesc>
<fixedLine>
- <nationalNumberPattern>6\d{7}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>63123456</exampleNumber>
+ <nationalNumberPattern>6\d{7}</nationalNumberPattern>
</fixedLine>
<mobile>
- <nationalNumberPattern>2\d{7}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>21234567</exampleNumber>
+ <nationalNumberPattern>2\d{7}</nationalNumberPattern>
</mobile>
<tollFree>
- <nationalNumberPattern>80\d{6}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>80123456</exampleNumber>
+ <nationalNumberPattern>80\d{6}</nationalNumberPattern>
</tollFree>
<premiumRate>
- <nationalNumberPattern>90\d{6}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>90123456</exampleNumber>
+ <nationalNumberPattern>90\d{6}</nationalNumberPattern>
</premiumRate>
<sharedCost>
- <nationalNumberPattern>81\d{6}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>81123456</exampleNumber>
+ <nationalNumberPattern>81\d{6}</nationalNumberPattern>
</sharedCost>
</territory>
@@ -16039,8 +16009,8 @@
operator (Hatef Libya). A new mobile operator Aljeel Aljadeed for Technology will start
using 096 (they are allowing customers to register numbers currently), so their code has
also been added. -->
- <territory id="LY" countryCode="218" internationalPrefix="00"
- nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
+ <territory id="LY" countryCode="218" internationalPrefix="00" nationalPrefix="0"
+ nationalPrefixFormattingRule="$NP$FG">
<references>
<sourceUrl>http://hlc.ly/price.php</sourceUrl>
</references>
@@ -16053,6 +16023,8 @@
<nationalNumberPattern>[25679]\d{8}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="9" localOnly="7"/>
+ <exampleNumber>212345678</exampleNumber>
<nationalNumberPattern>
(?:
2[1345]|
@@ -16061,22 +16033,20 @@
71
)\d{7}
</nationalNumberPattern>
- <possibleLengths national="9" localOnly="7"/>
- <exampleNumber>212345678</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="9"/>
+ <exampleNumber>912345678</exampleNumber>
<!-- The prefix 094 has been added on the strength of numbers found online, and numbers
where SMS messages have been apparently successfully received. -->
<nationalNumberPattern>9[1-6]\d{7}</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>912345678</exampleNumber>
</mobile>
</territory>
<!-- Morocco -->
- <!-- Shares formatting and some metadata with Western Sahara. -->
- <territory id="MA" countryCode="212" internationalPrefix="00" nationalPrefix="0"
- nationalPrefixFormattingRule="$NP$FG" mainCountryForCode="true"
+ <!-- Main region for 'EH' -->
+ <territory id="MA" mainCountryForCode="true" countryCode="212" internationalPrefix="00"
+ nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
mobileNumberPortableRegion="true">
<references>
<sourceUrl>http://www.itu.int/oth/T0202000090/en</sourceUrl>
@@ -16154,12 +16124,14 @@
<format>$1-$2</format>
</numberFormat>
</availableFormats>
+ <!-- Closed numbering plan. -->
<generalDesc>
<nationalNumberPattern>[5-9]\d{8}</nationalNumberPattern>
- <!-- Closed numbering plan. -->
</generalDesc>
<!-- Prefix 5364 was added from a user report. -->
<fixedLine>
+ <possibleLengths national="9"/>
+ <exampleNumber>520123456</exampleNumber>
<nationalNumberPattern>
5(?:
2(?:
@@ -16179,11 +16151,11 @@
5[03]\d{2}
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>520123456</exampleNumber>
</fixedLine>
<!-- Also duplicated in Western Sahara, please ensure you update both. -->
<mobile>
+ <possibleLengths national="9"/>
+ <exampleNumber>650123456</exampleNumber>
<nationalNumberPattern>
(?:
6(?:
@@ -16196,24 +16168,22 @@
)
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>650123456</exampleNumber>
</mobile>
<tollFree>
- <nationalNumberPattern>80\d{7}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>801234567</exampleNumber>
+ <nationalNumberPattern>80\d{7}</nationalNumberPattern>
</tollFree>
<premiumRate>
- <nationalNumberPattern>89\d{7}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>891234567</exampleNumber>
+ <nationalNumberPattern>89\d{7}</nationalNumberPattern>
</premiumRate>
<voip>
- <!-- Putting VSAT numbers here. -->
- <nationalNumberPattern>5924[01]\d{4}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>592401234</exampleNumber>
+ <!-- Putting VSAT numbers here. -->
+ <nationalNumberPattern>5924[01]\d{4}</nationalNumberPattern>
</voip>
</territory>
@@ -16221,8 +16191,8 @@
<!-- We support Kosovo mobile numbers (044, 045) with a Monaco country-code here, as we do not
support Kosovo at the moment. Kosovo seems to use a variety of country codes currently. It
also seems that the national prefix is only used for mobile numbers, not fixed-line. -->
- <territory id="MC" countryCode="377" internationalPrefix="00"
- nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
+ <territory id="MC" countryCode="377" internationalPrefix="00" nationalPrefix="0"
+ nationalPrefixFormattingRule="$NP$FG">
<references>
<sourceUrl>http://www.itu.int/oth/T020200008D/en</sourceUrl>
</references>
@@ -16251,20 +16221,22 @@
<nationalNumberPattern>[34689]\d{7,8}</nationalNumberPattern>
</generalDesc>
<noInternationalDialling>
- <nationalNumberPattern>870\d{5}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>87012345</exampleNumber>
+ <nationalNumberPattern>870\d{5}</nationalNumberPattern>
</noInternationalDialling>
<fixedLine>
+ <possibleLengths national="8"/>
+ <exampleNumber>99123456</exampleNumber>
<!-- Restricted to this as no numbers with the prefix of 91, 95 or 96 have been found. -->
<nationalNumberPattern>
870\d{5}|
9[2-47-9]\d{6}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>99123456</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="8,9"/>
+ <exampleNumber>612345678</exampleNumber>
<!-- 4X mobile numbers are actually used by Kosovo. -->
<nationalNumberPattern>
3\d{7}|
@@ -16274,22 +16246,19 @@
)\d{5}|
6\d{8}
</nationalNumberPattern>
- <possibleLengths national="8,9"/>
- <exampleNumber>612345678</exampleNumber>
</mobile>
<tollFree>
- <nationalNumberPattern>90\d{6}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>90123456</exampleNumber>
+ <nationalNumberPattern>90\d{6}</nationalNumberPattern>
</tollFree>
</territory>
<!-- Moldova, Rep. of -->
<!-- As per the ITU doc, 1010 – 1099 are carrier access codes in Moldova, but we are not sure
of their usage, such as whether they're used for national or international calls. -->
- <territory id="MD" countryCode="373" internationalPrefix="00"
- nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
- mobileNumberPortableRegion="true">
+ <territory id="MD" countryCode="373" internationalPrefix="00" nationalPrefix="0"
+ nationalPrefixFormattingRule="$NP$FG" mobileNumberPortableRegion="true">
<references>
<sourceUrl>http://www.itu.int/oth/T020200008C/en</sourceUrl>
<!-- Announcements -->
@@ -16321,6 +16290,8 @@
<nationalNumberPattern>[235-9]\d{7}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="8"/>
+ <exampleNumber>22212345</exampleNumber>
<nationalNumberPattern>
(?:
2[1-9]\d|
@@ -16331,10 +16302,10 @@
)
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>22212345</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="8"/>
+ <exampleNumber>62112345</exampleNumber>
<!-- Includes prefixes for Interdnestrcom, http://www.idknet.com/. -->
<nationalNumberPattern>
(?:
@@ -16347,35 +16318,33 @@
)
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>62112345</exampleNumber>
</mobile>
<tollFree>
- <nationalNumberPattern>800\d{5}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>80012345</exampleNumber>
+ <nationalNumberPattern>800\d{5}</nationalNumberPattern>
</tollFree>
<premiumRate>
- <nationalNumberPattern>90[056]\d{5}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>90012345</exampleNumber>
+ <nationalNumberPattern>90[056]\d{5}</nationalNumberPattern>
</premiumRate>
<!-- Information came from en.anrceti.md/node/81 -->
<sharedCost>
- <nationalNumberPattern>808\d{5}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>80812345</exampleNumber>
+ <nationalNumberPattern>808\d{5}</nationalNumberPattern>
</sharedCost>
<voip>
- <!-- Used for "nomadic numbers". -->
- <nationalNumberPattern>3[08]\d{6}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>30123456</exampleNumber>
+ <!-- Used for "nomadic numbers". -->
+ <nationalNumberPattern>3[08]\d{6}</nationalNumberPattern>
</voip>
<uan>
- <nationalNumberPattern>803\d{5}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>80312345</exampleNumber>
+ <nationalNumberPattern>803\d{5}</nationalNumberPattern>
</uan>
</territory>
@@ -16404,6 +16373,8 @@
<nationalNumberPattern>[2-9]\d{7,8}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="8" localOnly="6"/>
+ <exampleNumber>30234567</exampleNumber>
<!-- Fixed line numbers have prefix 20,30,31,32,33,40,41,50,51,52 followed by 6 digits.
The valid options for the third digit were from
http://www.ekip.me/numeracija/dodijeljena.php -->
@@ -16426,10 +16397,10 @@
)
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="8" localOnly="6"/>
- <exampleNumber>30234567</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="8"/>
+ <exampleNumber>67622901</exampleNumber>
<!-- According to ITU it is possible for mobile numbers to be 4-12 digits long
(http://www.itu.int/oth/T02020000DA/en). However, in reality they seem to be 8 digits
long. In particular, http://www.ekip.me/numeracija/dodijeljena.php mentions 67[0-2]
@@ -16443,15 +16414,15 @@
[7-9]\d{2}
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>67622901</exampleNumber>
</mobile>
<tollFree>
- <nationalNumberPattern>80[0-258]\d{5}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>80080002</exampleNumber>
+ <nationalNumberPattern>80[0-258]\d{5}</nationalNumberPattern>
</tollFree>
<premiumRate>
+ <possibleLengths national="8"/>
+ <exampleNumber>94515151</exampleNumber>
<!-- Numbers with prefix 94 or 95 are services with additional charges. -->
<nationalNumberPattern>
(?:
@@ -16461,33 +16432,33 @@
)
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>94515151</exampleNumber>
</premiumRate>
<voip>
- <nationalNumberPattern>78[1-49]\d{5}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>78108780</exampleNumber>
+ <nationalNumberPattern>78[1-49]\d{5}</nationalNumberPattern>
</voip>
<uan>
- <nationalNumberPattern>77[1-9]\d{5}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>77273012</exampleNumber>
+ <nationalNumberPattern>77[1-9]\d{5}</nationalNumberPattern>
</uan>
</territory>
<!-- Saint-Martin, French Antilles -->
+ <!-- Country calling code and formatting shared with 'GP' -->
<territory id="MF" countryCode="590" internationalPrefix="00" nationalPrefix="0">
<references>
<sourceUrl>http://www.itu.int/oth/T0202000058/en</sourceUrl>
<!-- Linked from http://www.arcep.fr/index.php?id=interactivenumeros -->
<sourceUrl>http://www.arcep.fr/fileadmin/reprise/dossiers/numero/ZABPQ-ZNE.xls</sourceUrl>
</references>
- <!-- Formatting rules borrowed from Guadeloupe. -->
<generalDesc>
<nationalNumberPattern>[56]\d{8}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="9"/>
+ <exampleNumber>590271234</exampleNumber>
<nationalNumberPattern>
590(?:
[02][79]|
@@ -16496,10 +16467,10 @@
[78]7
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>590271234</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="9"/>
+ <exampleNumber>690001234</exampleNumber>
<!-- 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
@@ -16511,14 +16482,12 @@
[1-9]\d
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>690001234</exampleNumber>
</mobile>
</territory>
<!-- Madagascar -->
- <territory id="MG" countryCode="261" internationalPrefix="00"
- nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
+ <territory id="MG" countryCode="261" internationalPrefix="00" nationalPrefix="0"
+ nationalPrefixFormattingRule="$NP$FG">
<references>
<sourceUrl>http://www.itu.int/oth/T020200007F/en</sourceUrl>
</references>
@@ -16531,6 +16500,8 @@
<nationalNumberPattern>[23]\d{8}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="9" localOnly="7"/>
+ <exampleNumber>202123456</exampleNumber>
<!-- Added the prefixes 20 44 and 20 47 as they seem popular on the internet - the plan says
20 4 is for the rest of the province of Antanarivo, but then fails to mention any area
codes beginning with 4. -->
@@ -16548,21 +16519,19 @@
9[245]\d
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="9" localOnly="7"/>
- <exampleNumber>202123456</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="9"/>
+ <exampleNumber>321234567</exampleNumber>
<!-- The numbering plan suggests the third digit, Z, should be 24-9, but this is not borne
out by reality. -->
<nationalNumberPattern>3[2-49]\d{7}</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>321234567</exampleNumber>
</mobile>
<!-- Putting VSAT numbers here. -->
<voip>
- <nationalNumberPattern>22\d{7}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>221234567</exampleNumber>
+ <nationalNumberPattern>22\d{7}</nationalNumberPattern>
</voip>
</territory>
@@ -16580,6 +16549,8 @@
<nationalNumberPattern>[2-6]\d{6}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="7"/>
+ <exampleNumber>2471234</exampleNumber>
<nationalNumberPattern>
(?:
247|
@@ -16587,10 +16558,10 @@
625
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="7"/>
- <exampleNumber>2471234</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="7"/>
+ <exampleNumber>2351234</exampleNumber>
<nationalNumberPattern>
(?:
235|
@@ -16599,21 +16570,18 @@
545
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="7"/>
- <exampleNumber>2351234</exampleNumber>
</mobile>
<voip>
- <!-- VSAT prefixes are here. -->
- <nationalNumberPattern>635\d{4}</nationalNumberPattern>
<possibleLengths national="7"/>
<exampleNumber>6351234</exampleNumber>
+ <!-- VSAT prefixes are here. -->
+ <nationalNumberPattern>635\d{4}</nationalNumberPattern>
</voip>
</territory>
<!-- Macedonia, Former Yugoslav Rep. of -->
- <territory id="MK" countryCode="389" internationalPrefix="00"
- nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
- mobileNumberPortableRegion="true">
+ <territory id="MK" countryCode="389" internationalPrefix="00" nationalPrefix="0"
+ nationalPrefixFormattingRule="$NP$FG" mobileNumberPortableRegion="true">
<references>
<sourceUrl>http://www.itu.int/oth/T02020000CE/en</sourceUrl>
</references>
@@ -16636,6 +16604,8 @@
<nationalNumberPattern>[2-578]\d{7}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="8" localOnly="6,7"/>
+ <exampleNumber>22212345</exampleNumber>
<nationalNumberPattern>
(?:
2(?:
@@ -16658,12 +16628,12 @@
)
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="8" localOnly="6,7"/>
- <exampleNumber>22212345</exampleNumber>
</fixedLine>
<!-- 79300-79375 were the only ranges assigned to one.Vip according to IR.21 docs. We support
all of 793 to keep the regex simple. -->
<mobile>
+ <possibleLengths national="8"/>
+ <exampleNumber>72345678</exampleNumber>
<nationalNumberPattern>
7(?:
[0-25-8]\d{2}|
@@ -16672,28 +16642,26 @@
9[23]\d
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>72345678</exampleNumber>
</mobile>
<tollFree>
- <nationalNumberPattern>800\d{5}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>80012345</exampleNumber>
+ <nationalNumberPattern>800\d{5}</nationalNumberPattern>
</tollFree>
<premiumRate>
- <nationalNumberPattern>5[02-9]\d{6}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>50012345</exampleNumber>
+ <nationalNumberPattern>5[02-9]\d{6}</nationalNumberPattern>
</premiumRate>
<sharedCost>
+ <possibleLengths national="8"/>
+ <exampleNumber>80123456</exampleNumber>
<nationalNumberPattern>
8(?:
0[1-9]|
[1-9]\d
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>80123456</exampleNumber>
</sharedCost>
</territory>
@@ -16722,11 +16690,13 @@
<nationalNumberPattern>[246-9]\d{7}</nationalNumberPattern>
</generalDesc>
<noInternationalDialling>
- <nationalNumberPattern>80\d{6}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>80012345</exampleNumber>
+ <nationalNumberPattern>80\d{6}</nationalNumberPattern>
</noInternationalDialling>
<fixedLine>
+ <possibleLengths national="8"/>
+ <exampleNumber>20212345</exampleNumber>
<nationalNumberPattern>
(?:
2(?:
@@ -16742,10 +16712,10 @@
44[1239]\d
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>20212345</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="8"/>
+ <exampleNumber>65012345</exampleNumber>
<nationalNumberPattern>
(?:
2(?:
@@ -16756,15 +16726,13 @@
8[239]\d{2}
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>65012345</exampleNumber>
</mobile>
<tollFree>
+ <possibleLengths national="8"/>
+ <exampleNumber>80012345</exampleNumber>
<!-- Online examples have not been found, but this seems to follow the prescriptions in the
plan. -->
<nationalNumberPattern>80\d{6}</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>80012345</exampleNumber>
</tollFree>
</territory>
@@ -16820,7 +16788,7 @@
9(?:
3[0-36]|
4[0-57-9]
- )
+ )
</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
@@ -16842,12 +16810,18 @@
[279]\d{0,2}|
5|
[34]\d{1,2}|
- 6(?:\d{1,2})?|
- 8(?:\d{2})?
+ 6(?:
+ \d{1,2}
+ )?|
+ 8(?:
+ \d{2}
+ )?
)\d{6}
</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="[6-9]" localOnly="5"/>
+ <exampleNumber>1234567</exampleNumber>
<nationalNumberPattern>
1(?:
2\d{1,2}|
@@ -16881,7 +16855,9 @@
4(?:
2[245-8]|
3(?:
- 2(?:02)?|
+ 2(?:
+ 02
+ )?|
[346]|
56?
)|
@@ -16890,7 +16866,9 @@
)\d{4}|
5(?:
2(?:
- 2(?:\d{1,2})?|
+ 2(?:
+ \d{1,2}
+ )?|
[3-8]
)|
3[2-68]|
@@ -16916,7 +16894,9 @@
2[2-6]|
3[24-6]|
4(?:
- 2(?:4\d)?|
+ 2(?:
+ 4\d
+ )?|
[3-6]
)|
5[2-4]|
@@ -16965,10 +16945,10 @@
6[23]\d
)\d{3}
</nationalNumberPattern>
- <possibleLengths national="[6-9]" localOnly="5"/>
- <exampleNumber>1234567</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="[7-10]"/>
+ <exampleNumber>92123456</exampleNumber>
<!-- Added 99[089] (8 digits), 961 (9 digits), 977, 978, 979, 996 and 997 (10 digits) from
bug reports/numbers found online. -->
<nationalNumberPattern>
@@ -17012,20 +16992,17 @@
)
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="[7-10]"/>
- <exampleNumber>92123456</exampleNumber>
</mobile>
<voip>
- <nationalNumberPattern>1333\d{4}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>13331234</exampleNumber>
+ <nationalNumberPattern>1333\d{4}</nationalNumberPattern>
</voip>
- <!-- No information on other types of phone numbers for Myanmar has been found. -->
</territory>
<!-- Mongolia -->
- <territory id="MN" countryCode="976" internationalPrefix="001"
- nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
+ <territory id="MN" countryCode="976" internationalPrefix="001" nationalPrefix="0"
+ nationalPrefixFormattingRule="$NP$FG">
<references>
<sourceUrl>http://www.itu.int/oth/T020200008E/en</sourceUrl>
</references>
@@ -17055,8 +17032,7 @@
</numberFormat>
<!-- It seems from online formatting that the national prefix is not written (or perhaps
needed?) for numbers in these ranges. -->
- <numberFormat pattern="(\d{4})(\d{4})"
- nationalPrefixFormattingRule="$FG">
+ <numberFormat pattern="(\d{4})(\d{4})" nationalPrefixFormattingRule="$FG">
<leadingDigits>[57-9]</leadingDigits>
<format>$1 $2</format>
</numberFormat>
@@ -17083,6 +17059,8 @@
</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="[8-10]" localOnly="6,7"/>
+ <exampleNumber>50123456</exampleNumber>
<!-- Note the leading digit is the access code: 1 is used by Mongolia Telecom subscribers
and 2 is used by Mongolian Railway subscribers. The area code then follows the access
code, and could be 1 to 4 digits long. We also cover wireless local loop numbers here
@@ -17102,10 +17080,10 @@
)\d{5}|
5[0568]\d{6}
</nationalNumberPattern>
- <possibleLengths national="[8-10]" localOnly="6,7"/>
- <exampleNumber>50123456</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="8"/>
+ <exampleNumber>88123456</exampleNumber>
<nationalNumberPattern>
(?:
8(?:
@@ -17115,20 +17093,19 @@
9[013-9]\d
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>88123456</exampleNumber>
</mobile>
<!-- No tollFree or premiumRate information can be found. -->
<voip>
+ <possibleLengths national="8"/>
+ <exampleNumber>75123456</exampleNumber>
<!-- According to the document this could be stricter, but there are counter examples
online. -->
<nationalNumberPattern>7[05-8]\d{6}</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>75123456</exampleNumber>
</voip>
</territory>
<!-- Macao, China -->
+ <!-- No tollFree or premiumRate information can be found. -->
<territory id="MO" countryCode="853" internationalPrefix="00">
<references>
<sourceUrl>http://www.itu.int/oth/T020200007E/en</sourceUrl>
@@ -17143,16 +17120,18 @@
<nationalNumberPattern>[268]\d{7}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="8"/>
+ <exampleNumber>28212345</exampleNumber>
<nationalNumberPattern>
(?:
28[2-57-9]|
8[2-57-9]\d
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>28212345</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="8"/>
+ <exampleNumber>66123456</exampleNumber>
<!-- The 6[23] prefixes are added as SMS messages have been successfully delivered to these
numbers, and they are also widely present on the Internet. -->
<nationalNumberPattern>
@@ -17161,24 +17140,23 @@
8[158]
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>66123456</exampleNumber>
</mobile>
- <!-- No tollFree or premiumRate information can be found. -->
</territory>
<!-- Northern Mariana Islands -->
- <territory id="MP" countryCode="1" leadingDigits="670" nationalPrefix="1"
- internationalPrefix="011">
+ <!-- Country calling code and formatting shared with 'US' -->
+ <territory id="MP" countryCode="1" leadingDigits="670" internationalPrefix="011"
+ nationalPrefix="1">
<references>
<sourceUrl>http://www.itu.int/oth/T02020000EE/en</sourceUrl>
<sourceUrl>http://www.cnmiphonebook.com/</sourceUrl>
</references>
<generalDesc>
- <!-- NANPA country - uses US formatting rules -->
<nationalNumberPattern>[5689]\d{9}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="10" localOnly="7"/>
+ <exampleNumber>6702345678</exampleNumber>
<!-- Extra exchange codes 232, 289, 355, 472, 633, 637, 646, 647, 649, 653, 687, 734 and 828
were seen in the white and yellow pages, but no numbers with these exchange codes have
proved to be diallable so we exclude them for now. 783 prefix is supported based on
@@ -17210,10 +17188,10 @@
989
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="10" localOnly="7"/>
- <exampleNumber>6702345678</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="10" localOnly="7"/>
+ <exampleNumber>6702345678</exampleNumber>
<nationalNumberPattern>
670(?:
2(?:
@@ -17241,10 +17219,10 @@
989
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="10" localOnly="7"/>
- <exampleNumber>6702345678</exampleNumber>
</mobile>
<tollFree>
+ <possibleLengths national="10"/>
+ <exampleNumber>8002123456</exampleNumber>
<nationalNumberPattern>
8(?:
00|
@@ -17256,15 +17234,15 @@
88
)[2-9]\d{6}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>8002123456</exampleNumber>
</tollFree>
<premiumRate>
- <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>9002123456</exampleNumber>
+ <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
</premiumRate>
<personalNumber>
+ <possibleLengths national="10"/>
+ <exampleNumber>5002345678</exampleNumber>
<!-- https://www.nationalnanpa.com/number_resource_info/5XX_codes.html -->
<nationalNumberPattern>
5(?:
@@ -17277,14 +17255,15 @@
88
)[2-9]\d{6}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>5002345678</exampleNumber>
</personalNumber>
</territory>
<!-- Martinique (French Dept. of) -->
- <territory id="MQ" countryCode="596" internationalPrefix="00"
- nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
+ <!-- The 876 prefix is mentioned in the plan, but the plan is from 2006 and in France VOIP
+ numbers were changed from 087 to the 09 prefix in 2009. It is likely this occurred here
+ too. -->
+ <territory id="MQ" countryCode="596" internationalPrefix="00" nationalPrefix="0"
+ nationalPrefixFormattingRule="$NP$FG">
<references>
<sourceUrl>http://www.itu.int/oth/T0202000086/en</sourceUrl>
<sourceUrl>http://www.arcep.fr/index.php?id=2137&amp;bloc=0596&amp;CMD=RESULTS_NUMEROTATION</sourceUrl>
@@ -17298,6 +17277,8 @@
<nationalNumberPattern>[56]\d{8}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="9"/>
+ <exampleNumber>596301234</exampleNumber>
<nationalNumberPattern>
596(?:
0[2-5]|
@@ -17309,10 +17290,10 @@
9[4-8]
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>596301234</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="9"/>
+ <exampleNumber>696201234</exampleNumber>
<!-- Ranges are updated based on below official page. Search using prefix 0696X. Ex: 06965
http://www.arcep.fr/index.php?id=2137&amp;bloc=0596&amp;CMD=RESULTS_NUMEROTATION -->
<nationalNumberPattern>
@@ -17322,16 +17303,11 @@
6[0-4]
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>696201234</exampleNumber>
</mobile>
- <!-- The 876 prefix is mentioned in the plan, but the plan is from 2006 and in France VOIP
- numbers were changed from 087 to the 09 prefix in 2009. It is likely this occurred here
- too. -->
</territory>
<!-- Mauritania -->
- <territory id="MR" countryCode="222" internationalPrefix="00" >
+ <territory id="MR" countryCode="222" internationalPrefix="00">
<references>
<sourceUrl>http://www.itu.int/oth/T0202000087/en</sourceUrl>
<sourceUrl>http://are.mr/pdfs/pnn2010.pdf</sourceUrl>
@@ -17345,51 +17321,52 @@
<nationalNumberPattern>[2-48]\d{7}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="8"/>
+ <exampleNumber>35123456</exampleNumber>
<nationalNumberPattern>
25[08]\d{5}|
35\d{6}|
45[1-7]\d{5}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>35123456</exampleNumber>
</fixedLine>
<!-- Added "49\d" in response to https://github.com/googlei18n/libphonenumber/issues/529
which might be overly permissive, but we don't have an official documentation for this
- and only a small number of numbers were found online. At least 492 and 495 are valid.
- -->
+ and only a small number of numbers were found online. At least 492 and 495 are valid. -->
<mobile>
- <nationalNumberPattern>[234][0-46-9]\d{6}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>22123456</exampleNumber>
+ <nationalNumberPattern>[234][0-46-9]\d{6}</nationalNumberPattern>
</mobile>
<tollFree>
- <nationalNumberPattern>800\d{5}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>80012345</exampleNumber>
+ <nationalNumberPattern>800\d{5}</nationalNumberPattern>
</tollFree>
</territory>
<!-- Montserrat -->
- <territory id="MS" countryCode="1" leadingDigits="664" nationalPrefix="1"
- internationalPrefix="011">
+ <!-- Country calling code and formatting shared with 'US' -->
+ <territory id="MS" countryCode="1" leadingDigits="664" internationalPrefix="011"
+ nationalPrefix="1">
<references>
<sourceUrl>http://www.itu.int/oth/T020200008F/en</sourceUrl>
</references>
<generalDesc>
- <!-- NANPA country - uses US formatting rules -->
<nationalNumberPattern>[5689]\d{9}</nationalNumberPattern>
</generalDesc>
<fixedLine>
- <nationalNumberPattern>664491\d{4}</nationalNumberPattern>
<possibleLengths national="10" localOnly="7"/>
<exampleNumber>6644912345</exampleNumber>
+ <nationalNumberPattern>664491\d{4}</nationalNumberPattern>
</fixedLine>
<mobile>
- <nationalNumberPattern>66449[2-6]\d{4}</nationalNumberPattern>
<possibleLengths national="10" localOnly="7"/>
<exampleNumber>6644923456</exampleNumber>
+ <nationalNumberPattern>66449[2-6]\d{4}</nationalNumberPattern>
</mobile>
<tollFree>
+ <possibleLengths national="10"/>
+ <exampleNumber>8002123456</exampleNumber>
<nationalNumberPattern>
8(?:
00|
@@ -17401,15 +17378,15 @@
88
)[2-9]\d{6}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>8002123456</exampleNumber>
</tollFree>
<premiumRate>
- <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>9002123456</exampleNumber>
+ <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
</premiumRate>
<personalNumber>
+ <possibleLengths national="10"/>
+ <exampleNumber>5002345678</exampleNumber>
<!-- https://www.nationalnanpa.com/number_resource_info/5XX_codes.html -->
<nationalNumberPattern>
5(?:
@@ -17422,8 +17399,6 @@
88
)[2-9]\d{6}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>5002345678</exampleNumber>
</personalNumber>
</territory>
@@ -17443,6 +17418,8 @@
<nationalNumberPattern>[2357-9]\d{7}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="8"/>
+ <exampleNumber>21001234</exampleNumber>
<nationalNumberPattern>
2(?:
0(?:
@@ -17453,10 +17430,10 @@
[1-357]\d{2}
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>21001234</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="8"/>
+ <exampleNumber>96961234</exampleNumber>
<!-- 7210 and 92XX come from the allocations listed on http://www.mca.org.mt, but they are
not listed in the latest ITU document. -->
<nationalNumberPattern>
@@ -17467,8 +17444,8 @@
)|
9(?:
2(?:
- 1[01]|
- 31
+ 1[01]|
+ 31
)|
696|
8(?:
@@ -17480,20 +17457,20 @@
)
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>96961234</exampleNumber>
</mobile>
<pager>
- <nationalNumberPattern>7117\d{4}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>71171234</exampleNumber>
+ <nationalNumberPattern>7117\d{4}</nationalNumberPattern>
</pager>
<tollFree>
- <nationalNumberPattern>800[3467]\d{4}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>80071234</exampleNumber>
+ <nationalNumberPattern>800[3467]\d{4}</nationalNumberPattern>
</tollFree>
<premiumRate>
+ <possibleLengths national="8"/>
+ <exampleNumber>50037123</exampleNumber>
<nationalNumberPattern>
5(?:
0(?:
@@ -17508,27 +17485,25 @@
[12]\d0[1-5]
)\d{3}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>50037123</exampleNumber>
</premiumRate>
<voip>
- <!-- In the plan as Non-PATS ECS. -->
- <nationalNumberPattern>3550\d{4}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>35501234</exampleNumber>
+ <!-- In the plan as Non-PATS ECS. -->
+ <nationalNumberPattern>3550\d{4}</nationalNumberPattern>
</voip>
<uan>
- <!-- Using this for governmental numbers. -->
- <nationalNumberPattern>501\d{5}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>50112345</exampleNumber>
+ <!-- Using this for governmental numbers. -->
+ <nationalNumberPattern>501\d{5}</nationalNumberPattern>
</uan>
</territory>
<!-- Mauritius -->
<!-- Preferred international prefix is expected to standardize on just '00' -->
- <territory id="MU" countryCode="230" internationalPrefix="0(?:0|[2-7]0|33)"
- preferredInternationalPrefix="020">
+ <territory id="MU" countryCode="230" preferredInternationalPrefix="020"
+ internationalPrefix="0(?:0|[2-7]0|33)">
<references>
<sourceUrl>http://www.icta.mu/telecommunications/numbering.htm</sourceUrl>
</references>
@@ -17546,6 +17521,8 @@
<nationalNumberPattern>[2-9]\d{6,7}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="7,8"/>
+ <exampleNumber>2012345</exampleNumber>
<!-- See also: http://www.wtng.info/wtng-230-mu.html for additional detail. -->
<nationalNumberPattern>
(?:
@@ -17569,12 +17546,12 @@
)
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="7,8"/>
- <exampleNumber>2012345</exampleNumber>
</fixedLine>
<!-- Added prefix 580, 581 and 589 as per information from the carrier. The prefixes 584[47]
are added as from a user report and online numbers. -->
<mobile>
+ <possibleLengths national="8"/>
+ <exampleNumber>52512345</exampleNumber>
<nationalNumberPattern>
5(?:
2[59]\d|
@@ -17593,34 +17570,32 @@
9[0-8]\d
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>52512345</exampleNumber>
</mobile>
<tollFree>
- <nationalNumberPattern>80[012]\d{4}</nationalNumberPattern>
<possibleLengths national="7"/>
<exampleNumber>8001234</exampleNumber>
+ <nationalNumberPattern>80[012]\d{4}</nationalNumberPattern>
</tollFree>
<premiumRate>
- <nationalNumberPattern>30\d{5}</nationalNumberPattern>
<possibleLengths national="7"/>
<exampleNumber>3012345</exampleNumber>
+ <nationalNumberPattern>30\d{5}</nationalNumberPattern>
</premiumRate>
<voip>
+ <possibleLengths national="7"/>
+ <exampleNumber>3201234</exampleNumber>
<nationalNumberPattern>
3(?:
20|
9\d
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="7"/>
- <exampleNumber>3201234</exampleNumber>
</voip>
</territory>
<!-- Maldives -->
- <territory id="MV" countryCode="960" internationalPrefix="0(?:0|19)"
- preferredInternationalPrefix="00">
+ <territory id="MV" countryCode="960" preferredInternationalPrefix="00"
+ internationalPrefix="0(?:0|19)">
<references>
<sourceUrl>http://www.itu.int/oth/T0202000082/en</sourceUrl>
<sourceUrl>http://www.dhiraagu.com.mv</sourceUrl>
@@ -17654,6 +17629,8 @@
</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="7"/>
+ <exampleNumber>6701234</exampleNumber>
<nationalNumberPattern>
(?:
3(?:
@@ -17668,10 +17645,10 @@
)
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="7"/>
- <exampleNumber>6701234</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="7"/>
+ <exampleNumber>7712345</exampleNumber>
<!-- 7[45] has been added as many numbers online have been found with this prefix. 46[46]
are new prefixes for Dhiraagu and Ooredoo, used currently for SMS-based services.
91 and 95 were added based on information from Ooredoo Telecom. -->
@@ -17682,38 +17659,36 @@
9[15-9]\d
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="7"/>
- <exampleNumber>7712345</exampleNumber>
</mobile>
<pager>
- <nationalNumberPattern>781\d{4}</nationalNumberPattern>
<possibleLengths national="7"/>
<exampleNumber>7812345</exampleNumber>
+ <nationalNumberPattern>781\d{4}</nationalNumberPattern>
</pager>
<tollFree>
- <nationalNumberPattern>800\d{7}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>8001234567</exampleNumber>
+ <nationalNumberPattern>800\d{7}</nationalNumberPattern>
</tollFree>
<premiumRate>
- <nationalNumberPattern>900\d{7}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>9001234567</exampleNumber>
+ <nationalNumberPattern>900\d{7}</nationalNumberPattern>
</premiumRate>
<!-- 400 and 450 numbers are mentioned in the ITU document as "Non Geographic Fixed Service"
and seem to be used by businesses. -->
<uan>
- <nationalNumberPattern>4[05]0\d{4}</nationalNumberPattern>
<possibleLengths national="7"/>
<exampleNumber>4001234</exampleNumber>
+ <nationalNumberPattern>4[05]0\d{4}</nationalNumberPattern>
</uan>
</territory>
<!-- Malawi -->
<!-- The plan doesn't state that a national prefix exists, but numbers found on the internet are
consistent in having one. -->
- <territory id="MW" countryCode="265" internationalPrefix="00"
- nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
+ <territory id="MW" countryCode="265" internationalPrefix="00" nationalPrefix="0"
+ nationalPrefixFormattingRule="$NP$FG">
<references>
<sourceUrl>http://www.itu.int/oth/T0202000080/en</sourceUrl>
</references>
@@ -17742,6 +17717,8 @@
</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="7,9"/>
+ <exampleNumber>1234567</exampleNumber>
<!-- 14 is no longer mentioned in the plan as a prefix, but plenty of online numbers have
been found so this is being retained for now. It is possible however that these may be
old-format mobile numbers. -->
@@ -17751,10 +17728,10 @@
21\d{2}
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="7,9"/>
- <exampleNumber>1234567</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="9"/>
+ <exampleNumber>991234567</exampleNumber>
<nationalNumberPattern>
(?:
111|
@@ -17763,18 +17740,13 @@
99\d
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>991234567</exampleNumber>
</mobile>
</territory>
<!-- Mexico -->
- <territory id="MX" countryCode="52" internationalPrefix="0[09]"
- nationalPrefix="01"
- nationalPrefixForParsing="0[12]|04[45](\d{10})"
- nationalPrefixTransformRule="1$1"
- nationalPrefixFormattingRule="$NP $FG"
- nationalPrefixOptionalWhenFormatting="true"
+ <territory id="MX" countryCode="52" internationalPrefix="0[09]" nationalPrefix="01"
+ nationalPrefixForParsing="0[12]|04[45](\d{10})" nationalPrefixTransformRule="1$1"
+ nationalPrefixFormattingRule="$NP $FG" nationalPrefixOptionalWhenFormatting="true"
mobileNumberPortableRegion="true">
<references>
<sourceUrl>http://www.itu.int/oth/T020200008A/en</sourceUrl>
@@ -17805,7 +17777,7 @@
</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
- <numberFormat nationalPrefixFormattingRule="$FG" pattern="(1)([358]\d)(\d{4})(\d{4})">
+ <numberFormat pattern="(1)([358]\d)(\d{4})(\d{4})" nationalPrefixFormattingRule="$FG">
<leadingDigits>
1(?:
33|
@@ -17816,7 +17788,7 @@
<format>044 $2 $3 $4</format>
<intlFormat>$1 $2 $3 $4</intlFormat>
</numberFormat>
- <numberFormat nationalPrefixFormattingRule="$FG" pattern="(1)(\d{3})(\d{3})(\d{4})">
+ <numberFormat pattern="(1)(\d{3})(\d{3})(\d{4})" nationalPrefixFormattingRule="$FG">
<leadingDigits>
1(?:
[2467]|
@@ -17834,6 +17806,8 @@
<nationalNumberPattern>[1-9]\d{9,10}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="10" localOnly="7,8"/>
+ <exampleNumber>2221234567</exampleNumber>
<!-- http://en.wikipedia.org/wiki/Area_codes_in_Mexico_by_code -->
<!-- Also covering fixed satellite service numbers (prefixes: 200 and 201). -->
<nationalNumberPattern>
@@ -17904,12 +17878,12 @@
)
)\d{7}
</nationalNumberPattern>
- <possibleLengths national="10" localOnly="7,8"/>
- <exampleNumber>2221234567</exampleNumber>
</fixedLine>
<mobile>
- <!-- Fixed satellite service numbers are not included here, although many other prefixes from
- the fixedLine pattern are. -->
+ <possibleLengths national="11"/>
+ <exampleNumber>12221234567</exampleNumber>
+ <!-- Fixed satellite service numbers are not included here, although many other prefixes from
+ the fixedLine pattern are. -->
<nationalNumberPattern>
1(?:
(?:
@@ -17979,56 +17953,51 @@
)\d{7}
)
</nationalNumberPattern>
- <possibleLengths national="11"/>
- <exampleNumber>12221234567</exampleNumber>
</mobile>
<tollFree>
+ <possibleLengths national="10"/>
+ <exampleNumber>8001234567</exampleNumber>
<nationalNumberPattern>
8(?:
00|
88
)\d{7}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>8001234567</exampleNumber>
</tollFree>
<premiumRate>
- <nationalNumberPattern>900\d{7}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>9001234567</exampleNumber>
+ <nationalNumberPattern>900\d{7}</nationalNumberPattern>
</premiumRate>
<sharedCost>
- <nationalNumberPattern>300\d{7}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>3001234567</exampleNumber>
+ <nationalNumberPattern>300\d{7}</nationalNumberPattern>
</sharedCost>
<personalNumber>
- <nationalNumberPattern>500\d{7}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>5001234567</exampleNumber>
+ <nationalNumberPattern>500\d{7}</nationalNumberPattern>
</personalNumber>
</territory>
<!-- Malaysia -->
- <territory id="MY" countryCode="60" internationalPrefix="00"
- nationalPrefix="0" mobileNumberPortableRegion="true">
+ <territory id="MY" countryCode="60" internationalPrefix="00" nationalPrefix="0"
+ mobileNumberPortableRegion="true">
<references>
<sourceUrl>http://en.wikipedia.org/wiki/%2B60</sourceUrl>
<sourceUrl>https://www.mcmc.gov.my/</sourceUrl>
</references>
<availableFormats>
- <numberFormat nationalPrefixFormattingRule="$NP$FG"
- pattern="([4-79])(\d{3})(\d{4})">
+ <numberFormat pattern="([4-79])(\d{3})(\d{4})" nationalPrefixFormattingRule="$NP$FG">
<leadingDigits>[4-79]</leadingDigits>
<format>$1-$2 $3</format>
</numberFormat>
- <numberFormat nationalPrefixFormattingRule="$NP$FG"
- pattern="(3)(\d{4})(\d{4})">
+ <numberFormat pattern="(3)(\d{4})(\d{4})" nationalPrefixFormattingRule="$NP$FG">
<leadingDigits>3</leadingDigits>
<format>$1-$2 $3</format>
</numberFormat>
- <numberFormat nationalPrefixFormattingRule="$NP$FG"
- pattern="([18]\d)(\d{3})(\d{3,4})">
+ <numberFormat pattern="([18]\d)(\d{3})(\d{3,4})" nationalPrefixFormattingRule="$NP$FG">
<leadingDigits>
1[02-46-9][1-9]|
8
@@ -18039,13 +18008,11 @@
<leadingDigits>1[36-8]0</leadingDigits>
<format>$1-$2-$3-$4</format>
</numberFormat>
- <numberFormat nationalPrefixFormattingRule="$NP$FG"
- pattern="(11)(\d{4})(\d{4})">
+ <numberFormat pattern="(11)(\d{4})(\d{4})" nationalPrefixFormattingRule="$NP$FG">
<leadingDigits>11</leadingDigits>
<format>$1-$2 $3</format>
</numberFormat>
- <numberFormat nationalPrefixFormattingRule="$NP$FG"
- pattern="(15[49])(\d{3})(\d{4})">
+ <numberFormat pattern="(15[49])(\d{3})(\d{4})" nationalPrefixFormattingRule="$NP$FG">
<leadingDigits>15</leadingDigits>
<format>$1-$2 $3</format>
</numberFormat>
@@ -18054,16 +18021,18 @@
<nationalNumberPattern>[13-9]\d{7,9}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="8,9" localOnly="6,7"/>
+ <exampleNumber>323456789</exampleNumber>
<nationalNumberPattern>
(?:
3[2-9]\d|
[4-9][2-9]
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="8,9" localOnly="6,7"/>
- <exampleNumber>323456789</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="9,10"/>
+ <exampleNumber>123456789</exampleNumber>
<!-- Although the plan lists the prefix 159 as broadband services (data only), apparently it
is possible to send SMSs (and receive them) from numbers in this block, so we are
listing them as mobile. 11[4-6] was added based on numbers found online. -->
@@ -18078,28 +18047,29 @@
)
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="9,10"/>
- <exampleNumber>123456789</exampleNumber>
</mobile>
<tollFree>
- <!-- http://www.skmm.gov.my/skmmgovmy/media/General/pdf/Special_Service_Number.pdf -->
- <nationalNumberPattern>1[378]00\d{6}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>1300123456</exampleNumber>
+ <!-- http://www.skmm.gov.my/skmmgovmy/media/General/pdf/Special_Service_Number.pdf -->
+ <nationalNumberPattern>1[378]00\d{6}</nationalNumberPattern>
</tollFree>
<premiumRate>
- <nationalNumberPattern>1600\d{6}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>1600123456</exampleNumber>
+ <nationalNumberPattern>1600\d{6}</nationalNumberPattern>
</premiumRate>
<voip>
- <nationalNumberPattern>154\d{7}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>1541234567</exampleNumber>
+ <nationalNumberPattern>154\d{7}</nationalNumberPattern>
</voip>
</territory>
<!-- Mozambique -->
+ <!-- The plan suggests 801 and 802 numbers are shared-cost numbers, and numbers beginning with
+ a 9 are premium rate, but no online examples can be found of any of these so they are
+ omitted for the time-being. -->
<territory id="MZ" countryCode="258" internationalPrefix="00">
<references>
<sourceUrl>http://www.itu.int/oth/T0202000091/en</sourceUrl>
@@ -18121,6 +18091,8 @@
<nationalNumberPattern>[28]\d{7,8}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="8"/>
+ <exampleNumber>21123456</exampleNumber>
<nationalNumberPattern>
2(?:
[1346]\d|
@@ -18129,29 +18101,24 @@
93
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>21123456</exampleNumber>
</fixedLine>
<mobile>
- <nationalNumberPattern>8[2-7]\d{7}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>821234567</exampleNumber>
+ <nationalNumberPattern>8[2-7]\d{7}</nationalNumberPattern>
</mobile>
<tollFree>
+ <possibleLengths national="9"/>
+ <exampleNumber>800123456</exampleNumber>
<!-- Unsure of the length requirement on toll-free numbers, so using 9 based on online
examples. -->
<nationalNumberPattern>800\d{6}</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>800123456</exampleNumber>
</tollFree>
- <!-- The plan suggests 801 and 802 numbers are shared-cost numbers, and numbers beginning with
- a 9 are premium rate, but no online examples can be found of any of these so they are
- omitted for the time-being. -->
</territory>
<!-- Namibia -->
- <territory id="NA" countryCode="264" internationalPrefix="00"
- nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
+ <territory id="NA" countryCode="264" internationalPrefix="00" nationalPrefix="0"
+ nationalPrefixFormattingRule="$NP$FG">
<references>
<sourceUrl>http://www.itu.int/oth/T0202000093/en</sourceUrl>
</references>
@@ -18177,6 +18144,8 @@
<nationalNumberPattern>[68]\d{7,8}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="8,9"/>
+ <exampleNumber>61221234</exampleNumber>
<!-- Includes VSAT service. Added 6768 prefix based on user report. -->
<nationalNumberPattern>
6(?:
@@ -18271,10 +18240,10 @@
)
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="8,9"/>
- <exampleNumber>61221234</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="9"/>
+ <exampleNumber>811234567</exampleNumber>
<!-- Includes the Switch CDMA Service. -->
<nationalNumberPattern>
(?:
@@ -18282,15 +18251,15 @@
8[125]
)\d{7}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>811234567</exampleNumber>
</mobile>
<premiumRate>
- <nationalNumberPattern>8701\d{5}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>870123456</exampleNumber>
+ <nationalNumberPattern>8701\d{5}</nationalNumberPattern>
</premiumRate>
<voip>
+ <possibleLengths national="8,9"/>
+ <exampleNumber>88612345</exampleNumber>
<!-- Including virtual telephone and VOIP services. -->
<nationalNumberPattern>
8(?:
@@ -18298,8 +18267,6 @@
86
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="8,9"/>
- <exampleNumber>88612345</exampleNumber>
</voip>
</territory>
@@ -18324,6 +18291,8 @@
<nationalNumberPattern>[2-57-9]\d{5}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="6"/>
+ <exampleNumber>201234</exampleNumber>
<!-- Including the 88 prefix for public payphones. -->
<nationalNumberPattern>
(?:
@@ -18333,10 +18302,10 @@
88
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="6"/>
- <exampleNumber>201234</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="6"/>
+ <exampleNumber>751234</exampleNumber>
<nationalNumberPattern>
(?:
5[0-4]|
@@ -18344,16 +18313,14 @@
8[0-79]
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="6"/>
- <exampleNumber>751234</exampleNumber>
</mobile>
<!-- Listed as "voice services", from what we've seen they seem to cost extra. -->
<!-- Note that OPT lists 3631 as a free short number for caller ID services, but the ITU
document says that all 36 numbers are 6 digits. See ShortNumberMetadata.xml for more. -->
<premiumRate>
- <nationalNumberPattern>36\d{4}</nationalNumberPattern>
<possibleLengths national="6"/>
<exampleNumber>366711</exampleNumber>
+ <nationalNumberPattern>36\d{4}</nationalNumberPattern>
</premiumRate>
</territory>
@@ -18379,6 +18346,8 @@
<nationalNumberPattern>[0289]\d{7}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="8"/>
+ <exampleNumber>20201234</exampleNumber>
<!-- Adding 20 61 from online numbers. -->
<nationalNumberPattern>
2(?:
@@ -18399,11 +18368,11 @@
)
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>20201234</exampleNumber>
</fixedLine>
<mobile>
- <!-- Added 88, 90, 91, 92, 95, 97, 98 & 99 from online data. Airtel have confirmed that they
+ <possibleLengths national="8"/>
+ <exampleNumber>93123456</exampleNumber>
+ <!-- Added 88, 90, 91, 92, 95, 97, 98 and 99 from online data. Airtel have confirmed that they
use the 89 and 97 prefixes, and Orange use 92. MOOV started using 95 in Jan 2014. -->
<nationalNumberPattern>
(?:
@@ -18411,18 +18380,16 @@
9\d
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>93123456</exampleNumber>
</mobile>
<tollFree>
- <nationalNumberPattern>08\d{6}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>08123456</exampleNumber>
+ <nationalNumberPattern>08\d{6}</nationalNumberPattern>
</tollFree>
<premiumRate>
- <nationalNumberPattern>09\d{6}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>09123456</exampleNumber>
+ <nationalNumberPattern>09\d{6}</nationalNumberPattern>
</premiumRate>
</territory>
@@ -18446,6 +18413,8 @@
<nationalNumberPattern>[13]\d{5}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="6" localOnly="5"/>
+ <exampleNumber>106609</exampleNumber>
<!-- ITU says all 3X numbers except 38 are fixed-line, but 3[3-79] numbers don't seem to
connect after we tried calling them. -->
<nationalNumberPattern>
@@ -18459,21 +18428,18 @@
3[012]\d
)\d{3}
</nationalNumberPattern>
- <possibleLengths national="6" localOnly="5"/>
- <exampleNumber>106609</exampleNumber>
</fixedLine>
<mobile>
- <!-- Numbers found online with prefix 35. -->
- <nationalNumberPattern>3[58]\d{4}</nationalNumberPattern>
<possibleLengths national="6" localOnly="5"/>
<exampleNumber>381234</exampleNumber>
+ <!-- Numbers found online with prefix 35. -->
+ <nationalNumberPattern>3[58]\d{4}</nationalNumberPattern>
</mobile>
</territory>
<!-- Nigeria -->
- <territory id="NG" countryCode="234" internationalPrefix="009"
- nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
- mobileNumberPortableRegion="true">
+ <territory id="NG" countryCode="234" internationalPrefix="009" nationalPrefix="0"
+ nationalPrefixFormattingRule="$NP$FG" mobileNumberPortableRegion="true">
<references>
<sourceUrl>http://www.itu.int/oth/T020200009C/en</sourceUrl>
<sourceUrl>http://www.ncc.gov.ng/index.php/index.php?option=com_content&amp;view=article&amp;id=113&amp;Itemid=102</sourceUrl>
@@ -18484,11 +18450,11 @@
<availableFormats>
<numberFormat pattern="(\d)(\d{3})(\d{3,4})">
<leadingDigits>
- [12]|
- 9(?:
- 0[3-9]|
- [1-9]
- )
+ [12]|
+ 9(?:
+ 0[3-9]|
+ [1-9]
+ )
</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
@@ -18532,6 +18498,8 @@
</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="7,8" localOnly="5,6"/>
+ <exampleNumber>12345678</exampleNumber>
<nationalNumberPattern>
[12]\d{6,7}|
9(?:
@@ -18557,10 +18525,10 @@
41
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="7,8" localOnly="5,6"/>
- <exampleNumber>12345678</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="8,10"/>
+ <exampleNumber>8021234567</exampleNumber>
<!-- Added 906 and 907 mobile prefixes based on reports. Prefix 707 is withdrawn as per few
websites, however 707[0-3] is added based on bug report and online search. -->
<nationalNumberPattern>
@@ -18654,19 +18622,17 @@
90[235-9]\d
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="8,10"/>
- <exampleNumber>8021234567</exampleNumber>
</mobile>
<!-- Info on these numbers from http://www.alphatechnologieslimited.com. -->
<tollFree>
- <nationalNumberPattern>800\d{7,11}</nationalNumberPattern>
<possibleLengths national="[10-14]"/>
<exampleNumber>80017591759</exampleNumber>
+ <nationalNumberPattern>800\d{7,11}</nationalNumberPattern>
</tollFree>
<uan>
- <nationalNumberPattern>700\d{7,11}</nationalNumberPattern>
<possibleLengths national="[10-14]"/>
<exampleNumber>7001234567</exampleNumber>
+ <nationalNumberPattern>700\d{7,11}</nationalNumberPattern>
</uan>
</territory>
@@ -18684,11 +18650,13 @@
<nationalNumberPattern>[12578]\d{7}</nationalNumberPattern>
</generalDesc>
<fixedLine>
- <nationalNumberPattern>2\d{7}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>21234567</exampleNumber>
+ <nationalNumberPattern>2\d{7}</nationalNumberPattern>
</fixedLine>
<mobile>
+ <possibleLengths national="8"/>
+ <exampleNumber>81234567</exampleNumber>
<!-- 55[0-7], 57, 58 and 7[5-8] were added from bug reports/numbers found online. -->
<nationalNumberPattern>
5(?:
@@ -18698,20 +18666,17 @@
7[5-8]\d{6}|
8\d{7}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>81234567</exampleNumber>
</mobile>
<tollFree>
- <nationalNumberPattern>1800\d{4}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>18001234</exampleNumber>
+ <nationalNumberPattern>1800\d{4}</nationalNumberPattern>
</tollFree>
</territory>
<!-- Netherlands -->
- <territory id="NL" countryCode="31" internationalPrefix="00"
- nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
- mobileNumberPortableRegion="true">
+ <territory id="NL" countryCode="31" internationalPrefix="00" nationalPrefix="0"
+ nationalPrefixFormattingRule="$NP$FG" mobileNumberPortableRegion="true">
<references>
<sourceUrl>http://en.wikipedia.org/wiki/%2B31</sourceUrl>
<sourceUrl>http://wetten.overheid.nl/BWBR0010198</sourceUrl>
@@ -18767,11 +18732,13 @@
</nationalNumberPattern>
</generalDesc>
<noInternationalDialling>
- <nationalNumberPattern>14\d{3,4}</nationalNumberPattern>
<possibleLengths national="5,6"/>
<exampleNumber>14123</exampleNumber>
+ <nationalNumberPattern>14\d{3,4}</nationalNumberPattern>
</noInternationalDialling>
<fixedLine>
+ <possibleLengths national="9"/>
+ <exampleNumber>101234567</exampleNumber>
<nationalNumberPattern>
(?:
1[0135-8]|
@@ -18782,40 +18749,40 @@
8[478]
)\d{7}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>101234567</exampleNumber>
</fixedLine>
<mobile>
- <nationalNumberPattern>6[1-58]\d{7}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>612345678</exampleNumber>
+ <nationalNumberPattern>6[1-58]\d{7}</nationalNumberPattern>
</mobile>
<pager>
- <nationalNumberPattern>66\d{7}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>662345678</exampleNumber>
+ <nationalNumberPattern>66\d{7}</nationalNumberPattern>
</pager>
<tollFree>
- <nationalNumberPattern>800\d{4,7}</nationalNumberPattern>
<possibleLengths national="[7-10]"/>
<exampleNumber>8001234</exampleNumber>
+ <nationalNumberPattern>800\d{4,7}</nationalNumberPattern>
</tollFree>
<premiumRate>
- <nationalNumberPattern>90[069]\d{4,7}</nationalNumberPattern>
<possibleLengths national="[7-10]"/>
<exampleNumber>9061234</exampleNumber>
+ <nationalNumberPattern>90[069]\d{4,7}</nationalNumberPattern>
</premiumRate>
<voip>
+ <possibleLengths national="9"/>
+ <exampleNumber>851234567</exampleNumber>
<nationalNumberPattern>
(?:
6760|
85\d{2}
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>851234567</exampleNumber>
</voip>
<uan>
+ <possibleLengths national="5,6"/>
+ <exampleNumber>14020</exampleNumber>
<!-- These numbers are used for local government. They are formed by the appending the local
dialling code (including the national prefix 0) after the leading digits "14". -->
<nationalNumberPattern>
@@ -18844,15 +18811,14 @@
8[458]
)
</nationalNumberPattern>
- <possibleLengths national="5,6"/>
- <exampleNumber>14020</exampleNumber>
</uan>
</territory>
<!-- Norway -->
- <!-- Metadata (excluding fixed-line) shared with Svalbard. -->
- <territory id="NO" countryCode="47" internationalPrefix="00"
- mainCountryForCode="true" mobileNumberPortableRegion="true">
+ <!-- Metadata (excluding fixed-line) should be duplicated in 'SJ'. -->
+ <!-- Main region for 'SJ' -->
+ <territory id="NO" mainCountryForCode="true" countryCode="47" internationalPrefix="00"
+ mobileNumberPortableRegion="true">
<references>
<sourceUrl>http://www.npt.no/npt/numsys/E.164.pdf</sourceUrl>
</references>
@@ -18873,6 +18839,8 @@
</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="8"/>
+ <exampleNumber>21234567</exampleNumber>
<!-- Excludes Svalbard fixed-line numbers. -->
<nationalNumberPattern>
(?:
@@ -18883,10 +18851,10 @@
7[0-8]
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>21234567</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="8"/>
+ <exampleNumber>40612345</exampleNumber>
<!-- Note: Consider adding one more digit for stricter validation
(e.g. for 87[89] and 580).
TETRA (TErrestrial Trunked RAdio) and GSM - R (Global System for Mobile
@@ -18899,40 +18867,40 @@
9\d
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>40612345</exampleNumber>
</mobile>
<tollFree>
- <nationalNumberPattern>80[01]\d{5}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>80012345</exampleNumber>
+ <nationalNumberPattern>80[01]\d{5}</nationalNumberPattern>
</tollFree>
<premiumRate>
- <nationalNumberPattern>82[09]\d{5}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>82012345</exampleNumber>
+ <nationalNumberPattern>82[09]\d{5}</nationalNumberPattern>
</premiumRate>
<sharedCost>
+ <possibleLengths national="8"/>
+ <exampleNumber>81021234</exampleNumber>
<nationalNumberPattern>
810(?:
0[0-6]|
[2-8]\d
)\d{3}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>81021234</exampleNumber>
</sharedCost>
<personalNumber>
- <nationalNumberPattern>880\d{5}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>88012345</exampleNumber>
+ <nationalNumberPattern>880\d{5}</nationalNumberPattern>
</personalNumber>
<voip>
- <nationalNumberPattern>85[0-5]\d{5}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>85012345</exampleNumber>
+ <nationalNumberPattern>85[0-5]\d{5}</nationalNumberPattern>
</voip>
<uan>
+ <possibleLengths national="5,8"/>
+ <exampleNumber>01234</exampleNumber>
<!-- Includes some 810 local-rate numbers, and long-distance rate numbers. -->
<nationalNumberPattern>
0\d{4}|
@@ -18944,19 +18912,17 @@
5\d{2}
)\d{3}
</nationalNumberPattern>
- <possibleLengths national="5,8"/>
- <exampleNumber>01234</exampleNumber>
</uan>
<voicemail>
- <nationalNumberPattern>81[23]\d{5}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>81212345</exampleNumber>
+ <nationalNumberPattern>81[23]\d{5}</nationalNumberPattern>
</voicemail>
</territory>
<!-- Nepal -->
- <territory id="NP" countryCode="977" internationalPrefix="00"
- nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
+ <territory id="NP" countryCode="977" internationalPrefix="00" nationalPrefix="0"
+ nationalPrefixFormattingRule="$NP$FG">
<references>
<sourceUrl>http://www.itu.int/oth/T0202000095/en</sourceUrl>
<sourceUrl>http://www.ntc.net.np/mobile/mob_postpaid_number_scheme.php</sourceUrl>
@@ -18986,13 +18952,13 @@
7[245]|
8
)
- </leadingDigits>
+ </leadingDigits>
<format>$1-$2</format>
</numberFormat>
</availableFormats>
+ <!-- This is complex, in order to try and distinguish between numbers that start with 97 and
+ numbers that have the country code prefixed. -->
<generalDesc>
- <!-- This is complex, in order to try and distinguish between numbers that start with 97 and
- numbers that have the country code prefixed. -->
<nationalNumberPattern>
[1-8]\d{7}|
9(?:
@@ -19005,6 +18971,8 @@
<!-- We don't support Rural Telecommunication Service at the moment since
we are not sure what type it is. -->
<fixedLine>
+ <possibleLengths national="8" localOnly="6,7"/>
+ <exampleNumber>14567890</exampleNumber>
<nationalNumberPattern>
(?:
1[0-6]\d|
@@ -19018,11 +18986,11 @@
9[1-79][2-6]
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="8" localOnly="6,7"/>
- <exampleNumber>14567890</exampleNumber>
</fixedLine>
<!-- Added prefix 982 per IR21 from the carrier. -->
<mobile>
+ <possibleLengths national="10"/>
+ <exampleNumber>9841234567</exampleNumber>
<nationalNumberPattern>
9(?:
6[013]|
@@ -19030,10 +18998,7 @@
8[0-24-6]
)\d{7}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>9841234567</exampleNumber>
</mobile>
- <!-- No information on other types of phone numbers for Nepal has been found. -->
</territory>
<!-- Nauru -->
@@ -19051,19 +19016,19 @@
<nationalNumberPattern>[458]\d{6}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="7"/>
+ <exampleNumber>4441234</exampleNumber>
<nationalNumberPattern>
(?:
444|
888
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="7"/>
- <exampleNumber>4441234</exampleNumber>
</fixedLine>
<mobile>
- <nationalNumberPattern>55[5-9]\d{4}</nationalNumberPattern>
<possibleLengths national="7"/>
<exampleNumber>5551234</exampleNumber>
+ <nationalNumberPattern>55[5-9]\d{4}</nationalNumberPattern>
</mobile>
</territory>
@@ -19078,15 +19043,15 @@
<nationalNumberPattern>[1-5]\d{3}</nationalNumberPattern>
</generalDesc>
<fixedLine>
- <!-- Putting FWT (fixed-wireless-terminals) numbers here too. -->
- <nationalNumberPattern>[34]\d{3}</nationalNumberPattern>
<possibleLengths national="4"/>
<exampleNumber>4002</exampleNumber>
+ <!-- Putting FWT (fixed-wireless-terminals) numbers here too. -->
+ <nationalNumberPattern>[34]\d{3}</nationalNumberPattern>
</fixedLine>
<mobile>
- <nationalNumberPattern>[125]\d{3}</nationalNumberPattern>
<possibleLengths national="4"/>
<exampleNumber>1234</exampleNumber>
+ <nationalNumberPattern>[125]\d{3}</nationalNumberPattern>
</mobile>
</territory>
@@ -19094,8 +19059,8 @@
<!-- Includes Ross Dependency, Antarctica -->
<!-- Does not currently support 083 "Enhanced voice services", New Zealand direct service
numbers and 050 "Nation-Wide Service". -->
- <territory id="NZ" countryCode="64" internationalPrefix="0(?:0|161)"
- preferredInternationalPrefix="00" nationalPrefix="0"
+ <territory id="NZ" countryCode="64" preferredInternationalPrefix="00"
+ internationalPrefix="0(?:0|161)" nationalPrefix="0"
nationalPrefixFormattingRule="$NP$FG" mobileNumberPortableRegion="true">
<references>
<sourceUrl>http://www.itu.int/oth/T0202000099/en</sourceUrl>
@@ -19164,6 +19129,8 @@
</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="8" localOnly="7"/>
+ <exampleNumber>32345678</exampleNumber>
<nationalNumberPattern>
(?:
3[2-79]|
@@ -19173,10 +19140,10 @@
)\d{6}|
24099\d{3}
</nationalNumberPattern>
- <possibleLengths national="8" localOnly="7"/>
- <exampleNumber>32345678</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="[8-10]"/>
+ <exampleNumber>211234567</exampleNumber>
<!-- Includes mobile radio service numbers (e.g. TeamTalk). The lengths of numbers with
prefix 21 are different from what's specified in the ITU doc, because of numbers found
online. -->
@@ -19191,36 +19158,34 @@
[79]\d{7}
)
</nationalNumberPattern>
- <possibleLengths national="[8-10]"/>
- <exampleNumber>211234567</exampleNumber>
</mobile>
<pager>
- <nationalNumberPattern>[28]6\d{6,7}</nationalNumberPattern>
<possibleLengths national="8,9"/>
<exampleNumber>26123456</exampleNumber>
+ <nationalNumberPattern>[28]6\d{6,7}</nationalNumberPattern>
</pager>
<!-- These are the toll free patterns used, by Telecom and Telstra/Clear, but they are
referred to as 'Value-added service' in the phone plan for some reason. 85 numbers are
not covered, as telecom companies don't seem to support them yet. -->
<tollFree>
+ <possibleLengths national="[8-10]"/>
+ <exampleNumber>800123456</exampleNumber>
<nationalNumberPattern>
508\d{6,7}|
80\d{6,8}
</nationalNumberPattern>
- <possibleLengths national="[8-10]"/>
- <exampleNumber>800123456</exampleNumber>
</tollFree>
<premiumRate>
+ <possibleLengths national="8,9"/>
+ <exampleNumber>900123456</exampleNumber>
<!-- The ITU doc says the lengths are 9 to 11, but wikipedia says 8. Online numbers can only
be found with lengths 8 and 9. -->
<nationalNumberPattern>90\d{6,7}</nationalNumberPattern>
- <possibleLengths national="8,9"/>
- <exampleNumber>900123456</exampleNumber>
</premiumRate>
<personalNumber>
- <nationalNumberPattern>70\d{7}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>701234567</exampleNumber>
+ <nationalNumberPattern>70\d{7}</nationalNumberPattern>
</personalNumber>
</territory>
@@ -19253,11 +19218,13 @@
</nationalNumberPattern>
</generalDesc>
<fixedLine>
- <nationalNumberPattern>2[2-6]\d{6}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>23123456</exampleNumber>
+ <nationalNumberPattern>2[2-6]\d{6}</nationalNumberPattern>
</fixedLine>
<mobile>
+ <possibleLengths national="8"/>
+ <exampleNumber>92123456</exampleNumber>
<nationalNumberPattern>
7[19]\d{6}|
9(?:
@@ -19265,10 +19232,10 @@
[1-9]\d
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>92123456</exampleNumber>
</mobile>
<tollFree>
+ <possibleLengths national="[7-9]"/>
+ <exampleNumber>80071234</exampleNumber>
<!-- Link to document about toll-free numbers on http://www.tra.gov.om, which suggests they
should be 8007 followed by 4 digits. However, the only examples I can find, including
the customer help line for the main telephony company there (omantel), is 8007 followed
@@ -19279,13 +19246,11 @@
8007\d{4,5}|
500\d{4}
</nationalNumberPattern>
- <possibleLengths national="[7-9]"/>
- <exampleNumber>80071234</exampleNumber>
</tollFree>
<premiumRate>
- <nationalNumberPattern>900\d{5}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>90012345</exampleNumber>
+ <nationalNumberPattern>900\d{5}</nationalNumberPattern>
</premiumRate>
</territory>
@@ -19313,6 +19278,8 @@
<!-- Note that numbers starting with 101, 106, 131, 151, 156 and 168 have not been assigned to
any rule below since we are not sure what the "servicios 102/103" refer to here. -->
<fixedLine>
+ <possibleLengths national="7"/>
+ <exampleNumber>2001234</exampleNumber>
<!-- Note that "servicios 101/104" in the plan refer to "Local Basic Communications Service"
and "Public and Semipublic Terminal Service", represented here as fixed-line. -->
<!-- The range 194-XXXX has been added since a number was found online with this prefix and
@@ -19388,10 +19355,10 @@
)
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="7"/>
- <exampleNumber>2001234</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="7,8"/>
+ <exampleNumber>60012345</exampleNumber>
<!-- Note that "servicios 106/107" in the plan refer to mobile services. We also include
service "210", "Servicio de Busca Personas". -->
<nationalNumberPattern>
@@ -19409,15 +19376,15 @@
3[0-24-9]
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="7,8"/>
- <exampleNumber>60012345</exampleNumber>
</mobile>
<tollFree>
- <nationalNumberPattern>80[09]\d{4}</nationalNumberPattern>
<possibleLengths national="7"/>
<exampleNumber>8001234</exampleNumber>
+ <nationalNumberPattern>80[09]\d{4}</nationalNumberPattern>
</tollFree>
<premiumRate>
+ <possibleLengths national="7"/>
+ <exampleNumber>8601234</exampleNumber>
<!-- Value-added services are represented as "400" in the plan. -->
<nationalNumberPattern>
(?:
@@ -19433,15 +19400,13 @@
)
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="7"/>
- <exampleNumber>8601234</exampleNumber>
</premiumRate>
</territory>
<!-- Peru -->
<territory id="PE" countryCode="51" internationalPrefix="19(?:1[124]|77|90)00"
- nationalPrefix="0" nationalPrefixFormattingRule="($NP$FG)"
- preferredExtnPrefix=" Anexo " mobileNumberPortableRegion="true">
+ nationalPrefix="0" preferredExtnPrefix=" Anexo "
+ nationalPrefixFormattingRule="($NP$FG)" mobileNumberPortableRegion="true">
<references>
<sourceUrl>http://www.itu.int/oth/T02020000A6/en</sourceUrl>
<sourceUrl>http://en.wikipedia.org/wiki/+51</sourceUrl>
@@ -19464,8 +19429,7 @@
<format>$1 $2</format>
</numberFormat>
<!-- Formatting from common usage found on the internet, supported by ITU doc. -->
- <numberFormat pattern="(9\d{2})(\d{3})(\d{3})"
- nationalPrefixFormattingRule="$FG">
+ <numberFormat pattern="(9\d{2})(\d{3})(\d{3})" nationalPrefixFormattingRule="$FG">
<leadingDigits>9</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
@@ -19474,6 +19438,8 @@
<nationalNumberPattern>[14-9]\d{7,8}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="8" localOnly="6,7"/>
+ <exampleNumber>11234567</exampleNumber>
<nationalNumberPattern>
(?:
1\d|
@@ -19484,33 +19450,31 @@
8[2-4]
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="8" localOnly="6,7"/>
- <exampleNumber>11234567</exampleNumber>
</fixedLine>
<mobile>
- <nationalNumberPattern>9\d{8}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>912345678</exampleNumber>
+ <nationalNumberPattern>9\d{8}</nationalNumberPattern>
</mobile>
<tollFree>
- <nationalNumberPattern>800\d{5}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>80012345</exampleNumber>
+ <nationalNumberPattern>800\d{5}</nationalNumberPattern>
</tollFree>
<premiumRate>
- <nationalNumberPattern>805\d{5}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>80512345</exampleNumber>
+ <nationalNumberPattern>805\d{5}</nationalNumberPattern>
</premiumRate>
<sharedCost>
- <nationalNumberPattern>801\d{5}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>80112345</exampleNumber>
+ <nationalNumberPattern>801\d{5}</nationalNumberPattern>
</sharedCost>
<personalNumber>
- <nationalNumberPattern>80[24]\d{5}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>80212345</exampleNumber>
+ <nationalNumberPattern>80[24]\d{5}</nationalNumberPattern>
</personalNumber>
</territory>
@@ -19539,11 +19503,13 @@
</nationalNumberPattern>
</generalDesc>
<noInternationalDialling>
- <nationalNumberPattern>44\d{4}</nationalNumberPattern>
<possibleLengths national="6"/>
<exampleNumber>441234</exampleNumber>
+ <nationalNumberPattern>44\d{4}</nationalNumberPattern>
</noInternationalDialling>
<fixedLine>
+ <possibleLengths national="6,8"/>
+ <exampleNumber>40412345</exampleNumber>
<!-- Includes payphone prefixes. -->
<nationalNumberPattern>
4(?:
@@ -19551,19 +19517,17 @@
4
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="6,8"/>
- <exampleNumber>40412345</exampleNumber>
</fixedLine>
<mobile>
- <nationalNumberPattern>8[79]\d{6}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>87123456</exampleNumber>
+ <nationalNumberPattern>8[79]\d{6}</nationalNumberPattern>
</mobile>
</territory>
<!-- Papua New Guinea -->
- <territory id="PG" countryCode="675" internationalPrefix="140[1-3]|00"
- preferredInternationalPrefix="00">
+ <territory id="PG" countryCode="675" preferredInternationalPrefix="00"
+ internationalPrefix="140[1-3]|00">
<references>
<sourceUrl>http://www.itu.int/oth/T02020000A4/en</sourceUrl>
<sourceUrl>http://en.wikipedia.org/wiki/%2B675</sourceUrl>
@@ -19589,6 +19553,8 @@
<nationalNumberPattern>[1-9]\d{6,7}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="7"/>
+ <exampleNumber>3123456</exampleNumber>
<nationalNumberPattern>
(?:
3[0-2]\d|
@@ -19603,25 +19569,25 @@
9[78]\d
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="7"/>
- <exampleNumber>3123456</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="8"/>
+ <exampleNumber>70123456</exampleNumber>
<nationalNumberPattern>
7(?:
[0-689]\d|
75
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>70123456</exampleNumber>
</mobile>
<tollFree>
- <nationalNumberPattern>180\d{4}</nationalNumberPattern>
<possibleLengths national="7"/>
<exampleNumber>1801234</exampleNumber>
+ <nationalNumberPattern>180\d{4}</nationalNumberPattern>
</tollFree>
<voip>
+ <possibleLengths national="7"/>
+ <exampleNumber>2751234</exampleNumber>
<!-- Including all satellite numbers from the ITU doc here, as we found working numbers
online. -->
<nationalNumberPattern>
@@ -19630,8 +19596,6 @@
7[568]
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="7"/>
- <exampleNumber>2751234</exampleNumber>
</voip>
</territory>
@@ -19642,19 +19606,16 @@
</references>
<availableFormats>
<!-- Area code separated from number. Area codes found here:
- http://en.wikipedia.org/wiki/Telecommunications_in_the_Philippines#Area_Codes -->
- <numberFormat nationalPrefixFormattingRule="($NP$FG)"
- pattern="(2)(\d{3})(\d{4})">
+ http://en.wikipedia.org/wiki/Telecommunications_in_the_Philippines#Area_Codes -->
+ <numberFormat pattern="(2)(\d{3})(\d{4})" nationalPrefixFormattingRule="($NP$FG)">
<leadingDigits>2</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
- <numberFormat nationalPrefixFormattingRule="($NP$FG)"
- pattern="(2)(\d{5})">
+ <numberFormat pattern="(2)(\d{5})" nationalPrefixFormattingRule="($NP$FG)">
<leadingDigits>2</leadingDigits>
<format>$1 $2</format>
</numberFormat>
- <numberFormat nationalPrefixFormattingRule="($NP$FG)"
- pattern="(\d{4})(\d{4,6})">
+ <numberFormat pattern="(\d{4})(\d{4,6})" nationalPrefixFormattingRule="($NP$FG)">
<leadingDigits>
3(?:
23|
@@ -19712,8 +19673,7 @@
</leadingDigits>
<format>$1 $2</format>
</numberFormat>
- <numberFormat nationalPrefixFormattingRule="($NP$FG)"
- pattern="(\d{5})(\d{4})">
+ <numberFormat pattern="(\d{5})(\d{4})" nationalPrefixFormattingRule="($NP$FG)">
<leadingDigits>
346|
4(?:
@@ -19736,13 +19696,11 @@
<format>$1 $2</format>
</numberFormat>
<!-- This rule is a fallback for the more specific area codes. -->
- <numberFormat nationalPrefixFormattingRule="($NP$FG)"
- pattern="([3-8]\d)(\d{3})(\d{4})">
+ <numberFormat pattern="([3-8]\d)(\d{3})(\d{4})" nationalPrefixFormattingRule="($NP$FG)">
<leadingDigits>[3-8]</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
- <numberFormat nationalPrefixFormattingRule="$NP$FG"
- pattern="(\d{3})(\d{3})(\d{4})">
+ <numberFormat pattern="(\d{3})(\d{3})(\d{4})" nationalPrefixFormattingRule="$NP$FG">
<leadingDigits>
81|
9
@@ -19767,11 +19725,15 @@
</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="6,[8-10]" localOnly="5,7"/>
+ <exampleNumber>21234567</exampleNumber>
<!-- Evidence on number length is hard to come by. We have found diallable numbers in Manila
that have only 5 digits after the area code; plus it seems the 8822 area code is
followed by 6 digits, and 8842 by only 4. -->
<nationalNumberPattern>
- 2\d{5}(?:\d{2})?|
+ 2\d{5}(?:
+ \d{2}
+ )?|
(?:
3[2-68]|
4[2-9]|
@@ -19785,10 +19747,10 @@
42\d{4}
)
</nationalNumberPattern>
- <possibleLengths national="6,[8-10]" localOnly="5,7"/>
- <exampleNumber>21234567</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="10"/>
+ <exampleNumber>9051234567</exampleNumber>
<!-- 950 added based on info received from Smart. 96[5-7] added based on user report. -->
<nationalNumberPattern>
(?:
@@ -19807,23 +19769,18 @@
)
)\d{7}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>9051234567</exampleNumber>
</mobile>
<!-- Information on toll-free numbers collected from searching the internet -->
<tollFree>
- <nationalNumberPattern>1800\d{7,9}</nationalNumberPattern>
<possibleLengths national="[11-13]"/>
<exampleNumber>180012345678</exampleNumber>
+ <nationalNumberPattern>1800\d{7,9}</nationalNumberPattern>
</tollFree>
- <!-- No information can be found about other types of numbers (such as premium rate) in the
- Philippines. -->
</territory>
<!-- Pakistan -->
- <territory id="PK" countryCode="92" internationalPrefix="00"
- nationalPrefix="0" nationalPrefixFormattingRule="($NP$FG)"
- mobileNumberPortableRegion="true">
+ <territory id="PK" countryCode="92" internationalPrefix="00" nationalPrefix="0"
+ nationalPrefixFormattingRule="($NP$FG)" mobileNumberPortableRegion="true">
<references>
<sourceUrl>http://www.itu.int/oth/T02020000A1/en</sourceUrl>
<sourceUrl>http://en.wikipedia.org/wiki/%2B92</sourceUrl>
@@ -19975,9 +19932,9 @@
<format>$1 $2 $3</format>
</numberFormat>
</availableFormats>
+ <!-- This is horribly complex because the country code is 92, and several area codes start
+ with 92, and the number length is widely variable. -->
<generalDesc>
- <!-- This is horribly complex because the country code is 92, and several area codes start
- with 92, and the number length is widely variable. -->
<nationalNumberPattern>
1\d{8}|
[2-8]\d{5,11}|
@@ -19991,6 +19948,8 @@
</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="9,10" localOnly="[6-8]"/>
+ <exampleNumber>2123456789</exampleNumber>
<!-- The subscriber number length is not well defined for some area codes. From online
examples, we have come up with a heuristic that for 3-digit area codes, the subscriber
number will be 6 or 7 digits - for 2-digit area codes it will be 7, with the exceptions
@@ -20035,10 +19994,10 @@
)[2-9]\d{5,6}|
58[126]\d{7}
</nationalNumberPattern>
- <possibleLengths national="9,10" localOnly="[6-8]"/>
- <exampleNumber>2123456789</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="10"/>
+ <exampleNumber>3012345678</exampleNumber>
<!-- Adding 325 and 320 as SMSs have been successfully sent to these numbers and numbers
can be found online with these prefixes. Added 348 based on information found
online. -->
@@ -20051,27 +20010,27 @@
64
)\d{7}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>3012345678</exampleNumber>
</mobile>
<tollFree>
- <nationalNumberPattern>800\d{5}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>80012345</exampleNumber>
+ <nationalNumberPattern>800\d{5}</nationalNumberPattern>
</tollFree>
<premiumRate>
- <nationalNumberPattern>900\d{5}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>90012345</exampleNumber>
+ <nationalNumberPattern>900\d{5}</nationalNumberPattern>
</premiumRate>
<!-- These are referred to as UPT numbers in the plan. -->
<personalNumber>
- <nationalNumberPattern>122\d{6}</nationalNumberPattern>
<possibleLengths national="9"/>
<!-- The example number here is the test number from the plan. -->
<exampleNumber>122044444</exampleNumber>
+ <nationalNumberPattern>122\d{6}</nationalNumberPattern>
</personalNumber>
<uan>
+ <possibleLengths national="11,12"/>
+ <exampleNumber>21111825888</exampleNumber>
<!-- Data on what a UAN is is hard to come by. http://www.ptcl.com.pk has information under
http://www.ptcl.com.pk/contentb.php?NID=143#uan - which defines their format - but not
what type of number they are. We exclude Azad Jammu, Kashmir and Northern Areas here
@@ -20118,8 +20077,6 @@
)
)111\d{6}
</nationalNumberPattern>
- <possibleLengths national="11,12"/>
- <exampleNumber>21111825888</exampleNumber>
</uan>
</territory>
@@ -20182,6 +20139,8 @@
</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="7,9"/>
+ <exampleNumber>123456789</exampleNumber>
<!-- The plan says all geographical numbers are 9 digits; but in at least Warsaw (22) and
Krakow (12) we have found internationally diallable numbers that are 7
digits instead, so we support those numbers too. Numbers which start with
@@ -20200,10 +20159,10 @@
)\d{7}|
[12]2\d{5}
</nationalNumberPattern>
- <possibleLengths national="7,9"/>
- <exampleNumber>123456789</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="9"/>
+ <exampleNumber>512345678</exampleNumber>
<nationalNumberPattern>
(?:
45|
@@ -20213,39 +20172,37 @@
88
)\d{7}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>512345678</exampleNumber>
</mobile>
<pager>
- <nationalNumberPattern>64\d{4,7}</nationalNumberPattern>
<possibleLengths national="[6-9]"/>
<exampleNumber>641234567</exampleNumber>
+ <nationalNumberPattern>64\d{4,7}</nationalNumberPattern>
</pager>
<tollFree>
- <nationalNumberPattern>800\d{6}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>800123456</exampleNumber>
+ <nationalNumberPattern>800\d{6}</nationalNumberPattern>
</tollFree>
<premiumRate>
- <nationalNumberPattern>70\d{7}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>701234567</exampleNumber>
+ <nationalNumberPattern>70\d{7}</nationalNumberPattern>
</premiumRate>
<sharedCost>
- <nationalNumberPattern>801\d{6}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>801234567</exampleNumber>
+ <nationalNumberPattern>801\d{6}</nationalNumberPattern>
</sharedCost>
<voip>
- <nationalNumberPattern>39\d{7}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>391234567</exampleNumber>
+ <nationalNumberPattern>39\d{7}</nationalNumberPattern>
</voip>
</territory>
<!-- Saint Pierre and Miquelon (Collectivité territoriale de la République française) -->
- <territory id="PM" countryCode="508" internationalPrefix="00"
- nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
+ <territory id="PM" countryCode="508" internationalPrefix="00" nationalPrefix="0"
+ nationalPrefixFormattingRule="$NP$FG">
<references>
<sourceUrl>http://www.itu.int/oth/T02020000B2/en</sourceUrl>
</references>
@@ -20258,58 +20215,55 @@
<nationalNumberPattern>[45]\d{5}</nationalNumberPattern>
</generalDesc>
<fixedLine>
- <nationalNumberPattern>41\d{4}</nationalNumberPattern>
<possibleLengths national="6"/>
<exampleNumber>411234</exampleNumber>
+ <nationalNumberPattern>41\d{4}</nationalNumberPattern>
</fixedLine>
<mobile>
+ <possibleLengths national="6"/>
+ <exampleNumber>551234</exampleNumber>
<nationalNumberPattern>
(?:
40|
55
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="6"/>
- <exampleNumber>551234</exampleNumber>
</mobile>
</territory>
- <!-- Pitcairn Island -->
- <!-- id="PN" -->
- <!-- This island is not supported since evidence seems to be that the 50 inhabitants use
- satellite phones. -->
-
<!-- Puerto Rico -->
- <territory id="PR" countryCode="1" leadingDigits="787|939" nationalPrefix="1"
- internationalPrefix="011">
+ <!-- Country calling code and formatting shared with 'US' -->
+ <territory id="PR" countryCode="1" leadingDigits="787|939" internationalPrefix="011"
+ nationalPrefix="1">
<references>
<sourceUrl>http://www.itu.int/oth/T02020000AA/en</sourceUrl>
</references>
<generalDesc>
- <!-- NANPA country - uses US formatting rules -->
<nationalNumberPattern>[5789]\d{9}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="10" localOnly="7"/>
+ <exampleNumber>7872345678</exampleNumber>
<nationalNumberPattern>
(?:
787|
939
)[2-9]\d{6}
</nationalNumberPattern>
- <possibleLengths national="10" localOnly="7"/>
- <exampleNumber>7872345678</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="10" localOnly="7"/>
+ <exampleNumber>7872345678</exampleNumber>
<nationalNumberPattern>
(?:
787|
939
)[2-9]\d{6}
</nationalNumberPattern>
- <possibleLengths national="10" localOnly="7"/>
- <exampleNumber>7872345678</exampleNumber>
</mobile>
<tollFree>
+ <possibleLengths national="10"/>
+ <exampleNumber>8002345678</exampleNumber>
<nationalNumberPattern>
8(?:
00|
@@ -20321,15 +20275,15 @@
88
)[2-9]\d{6}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>8002345678</exampleNumber>
</tollFree>
<premiumRate>
- <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>9002345678</exampleNumber>
+ <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
</premiumRate>
<personalNumber>
+ <possibleLengths national="10"/>
+ <exampleNumber>5002345678</exampleNumber>
<!-- https://www.nationalnanpa.com/number_resource_info/5XX_codes.html -->
<nationalNumberPattern>
5(?:
@@ -20342,8 +20296,6 @@
88
)[2-9]\d{6}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>5002345678</exampleNumber>
</personalNumber>
</territory>
@@ -20351,8 +20303,8 @@
<!-- Palestinian phone numbers can be reached through the Israeli country code (972) in addition
to the Palestinian country code (970) and so Palestinian landlines and mobile lines are a
subset of the Israeli formats. -->
- <territory id="PS" countryCode="970" internationalPrefix="00"
- nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
+ <territory id="PS" countryCode="970" internationalPrefix="00" nationalPrefix="0"
+ nationalPrefixFormattingRule="$NP$FG">
<references>
<sourceUrl>http://en.wikipedia.org/wiki/%2B970</sourceUrl>
<sourceUrl>http://www.wtng.info/wtng-970-ps.html</sourceUrl>
@@ -20367,8 +20319,7 @@
<leadingDigits>5</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
- <numberFormat nationalPrefixFormattingRule="$FG"
- pattern="(1[78]00)(\d{3})(\d{3})">
+ <numberFormat pattern="(1[78]00)(\d{3})(\d{3})" nationalPrefixFormattingRule="$FG">
<leadingDigits>1</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
@@ -20380,6 +20331,8 @@
</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="8" localOnly="7"/>
+ <exampleNumber>22234567</exampleNumber>
<nationalNumberPattern>
(?:
22[234789]|
@@ -20388,23 +20341,21 @@
92[369]
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="8" localOnly="7"/>
- <exampleNumber>22234567</exampleNumber>
</fixedLine>
<mobile>
- <nationalNumberPattern>5[69]\d{7}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>599123456</exampleNumber>
+ <nationalNumberPattern>5[69]\d{7}</nationalNumberPattern>
</mobile>
<tollFree>
- <nationalNumberPattern>1800\d{6}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>1800123456</exampleNumber>
+ <nationalNumberPattern>1800\d{6}</nationalNumberPattern>
</tollFree>
<sharedCost>
- <nationalNumberPattern>1700\d{6}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>1700123456</exampleNumber>
+ <nationalNumberPattern>1700\d{6}</nationalNumberPattern>
</sharedCost>
</territory>
@@ -20433,6 +20384,8 @@
<nationalNumberPattern>[2-46-9]\d{8}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="9"/>
+ <exampleNumber>212345678</exampleNumber>
<nationalNumberPattern>
2(?:
[12]\d|
@@ -20444,31 +20397,31 @@
9[1256]
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>212345678</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="9"/>
+ <exampleNumber>912345678</exampleNumber>
<nationalNumberPattern>
9(?:
[1236]\d{2}|
480
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>912345678</exampleNumber>
</mobile>
<tollFree>
- <nationalNumberPattern>80[02]\d{6}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>800123456</exampleNumber>
+ <nationalNumberPattern>80[02]\d{6}</nationalNumberPattern>
</tollFree>
<premiumRate>
+ <possibleLengths national="9"/>
+ <exampleNumber>760123456</exampleNumber>
<!-- Fixed maximum cost numbers: 761=0.60€, 761=1€, 762=2€. -->
<!-- Audio Text prefixes 601,607,608,646 and 648 added here -->
<nationalNumberPattern>
6(?:
- 0[178]|
- 4[68]
+ 0[178]|
+ 4[68]
)\d{6}|
76(?:
0[1-57]|
@@ -20476,10 +20429,10 @@
2[237]
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>760123456</exampleNumber>
</premiumRate>
<sharedCost>
+ <possibleLengths national="9"/>
+ <exampleNumber>808123456</exampleNumber>
<!-- 808 are priced as local calls, 809 are national calls. -->
<nationalNumberPattern>
80(?:
@@ -20487,20 +20440,20 @@
9[1579]
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>808123456</exampleNumber>
</sharedCost>
<personalNumber>
- <nationalNumberPattern>884[0-4689]\d{5}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>884123456</exampleNumber>
+ <nationalNumberPattern>884[0-4689]\d{5}</nationalNumberPattern>
</personalNumber>
<voip>
- <nationalNumberPattern>30\d{7}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>301234567</exampleNumber>
+ <nationalNumberPattern>30\d{7}</nationalNumberPattern>
</voip>
<uan>
+ <possibleLengths national="9"/>
+ <exampleNumber>707123456</exampleNumber>
<nationalNumberPattern>
7(?:
0(?:
@@ -20509,13 +20462,11 @@
)
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>707123456</exampleNumber>
</uan>
<voicemail>
- <nationalNumberPattern>600\d{6}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>600110000</exampleNumber>
+ <nationalNumberPattern>600\d{6}</nationalNumberPattern>
</voicemail>
</territory>
@@ -20533,6 +20484,8 @@
<nationalNumberPattern>[2-8]\d{6}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="7"/>
+ <exampleNumber>2771234</exampleNumber>
<nationalNumberPattern>
2552255|
(?:
@@ -20560,18 +20513,16 @@
)
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="7"/>
- <exampleNumber>2771234</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="7"/>
+ <exampleNumber>6201234</exampleNumber>
<nationalNumberPattern>
(?:
6[234689]0|
77[45789]
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="7"/>
- <exampleNumber>6201234</exampleNumber>
</mobile>
</territory>
@@ -20624,8 +20575,7 @@
<leadingDigits>8700</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
- <!-- "Fall-back" rules for the rest of the fixed-line numbers that have 3-digit area codes.
- -->
+ <!-- "Fall-back" rules for the rest of the fixed-line numbers that have 3-digit area codes. -->
<numberFormat pattern="(\d{3})(\d{4,5})" nationalPrefixFormattingRule="($NP$FG)">
<leadingDigits>[2-8][1-9]</leadingDigits>
<format>$1 $2</format>
@@ -20642,6 +20592,8 @@
</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="[7-9]" localOnly="5,6"/>
+ <exampleNumber>212345678</exampleNumber>
<nationalNumberPattern>
(?:
[26]1|
@@ -20690,10 +20642,10 @@
858
)\d{5,6}
</nationalNumberPattern>
- <possibleLengths national="[7-9]" localOnly="5,6"/>
- <exampleNumber>212345678</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="9"/>
+ <exampleNumber>961456789</exampleNumber>
<!-- 962 was added for Tigo. -->
<nationalNumberPattern>
9(?:
@@ -20702,22 +20654,21 @@
9[1-5]
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>961456789</exampleNumber>
</mobile>
<voip>
- <nationalNumberPattern>8700[0-4]\d{4}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>870012345</exampleNumber>
+ <nationalNumberPattern>8700[0-4]\d{4}</nationalNumberPattern>
</voip>
<uan>
- <nationalNumberPattern>[2-9]0\d{4,7}</nationalNumberPattern>
<possibleLengths national="[6-9]"/>
<exampleNumber>201234567</exampleNumber>
+ <nationalNumberPattern>[2-9]0\d{4,7}</nationalNumberPattern>
</uan>
</territory>
<!-- Qatar -->
+ <!-- No premiumRate information can be found. -->
<territory id="QA" countryCode="974" internationalPrefix="00" mobileNumberPortableRegion="true">
<references>
<sourceUrl>http://www.itu.int/oth/T02020000AB/en</sourceUrl>
@@ -20737,40 +20688,37 @@
<nationalNumberPattern>[2-8]\d{6,7}</nationalNumberPattern>
</generalDesc>
<fixedLine>
- <!-- The prefix 40 has now been allocated, based on numbers seen online. -->
- <nationalNumberPattern>4[04]\d{6}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>44123456</exampleNumber>
+ <!-- The prefix 40 has now been allocated, based on numbers seen online. -->
+ <nationalNumberPattern>4[04]\d{6}</nationalNumberPattern>
</fixedLine>
<mobile>
- <nationalNumberPattern>[3567]\d{7}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>33123456</exampleNumber>
+ <nationalNumberPattern>[3567]\d{7}</nationalNumberPattern>
</mobile>
<pager>
+ <possibleLengths national="7"/>
+ <exampleNumber>2123456</exampleNumber>
<nationalNumberPattern>
2(?:
[12]\d|
61
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="7"/>
- <exampleNumber>2123456</exampleNumber>
</pager>
<tollFree>
- <nationalNumberPattern>800\d{4}</nationalNumberPattern>
<possibleLengths national="7"/>
<exampleNumber>8001234</exampleNumber>
+ <nationalNumberPattern>800\d{4}</nationalNumberPattern>
</tollFree>
- <!-- No premiumRate information can be found. -->
</territory>
<!-- Réunion (French Departments and Territories in the Indian Ocean) -->
- <!-- Note this shares the same country code as La Mayotte and the formatting patterns here are
- used by both of them. -->
- <territory id="RE" countryCode="262" internationalPrefix="00"
- nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
- leadingDigits="262|69|8" mainCountryForCode="true" >
+ <!-- Main region for 'YT' -->
+ <territory id="RE" mainCountryForCode="true" countryCode="262" leadingDigits="262|69|8"
+ internationalPrefix="00" nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
<references>
<sourceUrl>http://www.itu.int/oth/T020200004B/en</sourceUrl>
<sourceUrl>http://www.arcep.fr/index.php?id=2137&amp;bloc=0596&amp;CMD=RESULTS_NUMEROTATION</sourceUrl>
@@ -20784,12 +20732,14 @@
<nationalNumberPattern>[268]\d{8}</nationalNumberPattern>
</generalDesc>
<fixedLine>
- <!-- 0876 numbers are mentioned in the plan, but none in use can be found. -->
- <nationalNumberPattern>262\d{6}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>262161234</exampleNumber>
+ <!-- 0876 numbers are mentioned in the plan, but none in use can be found. -->
+ <nationalNumberPattern>262\d{6}</nationalNumberPattern>
</fixedLine>
<mobile>
+ <possibleLengths national="9"/>
+ <exampleNumber>692123456</exampleNumber>
<nationalNumberPattern>
69(?:
2\d{2}|
@@ -20807,21 +20757,21 @@
)
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>692123456</exampleNumber>
</mobile>
<!-- 08* Numbers in Réunion are the same as those valid in France. -->
<tollFree>
- <nationalNumberPattern>80\d{7}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>801234567</exampleNumber>
+ <nationalNumberPattern>80\d{7}</nationalNumberPattern>
</tollFree>
<premiumRate>
- <nationalNumberPattern>89[1-37-9]\d{6}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>891123456</exampleNumber>
+ <nationalNumberPattern>89[1-37-9]\d{6}</nationalNumberPattern>
</premiumRate>
<sharedCost>
+ <possibleLengths national="9"/>
+ <exampleNumber>810123456</exampleNumber>
<nationalNumberPattern>
8(?:
1[019]|
@@ -20830,16 +20780,14 @@
90
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>810123456</exampleNumber>
</sharedCost>
</territory>
<!-- Romania -->
<!-- Extension prefix found online, confirmed by a Romanian. -->
- <territory id="RO" countryCode="40" internationalPrefix="00"
- nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
- preferredExtnPrefix=" int " mobileNumberPortableRegion="true">
+ <territory id="RO" countryCode="40" internationalPrefix="00" nationalPrefix="0"
+ preferredExtnPrefix=" int " nationalPrefixFormattingRule="$NP$FG"
+ mobileNumberPortableRegion="true">
<references>
<sourceUrl>http://www.itu.int/oth/T02020000AC/en</sourceUrl>
<sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Romania</sourceUrl>
@@ -20869,17 +20817,19 @@
<format>$1 $2</format>
</numberFormat>
</availableFormats>
+ <!-- Although the ITU plan says the number plan is open, this was changed in 2008 according
+ to wikipedia and people must dial the full number. However, there are still short
+ numbers that total 6 digits long, so the possible number pattern should take these into
+ account. -->
<generalDesc>
<nationalNumberPattern>
[23]\d{5,8}|
[7-9]\d{8}
</nationalNumberPattern>
- <!-- Although the ITU plan says the number plan is open, this was changed in 2008 according
- to wikipedia and people must dial the full number. However, there are still short
- numbers that total 6 digits long, so the possible number pattern should take these into
- account. -->
</generalDesc>
<fixedLine>
+ <possibleLengths national="6,9"/>
+ <exampleNumber>211234567</exampleNumber>
<!-- We exclude three-digit short numbers for Bucharest (219\d{2}) and four-digit short
numbers outside Bucharest (2[36]\d9\d{3}) even though ITU suggests these exist. We do
this based on numbers found online and the wikipedia article which indicate that these
@@ -20896,14 +20846,16 @@
)
)|
3(?:
- 1\d{4}(?:\d{3})?|
+ 1\d{4}(?:
+ \d{3}
+ )?|
[3-6]\d{7}
)
</nationalNumberPattern>
- <possibleLengths national="6,9"/>
- <exampleNumber>211234567</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="9"/>
+ <exampleNumber>712345678</exampleNumber>
<!-- http://www.enigma-system.net/business/customized-phone-number.html confirms that the
numbers are restricted to those starting with 07000. Mobile prefix 0799 added based on
open-source report and confirmation by existence of such numbers online.
@@ -20916,40 +20868,37 @@
99\d
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>712345678</exampleNumber>
</mobile>
<tollFree>
- <nationalNumberPattern>800\d{6}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>800123456</exampleNumber>
+ <nationalNumberPattern>800\d{6}</nationalNumberPattern>
</tollFree>
<premiumRate>
- <nationalNumberPattern>90[036]\d{6}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>900123456</exampleNumber>
+ <nationalNumberPattern>90[036]\d{6}</nationalNumberPattern>
</premiumRate>
<sharedCost>
+ <possibleLengths national="9"/>
+ <exampleNumber>801123456</exampleNumber>
<!-- 803\d{6} shared cost number pattern is not included as we couldn't find any working
numbers online. -->
<nationalNumberPattern>801\d{6}</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>801123456</exampleNumber>
</sharedCost>
<uan>
+ <possibleLengths national="9"/>
+ <exampleNumber>372123456</exampleNumber>
<!-- http://www.ancom.org.ro/pnn_1300 refers to numbers beginning with 37, 38 or 39 as
location-independent national numbers. Only numbers beginning with 37 have been seen so
these are the only ones supported for now. -->
<nationalNumberPattern>37\d{7}</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>372123456</exampleNumber>
</uan>
</territory>
<!-- Serbia -->
- <territory id="RS" countryCode="381" internationalPrefix="00"
- nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
- mobileNumberPortableRegion="true">
+ <territory id="RS" countryCode="381" internationalPrefix="00" nationalPrefix="0"
+ nationalPrefixFormattingRule="$NP$FG" mobileNumberPortableRegion="true">
<references>
<sourceUrl>http://www.itu.int/oth/T02020000B9/en</sourceUrl>
<sourceUrl>http://registar.ratel.rs/en/reg202</sourceUrl>
@@ -20995,9 +20944,9 @@
<format>$1 $2</format>
</numberFormat>
</availableFormats>
+ <!-- The complicated pattern here is to distinguish between Pristina (area code 38, followed
+ by 2-9) and the country calling code (381). -->
<generalDesc>
- <!-- The complicated pattern here is to distinguish between Pristina (area code 38, followed
- by 2-9) and the country calling code (381). -->
<nationalNumberPattern>
[126-9]\d{4,11}|
3(?:
@@ -21007,6 +20956,8 @@
</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="[7-12]" localOnly="5,6"/>
+ <exampleNumber>10234567</exampleNumber>
<!-- Most subscriber numbers may not start with 0 or 1. Exceptionally, the prefix 11 1[5-7]
has been issused, so we allow 11 1X here. -->
<nationalNumberPattern>
@@ -21031,46 +20982,44 @@
)
)\d{3,8}
</nationalNumberPattern>
- <possibleLengths national="[7-12]" localOnly="5,6"/>
- <exampleNumber>10234567</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="[8-10]"/>
+ <exampleNumber>601234567</exampleNumber>
<nationalNumberPattern>
6(?:
[0-689]|
7\d
)\d{6,7}
</nationalNumberPattern>
- <possibleLengths national="[8-10]"/>
- <exampleNumber>601234567</exampleNumber>
</mobile>
<tollFree>
- <nationalNumberPattern>800\d{3,9}</nationalNumberPattern>
<possibleLengths national="[6-12]"/>
<exampleNumber>80012345</exampleNumber>
+ <nationalNumberPattern>800\d{3,9}</nationalNumberPattern>
</tollFree>
<premiumRate>
+ <possibleLengths national="[6-12]"/>
+ <exampleNumber>90012345</exampleNumber>
<nationalNumberPattern>
(?:
90[0169]|
78\d
)\d{3,7}
</nationalNumberPattern>
- <possibleLengths national="[6-12]"/>
- <exampleNumber>90012345</exampleNumber>
</premiumRate>
<uan>
- <nationalNumberPattern>7[06]\d{4,10}</nationalNumberPattern>
<possibleLengths national="[6-12]"/>
<exampleNumber>700123456</exampleNumber>
+ <nationalNumberPattern>7[06]\d{4,10}</nationalNumberPattern>
</uan>
</territory>
<!-- Russian Federation -->
- <territory id="RU" countryCode="7" mainCountryForCode="true" preferredInternationalPrefix="8~10"
- internationalPrefix="810" nationalPrefix="8"
- nationalPrefixFormattingRule="$NP ($FG)"
- nationalPrefixOptionalWhenFormatting="true" >
+ <!-- Main region for 'KZ' -->
+ <territory id="RU" mainCountryForCode="true" countryCode="7" preferredInternationalPrefix="8~10"
+ internationalPrefix="810" nationalPrefix="8" nationalPrefixFormattingRule="$NP ($FG)"
+ nationalPrefixOptionalWhenFormatting="true">
<references>
<sourceUrl>http://www.itu.int/oth/T02020000AD/en</sourceUrl>
<sourceUrl>http://en.wikipedia.org/wiki/%2B7</sourceUrl>
@@ -21098,6 +21047,8 @@
<nationalNumberPattern>[3489]\d{9}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="10"/>
+ <exampleNumber>3011234567</exampleNumber>
<!-- The Ivanovo area code 493 was omitted on the official document, but this is still used
in the yellow pages, and on their own website and is listed on wikipedia. This applies
also to 395 (Irkutsk). Also including the 840 prefix for Abkhazia. -->
@@ -21130,27 +21081,25 @@
)
)\d{7}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>3011234567</exampleNumber>
</fixedLine>
<mobile>
- <nationalNumberPattern>9\d{9}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>9123456789</exampleNumber>
+ <nationalNumberPattern>9\d{9}</nationalNumberPattern>
</mobile>
<tollFree>
+ <possibleLengths national="10"/>
+ <exampleNumber>8001234567</exampleNumber>
<!-- The metadata states that 804 numbers are UAN numbers, but
teleum.ru/numbers/toll_free_804 states that they are now being offered as toll-free
numbers. -->
<nationalNumberPattern>80[04]\d{7}</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>8001234567</exampleNumber>
</tollFree>
<premiumRate>
- <!-- Covers tele-voting numbers as well. -->
- <nationalNumberPattern>80[39]\d{7}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>8091234567</exampleNumber>
+ <!-- Covers tele-voting numbers as well. -->
+ <nationalNumberPattern>80[39]\d{7}</nationalNumberPattern>
</premiumRate>
</territory>
@@ -21164,8 +21113,7 @@
<sourceUrl>http://en.wikipedia.org/wiki/+250</sourceUrl>
</references>
<availableFormats>
- <numberFormat nationalPrefixFormattingRule="$FG"
- pattern="(2\d{2})(\d{3})(\d{3})">
+ <numberFormat pattern="(2\d{2})(\d{3})(\d{3})" nationalPrefixFormattingRule="$FG">
<leadingDigits>2</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
@@ -21182,6 +21130,8 @@
<nationalNumberPattern>[027-9]\d{7,8}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="8,9"/>
+ <exampleNumber>250123456</exampleNumber>
<!-- We support satellite numbers here, since they are in the plan, although no recent
online examples can be found. We also support fixed-line ranges that have been reserved
and paid for, even where no online numbers can be found. -->
@@ -21189,33 +21139,30 @@
2[258]\d{7}|
06\d{6}
</nationalNumberPattern>
- <possibleLengths national="8,9"/>
- <exampleNumber>250123456</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="9"/>
+ <exampleNumber>720123456</exampleNumber>
<!-- Adding 73X for Airtel - this is on the wikipedia page, but not yet in the Rwanda
telecommunications numbering plan. Removing 75 - that was Rwandatel but they had their
license revoked. -->
<nationalNumberPattern>7[238]\d{7}</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>720123456</exampleNumber>
</mobile>
<tollFree>
- <nationalNumberPattern>800\d{6}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>800123456</exampleNumber>
+ <nationalNumberPattern>800\d{6}</nationalNumberPattern>
</tollFree>
<premiumRate>
- <nationalNumberPattern>900\d{6}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>900123456</exampleNumber>
+ <nationalNumberPattern>900\d{6}</nationalNumberPattern>
</premiumRate>
</territory>
<!-- Saudi Arabia -->
- <territory id="SA" countryCode="966" internationalPrefix="00"
- nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
- mobileNumberPortableRegion="true">
+ <territory id="SA" countryCode="966" internationalPrefix="00" nationalPrefix="0"
+ nationalPrefixFormattingRule="$NP$FG" mobileNumberPortableRegion="true">
<references>
<sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Saudi_Arabia</sourceUrl>
<sourceUrl>http://www.itu.int/oth/T02020000B7/en</sourceUrl>
@@ -21248,9 +21195,9 @@
<format>$1 $2 $3</format>
</numberFormat>
</availableFormats>
+ <!-- The more detailed pattern here is to allow the country-code to be stripped off for
+ fixed-line numbers. -->
<generalDesc>
- <!-- The more detailed pattern here is to allow the country-code to be stripped off for
- fixed-line numbers. -->
<nationalNumberPattern>
1\d{7,8}|
(?:
@@ -21262,6 +21209,8 @@
</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="8,9" localOnly="7"/>
+ <exampleNumber>112345678</exampleNumber>
<!-- Saudi Arabia is in the process of adding a leading 1 to their fixed-line numbers. This
happened in May for area code 1 (parallel running ended July 13th, 2013) and then in
August for the other fixed-line numbers (parallel running ends October 18th, 2013). -->
@@ -21275,10 +21224,10 @@
7[235-7]
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="8,9" localOnly="7"/>
- <exampleNumber>112345678</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="9,10"/>
+ <exampleNumber>512345678</exampleNumber>
<!-- Including "Nomadic" numbers from the Telecom Company "Go". The ITU document now says
they are 11 digits long; however all online numbers are 10, and it used to say 10, so
until we find evidence that this is an error, leaving them at 10 for now. -->
@@ -21291,19 +21240,17 @@
811\d
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="9,10"/>
- <exampleNumber>512345678</exampleNumber>
</mobile>
<tollFree>
- <nationalNumberPattern>800\d{7}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>8001234567</exampleNumber>
+ <nationalNumberPattern>800\d{7}</nationalNumberPattern>
</tollFree>
<sharedCost>
- <!-- Including shared revenue with shared cost here. -->
- <nationalNumberPattern>92[05]\d{6}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>920012345</exampleNumber>
+ <!-- Including shared revenue with shared cost here. -->
+ <nationalNumberPattern>92[05]\d{6}</nationalNumberPattern>
</sharedCost>
</territory>
@@ -21324,6 +21271,8 @@
<nationalNumberPattern>[1-9]\d{4,6}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="5"/>
+ <exampleNumber>40123</exampleNumber>
<!-- Although not mentioned in the 2011 update, it seems likely that the range 67300-67699
is still used for Sasamunga, Shortland, Poitete and Ringgi as per the 2010 plan. -->
<nationalNumberPattern>
@@ -21335,10 +21284,10 @@
6[0-37]
)\d{3}
</nationalNumberPattern>
- <possibleLengths national="5"/>
- <exampleNumber>40123</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="5,7"/>
+ <exampleNumber>7421234</exampleNumber>
<!-- The 795 prefix is not in the ITU plan (5.XII.2014), but was added because such a number
was dialed successfully. -->
<nationalNumberPattern>
@@ -21361,24 +21310,22 @@
9[0-8]
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="5,7"/>
- <exampleNumber>7421234</exampleNumber>
</mobile>
<tollFree>
- <nationalNumberPattern>1[38]\d{3}</nationalNumberPattern>
<possibleLengths national="5"/>
<exampleNumber>18123</exampleNumber>
+ <nationalNumberPattern>1[38]\d{3}</nationalNumberPattern>
</tollFree>
<voip>
- <nationalNumberPattern>5[12]\d{3}</nationalNumberPattern>
<possibleLengths national="5"/>
<exampleNumber>51123</exampleNumber>
+ <nationalNumberPattern>5[12]\d{3}</nationalNumberPattern>
</voip>
</territory>
<!-- Seychelles -->
- <territory id="SC" countryCode="248" internationalPrefix="0(?:[02]|10?)"
- preferredInternationalPrefix="00">
+ <territory id="SC" countryCode="248" preferredInternationalPrefix="00"
+ internationalPrefix="0(?:[02]|10?)">
<references>
<sourceUrl>http://www.itu.int/oth/T02020000BA/en</sourceUrl>
<sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Seychelles</sourceUrl>
@@ -21393,25 +21340,27 @@
<nationalNumberPattern>[24689]\d{5,6}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="7"/>
+ <exampleNumber>4217123</exampleNumber>
<!-- We are putting Fixed Services numbers here for now, as we cannot find any evidence that
they are more expensive to call than other Fixed Line services. ISDN and DID services
are here too, since they seem to be also fixed-line phone numbers. -->
<nationalNumberPattern>4[2-46]\d{5}</nationalNumberPattern>
- <possibleLengths national="7"/>
- <exampleNumber>4217123</exampleNumber>
</fixedLine>
<mobile>
- <!-- Includes Fixed Cellular. -->
- <nationalNumberPattern>2[5-8]\d{5}</nationalNumberPattern>
<possibleLengths national="7"/>
<exampleNumber>2510123</exampleNumber>
+ <!-- Includes Fixed Cellular. -->
+ <nationalNumberPattern>2[5-8]\d{5}</nationalNumberPattern>
</mobile>
<tollFree>
- <nationalNumberPattern>8000\d{3}</nationalNumberPattern>
<possibleLengths national="7"/>
<exampleNumber>8000000</exampleNumber>
+ <nationalNumberPattern>8000\d{3}</nationalNumberPattern>
</tollFree>
<voip>
+ <possibleLengths national="7"/>
+ <exampleNumber>6412345</exampleNumber>
<!-- Includes prefix 971 which is assigned to Audiotext Services. -->
<nationalNumberPattern>
(?:
@@ -21419,14 +21368,12 @@
971
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="7"/>
- <exampleNumber>6412345</exampleNumber>
</voip>
</territory>
<!-- Sudan -->
- <territory id="SD" countryCode="249" internationalPrefix="00"
- nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
+ <territory id="SD" countryCode="249" internationalPrefix="00" nationalPrefix="0"
+ nationalPrefixFormattingRule="$NP$FG">
<references>
<sourceUrl>http://www.itu.int/oth/T02020000C4/en</sourceUrl>
</references>
@@ -21439,6 +21386,8 @@
<nationalNumberPattern>[19]\d{8}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="9"/>
+ <exampleNumber>121231234</exampleNumber>
<!-- Retaining previous prefix as 18 since it seems still to be used. Adding 11 from numbers
found online. -->
<nationalNumberPattern>
@@ -21447,27 +21396,24 @@
8[3567]
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>121231234</exampleNumber>
</fixedLine>
<mobile>
- <!-- Adding 90X as online numbers have been found with this prefix. -->
- <nationalNumberPattern>9[0-3569]\d{7}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>911231234</exampleNumber>
+ <!-- Adding 90X as online numbers have been found with this prefix. -->
+ <nationalNumberPattern>9[0-3569]\d{7}</nationalNumberPattern>
</mobile>
</territory>
<!-- Sweden -->
- <territory id="SE" countryCode="46" internationalPrefix="00"
- nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
- mobileNumberPortableRegion="true">
+ <territory id="SE" countryCode="46" internationalPrefix="00" nationalPrefix="0"
+ nationalPrefixFormattingRule="$NP$FG" mobileNumberPortableRegion="true">
<references>
<sourceUrl>http://www.pts.se/upload/Ovrigt/Tele/Nummerfragor/swedish-numbering-plan-for-telephony-acc-itu-140407.pdf</sourceUrl>
</references>
<availableFormats>
- <!-- Formatting patterns are from the numbering plan and from the Swedish yellow pages
- http://gulasidorna.eniro.se -->
+ <!-- Formatting patterns are from the numbering plan and from the Swedish yellow pages
+ http://gulasidorna.eniro.se -->
<numberFormat pattern="(8)(\d{2,3})(\d{2,3})(\d{2})">
<leadingDigits>8</leadingDigits>
<format>$1-$2 $3 $4</format>
@@ -21585,6 +21531,8 @@
</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="[7-9]"/>
+ <exampleNumber>8123456</exampleNumber>
<nationalNumberPattern>
1(?:
0[1-8]\d{6}|
@@ -21669,25 +21617,25 @@
)\d{5,6}
)
</nationalNumberPattern>
- <possibleLengths national="[7-9]"/>
- <exampleNumber>8123456</exampleNumber>
</fixedLine>
<mobile>
- <nationalNumberPattern>7[02369]\d{7}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>701234567</exampleNumber>
+ <nationalNumberPattern>7[02369]\d{7}</nationalNumberPattern>
</mobile>
<pager>
- <nationalNumberPattern>74[02-9]\d{6}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>740123456</exampleNumber>
+ <nationalNumberPattern>74[02-9]\d{6}</nationalNumberPattern>
</pager>
<tollFree>
- <nationalNumberPattern>20\d{4,7}</nationalNumberPattern>
<possibleLengths national="[6-9]"/>
<exampleNumber>20123456</exampleNumber>
+ <nationalNumberPattern>20\d{4,7}</nationalNumberPattern>
</tollFree>
<premiumRate>
+ <possibleLengths national="[7-10]"/>
+ <exampleNumber>9001234567</exampleNumber>
<nationalNumberPattern>
649\d{6}|
9(?:
@@ -21696,33 +21644,33 @@
44
)[1-8]\d{3,6}
</nationalNumberPattern>
- <possibleLengths national="[7-10]"/>
- <exampleNumber>9001234567</exampleNumber>
</premiumRate>
<sharedCost>
+ <possibleLengths national="6,9"/>
+ <exampleNumber>771234567</exampleNumber>
<nationalNumberPattern>
77(?:
- 0\d{3}(?:\d{3})?|
+ 0\d{3}(?:
+ \d{3}
+ )?|
[1-7]\d{6}
)
</nationalNumberPattern>
- <possibleLengths national="6,9"/>
- <exampleNumber>771234567</exampleNumber>
</sharedCost>
<personalNumber>
- <nationalNumberPattern>75[1-8]\d{6}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>751234567</exampleNumber>
+ <nationalNumberPattern>75[1-8]\d{6}</nationalNumberPattern>
</personalNumber>
<voicemail>
+ <possibleLengths national="12"/>
+ <exampleNumber>254123456789</exampleNumber>
<nationalNumberPattern>
(?:
25[245]|
67[3-6]
)\d{9}
</nationalNumberPattern>
- <possibleLengths national="12"/>
- <exampleNumber>254123456789</exampleNumber>
</voicemail>
</territory>
@@ -21753,56 +21701,56 @@
<format>$1 $2 $3</format>
</numberFormat>
</availableFormats>
+ <!-- We have a stricter national number pattern for numbers beginning with 6 to enable us to
+ easily strip off leading "65" country codes. -->
<generalDesc>
- <!-- We have a stricter national number pattern for numbers beginning with 6 to enable us to
- easily strip off leading "65" country codes. -->
<nationalNumberPattern>
[36]\d{7}|
[17-9]\d{7,10}
</nationalNumberPattern>
</generalDesc>
<fixedLine>
- <nationalNumberPattern>6[1-9]\d{6}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>61234567</exampleNumber>
+ <nationalNumberPattern>6[1-9]\d{6}</nationalNumberPattern>
</fixedLine>
<mobile>
+ <possibleLengths national="8"/>
+ <exampleNumber>81234567</exampleNumber>
<nationalNumberPattern>
(?:
8[1-8]|
9[0-8]
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>81234567</exampleNumber>
</mobile>
<tollFree>
- <nationalNumberPattern>1?800\d{7}</nationalNumberPattern>
<possibleLengths national="10,11"/>
<exampleNumber>18001234567</exampleNumber>
+ <nationalNumberPattern>1?800\d{7}</nationalNumberPattern>
</tollFree>
<premiumRate>
- <nationalNumberPattern>1900\d{7}</nationalNumberPattern>
<possibleLengths national="11"/>
<exampleNumber>19001234567</exampleNumber>
+ <nationalNumberPattern>1900\d{7}</nationalNumberPattern>
</premiumRate>
<voip>
- <nationalNumberPattern>3[12]\d{6}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>31234567</exampleNumber>
+ <nationalNumberPattern>3[12]\d{6}</nationalNumberPattern>
</voip>
<uan>
- <!-- Although not detailed in the plan beyond mentioning their existence, it seems 7000
- numbers are used for companies. Most of the online examples are in fact alpha-numbers.
- -->
- <nationalNumberPattern>7000\d{7}</nationalNumberPattern>
<possibleLengths national="11"/>
<exampleNumber>70001234567</exampleNumber>
+ <!-- Although not detailed in the plan beyond mentioning their existence, it seems 7000
+ numbers are used for companies. Most of the online examples are in fact alpha-numbers. -->
+ <nationalNumberPattern>7000\d{7}</nationalNumberPattern>
</uan>
</territory>
<!-- Saint Helena -->
- <territory id="SH" countryCode="290" internationalPrefix="00" mainCountryForCode="true">
+ <!-- Main region for 'TA' -->
+ <territory id="SH" mainCountryForCode="true" countryCode="290" internationalPrefix="00">
<references>
<sourceUrl>http://www.itu.int/oth/T02020000AF/en</sourceUrl>
</references>
@@ -21810,7 +21758,14 @@
<generalDesc>
<nationalNumberPattern>[256]\d{4}</nationalNumberPattern>
</generalDesc>
+ <!-- There is a bug in the way the library calculates whether numbers are "possible" for a
+ region in that it uses the "main" country if multiple countries share a country calling
+ code. Trista da Cuñha shares a country calling code with Saint Helena but has only 4
+ digit numbers, so we include 4 as a possible length here. -->
<fixedLine>
+ <possibleLengths national="4,5"/>
+ <!-- Using St Helena Tourism as the example number. -->
+ <exampleNumber>22158</exampleNumber>
<!-- St Helena has changed to 5 digits on October 1. 2013 -->
<nationalNumberPattern>
2(?:
@@ -21818,40 +21773,31 @@
6[4-9]
)\d{2}
</nationalNumberPattern>
- <!-- There is a bug in the way the library calculates whether numbers are "possible" for a
- region in that it uses the "main" country if multiple countries share a country calling
- code. Trista da Cuñha shares a country calling code with Saint Helena but has only 4
- digit numbers, so we include 4 as a possible length here. -->
- <possibleLengths national="4,5"/>
- <!-- Using St Helena Tourism as the example number. -->
- <exampleNumber>22158</exampleNumber>
</fixedLine>
<mobile>
- <!-- Effective 1st August 2015 -->
- <nationalNumberPattern>[56]\d{4}</nationalNumberPattern>
<possibleLengths national="5"/>
<exampleNumber>51234</exampleNumber>
+ <!-- Effective 1st August 2015 -->
+ <nationalNumberPattern>[56]\d{4}</nationalNumberPattern>
</mobile>
<!-- The ITU doc reserves prefixes 260 and 261 for Information Service and prefix 263 for
Flexible access. We do not support these prefixes as we do not have any information
about their usage. -->
<voip>
- <nationalNumberPattern>262\d{2}</nationalNumberPattern>
<possibleLengths national="5"/>
<exampleNumber>26212</exampleNumber>
+ <nationalNumberPattern>262\d{2}</nationalNumberPattern>
</voip>
</territory>
<!-- Slovenia -->
- <territory id="SI" countryCode="386" internationalPrefix="00"
- nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
- mobileNumberPortableRegion="true">
+ <territory id="SI" countryCode="386" internationalPrefix="00" nationalPrefix="0"
+ nationalPrefixFormattingRule="$NP$FG" mobileNumberPortableRegion="true">
<references>
<sourceUrl>http://www.itu.int/oth/T02020000BE/en</sourceUrl>
</references>
<availableFormats>
- <numberFormat nationalPrefixFormattingRule="($NP$FG)"
- pattern="(\d)(\d{3})(\d{2})(\d{2})">
+ <numberFormat pattern="(\d)(\d{3})(\d{2})(\d{2})" nationalPrefixFormattingRule="($NP$FG)">
<leadingDigits>
[12]|
3[24-8]|
@@ -21860,7 +21806,7 @@
7[3-8]
</leadingDigits>
<format>$1 $2 $3 $4</format>
- </numberFormat>
+ </numberFormat>
<numberFormat pattern="([3-7]\d)(\d{3})(\d{3})">
<leadingDigits>
[37][01]|
@@ -21869,7 +21815,7 @@
6
</leadingDigits>
<format>$1 $2 $3</format>
- </numberFormat>
+ </numberFormat>
<numberFormat pattern="([89][09])(\d{3,6})">
<leadingDigits>[89][09]</leadingDigits>
<format>$1 $2</format>
@@ -21889,7 +21835,9 @@
</nationalNumberPattern>
</generalDesc>
<fixedLine>
- <!-- Prefix 32 added after a user report.-->
+ <possibleLengths national="8" localOnly="7"/>
+ <exampleNumber>11234567</exampleNumber>
+ <!-- Prefix 32 added after a user report. -->
<nationalNumberPattern>
(?:
1\d|
@@ -21899,13 +21847,12 @@
7[3-8]
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="8" localOnly="7"/>
- <exampleNumber>11234567</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="8"/>
+ <exampleNumber>31234567</exampleNumber>
<!-- We include 043 and 049 here - it is VoIP in the plan, but is actually used to provide
- mobile coverage to Kosovo. Also added 068, which is used by the mobile operator bob.si
- -->
+ mobile coverage to Kosovo. Also added 068, which is used by the mobile operator bob.si -->
<nationalNumberPattern>
(?:
[37][01]\d|
@@ -21917,37 +21864,35 @@
)
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>31234567</exampleNumber>
</mobile>
<tollFree>
- <nationalNumberPattern>80\d{4,6}</nationalNumberPattern>
<possibleLengths national="[6-8]"/>
<exampleNumber>80123456</exampleNumber>
+ <nationalNumberPattern>80\d{4,6}</nationalNumberPattern>
</tollFree>
<premiumRate>
+ <possibleLengths national="[5-8]"/>
+ <exampleNumber>90123456</exampleNumber>
<!-- Includes televoting, mass calling -->
<nationalNumberPattern>
90\d{4,6}|
89[1-3]\d{2,5}
</nationalNumberPattern>
- <possibleLengths national="[5-8]"/>
- <exampleNumber>90123456</exampleNumber>
</premiumRate>
<voip>
+ <possibleLengths national="8"/>
+ <exampleNumber>59012345</exampleNumber>
<nationalNumberPattern>
(?:
59|
8[1-3]
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>59012345</exampleNumber>
</voip>
</territory>
<!-- Svalbard -->
- <!-- Metadata shared with Norway. -->
+ <!-- Country calling code and formatting shared with 'NO' -->
<territory id="SJ" countryCode="47" internationalPrefix="00">
<references>
<sourceUrl>http://www.npt.no/pt_internet/numsys/E.164.pdf</sourceUrl>
@@ -21959,12 +21904,14 @@
</nationalNumberPattern>
</generalDesc>
<fixedLine>
- <nationalNumberPattern>79\d{6}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>79123456</exampleNumber>
+ <nationalNumberPattern>79\d{6}</nationalNumberPattern>
</fixedLine>
<!-- Copied from Norway metadata. -->
<mobile>
+ <possibleLengths national="8"/>
+ <exampleNumber>41234567</exampleNumber>
<nationalNumberPattern>
(?:
4[015-8]|
@@ -21972,40 +21919,40 @@
9\d
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>41234567</exampleNumber>
</mobile>
<tollFree>
- <nationalNumberPattern>80[01]\d{5}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>80012345</exampleNumber>
+ <nationalNumberPattern>80[01]\d{5}</nationalNumberPattern>
</tollFree>
<premiumRate>
- <nationalNumberPattern>82[09]\d{5}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>82012345</exampleNumber>
+ <nationalNumberPattern>82[09]\d{5}</nationalNumberPattern>
</premiumRate>
<sharedCost>
+ <possibleLengths national="8"/>
+ <exampleNumber>81021234</exampleNumber>
<nationalNumberPattern>
810(?:
0[0-6]|
[2-8]\d
)\d{3}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>81021234</exampleNumber>
</sharedCost>
<personalNumber>
- <nationalNumberPattern>880\d{5}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>88012345</exampleNumber>
+ <nationalNumberPattern>880\d{5}</nationalNumberPattern>
</personalNumber>
<voip>
- <nationalNumberPattern>85[0-5]\d{5}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>85012345</exampleNumber>
+ <nationalNumberPattern>85[0-5]\d{5}</nationalNumberPattern>
</voip>
<uan>
+ <possibleLengths national="5,8"/>
+ <exampleNumber>01234</exampleNumber>
<!-- Includes some 810 local-rate numbers, and long-distance rate numbers. -->
<nationalNumberPattern>
0\d{4}|
@@ -22017,20 +21964,17 @@
5\d{2}
)\d{3}
</nationalNumberPattern>
- <possibleLengths national="5,8"/>
- <exampleNumber>01234</exampleNumber>
</uan>
<voicemail>
- <nationalNumberPattern>81[23]\d{5}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>81212345</exampleNumber>
+ <nationalNumberPattern>81[23]\d{5}</nationalNumberPattern>
</voicemail>
</territory>
<!-- Slovakia -->
- <territory id="SK" countryCode="421" internationalPrefix="00"
- nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
- mobileNumberPortableRegion="true">
+ <territory id="SK" countryCode="421" internationalPrefix="00" nationalPrefix="0"
+ nationalPrefixFormattingRule="$NP$FG" mobileNumberPortableRegion="true">
<references>
<sourceUrl>http://www.itu.int/oth/T02020000BD/en</sourceUrl>
<sourceUrl>http://www.teleoff.gov.sk/data/files/25211.pdf</sourceUrl>
@@ -22064,12 +22008,14 @@
<generalDesc>
<nationalNumberPattern>
(?:
- [2-68]\d{5,8}|
- 9\d{6,8}
+ [2-68]\d{5,8}|
+ 9\d{6,8}
)
</nationalNumberPattern>
</generalDesc>
<noInternationalDialling>
+ <possibleLengths national="7,9"/>
+ <exampleNumber>800123456</exampleNumber>
<nationalNumberPattern>
(?:
602|
@@ -22084,10 +22030,10 @@
)\d{6}|
9090\d{3}
</nationalNumberPattern>
- <possibleLengths national="7,9"/>
- <exampleNumber>800123456</exampleNumber>
</noInternationalDialling>
<fixedLine>
+ <possibleLengths national="6,7,9"/>
+ <exampleNumber>221234567</exampleNumber>
<!-- Added range 16 as per pattern [areacode] + 16 + SN(\d{2,4}) -->
<nationalNumberPattern>
2(?:
@@ -22105,13 +22051,13 @@
\d{7}
)
</nationalNumberPattern>
- <possibleLengths national="6,7,9"/>
- <exampleNumber>221234567</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="9"/>
+ <exampleNumber>912123456</exampleNumber>
<!-- 948 isn't in the number pattern, but many examples using this have been found, so
deeming it valid for now. 909[1-9] is assigned to carrier Juro as per online
- references found. 945 is assigned to Orange as per its carrier doc.-->
+ references found. 945 is assigned to Orange as per its carrier doc. -->
<nationalNumberPattern>
9(?:
0(?:
@@ -22124,35 +22070,35 @@
)\d
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>912123456</exampleNumber>
</mobile>
<pager>
- <nationalNumberPattern>9090\d{3}</nationalNumberPattern>
<possibleLengths national="7"/>
<exampleNumber>9090123</exampleNumber>
+ <nationalNumberPattern>9090\d{3}</nationalNumberPattern>
</pager>
<tollFree>
- <nationalNumberPattern>800\d{6}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>800123456</exampleNumber>
+ <nationalNumberPattern>800\d{6}</nationalNumberPattern>
</tollFree>
<premiumRate>
+ <possibleLengths national="9"/>
+ <exampleNumber>900123456</exampleNumber>
<nationalNumberPattern>
9(?:
[78]\d{7}|
00\d{6}
)
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>900123456</exampleNumber>
</premiumRate>
<sharedCost>
- <nationalNumberPattern>8[5-9]\d{7}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>850123456</exampleNumber>
+ <nationalNumberPattern>8[5-9]\d{7}</nationalNumberPattern>
</sharedCost>
<voip>
+ <possibleLengths national="9"/>
+ <exampleNumber>690123456</exampleNumber>
<nationalNumberPattern>
6(?:
02|
@@ -22160,19 +22106,17 @@
9[0-6]
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>690123456</exampleNumber>
</voip>
<uan>
- <nationalNumberPattern>96\d{7}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>961234567</exampleNumber>
+ <nationalNumberPattern>96\d{7}</nationalNumberPattern>
</uan>
</territory>
<!-- Sierra Leone -->
- <territory id="SL" countryCode="232" internationalPrefix="00"
- nationalPrefix="0" nationalPrefixFormattingRule="($NP$FG)">
+ <territory id="SL" countryCode="232" internationalPrefix="00" nationalPrefix="0"
+ nationalPrefixFormattingRule="($NP$FG)">
<references>
<sourceUrl>http://www.itu.int/oth/T02020000BB/en</sourceUrl>
</references>
@@ -22186,11 +22130,13 @@
<nationalNumberPattern>[2-9]\d{7}</nationalNumberPattern>
</generalDesc>
<fixedLine>
- <nationalNumberPattern>[235]2[2-4][2-9]\d{4}</nationalNumberPattern>
<possibleLengths national="8" localOnly="6"/>
<exampleNumber>22221234</exampleNumber>
+ <nationalNumberPattern>[235]2[2-4][2-9]\d{4}</nationalNumberPattern>
</fixedLine>
<mobile>
+ <possibleLengths national="8"/>
+ <exampleNumber>25123456</exampleNumber>
<nationalNumberPattern>
(?:
2[15]|
@@ -22203,8 +22149,6 @@
99
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>25123456</exampleNumber>
</mobile>
</territory>
@@ -22247,30 +22191,30 @@
</generalDesc>
<!-- Example numbers provided by the Telecommunications Services. -->
<fixedLine>
+ <possibleLengths national="10" localOnly="6"/>
+ <exampleNumber>0549886377</exampleNumber>
<nationalNumberPattern>
0549(?:
8[0157-9]|
9\d
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="10" localOnly="6"/>
- <exampleNumber>0549886377</exampleNumber>
</fixedLine>
<mobile>
- <nationalNumberPattern>6[16]\d{6}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>66661212</exampleNumber>
+ <nationalNumberPattern>6[16]\d{6}</nationalNumberPattern>
</mobile>
<premiumRate>
- <!-- Includes Video Call numbers. -->
- <nationalNumberPattern>7[178]\d{6}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>71123456</exampleNumber>
+ <!-- Includes Video Call numbers. -->
+ <nationalNumberPattern>7[178]\d{6}</nationalNumberPattern>
</premiumRate>
<voip>
- <nationalNumberPattern>5[158]\d{6}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>58001110</exampleNumber>
+ <nationalNumberPattern>5[158]\d{6}</nationalNumberPattern>
</voip>
</territory>
@@ -22296,6 +22240,8 @@
<nationalNumberPattern>[3789]\d{8}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="9"/>
+ <exampleNumber>301012345</exampleNumber>
<nationalNumberPattern>
3(?:
0(?:
@@ -22310,10 +22256,10 @@
611
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>301012345</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="9"/>
+ <exampleNumber>701234567</exampleNumber>
<nationalNumberPattern>
7(?:
[06-8]\d|
@@ -22321,34 +22267,32 @@
90
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>701234567</exampleNumber>
</mobile>
<tollFree>
- <nationalNumberPattern>800\d{6}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>800123456</exampleNumber>
+ <nationalNumberPattern>800\d{6}</nationalNumberPattern>
</tollFree>
<premiumRate>
- <!-- Revenu Partagé in the plan. -->
- <nationalNumberPattern>88[4689]\d{6}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>884123456</exampleNumber>
+ <!-- Revenu Partagé in the plan. -->
+ <nationalNumberPattern>88[4689]\d{6}</nationalNumberPattern>
</premiumRate>
<sharedCost>
- <nationalNumberPattern>81[02468]\d{6}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>810123456</exampleNumber>
+ <nationalNumberPattern>81[02468]\d{6}</nationalNumberPattern>
</sharedCost>
<voip>
+ <possibleLengths national="9"/>
+ <exampleNumber>933301234</exampleNumber>
<!-- Also covers satellite telephony ranges. -->
<nationalNumberPattern>
39[01]\d{6}|
3392\d{5}|
93330\d{4}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>933301234</exampleNumber>
</voip>
</territory>
@@ -22414,6 +22358,8 @@
<nationalNumberPattern>[1-9]\d{5,8}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="6,7"/>
+ <exampleNumber>4012345</exampleNumber>
<!-- Apparently Telesom and Nationlink (Somaliland) both use the prefix 2. We exclude 28
here since that is apparently used for mobile. As per ITU doc 6 digit mobile numbers
are possible for 1, 3, 4, 81, 82 and 85 prefixes. -->
@@ -22427,10 +22373,10 @@
8[125]
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="6,7"/>
- <exampleNumber>4012345</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="[7-9]"/>
+ <exampleNumber>71123456</exampleNumber>
<!-- 24 is used by the carrier Telesom. 28 is used by Nationlink. 6[89] are apparently used
by Nationlink Somalia, 67 by Nationlink Puntland, and 61 by Hormuud. 7X is used by
Somtel. 6 followed by only 7 digits is used by Telecom. Note that in June 2014 many
@@ -22448,8 +22394,8 @@
4[89]\d{2}|
6[1-9]?\d{2}|
7(?:
- [1-8]\d|
- 9\d{1,2}
+ [1-8]\d|
+ 9\d{1,2}
)|
8[08]\d{2}|
9(?:
@@ -22458,8 +22404,6 @@
)\d
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="[7-9]"/>
- <exampleNumber>71123456</exampleNumber>
</mobile>
</territory>
@@ -22490,6 +22434,8 @@
<nationalNumberPattern>[2-8]\d{5,6}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="6,7"/>
+ <exampleNumber>211234</exampleNumber>
<!-- Includes non-geographic WLL-CDMA Fixed Lines. -->
<nationalNumberPattern>
(?:
@@ -22500,23 +22446,21 @@
68\d
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="6,7"/>
- <exampleNumber>211234</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="7"/>
+ <exampleNumber>7412345</exampleNumber>
<nationalNumberPattern>
(?:
7[124-7]|
8[1-9]
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="7"/>
- <exampleNumber>7412345</exampleNumber>
</mobile>
<voip>
- <nationalNumberPattern>56\d{4}</nationalNumberPattern>
<possibleLengths national="6"/>
<exampleNumber>561234</exampleNumber>
+ <nationalNumberPattern>56\d{4}</nationalNumberPattern>
</voip>
</territory>
@@ -22535,19 +22479,19 @@
<nationalNumberPattern>[19]\d{8}</nationalNumberPattern>
</generalDesc>
<fixedLine>
- <nationalNumberPattern>18\d{7}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>181234567</exampleNumber>
+ <nationalNumberPattern>18\d{7}</nationalNumberPattern>
</fixedLine>
<mobile>
+ <possibleLengths national="9"/>
+ <exampleNumber>977123456</exampleNumber>
<nationalNumberPattern>
(?:
12|
9[1257]
)\d{7}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>977123456</exampleNumber>
</mobile>
</territory>
@@ -22565,12 +22509,14 @@
<nationalNumberPattern>[29]\d{6}</nationalNumberPattern>
</generalDesc>
<fixedLine>
- <nationalNumberPattern>22\d{5}</nationalNumberPattern>
<possibleLengths national="7"/>
<exampleNumber>2221234</exampleNumber>
+ <nationalNumberPattern>22\d{5}</nationalNumberPattern>
</fixedLine>
<!-- Added prefix 90 per IR21 from the carrier -->
<mobile>
+ <possibleLengths national="7"/>
+ <exampleNumber>9812345</exampleNumber>
<nationalNumberPattern>
9(?:
0(?:
@@ -22580,8 +22526,6 @@
[89]\d{2}
)\d{3}
</nationalNumberPattern>
- <possibleLengths national="7"/>
- <exampleNumber>9812345</exampleNumber>
</mobile>
</territory>
@@ -22608,46 +22552,50 @@
<generalDesc>
<nationalNumberPattern>
[267]\d{7}|
- [89]\d{6}(?:\d{4})?
+ [89]\d{6}(?:
+ \d{4}
+ )?
</nationalNumberPattern>
</generalDesc>
<fixedLine>
- <!-- Numbers starting with 20, 27, 28 and 29 are reserved but not yet used. -->
- <nationalNumberPattern>2[1-6]\d{6}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>21234567</exampleNumber>
+ <!-- Numbers starting with 20, 27, 28 and 29 are reserved but not yet used. -->
+ <nationalNumberPattern>2[1-6]\d{6}</nationalNumberPattern>
</fixedLine>
<mobile>
- <nationalNumberPattern>[67]\d{7}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>70123456</exampleNumber>
+ <nationalNumberPattern>[67]\d{7}</nationalNumberPattern>
</mobile>
<tollFree>
- <!-- Toll free numbers are either 800 NNNN or 800 NNNN NNNN. -->
- <nationalNumberPattern>800\d{4}(?:\d{4})?</nationalNumberPattern>
<possibleLengths national="7,11"/>
<exampleNumber>8001234</exampleNumber>
+ <!-- Toll free numbers are either 800 NNNN or 800 NNNN NNNN. -->
+ <nationalNumberPattern>800\d{4}(?:\d{4})?</nationalNumberPattern>
</tollFree>
<premiumRate>
- <!-- Premium rate numbers are either 900 NNNN or 900 NNNN NNNN. -->
- <nationalNumberPattern>900\d{4}(?:\d{4})?</nationalNumberPattern>
<possibleLengths national="7,11"/>
<exampleNumber>9001234</exampleNumber>
+ <!-- Premium rate numbers are either 900 NNNN or 900 NNNN NNNN. -->
+ <nationalNumberPattern>900\d{4}(?:\d{4})?</nationalNumberPattern>
</premiumRate>
</territory>
<!-- Sint Maarten -->
- <territory id="SX" countryCode="1" leadingDigits="721" nationalPrefix="1"
- internationalPrefix="011">
+ <!-- Country calling code and formatting shared with 'US' -->
+ <territory id="SX" countryCode="1" leadingDigits="721" internationalPrefix="011"
+ nationalPrefix="1">
<references>
<sourceUrl>http://www.nanpa.com/pdf/PL_429.pdf</sourceUrl>
<sourceUrl>http://www.itu.int/oth/T02020000F7/en</sourceUrl>
</references>
<generalDesc>
- <!-- NANPA country - uses US formatting rules -->
<nationalNumberPattern>[5789]\d{9}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="10" localOnly="7"/>
+ <exampleNumber>7215425678</exampleNumber>
<nationalNumberPattern>
7215(?:
4[2-8]|
@@ -22655,10 +22603,10 @@
9[056]
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="10" localOnly="7"/>
- <exampleNumber>7215425678</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="10" localOnly="7"/>
+ <exampleNumber>7215205678</exampleNumber>
<!-- We assume we can send SMSs to the Fixed GSM numbers mentioned in the plan and hence
include these as mobile numbers. -->
<nationalNumberPattern>
@@ -22669,10 +22617,10 @@
8[014-8]
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="10" localOnly="7"/>
- <exampleNumber>7215205678</exampleNumber>
</mobile>
<tollFree>
+ <possibleLengths national="10"/>
+ <exampleNumber>8002123456</exampleNumber>
<nationalNumberPattern>
8(?:
00|
@@ -22684,15 +22632,15 @@
88
)[2-9]\d{6}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>8002123456</exampleNumber>
</tollFree>
<premiumRate>
- <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>9002123456</exampleNumber>
+ <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
</premiumRate>
<personalNumber>
+ <possibleLengths national="10"/>
+ <exampleNumber>5002345678</exampleNumber>
<!-- https://www.nationalnanpa.com/number_resource_info/5XX_codes.html -->
<nationalNumberPattern>
5(?:
@@ -22705,15 +22653,13 @@
88
)[2-9]\d{6}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>5002345678</exampleNumber>
</personalNumber>
</territory>
<!-- Syrian Arab Republic -->
- <territory id="SY" countryCode="963" internationalPrefix="00"
- nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
- nationalPrefixOptionalWhenFormatting="true">
+ <!-- No tollFree or premiumRate information can be found. -->
+ <territory id="SY" countryCode="963" internationalPrefix="00" nationalPrefix="0"
+ nationalPrefixFormattingRule="$NP$FG" nationalPrefixOptionalWhenFormatting="true">
<references>
<sourceUrl>http://www.itu.int/oth/T02020000C9/en</sourceUrl>
<sourceUrl>http://en.wikipedia.org/wiki/%2B963</sourceUrl>
@@ -22732,8 +22678,10 @@
<nationalNumberPattern>[1-59]\d{7,8}</nationalNumberPattern>
</generalDesc>
<fixedLine>
- <!-- Numbers with the 21 prefix are made optionally 1-digit longer based on numbers found on
- the Internet. -->
+ <possibleLengths national="8,9" localOnly="6,7"/>
+ <exampleNumber>112345678</exampleNumber>
+ <!-- Numbers with the 21 prefix are made optionally 1-digit longer based on numbers found on
+ the Internet. -->
<nationalNumberPattern>
(?:
1(?:
@@ -22753,10 +22701,10 @@
5[1-3]
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="8,9" localOnly="6,7"/>
- <exampleNumber>112345678</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="9"/>
+ <exampleNumber>944567890</exampleNumber>
<!-- Numbers have been found online for the prefixes 922, 95[138], and 96[05]. -->
<nationalNumberPattern>
9(?:
@@ -22765,10 +22713,7 @@
6[024-9]
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>944567890</exampleNumber>
</mobile>
- <!-- No tollFree or premiumRate information can be found. -->
</territory>
<!-- Swaziland -->
@@ -22786,54 +22731,56 @@
<nationalNumberPattern>[027]\d{7}</nationalNumberPattern>
</generalDesc>
<noInternationalDialling>
- <nationalNumberPattern>0800\d{4}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>08001234</exampleNumber>
+ <nationalNumberPattern>0800\d{4}</nationalNumberPattern>
</noInternationalDialling>
<fixedLine>
- <nationalNumberPattern>2[2-5]\d{6}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>22171234</exampleNumber>
+ <nationalNumberPattern>2[2-5]\d{6}</nationalNumberPattern>
</fixedLine>
<mobile>
- <nationalNumberPattern>7[6-8]\d{6}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>76123456</exampleNumber>
+ <nationalNumberPattern>7[6-8]\d{6}</nationalNumberPattern>
</mobile>
<tollFree>
- <nationalNumberPattern>0800\d{4}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>08001234</exampleNumber>
+ <nationalNumberPattern>0800\d{4}</nationalNumberPattern>
</tollFree>
</territory>
<!-- Tristan da Cunha -->
+ <!-- Country calling code and formatting shared with 'SH' -->
<territory id="TA" countryCode="290" internationalPrefix="00">
<references>
<sourceUrl>http://www.itu.int/oth/T02020000AF/en</sourceUrl>
</references>
- <!-- Numbers are formatted as a block. Shares a country code with Saint Helena. -->
<generalDesc>
<nationalNumberPattern>8\d{3}</nationalNumberPattern>
</generalDesc>
<fixedLine>
- <nationalNumberPattern>8\d{3}</nationalNumberPattern>
<possibleLengths national="4"/>
<exampleNumber>8999</exampleNumber>
+ <nationalNumberPattern>8\d{3}</nationalNumberPattern>
</fixedLine>
</territory>
<!-- Turks and Caicos Islands -->
- <territory id="TC" countryCode="1" leadingDigits="649" nationalPrefix="1"
- internationalPrefix="011">
+ <!-- Country calling code and formatting shared with 'US' -->
+ <territory id="TC" countryCode="1" leadingDigits="649" internationalPrefix="011"
+ nationalPrefix="1">
<references>
<sourceUrl>http://www.itu.int/oth/T02020000D8/en</sourceUrl>
</references>
<generalDesc>
- <!-- NANPA country - uses US formatting rules -->
<nationalNumberPattern>[5689]\d{9}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="10" localOnly="7"/>
+ <exampleNumber>6497121234</exampleNumber>
<nationalNumberPattern>
649(?:
712|
@@ -22843,10 +22790,10 @@
)
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="10" localOnly="7"/>
- <exampleNumber>6497121234</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="10" localOnly="7"/>
+ <exampleNumber>6492311234</exampleNumber>
<!-- Extra prefixes 246, 247, 346 found online and in the yellow pages. -->
<nationalNumberPattern>
649(?:
@@ -22861,10 +22808,10 @@
4[34][1-3]
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="10" localOnly="7"/>
- <exampleNumber>6492311234</exampleNumber>
</mobile>
<tollFree>
+ <possibleLengths national="10"/>
+ <exampleNumber>8002345678</exampleNumber>
<nationalNumberPattern>
8(?:
00|
@@ -22876,15 +22823,15 @@
88
)[2-9]\d{6}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>8002345678</exampleNumber>
</tollFree>
<premiumRate>
- <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>9002345678</exampleNumber>
+ <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
</premiumRate>
<personalNumber>
+ <possibleLengths national="10"/>
+ <exampleNumber>5002345678</exampleNumber>
<!-- https://www.nationalnanpa.com/number_resource_info/5XX_codes.html -->
<nationalNumberPattern>
5(?:
@@ -22897,13 +22844,11 @@
88
)[2-9]\d{6}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>5002345678</exampleNumber>
</personalNumber>
<voip>
- <nationalNumberPattern>64971[01]\d{4}</nationalNumberPattern>
<possibleLengths national="10" localOnly="7"/>
<exampleNumber>6497101234</exampleNumber>
+ <nationalNumberPattern>64971[01]\d{4}</nationalNumberPattern>
</voip>
</territory>
@@ -22915,8 +22860,7 @@
<sourceUrl>http://www.itu.int/oth/T0202000029/en</sourceUrl>
</references>
<availableFormats>
- <numberFormat
- pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
+ <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
<format>$1 $2 $3 $4</format>
</numberFormat>
</availableFormats>
@@ -22924,6 +22868,8 @@
<nationalNumberPattern>[2679]\d{7}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="8"/>
+ <exampleNumber>22501234</exampleNumber>
<nationalNumberPattern>
22(?:
[3789]0|
@@ -22931,10 +22877,10 @@
6[89]
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>22501234</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="8"/>
+ <exampleNumber>63012345</exampleNumber>
<!-- Sotel Tchad "SALAM" (77 XX XX XX) is classified as a fixed operator in the plan, but it
also says numbers starting with 7 are mobile numbers. Putting under mobile for now.
Also adding 6[028] and 63[5-9] which are operated by Airtel. -->
@@ -22946,16 +22892,9 @@
9\d{2}
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>63012345</exampleNumber>
</mobile>
</territory>
- <!-- French Southern Territories -->
- <!-- id="TF" countryCode="262" internationalPrefix="00" nationalPrefix="0" -->
- <!-- This country is not covered due to lack of information about its numbering plan. It has 140
- temporary inhabitants. -->
-
<!-- Togo -->
<territory id="TG" countryCode="228" internationalPrefix="00">
<references>
@@ -22972,6 +22911,8 @@
<nationalNumberPattern>[29]\d{7}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="8"/>
+ <exampleNumber>22212345</exampleNumber>
<nationalNumberPattern>
2(?:
2[2-7]|
@@ -22982,21 +22923,18 @@
77
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>22212345</exampleNumber>
</fixedLine>
<mobile>
- <!-- Prefixes 93, 96 and 97 are from open-source bug reports. -->
- <nationalNumberPattern>9[0-36-9]\d{6}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>90112345</exampleNumber>
+ <!-- Prefixes 93, 96 and 97 are from open-source bug reports. -->
+ <nationalNumberPattern>9[0-36-9]\d{6}</nationalNumberPattern>
</mobile>
</territory>
<!-- Thailand -->
- <territory id="TH" countryCode="66" internationalPrefix="00"
- nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
- mobileNumberPortableRegion="true">
+ <territory id="TH" countryCode="66" internationalPrefix="00" nationalPrefix="0"
+ nationalPrefixFormattingRule="$NP$FG" mobileNumberPortableRegion="true">
<references>
<sourceUrl>http://www.itu.int/oth/T02020000CD/en</sourceUrl>
<sourceUrl>http://www.barascientific.com/bscnews/variety/emergency/Tel-4Digi.pdf</sourceUrl>
@@ -23015,8 +22953,7 @@
</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
- <numberFormat nationalPrefixFormattingRule="$FG"
- pattern="(1[89]00)(\d{3})(\d{3})">
+ <numberFormat pattern="(1[89]00)(\d{3})(\d{3})" nationalPrefixFormattingRule="$FG">
<leadingDigits>1</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
@@ -23024,15 +22961,19 @@
<generalDesc>
<nationalNumberPattern>
[2-9]\d{7,8}|
- 1\d{3}(?:\d{5,6})?
+ 1\d{3}(?:
+ \d{5,6}
+ )?
</nationalNumberPattern>
</generalDesc>
<noInternationalDialling>
- <nationalNumberPattern>1\d{3}</nationalNumberPattern>
<possibleLengths national="4"/>
<exampleNumber>1100</exampleNumber>
+ <nationalNumberPattern>1\d{3}</nationalNumberPattern>
</noInternationalDialling>
<fixedLine>
+ <possibleLengths national="8"/>
+ <exampleNumber>21234567</exampleNumber>
<!-- Numbers online have been found that start with 20, despite the ITU doc not covering
these. -->
<nationalNumberPattern>
@@ -23044,10 +22985,10 @@
7[3-7]
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>21234567</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="9"/>
+ <exampleNumber>812345678</exampleNumber>
<!-- Numbers found online starting with 62 and 64. 14, 63 and 65 are from an open-source bug
report, we couldn't find evidence of these specifically being in use but this article
http://www.prachachat.net/news_detail.php?newsid=1395732787 talks about prefix 6 and 1
@@ -23059,40 +23000,38 @@
[89]\d
)\d{7}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>812345678</exampleNumber>
</mobile>
<!-- http://en.wikipedia.org/wiki/Toll-free_telephone_number -->
<tollFree>
- <nationalNumberPattern>1800\d{6}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>1800123456</exampleNumber>
+ <nationalNumberPattern>1800\d{6}</nationalNumberPattern>
</tollFree>
<premiumRate>
- <nationalNumberPattern>1900\d{6}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>1900123456</exampleNumber>
+ <nationalNumberPattern>1900\d{6}</nationalNumberPattern>
</premiumRate>
<voip>
+ <possibleLengths national="9"/>
+ <exampleNumber>601234567</exampleNumber>
<!-- The ITU document says that the 89 prefix is also VOIP but there are lots of numbers
online to suggest they are actually used as mobile numbers. -->
<nationalNumberPattern>6[08]\d{7}</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>601234567</exampleNumber>
</voip>
<uan>
+ <possibleLengths national="4"/>
+ <exampleNumber>1100</exampleNumber>
<!-- 4-digit numbers are classified under UAN. Most of these are commercial numbers, and
their costs range from free to 6 Baht/min. -->
<nationalNumberPattern>1\d{3}</nationalNumberPattern>
- <possibleLengths national="4"/>
- <exampleNumber>1100</exampleNumber>
</uan>
</territory>
<!-- Tajikistan -->
+ <!-- No tollFree or premiumRate information can be found. -->
<territory id="TJ" countryCode="992" preferredInternationalPrefix="8~10"
- internationalPrefix="810" nationalPrefix="8"
- nationalPrefixFormattingRule="$FG"
+ internationalPrefix="810" nationalPrefix="8" nationalPrefixFormattingRule="$FG"
nationalPrefixOptionalWhenFormatting="true">
<references>
<sourceUrl>http://www.itu.int/oth/T02020000CA/en</sourceUrl>
@@ -23141,6 +23080,8 @@
<nationalNumberPattern>[3-57-9]\d{8}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="9" localOnly="3,5,7"/>
+ <exampleNumber>372123456</exampleNumber>
<nationalNumberPattern>
(?:
3(?:
@@ -23158,10 +23099,10 @@
)
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="9" localOnly="3,5,7"/>
- <exampleNumber>372123456</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="9"/>
+ <exampleNumber>917123456</exampleNumber>
<!-- Adding 90 prefix as SMS messages could be successfully delivered to these mobile
numbers and 55 for Megafon from bug reports. -->
<nationalNumberPattern>
@@ -23175,10 +23116,7 @@
)\d
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>917123456</exampleNumber>
</mobile>
- <!-- No tollFree or premiumRate information can be found. -->
</territory>
<!-- Tokelau -->
@@ -23190,23 +23128,23 @@
<nationalNumberPattern>[2-47]\d{3,6}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="[4-7]"/>
+ <!-- The example number is the contact number from the ITU document. -->
+ <exampleNumber>3101</exampleNumber>
<nationalNumberPattern>
(?:
2[2-4]|
[34]\d
)\d{2,5}
</nationalNumberPattern>
- <possibleLengths national="[4-7]"/>
- <!-- The example number is the contact number from the ITU document. -->
- <exampleNumber>3101</exampleNumber>
</fixedLine>
<!-- No evidence has been found for prefixes 5, 6, 8, and 9 which are
described as non-geographic service numbers, so these prefixes are
excluded until more information is found. -->
<mobile>
- <nationalNumberPattern>7[2-4]\d{2,5}</nationalNumberPattern>
<possibleLengths national="[4-7]"/>
<exampleNumber>7290</exampleNumber>
+ <nationalNumberPattern>7[2-4]\d{2,5}</nationalNumberPattern>
</mobile>
</territory>
@@ -23237,6 +23175,8 @@
</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="7"/>
+ <exampleNumber>2112345</exampleNumber>
<nationalNumberPattern>
(?:
2[1-5]|
@@ -23244,39 +23184,37 @@
4[1-4]
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="7"/>
- <exampleNumber>2112345</exampleNumber>
</fixedLine>
<mobile>
- <nationalNumberPattern>7[3-8]\d{6}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>77212345</exampleNumber>
+ <nationalNumberPattern>7[3-8]\d{6}</nationalNumberPattern>
</mobile>
<tollFree>
- <nationalNumberPattern>80\d{5}</nationalNumberPattern>
<possibleLengths national="7"/>
<exampleNumber>8012345</exampleNumber>
+ <nationalNumberPattern>80\d{5}</nationalNumberPattern>
</tollFree>
<premiumRate>
- <nationalNumberPattern>90\d{5}</nationalNumberPattern>
<possibleLengths national="7"/>
<exampleNumber>9012345</exampleNumber>
+ <nationalNumberPattern>90\d{5}</nationalNumberPattern>
</premiumRate>
<!-- We don't include paging or voicemail because the identified paging range was used by
mobile previously, and for voicemail, it is unclear if the 2012 change affected these
numbers, or if the range was indeed previously used for voicemail at all. -->
<personalNumber>
- <!-- We presume this wasn't affected by the numbering plan update. -->
- <nationalNumberPattern>70\d{5}</nationalNumberPattern>
<possibleLengths national="7"/>
<exampleNumber>7012345</exampleNumber>
+ <!-- We presume this wasn't affected by the numbering plan update. -->
+ <nationalNumberPattern>70\d{5}</nationalNumberPattern>
</personalNumber>
</territory>
<!-- Turkmenistan -->
+ <!-- No tollFree or premiumRate information can be found. -->
<territory id="TM" countryCode="993" preferredInternationalPrefix="8~10"
- internationalPrefix="810" nationalPrefix="8"
- nationalPrefixFormattingRule="($NP $FG)">
+ internationalPrefix="810" nationalPrefix="8" nationalPrefixFormattingRule="($NP $FG)">
<references>
<sourceUrl>http://www.itu.int/oth/T02020000D7/en</sourceUrl>
<sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Turkmenistan</sourceUrl>
@@ -23285,26 +23223,28 @@
<!-- There doesn't seem to be a standardized format. The format below is based on the
Turkmenistan embassy at
http://www.turkmenistanembassy.org/turkmen/info/contact.html -->
- <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
- <leadingDigits>12</leadingDigits>
- <format>$1 $2-$3-$4</format>
- </numberFormat>
- <numberFormat pattern="(\d{2})(\d{6})" nationalPrefixFormattingRule="$NP $FG">
- <leadingDigits>6</leadingDigits>
- <format>$1 $2</format>
- </numberFormat>
- <numberFormat pattern="(\d{3})(\d)(\d{2})(\d{2})">
- <leadingDigits>
- 13|
- [2-5]
- </leadingDigits>
- <format>$1 $2-$3-$4</format>
- </numberFormat>
+ <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
+ <leadingDigits>12</leadingDigits>
+ <format>$1 $2-$3-$4</format>
+ </numberFormat>
+ <numberFormat pattern="(\d{2})(\d{6})" nationalPrefixFormattingRule="$NP $FG">
+ <leadingDigits>6</leadingDigits>
+ <format>$1 $2</format>
+ </numberFormat>
+ <numberFormat pattern="(\d{3})(\d)(\d{2})(\d{2})">
+ <leadingDigits>
+ 13|
+ [2-5]
+ </leadingDigits>
+ <format>$1 $2-$3-$4</format>
+ </numberFormat>
</availableFormats>
<generalDesc>
<nationalNumberPattern>[1-6]\d{7}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="8"/>
+ <exampleNumber>12345678</exampleNumber>
<!-- Additional prefixes from the wikipedia page. -->
<nationalNumberPattern>
(?:
@@ -23333,22 +23273,18 @@
)
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>12345678</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="8"/>
+ <exampleNumber>66123456</exampleNumber>
<!-- According to feedback from users, the carrier Altyn Asyr is the only one currently
operating, with the numbers 6[3-5]\d{6}. MTS used to operate the ranges 6[6-8] but this
has been suspended. It is unclear whether it will resume. We support both ranges in the
meantime. The range 62 seems also now to be in use, according to numbers found online.
MTS Turkmenistan have recently launched their NDC(69). So added range 69 after getting
- confirmation from the carriers who own them.
- -->
+ confirmation from the carriers who own them. -->
<nationalNumberPattern>6[1-9]\d{6}</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>66123456</exampleNumber>
</mobile>
- <!-- No tollFree or premiumRate information can be found. -->
</territory>
<!-- Tunisia -->
@@ -23367,6 +23303,8 @@
<nationalNumberPattern>[2-57-9]\d{7}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="8"/>
+ <exampleNumber>71234567</exampleNumber>
<nationalNumberPattern>
3(?:
[012]\d|
@@ -23376,39 +23314,37 @@
7\d{7}|
81200\d{3}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>71234567</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="8"/>
+ <exampleNumber>20123456</exampleNumber>
<nationalNumberPattern>
(?:
[259]\d|
4[0-6]
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>20123456</exampleNumber>
</mobile>
<tollFree>
+ <possibleLengths national="8"/>
+ <exampleNumber>80101234</exampleNumber>
<!-- ITU lists 80 xx xx xx, but the document published by Tunisie Telecom has more specific
information which is followed here. -->
<nationalNumberPattern>8010\d{4}</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>80101234</exampleNumber>
</tollFree>
<premiumRate>
- <nationalNumberPattern>88\d{6}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>88123456</exampleNumber>
+ <nationalNumberPattern>88\d{6}</nationalNumberPattern>
</premiumRate>
<sharedCost>
+ <possibleLengths national="8"/>
+ <exampleNumber>81101234</exampleNumber>
<!-- 8110xxxx numbers are listed as being "discounted non-geographical numbers" and are put
here for now. In the future we might consider them as UAN.
ITU lists 82 xx xx xx, but the document published by Tunisie Telecom has more specific
information which is followed here. -->
<nationalNumberPattern>8[12]10\d{4}</nationalNumberPattern>
- <possibleLengths national="8"/>
- <exampleNumber>81101234</exampleNumber>
</sharedCost>
</territory>
@@ -23443,6 +23379,8 @@
<nationalNumberPattern>[02-8]\d{4,6}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="5"/>
+ <exampleNumber>20123</exampleNumber>
<nationalNumberPattern>
(?:
2\d|
@@ -23453,10 +23391,10 @@
8[05]
)\d{3}
</nationalNumberPattern>
- <possibleLengths national="5"/>
- <exampleNumber>20123</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="7"/>
+ <exampleNumber>7715123</exampleNumber>
<!-- TCC mobile numbers were given a prefix of "77" in 2009, although this is not mentioned
in their ITU document. Numbers with a prefix of "75" and "84" have also been found. -->
<nationalNumberPattern>
@@ -23465,13 +23403,11 @@
8[47-9]
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="7"/>
- <exampleNumber>7715123</exampleNumber>
</mobile>
<tollFree>
- <nationalNumberPattern>0800\d{3}</nationalNumberPattern>
<possibleLengths national="7"/>
<exampleNumber>0800222</exampleNumber>
+ <nationalNumberPattern>0800\d{3}</nationalNumberPattern>
</tollFree>
</territory>
@@ -23486,8 +23422,8 @@
<!-- In online references we see both these formats for mobile and fixed-line numbers:
(\d{3})(\d{3})(\d{2})(\d{2}) and (\d{3})(\d{3})(\d{4}). However the former seems to be
more common. -->
- <numberFormat nationalPrefixFormattingRule="($NP$FG)" pattern="(\d{3})(\d{3})(\d{2})(\d{2})"
- nationalPrefixOptionalWhenFormatting="true">
+ <numberFormat pattern="(\d{3})(\d{3})(\d{2})(\d{2})" nationalPrefixFormattingRule="($NP$FG)"
+ nationalPrefixOptionalWhenFormatting="true">
<leadingDigits>
[23]|
4(?:
@@ -23497,13 +23433,13 @@
</leadingDigits>
<format>$1 $2 $3 $4</format>
</numberFormat>
- <numberFormat nationalPrefixFormattingRule="$NP$FG" pattern="(\d{3})(\d{3})(\d{2})(\d{2})"
- nationalPrefixOptionalWhenFormatting="true">
+ <numberFormat pattern="(\d{3})(\d{3})(\d{2})(\d{2})" nationalPrefixFormattingRule="$NP$FG"
+ nationalPrefixOptionalWhenFormatting="true">
<leadingDigits>5[02-69]</leadingDigits>
<format>$1 $2 $3 $4</format>
</numberFormat>
- <numberFormat nationalPrefixFormattingRule="$NP$FG" pattern="(\d{3})(\d{3})(\d{4})"
- nationalPrefixOptionalWhenFormatting="true">
+ <numberFormat pattern="(\d{3})(\d{3})(\d{4})" nationalPrefixFormattingRule="$NP$FG"
+ nationalPrefixOptionalWhenFormatting="true">
<leadingDigits>
51|
[89]
@@ -23522,11 +23458,13 @@
</nationalNumberPattern>
</generalDesc>
<noInternationalDialling>
- <nationalNumberPattern>444\d{4}</nationalNumberPattern>
<possibleLengths national="7"/>
<exampleNumber>4441444</exampleNumber>
+ <nationalNumberPattern>444\d{4}</nationalNumberPattern>
</noInternationalDialling>
<fixedLine>
+ <possibleLengths national="10"/>
+ <exampleNumber>2123456789</exampleNumber>
<!-- Includes numbers starting with 392 for Northern Cyprus. -->
<nationalNumberPattern>
(?:
@@ -23549,10 +23487,10 @@
)
)\d{7}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>2123456789</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="10"/>
+ <exampleNumber>5012345678</exampleNumber>
<!-- There are some differences between the Turkish and English wikipedia pages here, and
some number prefixes do not seem to be able to be found online. Omitting 500, 508 and
509 from the English page because of this. -->
@@ -23568,46 +23506,46 @@
6161
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>5012345678</exampleNumber>
</mobile>
<pager>
- <nationalNumberPattern>512\d{7}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>5123456789</exampleNumber>
+ <nationalNumberPattern>512\d{7}</nationalNumberPattern>
</pager>
<tollFree>
- <nationalNumberPattern>800\d{7}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>8001234567</exampleNumber>
+ <nationalNumberPattern>800\d{7}</nationalNumberPattern>
</tollFree>
<premiumRate>
- <nationalNumberPattern>900\d{7}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>9001234567</exampleNumber>
+ <nationalNumberPattern>900\d{7}</nationalNumberPattern>
</premiumRate>
<uan>
+ <possibleLengths national="7,10"/>
+ <exampleNumber>4441444</exampleNumber>
<!-- http://www.turktelekom.com.tr/tt/portal/News/Archive/7-digit-special-service-number-starting-with-444 -->
<nationalNumberPattern>
444\d{4}|
850\d{7}
</nationalNumberPattern>
- <possibleLengths national="7,10"/>
- <exampleNumber>4441444</exampleNumber>
</uan>
</territory>
<!-- Trinidad and Tobago -->
- <territory id="TT" countryCode="1" leadingDigits="868" nationalPrefix="1"
- internationalPrefix="011">
+ <!-- Country calling code and formatting shared with 'US' -->
+ <territory id="TT" countryCode="1" leadingDigits="868" internationalPrefix="011"
+ nationalPrefix="1">
<references>
<sourceUrl>http://www.itu.int/oth/T02020000D4/en</sourceUrl>
</references>
<generalDesc>
- <!-- NANPA country - uses US formatting rules -->
<nationalNumberPattern>[589]\d{9}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="10" localOnly="7"/>
+ <exampleNumber>8682211234</exampleNumber>
<nationalNumberPattern>
868(?:
2(?:
@@ -23624,10 +23562,10 @@
82[124]
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="10" localOnly="7"/>
- <exampleNumber>8682211234</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="10" localOnly="7"/>
+ <exampleNumber>8682911234</exampleNumber>
<nationalNumberPattern>
868(?:
2(?:
@@ -23652,10 +23590,10 @@
)
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="10" localOnly="7"/>
- <exampleNumber>8682911234</exampleNumber>
</mobile>
<tollFree>
+ <possibleLengths national="10"/>
+ <exampleNumber>8002345678</exampleNumber>
<nationalNumberPattern>
8(?:
00|
@@ -23667,15 +23605,15 @@
88
)[2-9]\d{6}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>8002345678</exampleNumber>
</tollFree>
<premiumRate>
- <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>9002345678</exampleNumber>
+ <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
</premiumRate>
<personalNumber>
+ <possibleLengths national="10"/>
+ <exampleNumber>5002345678</exampleNumber>
<!-- https://www.nationalnanpa.com/number_resource_info/5XX_codes.html -->
<nationalNumberPattern>
5(?:
@@ -23688,13 +23626,11 @@
88
)[2-9]\d{6}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>5002345678</exampleNumber>
</personalNumber>
<voicemail>
- <nationalNumberPattern>868619\d{4}</nationalNumberPattern>
<possibleLengths national="10" localOnly="7"/>
<exampleNumber>8686191234</exampleNumber>
+ <nationalNumberPattern>868619\d{4}</nationalNumberPattern>
</voicemail>
</territory>
@@ -23709,11 +23645,13 @@
<nationalNumberPattern>[279]\d{4,6}</nationalNumberPattern>
</generalDesc>
<fixedLine>
- <nationalNumberPattern>2[02-9]\d{3}</nationalNumberPattern>
<possibleLengths national="5"/>
<exampleNumber>20123</exampleNumber>
+ <nationalNumberPattern>2[02-9]\d{3}</nationalNumberPattern>
</fixedLine>
<mobile>
+ <possibleLengths national="6,7"/>
+ <exampleNumber>901234</exampleNumber>
<!-- Some numbers online can be found that are 5-digits long, and start with 90 or 91. We
don't know if these are valid or not - the ITU document excludes them - so are not
covering these for now. -->
@@ -23723,16 +23661,14 @@
90
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="6,7"/>
- <exampleNumber>901234</exampleNumber>
</mobile>
</territory>
<!-- Taiwan, China -->
<!-- Extension symbols found on the internet so far have been #, X and Ext - so # has been
chosen as the preferred extension prefix. -->
- <territory id="TW" countryCode="886" internationalPrefix="0(?:0[25679]|19)"
- nationalPrefix="0" preferredExtnPrefix="#" nationalPrefixFormattingRule="$NP$FG"
+ <territory id="TW" countryCode="886" internationalPrefix="0(?:0[25679]|19)" nationalPrefix="0"
+ preferredExtnPrefix="#" nationalPrefixFormattingRule="$NP$FG"
mobileNumberPortableRegion="true">
<references>
<sourceUrl>http://www.itu.int/oth/T02020000EB/en</sourceUrl>
@@ -23775,6 +23711,8 @@
</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="8,9"/>
+ <exampleNumber>221234567</exampleNumber>
<!-- Prefix 24 added due to numbers found online for two major commercial companies; it
is possible they aren't fixed-line, but adding them here since we don't have better
information for now. -->
@@ -23785,40 +23723,38 @@
)|
[3-8]\d{7,8}
</nationalNumberPattern>
- <possibleLengths national="8,9"/>
- <exampleNumber>221234567</exampleNumber>
</fixedLine>
<mobile>
- <nationalNumberPattern>9\d{8}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>912345678</exampleNumber>
+ <nationalNumberPattern>9\d{8}</nationalNumberPattern>
</mobile>
<tollFree>
- <nationalNumberPattern>800\d{6}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>800123456</exampleNumber>
+ <nationalNumberPattern>800\d{6}</nationalNumberPattern>
</tollFree>
<premiumRate>
+ <possibleLengths national="7,9"/>
+ <exampleNumber>203123456</exampleNumber>
<nationalNumberPattern>
20(?:
2|
[013-9]\d{2}
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="7,9"/>
- <exampleNumber>203123456</exampleNumber>
</premiumRate>
<!-- http://www.chief.com.tw/telecom_eng/front/bin/ptlist.phtml?Category=107 -->
<voip>
- <nationalNumberPattern>70\d{8}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>7012345678</exampleNumber>
+ <nationalNumberPattern>70\d{8}</nationalNumberPattern>
</voip>
</territory>
<!-- Tanzania -->
- <territory id="TZ" countryCode="255" internationalPrefix="00[056]"
- nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
+ <territory id="TZ" countryCode="255" internationalPrefix="00[056]" nationalPrefix="0"
+ nationalPrefixFormattingRule="$NP$FG">
<references>
<sourceUrl>http://www.itu.int/oth/T02020000CB/en</sourceUrl>
</references>
@@ -23841,6 +23777,8 @@
<nationalNumberPattern>\d{9}</nationalNumberPattern>
</generalDesc>
<noInternationalDialling>
+ <possibleLengths national="9"/>
+ <exampleNumber>800123456</exampleNumber>
<nationalNumberPattern>
(?:
8(?:
@@ -23850,54 +23788,51 @@
90\d
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>800123456</exampleNumber>
</noInternationalDialling>
<fixedLine>
- <nationalNumberPattern>2[2-8]\d{7}</nationalNumberPattern>
<possibleLengths national="7,9"/>
<exampleNumber>222345678</exampleNumber>
+ <nationalNumberPattern>2[2-8]\d{7}</nationalNumberPattern>
</fixedLine>
<mobile>
+ <possibleLengths national="9"/>
+ <exampleNumber>621234567</exampleNumber>
<nationalNumberPattern>
(?:
6[2-9]|
7[13-9]
)\d{7}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>621234567</exampleNumber>
</mobile>
<tollFree>
- <nationalNumberPattern>80[08]\d{6}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>800123456</exampleNumber>
+ <nationalNumberPattern>80[08]\d{6}</nationalNumberPattern>
</tollFree>
<premiumRate>
- <nationalNumberPattern>90\d{7}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>900123456</exampleNumber>
+ <nationalNumberPattern>90\d{7}</nationalNumberPattern>
</premiumRate>
<sharedCost>
+ <possibleLengths national="9"/>
+ <exampleNumber>840123456</exampleNumber>
<nationalNumberPattern>
8(?:
40|
6[01]
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>840123456</exampleNumber>
</sharedCost>
<voip>
- <nationalNumberPattern>41\d{7}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>412345678</exampleNumber>
+ <nationalNumberPattern>41\d{7}</nationalNumberPattern>
</voip>
</territory>
<!-- Ukraine -->
- <territory id="UA" countryCode="380" preferredInternationalPrefix="0~0"
- internationalPrefix="00"
+ <territory id="UA" countryCode="380" preferredInternationalPrefix="0~0" internationalPrefix="00"
nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
<references>
<sourceUrl>http://www.itu.int/oth/T02020000DB/en</sourceUrl>
@@ -24046,6 +23981,8 @@
<nationalNumberPattern>[3-9]\d{8}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="9" localOnly="[5-7]"/>
+ <exampleNumber>311234567</exampleNumber>
<nationalNumberPattern>
(?:
3[1-8]|
@@ -24054,10 +23991,10 @@
6[12459]
)\d{7}
</nationalNumberPattern>
- <possibleLengths national="9" localOnly="[5-7]"/>
- <exampleNumber>311234567</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="9"/>
+ <exampleNumber>391234567</exampleNumber>
<!-- Added 71 prefix based on user report and 72 based on online numbers. -->
<nationalNumberPattern>
(?:
@@ -24068,32 +24005,30 @@
9[1-9]
)\d{7}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>391234567</exampleNumber>
</mobile>
<tollFree>
- <nationalNumberPattern>800\d{6}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>800123456</exampleNumber>
+ <nationalNumberPattern>800\d{6}</nationalNumberPattern>
</tollFree>
<premiumRate>
+ <possibleLengths national="9"/>
+ <exampleNumber>900212345</exampleNumber>
<!-- 4th digit added based on
http://www.mts.ua/ru/support/services/200-tarify-na-nomera-0-800-0-900-0-703/ -->
<nationalNumberPattern>900[2-49]\d{5}</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>900212345</exampleNumber>
</premiumRate>
<!-- Added based on: http://www.didx.net/did/ShowCountry/Country/AreaDesc/Area/9442 -->
<voip>
- <nationalNumberPattern>89\d{7}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>891234567</exampleNumber>
+ <nationalNumberPattern>89\d{7}</nationalNumberPattern>
</voip>
</territory>
<!-- Uganda -->
- <territory id="UG" countryCode="256" internationalPrefix="00[057]"
- nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
+ <territory id="UG" countryCode="256" internationalPrefix="00[057]" nationalPrefix="0"
+ nationalPrefixFormattingRule="$NP$FG">
<references>
<sourceUrl>http://www.itu.int/oth/T02020000F1/en</sourceUrl>
<sourceUrl>http://www.ucc.co.ug/licensing/ugandaNumberingPlan.pdf</sourceUrl>
@@ -24131,7 +24066,11 @@
<generalDesc>
<nationalNumberPattern>\d{9}</nationalNumberPattern>
</generalDesc>
+ <!-- The ITU plan calls for all numbers to be exactly 9 digits. However, it's not clear if
+ local dialing is still possible. We assume it is for now. -->
<fixedLine>
+ <possibleLengths national="9" localOnly="[5-7]"/>
+ <exampleNumber>312345678</exampleNumber>
<!-- The prefix 202[5-9] was added as per the ITU update on Oct. 2011. It is not
mentioned in the new ITU docs but they are still valid based on online
evidence. -->
@@ -24152,12 +24091,10 @@
)\d{4}|
[34]\d{8}
</nationalNumberPattern>
- <!-- The ITU plan calls for all numbers to be exactly 9 digits. However, it's not clear if
- local dialing is still possible. We assume it is for now. -->
- <possibleLengths national="9" localOnly="[5-7]"/>
- <exampleNumber>312345678</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="9"/>
+ <exampleNumber>712345678</exampleNumber>
<!-- Added 79[5-9] and 707 from online numbers found with this prefix. -->
<nationalNumberPattern>
7(?:
@@ -24173,18 +24110,16 @@
)
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>712345678</exampleNumber>
</mobile>
<tollFree>
- <nationalNumberPattern>800[123]\d{5}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>800123456</exampleNumber>
+ <nationalNumberPattern>800[123]\d{5}</nationalNumberPattern>
</tollFree>
<premiumRate>
- <nationalNumberPattern>90[123]\d{6}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>901123456</exampleNumber>
+ <nationalNumberPattern>90[123]\d{6}</nationalNumberPattern>
</premiumRate>
</territory>
@@ -24196,7 +24131,8 @@
<!-- The national prefix of "1" here is the same as the country code. It is not used by default
when formatting, but is set here so that users who are calling formatByPattern can specify
NationalPrefixFormattingRule if they want to. -->
- <territory id="US" countryCode="1" internationalPrefix="011" mainCountryForCode="true"
+ <!-- Main region for 'AG,AI,AS,BB,BM,BS,CA,DM,DO,GD,GU,JM,KN,KY,LC,MP,MS,PR,SX,TC,TT,VC,VG,VI' -->
+ <territory id="US" mainCountryForCode="true" countryCode="1" internationalPrefix="011"
nationalPrefix="1" nationalPrefixOptionalWhenFormatting="true"
mobileNumberPortableRegion="true">
<references>
@@ -24219,6 +24155,8 @@
<nationalNumberPattern>[2-9]\d{9}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="10" localOnly="7"/>
+ <exampleNumber>2015550123</exampleNumber>
<nationalNumberPattern>
(?:
2(?:
@@ -24260,7 +24198,7 @@
3[0149]|
4[01]|
5[19]|
- 6[1-37]|
+ 6[1-47]|
7[013-5]|
8[056]
)|
@@ -24308,10 +24246,10 @@
)
)[2-9]\d{6}
</nationalNumberPattern>
- <possibleLengths national="10" localOnly="7"/>
- <exampleNumber>2015550123</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="10" localOnly="7"/>
+ <exampleNumber>2015550123</exampleNumber>
<nationalNumberPattern>
(?:
2(?:
@@ -24353,7 +24291,7 @@
3[0149]|
4[01]|
5[19]|
- 6[1-37]|
+ 6[1-47]|
7[013-5]|
8[056]
)|
@@ -24401,10 +24339,10 @@
)
)[2-9]\d{6}
</nationalNumberPattern>
- <possibleLengths national="10" localOnly="7"/>
- <exampleNumber>2015550123</exampleNumber>
</mobile>
<tollFree>
+ <possibleLengths national="10"/>
+ <exampleNumber>8002345678</exampleNumber>
<nationalNumberPattern>
8(?:
00|
@@ -24416,15 +24354,15 @@
88
)[2-9]\d{6}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>8002345678</exampleNumber>
</tollFree>
<premiumRate>
- <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>9002345678</exampleNumber>
+ <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
</premiumRate>
<personalNumber>
+ <possibleLengths national="10"/>
+ <exampleNumber>5002345678</exampleNumber>
<!-- https://www.nationalnanpa.com/number_resource_info/5XX_codes.html -->
<nationalNumberPattern>
5(?:
@@ -24437,16 +24375,14 @@
88
)[2-9]\d{6}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>5002345678</exampleNumber>
</personalNumber>
</territory>
<!-- Uruguay -->
<!-- International long-distance providers can be dialled by dialling 01 followed by a carrier
code JK, where J = [3-9] and K is any digit. -->
- <territory id="UY" countryCode="598" internationalPrefix="0(?:1[3-9]\d|0)"
- preferredInternationalPrefix="00" nationalPrefix="0" preferredExtnPrefix=" int. ">
+ <territory id="UY" countryCode="598" preferredInternationalPrefix="00"
+ internationalPrefix="0(?:1[3-9]\d|0)" nationalPrefix="0" preferredExtnPrefix=" int. ">
<references>
<sourceUrl>http://www.itu.int/oth/T02020000E0/en</sourceUrl>
<sourceUrl>http://www.ursec.gub.uy</sourceUrl>
@@ -24472,34 +24408,34 @@
<nationalNumberPattern>[2489]\d{6,7}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="8" localOnly="7"/>
+ <exampleNumber>21231234</exampleNumber>
<nationalNumberPattern>
2\d{7}|
4[2-7]\d{6}
</nationalNumberPattern>
- <possibleLengths national="8" localOnly="7"/>
- <exampleNumber>21231234</exampleNumber>
</fixedLine>
<mobile>
- <nationalNumberPattern>9[1-9]\d{6}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>94231234</exampleNumber>
+ <nationalNumberPattern>9[1-9]\d{6}</nationalNumberPattern>
</mobile>
<tollFree>
- <nationalNumberPattern>80[05]\d{4}</nationalNumberPattern>
<possibleLengths national="7"/>
<exampleNumber>8001234</exampleNumber>
+ <nationalNumberPattern>80[05]\d{4}</nationalNumberPattern>
</tollFree>
<premiumRate>
- <nationalNumberPattern>90[0-8]\d{4}</nationalNumberPattern>
<possibleLengths national="7"/>
<exampleNumber>9001234</exampleNumber>
+ <nationalNumberPattern>90[0-8]\d{4}</nationalNumberPattern>
</premiumRate>
</territory>
<!-- Uzbekistan -->
+ <!-- No tollFree or premiumRate information can be found. -->
<territory id="UZ" countryCode="998" preferredInternationalPrefix="8~10"
- internationalPrefix="810" nationalPrefix="8"
- nationalPrefixFormattingRule="$NP $FG">
+ internationalPrefix="810" nationalPrefix="8" nationalPrefixFormattingRule="$NP $FG">
<references>
<sourceUrl>http://www.ttts.uz/eng/telephone_codes/codes_uzb_eng</sourceUrl>
<sourceUrl>http://www.itu.int/oth/T02020000E1/en</sourceUrl>
@@ -24513,6 +24449,8 @@
<nationalNumberPattern>[679]\d{8}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="9" localOnly="7"/>
+ <exampleNumber>662345678</exampleNumber>
<!-- Adding 711 from numbers found online, such as the US embassy, and 6922, which seems to
be used in Namangan. -->
<nationalNumberPattern>
@@ -24589,10 +24527,10 @@
)
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="9" localOnly="7"/>
- <exampleNumber>662345678</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="9"/>
+ <exampleNumber>912345678</exampleNumber>
<!-- Adding 9[45] as suggested by http://www.ucell.uz/en/for_subscribers/how_to_call.html
Adding other prefixes from http://www.weltvorwahlen.de/99861353.html, and any other
prefixes Tyntec has a carrier mapped to. -->
@@ -24658,7 +24596,7 @@
67|
8[0178]|
9[79]
- )|
+ )|
9[0-3]\d
)|
7(?:
@@ -24837,19 +24775,16 @@
)\d{4}|
9[0-57-9]\d{7}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>912345678</exampleNumber>
</mobile>
- <!-- No tollFree or premiumRate information can be found. -->
</territory>
<!-- Vatican City -->
- <!-- Metadata shared with Italy(IT) -->
<!-- Vatican City is assigned country code 379. However, Vatican City is still reached
via the Italian numbering plan. Telephone numbers in Vatican City are integrated into
the Italian telephone numbering plan. Telephone numbers in the Vatican City are similar
to telephone numbers in Rome, with "698" following the "06" for Rome.
A Vatican telephone number is in the form of 06 698x xxxx. -->
+ <!-- Country calling code and formatting shared with 'IT' -->
<territory id="VA" countryCode="39" internationalPrefix="00" mobileNumberPortableRegion="true">
<references>
<sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Vatican_City</sourceUrl>
@@ -24857,32 +24792,32 @@
<generalDesc>
<nationalNumberPattern>
(?:
- 0(?:
- 878\d{5}|
- 6698\d{5}
- )|
- [1589]\d{5,10}|
- 3(?:
- [12457-9]\d{8}|
- [36]\d{7,9}
- )
+ 0(?:
+ 878\d{5}|
+ 6698\d{5}
+ )|
+ [1589]\d{5,10}|
+ 3(?:
+ [12457-9]\d{8}|
+ [36]\d{7,9}
+ )
)
</nationalNumberPattern>
</generalDesc>
<noInternationalDialling>
- <nationalNumberPattern>848\d{6}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>848123456</exampleNumber>
+ <nationalNumberPattern>848\d{6}</nationalNumberPattern>
</noInternationalDialling>
<fixedLine>
- <nationalNumberPattern>06698\d{5}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>0669812345</exampleNumber>
+ <nationalNumberPattern>06698\d{5}</nationalNumberPattern>
</fixedLine>
- <!-- Mobile, toll free, premium rate, shared cost, personal number and VOIP copied from Italy.
- -->
-
+ <!-- Mobile, toll free, premium rate, shared cost, personal number and VOIP copied from Italy. -->
<mobile>
+ <possibleLengths national="[9-11]"/>
+ <exampleNumber>3123456789</exampleNumber>
<!-- According to wikipedia, TIM mobile numbers can be 9 digits long, but all others are 10
digits long. However, a user reported the existence of new 11 digit long numbers for
TIM with the prefix 33X, so this is supported also. -->
@@ -24893,20 +24828,20 @@
3\d{7,9}
)
</nationalNumberPattern>
- <possibleLengths national="[9-11]"/>
- <exampleNumber>3123456789</exampleNumber>
</mobile>
<tollFree>
+ <possibleLengths national="6,9"/>
+ <exampleNumber>800123456</exampleNumber>
<nationalNumberPattern>
80(?:
0\d{6}|
3\d{3}
)
</nationalNumberPattern>
- <possibleLengths national="6,9"/>
- <exampleNumber>800123456</exampleNumber>
</tollFree>
<premiumRate>
+ <possibleLengths national="6,[8-10]"/>
+ <exampleNumber>899123456</exampleNumber>
<!-- Adding 0878 numbers, as per
http://www.aduc.it/notizia/polizia+mette+allerta+sul+numero+0878_73136.php. Other
premium prefixes are mentioned here:
@@ -24930,49 +24865,49 @@
9\d{6}
)
</nationalNumberPattern>
- <possibleLengths national="6,[8-10]"/>
- <exampleNumber>899123456</exampleNumber>
</premiumRate>
<sharedCost>
+ <possibleLengths national="6,9"/>
+ <exampleNumber>848123456</exampleNumber>
<nationalNumberPattern>
84(?:
[08]\d{6}|
[17]\d{3}
)
</nationalNumberPattern>
- <possibleLengths national="6,9"/>
- <exampleNumber>848123456</exampleNumber>
</sharedCost>
<personalNumber>
+ <possibleLengths national="9,10"/>
+ <exampleNumber>1781234567</exampleNumber>
<nationalNumberPattern>
1(?:
78\d|
99
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="9,10"/>
- <exampleNumber>1781234567</exampleNumber>
</personalNumber>
<voip>
- <nationalNumberPattern>55\d{8}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>5512345678</exampleNumber>
+ <nationalNumberPattern>55\d{8}</nationalNumberPattern>
</voip>
</territory>
<!-- Saint Vincent and the Grenadines -->
- <territory id="VC" countryCode="1" leadingDigits="784" nationalPrefix="1"
- internationalPrefix="011">
+ <!-- Country calling code and formatting shared with 'US' -->
+ <territory id="VC" countryCode="1" leadingDigits="784" internationalPrefix="011"
+ nationalPrefix="1">
<references>
<sourceUrl>http://www.itu.int/oth/T02020000B3/en</sourceUrl>
</references>
<generalDesc>
- <!-- NANPA country - uses US formatting rules -->
<nationalNumberPattern>[5789]\d{9}</nationalNumberPattern>
</generalDesc>
<!-- For 570, 571 and 572 prefixes, we believe the ITU doc incorrectly listed them to be under
area code 758, which should be 784. -->
<fixedLine>
+ <possibleLengths national="10" localOnly="7"/>
+ <exampleNumber>7842661234</exampleNumber>
<nationalNumberPattern>
784(?:
266|
@@ -24995,10 +24930,10 @@
784
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="10" localOnly="7"/>
- <exampleNumber>7842661234</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="10" localOnly="7"/>
+ <exampleNumber>7844301234</exampleNumber>
<nationalNumberPattern>
784(?:
4(?:
@@ -25013,10 +24948,10 @@
)
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="10" localOnly="7"/>
- <exampleNumber>7844301234</exampleNumber>
</mobile>
<tollFree>
+ <possibleLengths national="10"/>
+ <exampleNumber>8002345678</exampleNumber>
<nationalNumberPattern>
8(?:
00|
@@ -25028,15 +24963,15 @@
88
)[2-9]\d{6}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>8002345678</exampleNumber>
</tollFree>
<premiumRate>
- <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>9002345678</exampleNumber>
+ <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
</premiumRate>
<personalNumber>
+ <possibleLengths national="10"/>
+ <exampleNumber>5002345678</exampleNumber>
<!-- https://www.nationalnanpa.com/number_resource_info/5XX_codes.html -->
<nationalNumberPattern>
5(?:
@@ -25049,17 +24984,14 @@
88
)[2-9]\d{6}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>5002345678</exampleNumber>
</personalNumber>
</territory>
<!-- Venezuela -->
<!-- 1XX specifies a particular carrier to route a call to, but none of these have been
implemented. -->
- <territory id="VE" countryCode="58" internationalPrefix="00"
- nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
- carrierCodeFormattingRule="$CC $FG">
+ <territory id="VE" countryCode="58" internationalPrefix="00" nationalPrefix="0"
+ nationalPrefixFormattingRule="$NP$FG" carrierCodeFormattingRule="$CC $FG">
<references>
<sourceUrl>http://www.itu.int/oth/T02020000E3/en</sourceUrl>
<sourceUrl>http://en.wikipedia.org/wiki/+58</sourceUrl>
@@ -25071,9 +25003,10 @@
</availableFormats>
<generalDesc>
<nationalNumberPattern>[24589]\d{9}</nationalNumberPattern>
- <!-- Open numbering plan. -->
</generalDesc>
<fixedLine>
+ <possibleLengths national="10" localOnly="7"/>
+ <exampleNumber>2121234567</exampleNumber>
<!-- Including region-free 500 calls here, since these are treated as local calls. Wikipedia
mentions these as 5XX, but online examples that can be found are seemingly restricted
to 50[01]. -->
@@ -25089,42 +25022,42 @@
50[01]
)\d{7}
</nationalNumberPattern>
- <possibleLengths national="10" localOnly="7"/>
- <exampleNumber>2121234567</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="10"/>
+ <exampleNumber>4121234567</exampleNumber>
<nationalNumberPattern>
4(?:
1[24-8]|
2[46]
)\d{7}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>4121234567</exampleNumber>
</mobile>
<tollFree>
- <nationalNumberPattern>800\d{7}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>8001234567</exampleNumber>
+ <nationalNumberPattern>800\d{7}</nationalNumberPattern>
</tollFree>
<premiumRate>
- <nationalNumberPattern>900\d{7}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>9001234567</exampleNumber>
+ <nationalNumberPattern>900\d{7}</nationalNumberPattern>
</premiumRate>
</territory>
<!-- Virgin Islands, British -->
- <territory id="VG" countryCode="1" leadingDigits="284" nationalPrefix="1"
- internationalPrefix="011">
+ <!-- Country calling code and formatting shared with 'US' -->
+ <territory id="VG" countryCode="1" leadingDigits="284" internationalPrefix="011"
+ nationalPrefix="1">
<references>
<sourceUrl>http://www.itu.int/oth/T020200001E/en</sourceUrl>
</references>
<generalDesc>
- <!-- NANPA country - uses US formatting rules -->
<nationalNumberPattern>[2589]\d{9}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="10" localOnly="7"/>
+ <exampleNumber>2842291234</exampleNumber>
<!-- No data on central office codes can be found on the nanpa.com website. The codes 422
and 774 have been added from numbers found in the white pages. -->
<nationalNumberPattern>
@@ -25144,10 +25077,10 @@
496[0-5]\d{3}
)
</nationalNumberPattern>
- <possibleLengths national="10" localOnly="7"/>
- <exampleNumber>2842291234</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="10" localOnly="7"/>
+ <exampleNumber>2843001234</exampleNumber>
<!-- No data on central office codes can be found on the nanpa.com website. The codes 446
and 54[57] have been added from numbers found in the white pages. -->
<nationalNumberPattern>
@@ -25169,10 +25102,10 @@
496[6-9]\d{3}
)
</nationalNumberPattern>
- <possibleLengths national="10" localOnly="7"/>
- <exampleNumber>2843001234</exampleNumber>
</mobile>
<tollFree>
+ <possibleLengths national="10"/>
+ <exampleNumber>8002345678</exampleNumber>
<nationalNumberPattern>
8(?:
00|
@@ -25184,15 +25117,15 @@
88
)[2-9]\d{6}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>8002345678</exampleNumber>
</tollFree>
<premiumRate>
- <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>9002345678</exampleNumber>
+ <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
</premiumRate>
<personalNumber>
+ <possibleLengths national="10"/>
+ <exampleNumber>5002345678</exampleNumber>
<!-- https://www.nationalnanpa.com/number_resource_info/5XX_codes.html -->
<nationalNumberPattern>
5(?:
@@ -25205,22 +25138,22 @@
88
)[2-9]\d{6}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>5002345678</exampleNumber>
</personalNumber>
</territory>
<!-- Virgin Islands, United States -->
- <territory id="VI" countryCode="1" leadingDigits="340" nationalPrefix="1"
- internationalPrefix="011">
+ <!-- Country calling code and formatting shared with 'US' -->
+ <territory id="VI" countryCode="1" leadingDigits="340" internationalPrefix="011"
+ nationalPrefix="1">
<references>
<sourceUrl>http://www.itu.int/oth/T02020000DF/en</sourceUrl>
</references>
<generalDesc>
- <!-- NANPA country - uses US formatting rules -->
<nationalNumberPattern>[3589]\d{9}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="10" localOnly="7"/>
+ <exampleNumber>3406421234</exampleNumber>
<!-- The ITU document seems a bit out-of-date so extra prefixes based on numbers in the
yellow pages have been added, and the list of exchanges found on
http://www.allareacodes.com/340 -->
@@ -25259,10 +25192,10 @@
998
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="10" localOnly="7"/>
- <exampleNumber>3406421234</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="10" localOnly="7"/>
+ <exampleNumber>3406421234</exampleNumber>
<nationalNumberPattern>
340(?:
2(?:
@@ -25298,10 +25231,10 @@
998
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="10" localOnly="7"/>
- <exampleNumber>3406421234</exampleNumber>
</mobile>
<tollFree>
+ <possibleLengths national="10"/>
+ <exampleNumber>8002345678</exampleNumber>
<nationalNumberPattern>
8(?:
00|
@@ -25313,15 +25246,15 @@
88
)[2-9]\d{6}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>8002345678</exampleNumber>
</tollFree>
<premiumRate>
- <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
<possibleLengths national="10"/>
<exampleNumber>9002345678</exampleNumber>
+ <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
</premiumRate>
<personalNumber>
+ <possibleLengths national="10"/>
+ <exampleNumber>5002345678</exampleNumber>
<!-- https://www.nationalnanpa.com/number_resource_info/5XX_codes.html -->
<nationalNumberPattern>
5(?:
@@ -25334,15 +25267,12 @@
88
)[2-9]\d{6}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>5002345678</exampleNumber>
</personalNumber>
</territory>
<!-- Viet Nam (Vietnam) -->
- <territory id="VN" countryCode="84" internationalPrefix="00"
- nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
- nationalPrefixOptionalWhenFormatting="true">
+ <territory id="VN" countryCode="84" internationalPrefix="00" nationalPrefix="0"
+ nationalPrefixFormattingRule="$NP$FG" nationalPrefixOptionalWhenFormatting="true">
<references>
<sourceUrl>http://www.itu.int/oth/T02020000E4/en</sourceUrl>
<sourceUrl>http://en.wikipedia.org/wiki/%2B84</sourceUrl>
@@ -25412,8 +25342,7 @@
<leadingDigits>86[89]</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
- <numberFormat nationalPrefixFormattingRule="$FG"
- pattern="(1[89]00)(\d{4,6})">
+ <numberFormat pattern="(1[89]00)(\d{4,6})" nationalPrefixFormattingRule="$FG">
<leadingDigits>1[89]0</leadingDigits>
<format>$1 $2</format>
</numberFormat>
@@ -25426,12 +25355,12 @@
</nationalNumberPattern>
</generalDesc>
<noInternationalDialling>
+ <possibleLengths national="7,8"/>
+ <exampleNumber>1992000</exampleNumber>
<nationalNumberPattern>
[17]99\d{4}|
69\d{5,6}
</nationalNumberPattern>
- <possibleLengths national="7,8"/>
- <exampleNumber>1992000</exampleNumber>
</noInternationalDialling>
<!-- The fixed-line area codes include the new area codes assigned 2017-06-17 as per
ITU notification 25.XI.2016, along with the area codes they are replacing while these
@@ -25440,8 +25369,10 @@
While 24 and 28 are the new area codes for Hanoi and Ho Chi Minh respectively, currently
only 2[48][2-7] are in use; we respect this to make it clear that the old 2[48[[01]
numbers are invalid. This range can be relaxed in future when numbers outside this
- initial range are allocated.-->
+ initial range are allocated. -->
<fixedLine>
+ <possibleLengths national="9,10"/>
+ <exampleNumber>2101234567</exampleNumber>
<nationalNumberPattern>
(?:
2(?:
@@ -25472,10 +25403,10 @@
7[13]
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="9,10"/>
- <exampleNumber>2101234567</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="9,10"/>
+ <exampleNumber>912345678</exampleNumber>
<!-- For the 8\d{8} range, we have clearer & more recent information available from IR.21
docs than from ITU. Thus we consider 88x, 868, 89[89] as mobile ranges. 869 has been
added to Mobile as per a user report. -->
@@ -25495,30 +25426,28 @@
9[89]
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="9,10"/>
- <exampleNumber>912345678</exampleNumber>
</mobile>
<tollFree>
- <nationalNumberPattern>1800\d{4,6}</nationalNumberPattern>
<possibleLengths national="[8-10]"/>
<exampleNumber>1800123456</exampleNumber>
+ <nationalNumberPattern>1800\d{4,6}</nationalNumberPattern>
</tollFree>
<premiumRate>
- <nationalNumberPattern>1900\d{4,6}</nationalNumberPattern>
<possibleLengths national="[8-10]"/>
<exampleNumber>1900123456</exampleNumber>
+ <nationalNumberPattern>1900\d{4,6}</nationalNumberPattern>
</premiumRate>
<uan>
+ <possibleLengths national="7,8"/>
+ <exampleNumber>1992000</exampleNumber>
<!-- These include non-geographic fixed numbers, such as for government ministries. While
- listed as "private networks", they may actually be callable from within Vietnam. (They are
- "private" in the sense that ordinary people could not be assigned these numbers.) -->
+ listed as "private networks", they may actually be callable from within Vietnam. (They are
+ "private" in the sense that ordinary people could not be assigned these numbers.) -->
<nationalNumberPattern>
[17]99\d{4}|
69\d{5,6}|
80\d{5}
</nationalNumberPattern>
- <possibleLengths national="7,8"/>
- <exampleNumber>1992000</exampleNumber>
</uan>
</territory>
@@ -25538,6 +25467,8 @@
<nationalNumberPattern>[2-57-9]\d{4,6}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="5"/>
+ <exampleNumber>22123</exampleNumber>
<nationalNumberPattern>
(?:
2[02-9]\d|
@@ -25549,10 +25480,10 @@
88\d
)\d{2}
</nationalNumberPattern>
- <possibleLengths national="5"/>
- <exampleNumber>22123</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="7"/>
+ <exampleNumber>5912345</exampleNumber>
<nationalNumberPattern>
(?:
5(?:
@@ -25562,18 +25493,16 @@
7[013-7]\d
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="7"/>
- <exampleNumber>5912345</exampleNumber>
</mobile>
<!-- Using this for non-geographical numbers, since they have not been clearly defined, and
for government fixed-line numbers. -->
<uan>
+ <possibleLengths national="5,7"/>
+ <exampleNumber>30123</exampleNumber>
<nationalNumberPattern>
3[03]\d{3}|
900\d{4}
</nationalNumberPattern>
- <possibleLengths national="5,7"/>
- <exampleNumber>30123</exampleNumber>
</uan>
</territory>
@@ -25591,6 +25520,8 @@
<nationalNumberPattern>[4-8]\d{5}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="6"/>
+ <exampleNumber>501234</exampleNumber>
<!-- Web searching only finds examples with the 72 prefix but the ITU document states that
50 and 68 are possible, so they are included here. -->
<nationalNumberPattern>
@@ -25600,10 +25531,10 @@
72
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="6"/>
- <exampleNumber>501234</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="6"/>
+ <exampleNumber>501234</exampleNumber>
<nationalNumberPattern>
(?:
50|
@@ -25612,13 +25543,11 @@
8[23]
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="6"/>
- <exampleNumber>501234</exampleNumber>
</mobile>
<voicemail>
- <nationalNumberPattern>[48]0\d{4}</nationalNumberPattern>
<possibleLengths national="6"/>
<exampleNumber>401234</exampleNumber>
+ <nationalNumberPattern>[48]0\d{4}</nationalNumberPattern>
</voicemail>
</territory>
@@ -25645,6 +25574,8 @@
<nationalNumberPattern>[2-8]\d{4,6}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="5,7"/>
+ <exampleNumber>22123</exampleNumber>
<nationalNumberPattern>
(?:
[2-5]\d|
@@ -25652,34 +25583,32 @@
84\d{2}
)\d{3}
</nationalNumberPattern>
- <possibleLengths national="5,7"/>
- <exampleNumber>22123</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="6,7"/>
+ <exampleNumber>601234</exampleNumber>
<nationalNumberPattern>
(?:
60|
7[25-7]\d
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="6,7"/>
- <exampleNumber>601234</exampleNumber>
</mobile>
<tollFree>
+ <possibleLengths national="6"/>
+ <exampleNumber>800123</exampleNumber>
<!-- The 800 number series is new, and is used by companies such as the ANZ bank in Samoa to
provide 24 hour eMerchant support. It is marked as "Customized Services" in the plan
for now, so may be also used for other purposes than toll free, but until we have
further evidence of these we will keep it as toll free. -->
<nationalNumberPattern>800\d{3}</nationalNumberPattern>
- <possibleLengths national="6"/>
- <exampleNumber>800123</exampleNumber>
</tollFree>
- <!-- Current research suggests other types of numbers are not used in Samoa. -->
</territory>
<!-- Yemen -->
- <territory id="YE" countryCode="967" internationalPrefix="00"
- nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
+ <!-- No tollFree or premiumRate information can be found. -->
+ <territory id="YE" countryCode="967" internationalPrefix="00" nationalPrefix="0"
+ nationalPrefixFormattingRule="$NP$FG">
<references>
<sourceUrl>http://www.itu.int/oth/T02020000E7/en</sourceUrl>
</references>
@@ -25700,6 +25629,8 @@
<nationalNumberPattern>[1-7]\d{6,8}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="7,8" localOnly="6"/>
+ <exampleNumber>1234567</exampleNumber>
<nationalNumberPattern>
(?:
1(?:
@@ -25714,45 +25645,42 @@
7[24-68]
)\d{5}
</nationalNumberPattern>
- <possibleLengths national="7,8" localOnly="6"/>
- <exampleNumber>1234567</exampleNumber>
</fixedLine>
<mobile>
- <!-- Adding 70 from numbers found online. -->
- <nationalNumberPattern>7[0137]\d{7}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>712345678</exampleNumber>
+ <!-- Adding 70 from numbers found online. -->
+ <nationalNumberPattern>7[0137]\d{7}</nationalNumberPattern>
</mobile>
- <!-- No tollFree or premiumRate information can be found. -->
</territory>
<!-- Mayotte -->
- <territory id="YT" countryCode="262" internationalPrefix="00" nationalPrefix="0"
- leadingDigits="269|63">
+ <!-- Country calling code and formatting shared with 'RE' -->
+ <territory id="YT" countryCode="262" leadingDigits="269|63" internationalPrefix="00"
+ nationalPrefix="0">
<references>
- <!-- Some information at the following source, but most from collection of internet data.
- -->
+ <!-- Some information at the following source, but most from collection of internet data. -->
<sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_France</sourceUrl>
- <!-- Verifies the fixed-line prefixes, but the mobile prefixes listed here seem out of date.
- -->
+ <!-- Verifies the fixed-line prefixes, but the mobile prefixes listed here seem out of date. -->
<sourceUrl>http://www.comores-online.com/mwezinet/internet/262</sourceUrl>
<sourceUrl>http://www.arcep.fr/index.php?id=2137&amp;bloc=0596&amp;CMD=RESULTS_NUMEROTATION</sourceUrl>
</references>
- <!-- Formatting as per La Réunion. -->
<generalDesc>
<nationalNumberPattern>[268]\d{8}</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="9"/>
+ <exampleNumber>269601234</exampleNumber>
<nationalNumberPattern>
269(?:
- 6[0-4]|
- 50
- )\d{4}
+ 6[0-4]|
+ 50
+ )\d{4}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>269601234</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="9"/>
+ <exampleNumber>639012345</exampleNumber>
<nationalNumberPattern>
639(?:
0[0-79]|
@@ -25764,27 +25692,22 @@
9[04-79]
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>639012345</exampleNumber>
</mobile>
<!-- Same as in France. -->
<tollFree>
- <nationalNumberPattern>80\d{7}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>801234567</exampleNumber>
+ <nationalNumberPattern>80\d{7}</nationalNumberPattern>
</tollFree>
</territory>
<!-- South Africa -->
- <territory id="ZA" countryCode="27" internationalPrefix="00"
- nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
- mobileNumberPortableRegion="true">
+ <territory id="ZA" countryCode="27" internationalPrefix="00" nationalPrefix="0"
+ nationalPrefixFormattingRule="$NP$FG" mobileNumberPortableRegion="true">
<references>
<sourceUrl>http://www.itu.int/oth/T02020000C1/en</sourceUrl>
<sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_South_Africa</sourceUrl>
- <sourceUrl>
- https://www.icasa.org.za/Portals/0/Regulations/Regulations/NumberingPlanReg.pdf
- </sourceUrl>
+ <sourceUrl>https://www.icasa.org.za/Portals/0/Regulations/Regulations/NumberingPlanReg.pdf</sourceUrl>
</references>
<availableFormats>
<numberFormat pattern="(860)(\d{3})(\d{3})">
@@ -25817,6 +25740,8 @@
</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="9"/>
+ <exampleNumber>101234567</exampleNumber>
<nationalNumberPattern>
(?:
1[0-8]|
@@ -25826,10 +25751,10 @@
5[1346-8]
)\d{7}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>101234567</exampleNumber>
</fixedLine>
<mobile>
+ <possibleLengths national="[5-9]"/>
+ <exampleNumber>711234567</exampleNumber>
<!-- Even though ITU mentions it as protected, the 9-digit 85 range is a valid mobile range
as per Wikipedia and user reports. Also note that we are still supporting numbers
beginning with 8 that are fewer than 9 digits since they are in prominent places
@@ -25845,47 +25770,45 @@
5\d{5}
)\d{2}
</nationalNumberPattern>
- <possibleLengths national="[5-9]"/>
- <exampleNumber>711234567</exampleNumber>
</mobile>
<tollFree>
- <nationalNumberPattern>80\d{7}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>801234567</exampleNumber>
+ <nationalNumberPattern>80\d{7}</nationalNumberPattern>
</tollFree>
<premiumRate>
+ <possibleLengths national="9"/>
+ <exampleNumber>862345678</exampleNumber>
<nationalNumberPattern>
86[2-9]\d{6}|
9[0-2]\d{7}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>862345678</exampleNumber>
</premiumRate>
<sharedCost>
- <nationalNumberPattern>860\d{6}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>860123456</exampleNumber>
+ <nationalNumberPattern>860\d{6}</nationalNumberPattern>
</sharedCost>
<!-- 88 used to be assigned to pagers prior to a migration in 2010, where it was unassigned.
According to an official doc from 2016, 88 is "Released" for "Future non-geographic
services", but we don't know yet what these are, so we do not validate them. -->
<voip>
- <nationalNumberPattern>87\d{7}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>871234567</exampleNumber>
+ <nationalNumberPattern>87\d{7}</nationalNumberPattern>
</voip>
<uan>
+ <possibleLengths national="9"/>
+ <exampleNumber>861123456</exampleNumber>
<!-- MaxiCall numbers cost as much as national long distance, so they are classified as UAN
numbers. -->
<nationalNumberPattern>861\d{6}</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>861123456</exampleNumber>
</uan>
</territory>
<!-- Zambia -->
- <territory id="ZM" countryCode="260" internationalPrefix="00"
- nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
+ <territory id="ZM" countryCode="260" internationalPrefix="00" nationalPrefix="0"
+ nationalPrefixFormattingRule="$NP$FG">
<references>
<sourceUrl>http://www.itu.int/oth/T02020000E8/en</sourceUrl>
</references>
@@ -25903,11 +25826,13 @@
<nationalNumberPattern>[289]\d{8}</nationalNumberPattern>
</generalDesc>
<fixedLine>
- <nationalNumberPattern>21[1-8]\d{6}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>211234567</exampleNumber>
+ <nationalNumberPattern>21[1-8]\d{6}</nationalNumberPattern>
</fixedLine>
<mobile>
+ <possibleLengths national="9"/>
+ <exampleNumber>955123456</exampleNumber>
<!-- Adding extra prefixes 50 and 6[1-57-9] since SMS messages have been successfully
delivered to these numbers, and numbers like this can be found on the Internet. Adding
prefix 960 based on information received from MTN Zambia. The 97 range has been
@@ -25919,19 +25844,17 @@
[67]\d
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>955123456</exampleNumber>
</mobile>
<tollFree>
- <nationalNumberPattern>800\d{6}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>800123456</exampleNumber>
+ <nationalNumberPattern>800\d{6}</nationalNumberPattern>
</tollFree>
</territory>
<!-- Zimbabwe -->
- <territory id="ZW" countryCode="263" internationalPrefix="00"
- nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
+ <territory id="ZW" countryCode="263" internationalPrefix="00" nationalPrefix="0"
+ nationalPrefixFormattingRule="$NP$FG">
<references>
<sourceUrl>http://www.itu.int/oth/T02020000E9/en</sourceUrl>
</references>
@@ -26038,15 +25961,15 @@
<format>$1 $2</format>
</numberFormat>
</availableFormats>
+ <!-- A complicated nationalNumberPattern is necessary here, since the numbers are extremely
+ variable in length and the possible prefixes clash with the country code. -->
<generalDesc>
- <!-- A complicated nationalNumberPattern is necessary here, since the numbers are extremely
- variable in length and the possible prefixes clash with the country code. -->
<nationalNumberPattern>
2(?:
[0-2457-9]\d{3,8}|
6(?:
- [14]\d{7}|
- \d{4}
+ [14]\d{7}|
+ \d{4}
)
)|
[13-79]\d{4,9}|
@@ -26054,6 +25977,8 @@
</nationalNumberPattern>
</generalDesc>
<fixedLine>
+ <possibleLengths national="[5-10]" localOnly="3,4"/>
+ <exampleNumber>1312345</exampleNumber>
<!-- Numbering is grouped by subscriber-number length. -->
<!-- The new organisation is used for both formatting and validation
1. First we have 3 digit area code with SN(3,4,5).
@@ -26065,113 +25990,112 @@
<nationalNumberPattern>
(?:
2(?:
- 0(?:
- 4\d|
- 5\d{2}
- )|
- 2[278]\d|
- 48\d|
- 7(?:
- [1-7]\d|
- [089]\d{2}
- )|
- 8(?:
- [2-57-9]|
- [146]\d{2}
- )|
- 98
+ 0(?:
+ 4\d|
+ 5\d{2}
+ )|
+ 2[278]\d|
+ 48\d|
+ 7(?:
+ [1-7]\d|
+ [089]\d{2}
+ )|
+ 8(?:
+ [2-57-9]|
+ [146]\d{2}
+ )|
+ 98
)|
3(?:
- 08|
- 17|
- 3[78]|
- 7(?:
- [19]|
- [56]\d
- )|
- 8[37]|
- 98
+ 08|
+ 17|
+ 3[78]|
+ 7(?:
+ [19]|
+ [56]\d
+ )|
+ 8[37]|
+ 98
)|
5[15][78]|
6(?:
- 28\d{2}|
- 37|
- 6[78]|
- 75\d|
- 98|
- 8(?:
- 7\d|
- 8
- )
- )
- )\d{3}|
+ 28\d{2}|
+ 37|
+ 6[78]|
+ 75\d|
+ 98|
+ 8(?:
+ 7\d|
+ 8
+ )
+ )
+ )\d{3}|
(?:
2(?:
- 1[39]|
- 2[0157]|
- 31|
- [56][14]|
- 7[35]|
- 84
+ 1[39]|
+ 2[0157]|
+ 31|
+ [56][14]|
+ 7[35]|
+ 84
)|
329
)\d{7}|
(?:
1(?:
- 3\d{2}|
- [4-8]|
- 9\d
-
+ 3\d{2}|
+ [4-8]|
+ 9\d
)|
2(?:
- 0\d{2}|
- 12|
- 292|
- [569]\d
+ 0\d{2}|
+ 12|
+ 292|
+ [569]\d
)|
3(?:
- [26]|
- [013459]\d
+ [26]|
+ [013459]\d
)|
5(?:
- 0|
- 1[2-4]|
- 26|
- [37]2|
- 5\d{2}|
- [689]\d
+ 0|
+ 1[2-4]|
+ 26|
+ [37]2|
+ 5\d{2}|
+ [689]\d
)|
6(?:
- [39]|
- [01246]\d|
- [78]\d{2}
+ [39]|
+ [01246]\d|
+ [78]\d{2}
)
- )\d{3}|
- (?:
- 29\d|
- 39|
- 54
- )\d{6}|
- (?:
- (?:
- 25|
- 54
- )83\d|
- 2582\d{2}|
- 65[2-8]
- )\d{2}|
- (?:
- 4\d{6,7}|
- 9[2-9]\d{4,5}
- )
+ )\d{3}|
+ (?:
+ 29\d|
+ 39|
+ 54
+ )\d{6}|
+ (?:
+ (?:
+ 25|
+ 54
+ )83\d|
+ 2582\d{2}|
+ 65[2-8]
+ )\d{2}|
+ (?:
+ 4\d{6,7}|
+ 9[2-9]\d{4,5}
+ )
</nationalNumberPattern>
- <possibleLengths national="[5-10]" localOnly="3,4"/>
- <exampleNumber>1312345</exampleNumber>
</fixedLine>
<!-- The ITU document list 8644 as VoIP, but an open-source reporter was in touch with the
issuing company (Africom) who said they were using them for SMS-capable devices, so we
support it as mobile. -->
<mobile>
+ <possibleLengths national="9,10"/>
+ <exampleNumber>712345678</exampleNumber>
<nationalNumberPattern>
(?:
7(?:
@@ -26183,10 +26107,10 @@
8644
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="9,10"/>
- <exampleNumber>712345678</exampleNumber>
</mobile>
<tollFree>
+ <possibleLengths national="7"/>
+ <exampleNumber>8001234</exampleNumber>
<nationalNumberPattern>
80(?:
[01]\d|
@@ -26194,11 +26118,11 @@
8[0-8]
)\d{3}
</nationalNumberPattern>
- <possibleLengths national="7"/>
- <exampleNumber>8001234</exampleNumber>
</tollFree>
<!-- No premiumRate information can be found. -->
<voip>
+ <possibleLengths national="10"/>
+ <exampleNumber>8686123456</exampleNumber>
<nationalNumberPattern>
86(?:
1[12]|
@@ -26208,8 +26132,6 @@
8[368]
)\d{6}
</nationalNumberPattern>
- <possibleLengths national="10"/>
- <exampleNumber>8686123456</exampleNumber>
</voip>
</territory>
@@ -26227,9 +26149,9 @@
<nationalNumberPattern>\d{8}</nationalNumberPattern>
</generalDesc>
<tollFree>
- <nationalNumberPattern>\d{8}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>12345678</exampleNumber>
+ <nationalNumberPattern>\d{8}</nationalNumberPattern>
</tollFree>
</territory>
@@ -26247,9 +26169,9 @@
<nationalNumberPattern>\d{8}</nationalNumberPattern>
</generalDesc>
<sharedCost>
- <nationalNumberPattern>\d{8}</nationalNumberPattern>
<possibleLengths national="8"/>
<exampleNumber>12345678</exampleNumber>
+ <nationalNumberPattern>\d{8}</nationalNumberPattern>
</sharedCost>
</territory>
@@ -26268,6 +26190,8 @@
<nationalNumberPattern>[35-7]\d{8}</nationalNumberPattern>
</generalDesc>
<mobile>
+ <possibleLengths national="9"/>
+ <exampleNumber>301234567</exampleNumber>
<!-- Assigning these to mobile since Inmarsat considers them to be mobile numbers. -->
<nationalNumberPattern>
(?:
@@ -26275,8 +26199,6 @@
7[6-8]
)\d{7}
</nationalNumberPattern>
- <possibleLengths national="9"/>
- <exampleNumber>301234567</exampleNumber>
</mobile>
</territory>
@@ -26296,9 +26218,9 @@
<nationalNumberPattern>1\d{11}</nationalNumberPattern>
</generalDesc>
<voip>
- <nationalNumberPattern>10\d{10}</nationalNumberPattern>
<possibleLengths national="12"/>
<exampleNumber>101234567890</exampleNumber>
+ <nationalNumberPattern>10\d{10}</nationalNumberPattern>
</voip>
</territory>
@@ -26322,9 +26244,9 @@
<nationalNumberPattern>[67]\d{8}</nationalNumberPattern>
</generalDesc>
<mobile>
- <nationalNumberPattern>[67]\d{8}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>612345678</exampleNumber>
+ <nationalNumberPattern>[67]\d{8}</nationalNumberPattern>
</mobile>
</territory>
@@ -26385,7 +26307,9 @@
<nationalNumberPattern>[13]\d{6,11}</nationalNumberPattern>
</generalDesc>
<mobile>
- <!-- Bebbicell Mobile numbers, MCP & Oration. We are guessing the number length for
+ <possibleLengths national="7,9,10"/>
+ <exampleNumber>3421234</exampleNumber>
+ <!-- Bebbicell Mobile numbers, MCP and Oration. We are guessing the number length for
Oration based on numbers found online. -->
<nationalNumberPattern>
3(?:
@@ -26397,10 +26321,10 @@
)
)\d{4}
</nationalNumberPattern>
- <possibleLengths national="7,9,10"/>
- <exampleNumber>3421234</exampleNumber>
</mobile>
<voip>
+ <possibleLengths national="[7-12]"/>
+ <exampleNumber>390123456789</exampleNumber>
<!-- Telespazio S.p.A., Thuraya and Bebbicell VOIP numbers. -->
<!-- Added Vodafone's satellite range +882 39 here. Length and type are based on user-
reported issue as there are no numbers found online. -->
@@ -26423,13 +26347,11 @@
9\d{3}
)\d{7}
</nationalNumberPattern>
- <possibleLengths national="[7-12]"/>
- <exampleNumber>390123456789</exampleNumber>
</voip>
<voicemail>
- <nationalNumberPattern>348[57]\d{7}</nationalNumberPattern>
<possibleLengths national="11"/>
<exampleNumber>34851234567</exampleNumber>
+ <nationalNumberPattern>348[57]\d{7}</nationalNumberPattern>
</voicemail>
</territory>
@@ -26458,20 +26380,22 @@
<format>$1 $2 $3</format>
</numberFormat>
</availableFormats>
+ <!-- Wikipedia also listed a few other +883 ranges, but no information on their lengths and
+ costs can be found online, so we don't include them here for now. -->
<generalDesc>
- <!-- Wikipedia also listed a few other +883 ranges, but no information on their lengths and
- costs can be found online, so we don't include them here for now. -->
<nationalNumberPattern>51\d{7}(?:\d{3})?</nationalNumberPattern>
</generalDesc>
<voip>
+ <possibleLengths national="9,12"/>
+ <exampleNumber>510012345</exampleNumber>
<nationalNumberPattern>
51(?:
- 00\d{5}(?:\d{3})?|
+ 00\d{5}(?:
+ \d{3}
+ )?|
[13]0\d{8}
)
</nationalNumberPattern>
- <possibleLengths national="9,12"/>
- <exampleNumber>510012345</exampleNumber>
</voip>
</territory>
@@ -26492,9 +26416,9 @@
<nationalNumberPattern>\d{11}</nationalNumberPattern>
</generalDesc>
<uan>
- <nationalNumberPattern>\d{11}</nationalNumberPattern>
<possibleLengths national="11"/>
<exampleNumber>12345678901</exampleNumber>
+ <nationalNumberPattern>\d{11}</nationalNumberPattern>
</uan>
</territory>
@@ -26512,10 +26436,11 @@
<nationalNumberPattern>\d{9}</nationalNumberPattern>
</generalDesc>
<premiumRate>
- <nationalNumberPattern>\d{9}</nationalNumberPattern>
<possibleLengths national="9"/>
<exampleNumber>123456789</exampleNumber>
+ <nationalNumberPattern>\d{9}</nationalNumberPattern>
</premiumRate>
</territory>
+
</territories>
</phoneNumberMetadata>
diff --git a/resources/ShortNumberMetadata.xml b/resources/ShortNumberMetadata.xml
index 00ffcc8b..f1aabcb1 100644
--- a/resources/ShortNumberMetadata.xml
+++ b/resources/ShortNumberMetadata.xml
@@ -1235,13 +1235,30 @@
<!-- http://www.itu.int/oth/T0202000017/en -->
<territory id="BJ">
<generalDesc>
- <nationalNumberPattern>1\d{2}</nationalNumberPattern>
+ <nationalNumberPattern>[17]\d{2,3}</nationalNumberPattern>
</generalDesc>
<shortCode>
- <nationalNumberPattern>11[78]</nationalNumberPattern>
- <possibleLengths national="3"/>
+ <nationalNumberPattern>
+ 1(?:
+ 1[78]|
+ 2[02-5]|
+ 60
+ )|
+ 7[0-5]\d{2}
+ </nationalNumberPattern>
+ <possibleLengths national="3,4"/>
<exampleNumber>117</exampleNumber>
</shortCode>
+ <tollFree>
+ <nationalNumberPattern>7[3-5]\d{2}</nationalNumberPattern>
+ <possibleLengths national="4"/>
+ <exampleNumber>7312</exampleNumber>
+ </tollFree>
+ <carrierSpecific>
+ <nationalNumberPattern>12\d</nationalNumberPattern>
+ <possibleLengths national="3"/>
+ <exampleNumber>122</exampleNumber>
+ </carrierSpecific>
<emergency>
<nationalNumberPattern>11[78]</nationalNumberPattern>
<possibleLengths national="3"/>
@@ -3131,7 +3148,6 @@
<!-- Estonia -->
<!-- http://www.itu.int/oth/T0202000043/en -->
- <!-- http://www.tja.ee/public/Legislation_side/Numbering_/Estonian_NP_eng.htm -->
<territory id="EE">
<generalDesc>
<nationalNumberPattern>1\d{2,5}</nationalNumberPattern>
@@ -3139,26 +3155,285 @@
<shortCode>
<nationalNumberPattern>
1(?:
- \d{2}|
- 16(?:
- 000|
- 111
+ 1(?:
+ [02-579]|
+ 6(?:
+ 000|
+ 111
+ )|
+ 8(?:
+ [09]\d|
+ [1-8]
+ )
+ )|
+ 2(?:
+ [0-245]\d{1,2}|
+ [36-9]
+ )|
+ 3(?:
+ [0-6]\d{1,2}|
+ [7-9]
+ )|
+ 4(?:
+ [1-489]\d{1,2}|
+ [05-7]
+ )|
+ 5(?:
+ [0-59]\d{1,2}|
+ [6-8]
+ )|
+ 6(?:
+ [05]|
+ [1-46-9]\d{1,2}
+ )|
+ 7(?:
+ [0-27-9]\d{1,2}|
+ [3-6]
+ )|
+ 8(?:
+ [02-7]|
+ [189]\d{1,2}
+ )|
+ 9(?:
+ [0-2]\d{1,2}|
+ [3-9]
)
)
</nationalNumberPattern>
- <possibleLengths national="3,6"/>
- <exampleNumber>116</exampleNumber>
+ <possibleLengths national="[3-6]"/>
+ <exampleNumber>115</exampleNumber>
</shortCode>
<tollFree>
<nationalNumberPattern>
- 116(?:
- 000|
- 111
+ 1(?:
+ 1(?:
+ [02]|
+ 6(?:
+ 000|
+ 111
+ )
+ )|
+ 2(?:
+ 0(?:
+ 16|
+ 5
+ )|
+ 28|
+ 55[47]
+ )|
+ 3(?:
+ 014|
+ 24|
+ 3(?:
+ 21|
+ 5
+ )|
+ 660
+ )|
+ 492|
+ 5(?:
+ 1[03]|
+ 410|
+ 501|
+ 977
+ )|
+ 6(?:
+ 112|
+ 333|
+ 644
+ )|
+ 7(?:
+ 012|
+ 127|
+ 89
+ )|
+ 8(?:
+ 10|
+ 8[57]
+ )|
+ 9(?:
+ 0(?:
+ [134]|
+ 90
+ )|
+ 14
+ )
)
</nationalNumberPattern>
- <possibleLengths national="6"/>
+ <possibleLengths national="[3-6]"/>
<exampleNumber>116000</exampleNumber>
</tollFree>
+ <premiumRate>
+ <nationalNumberPattern>
+ 1(?:
+ 18(?:
+ [12458]|
+ 00
+ )|
+ 2(?:
+ 0(?:
+ [02-46-8]|
+ 1[0-36]
+ )|
+ 1(?:
+ [0-4]|
+ 6[06]
+ )|
+ 2(?:
+ [0-4]|
+ 5[25]
+ )|
+ [367]|
+ 4(?:
+ 0[04]|
+ [12]|
+ 4[24]|
+ 54
+ )
+ 55[12457]
+ )|
+ 3(?:
+ 0(?:
+ [02]|
+ 1[13578]|
+ 3[356]
+ )|
+ 1[1347]|
+ 2[02-5]|
+ 3(?:
+ [01347]|
+ 2[023]|
+ 88
+ )|
+ 4(?:
+ [35]|
+ 4[34]
+ )|
+ 5(?:
+ 3[134]|
+ 5[035]
+ )|
+ 666
+ )|
+ 4(?:
+ 2(?:
+ 00|
+ 4
+ )|
+ 4(?:
+ 0[01358]|
+ 1[024]|
+ 50|
+ 7
+ )|
+ 900
+ )|
+ 5(?:
+ 0[0-35]|
+ 1(?:
+ [1267]|
+ 5[0-7]|
+ 82
+ )|
+ 2(?:
+ [014-6]|
+ 22
+ )|
+ 330|
+ 4(?:
+ [35]|
+ 44
+ )|
+ 5(?:
+ 00|
+ [1-69]
+ )|
+ 9(?:
+ [159]|
+ [38]0|
+ 77
+ )
+ )|
+ 6(?:
+ 1(?:
+ 00|
+ 1[19]|
+ [356-9]
+ )|
+ 2(?:
+ 2[26]|
+ [68]
+ )|
+ 3(?:
+ 22|
+ 36|
+ 6[36]
+ )|
+ 5|
+ 6(?:
+ [0-359]|
+ 6[0-26]
+ )|
+ 7(?:
+ 00|
+ 55|
+ 7|
+ 8[89]
+ )|
+ 9(?:
+ 00|
+ 1|
+ 69
+ )
+ )|
+ 7(?:
+ 0(?:
+ [023]|
+ 1[0578]
+ )|
+ 1(?:
+ 00|
+ 2[034]|
+ [4-9]
+ )|
+ 2(?:
+ [07]|
+ 20|
+ 44
+ )|
+ 7(?:
+ [0-57]|
+ 9[79]
+ )|
+ 8(?:
+ 0[08]|
+ 2|
+ 8[0178]
+ )|
+ 9(?:
+ 00|
+ 97
+ )
+ )|
+ 8(?:
+ 1[127]|
+ 8[1268]|
+ 9[269]
+ )|
+ 9(?:
+ 0(?:
+ [02]|
+ 69|
+ 9[0269]
+ )|
+ 1[123689]|
+ 21
+ )
+ )
+ </nationalNumberPattern>
+ <possibleLengths national="[3-5]"/>
+ <exampleNumber>1182</exampleNumber>
+ </premiumRate>
<emergency>
<nationalNumberPattern>11[02]</nationalNumberPattern>
<possibleLengths national="3"/>
@@ -3174,6 +3449,128 @@
<possibleLengths national="6"/>
<exampleNumber>116000</exampleNumber>
</expandedEmergency>
+ <smsServices>
+ <nationalNumberPattern>
+ 1(?:
+ 18[1258]
+ 2(?:
+ 0(?:
+ 1[036]|
+ [46]
+ )|
+ 166|
+ 21|
+ 4(?:
+ 0[04]|
+ 1|
+ 5[47]
+ )|
+ [67]
+ )|
+ 3(?:
+ 0(?:
+ 1[13-578]|
+ 2|
+ 3[56]
+ )|
+ 1[15]|
+ 2[045]|
+ 3(?:
+ [13]|
+ 2[13]
+ )|
+ 43|
+ 5(?:
+ 00|
+ 3[34]|
+ 53
+ )
+ )|
+ 44(?:
+ 0[0135]|
+ 14|
+ 50|
+ 7
+ )|
+ 5(?:
+ 05|
+ 1(?:
+ [12]|
+ 5[1246]|
+ 8[12]
+ )|
+ 2(?:
+ [01]|
+ 22
+ )|
+ 3(?:
+ 00|
+ 3[03]
+ )|
+ 4(?:
+ 15|
+ 5
+ )|
+ 500|
+ 9(?:
+ 5|
+ 77|
+ 80
+ )
+ )|
+ 6(?:
+ 1[35-8]|
+ 226|
+ 3(?:
+ 22|
+ 3[36]|
+ 66
+ )|
+ 644|
+ 7(?:
+ 00|
+ 7|
+ 89
+ )|
+ 9(?:
+ 00|
+ 69
+ )
+ )|
+ 7(?:
+ 01[258]|
+ 1(?:
+ 00|
+ [15]
+ )|
+ 2(?:
+ 44|
+ 7
+ )|
+ 8(?:
+ 00|
+ 87|
+ 9
+ )
+ )|
+ 8(?:
+ 1[128]|
+ 8[56]|
+ 9(?:
+ [26]|
+ 77
+ )
+ )|
+ 90(?:
+ 2|
+ 69|
+ 92
+ )
+ )
+ </nationalNumberPattern>
+ <possibleLengths national="4,5"/>
+ <exampleNumber>13500</exampleNumber>
+ </smsServices>
</territory>
<!-- Egypt -->
@@ -3186,6 +3583,7 @@
<nationalNumberPattern>
1(?:
2[23]|
+ [69]\d{3}|
80
)|
34400
@@ -5181,7 +5579,7 @@
<!-- http://www.dot.gov.in/access-services/national-numbering-plan-2003 -->
<territory id="IN">
<generalDesc>
- <nationalNumberPattern>[125]\d{2,6}</nationalNumberPattern>
+ <nationalNumberPattern>[125]\d{2,7}</nationalNumberPattern>
</generalDesc>
<!-- 1802 - Virtual Card calling (VCC) codes are actually access codes for making VCC calls as
per http://www.cdothelpline.ernet.in/documents/C-DOT_IN/INS&FDES.PDF. Not adding them to
@@ -5230,10 +5628,14 @@
[34]\d
)|
3000|
+ 6161(?:
+ 17[89]|
+ 561
+ )|
757555
)
</nationalNumberPattern>
- <possibleLengths national="[3-7]"/>
+ <possibleLengths national="[3-8]"/>
<exampleNumber>108</exampleNumber>
</shortCode>
<tollFree>
@@ -5262,14 +5664,18 @@
Cancellation". Dialling format 11[67] + <hours_in_24_hours_format> + <minutes>. This
service costs double the standard rate.
http://delhi.mtnl.net.in/services/phonewakeup.htm -->
+ <!-- Added Vodafone number 56161561 based on their website. -->
<nationalNumberPattern>
- 11[67][0-2]\d{3}
+ 11[67][0-2]\d{3}|
+ 56161561
</nationalNumberPattern>
- <possibleLengths national="7"/>
+ <possibleLengths national="7,8"/>
<exampleNumber>1160530</exampleNumber>
</premiumRate>
<carrierSpecific>
- <!-- https://support.twitter.com/articles/20170024 -->
+ <!-- Some numbers are from https://support.twitter.com/articles/20170024. -->
+ <!-- Added Vodafone numbers 5616117[89] based on user reports. -->
+ <!-- Added Vodafone number 56161561 based on their website. -->
<nationalNumberPattern>
1(?:
1(?:
@@ -5285,9 +5691,15 @@
09
)
)|
- 53000
+ 5(?:
+ 3000|
+ 6161(?:
+ 17[89]|
+ 561
+ )
+ )
</nationalNumberPattern>
- <possibleLengths national="[3-7]"/>
+ <possibleLengths national="[3-8]"/>
<exampleNumber>53000</exampleNumber>
</carrierSpecific>
<emergency>
@@ -5315,6 +5727,8 @@
<possibleLengths national="4,6"/>
<exampleNumber>1090</exampleNumber>
</expandedEmergency>
+ <!-- Added Vodafone numbers 5616117[89] based on user reports. -->
+ <!-- Added Vodafone number 56161561 based on their website. -->
<smsServices>
<nationalNumberPattern>
1(?:
@@ -5326,10 +5740,14 @@
2[5-9]|
[34]\d
)|
+ 6161(?:
+ 17[89]|
+ 561
+ )|
757555
)
</nationalNumberPattern>
- <possibleLengths national="[3-5],7"/>
+ <possibleLengths national="[3-5],7,8"/>
<exampleNumber>51431</exampleNumber>
</smsServices>
</territory>
@@ -6099,6 +6517,7 @@
<!-- Kyrgyzstan -->
<!-- http://www.itu.int/oth/T0202000074/en -->
+ <!-- http://www.iru-nelti.org/index/info-app/id.216 -->
<territory id="KG">
<generalDesc>
<nationalNumberPattern>[14]\d{2,3}</nationalNumberPattern>
@@ -6380,7 +6799,7 @@
</generalDesc>
<shortCode>
<nationalNumberPattern>
- 1\d{2}|
+ 1[0-7]\d|
89887
</nationalNumberPattern>
<possibleLengths national="3,5"/>
diff --git a/resources/carrier/en/1.txt b/resources/carrier/en/1.txt
index 27e23a12..d88c7745 100644
--- a/resources/carrier/en/1.txt
+++ b/resources/carrier/en/1.txt
@@ -84,6 +84,25 @@
1264584|Digicel
1264729|Cable & Wireless
1264772|Cable & Wireless
+1268713|Digicel
+1268714|Digicel
+1268715|Digicel
+1268716|Digicel
+1268717|Digicel
+1268718|Digicel
+1268719|Digicel
+1268720|Digicel
+1268721|Digicel
+1268722|Digicel
+1268724|Digicel
+1268725|Digicel
+1268726|Digicel
+1268732|Digicel
+1268734|Digicel
+1268736|Digicel
+1268783|Digicel
+1268785|Digicel
+1268788|Digicel
1284300|Digicel
1284340|Digicel
1284341|Digicel
@@ -105,6 +124,11 @@
1473402|Affordable Island Communications
147341|Digicel Grenada
1473420|Digicel Grenada
+1473421|Digicel Grenada
+1473422|Digicel Grenada
+1473423|Digicel Grenada
+1473424|Digicel Grenada
+1473425|Digicel Grenada
1473520|Affordable Island Communications
1473521|Affordable Island Communications
147353|AWS Grenada
diff --git a/resources/carrier/en/254.txt b/resources/carrier/en/254.txt
index 2025690a..70128218 100644
--- a/resources/carrier/en/254.txt
+++ b/resources/carrier/en/254.txt
@@ -28,6 +28,7 @@
254744|Homeland Media
254746|Safaricom
254747|JTL
+254748|Safaricom
254749|WiAfrica
254750|Airtel
254751|Airtel
diff --git a/resources/carrier/en/374.txt b/resources/carrier/en/374.txt
index 8c1969d7..04a60998 100644
--- a/resources/carrier/en/374.txt
+++ b/resources/carrier/en/374.txt
@@ -21,6 +21,7 @@
37449|VivaCell-MTS
37455|Ucom
37477|VivaCell-MTS
+37488|VivaCell-MTS
37491|Beeline
37493|VivaCell-MTS
37494|VivaCell-MTS
diff --git a/resources/carrier/en/56.txt b/resources/carrier/en/56.txt
index 3712e766..05e8e82f 100644
--- a/resources/carrier/en/56.txt
+++ b/resources/carrier/en/56.txt
@@ -16,6 +16,12 @@
# Names from http://en.wikipedia.org/wiki/List_of_mobile_network_operators_of_the_Americas#Chile and
# the mobile phone company home pages.
+5623230|Entel
+5623231|Entel
+5623232|Entel
+5623233|Entel
+5623234|Entel
+5623235|Entel
56941|Movistar
56942|Entel
569430|Telestar
diff --git a/resources/carrier/en/852.txt b/resources/carrier/en/852.txt
index 6c31285a..162650fc 100644
--- a/resources/carrier/en/852.txt
+++ b/resources/carrier/en/852.txt
@@ -74,6 +74,7 @@
852566|3
852568|1O1O / One2Free
852569|3
+8525730|Tai Tung
8525900|PCCW Mobile
8525901|PCCW Mobile
8525902|PCCW Mobile
diff --git a/resources/carrier/zh/852.txt b/resources/carrier/zh/852.txt
index e04372ef..d2319944 100644
--- a/resources/carrier/zh/852.txt
+++ b/resources/carrier/zh/852.txt
@@ -14,6 +14,9 @@
# Translations of en/852.txt from each carrier's wikipedia page and in
# some cases the carrier's own home page.
+# We found no Chinese name for operator "Tai Tung" and referred to the Chinese
+# name of Taitung City from https://en.wikipedia.org/wiki/Taitung_City,
+# transliterating it to Simplified Chinese using Google Translate.
852510|中国移动
852511|新移动通讯
@@ -75,6 +78,7 @@
852566|3
852568|1O1O / One2Free
852569|3
+8525730|台东
8525900|香港移动通讯
8525901|香港移动通讯
8525902|香港移动通讯
diff --git a/resources/carrier/zh_Hant/852.txt b/resources/carrier/zh_Hant/852.txt
index 55c7a77c..3f92800c 100644
--- a/resources/carrier/zh_Hant/852.txt
+++ b/resources/carrier/zh_Hant/852.txt
@@ -14,6 +14,8 @@
# Translations of en/852.txt from each carrier's wikipedia page and in
# some cases the carrier's own home page.
+# We found no Chinese name for operator "Tai Tung" and used the Chinese name of
+# Taitung City from https://en.wikipedia.org/wiki/Taitung_City.
852510|中國移動
852511|新移動通訊
@@ -75,6 +77,7 @@
852566|3
852568|1O1O / One2Free
852569|3
+8525730|臺東
8525900|香港移動通訊
8525901|香港移動通訊
8525902|香港移動通訊
diff --git a/resources/geocoding/en/1.txt b/resources/geocoding/en/1.txt
index 70b1b1f2..5e6b361b 100644
--- a/resources/geocoding/en/1.txt
+++ b/resources/geocoding/en/1.txt
@@ -16933,6 +16933,7 @@
1563927|Manchester, IA
1563928|Edgewood, IA
1563933|Strawberry Point, IA
+1564|Washington State
1567|Ohio
1570|Pennsylvania
1570207|Scranton, PA
diff --git a/resources/timezones/map_data.txt b/resources/timezones/map_data.txt
index 99be40a0..c4e51141 100644
--- a/resources/timezones/map_data.txt
+++ b/resources/timezones/map_data.txt
@@ -111,6 +111,7 @@
1208392|America/Denver
1208397|America/Denver
1208398|America/Denver
+1208402|America/Denver
1208403|America/Denver
1208407|America/Denver
1208409|America/Denver
@@ -122,6 +123,7 @@
1208424|America/Denver
1208426|America/Denver
1208429|America/Denver
+1208431|America/Denver
1208433|America/Denver
1208436|America/Denver
1208437|America/Los_Angeles
@@ -186,6 +188,7 @@
1208588|America/Denver
1208589|America/Denver
1208595|America/Denver
+1208596|America/Los_Angeles
1208602|America/Denver
1208608|America/Denver
1208610|America/Los_Angeles
@@ -346,6 +349,7 @@
1219263|America/Chicago
1219279|America/New_York
1219285|America/Chicago
+1219299|America/Chicago
1219322|America/Chicago
1219324|America/Chicago
1219325|America/Chicago
@@ -693,6 +697,7 @@
1250808|America/Vancouver
1250809|America/Vancouver
1250812|America/Vancouver
+1250814|America/Vancouver
1250818|America/Vancouver
1250819|America/Vancouver
1250826|America/Vancouver
@@ -1063,6 +1068,7 @@
1418343|America/Toronto
1418347|America/Toronto
1418349|America/Toronto
+1418353|America/Toronto
1418356|America/Toronto
1418362|America/Toronto
1418364|America/Toronto
@@ -1621,6 +1627,7 @@
1541535|America/Los_Angeles
1541536|America/Los_Angeles
1541543|America/Los_Angeles
+1541546|America/Los_Angeles
1541547|America/Los_Angeles
1541548|America/Los_Angeles
1541549|America/Los_Angeles
@@ -1754,6 +1761,8 @@
1541888|America/Los_Angeles
1541889|America/Denver
1541890|America/Los_Angeles
+1541891|America/Los_Angeles
+1541892|America/Los_Angeles
1541895|America/Los_Angeles
1541899|America/Los_Angeles
1541902|America/Los_Angeles
@@ -1853,6 +1862,7 @@
1574372|America/New_York
1574387|America/New_York
1574389|America/New_York
+1574400|America/New_York
1574453|America/New_York
1574457|America/New_York
1574522|America/New_York
@@ -2657,6 +2667,7 @@
1785672|America/Chicago
1785675|America/Chicago
1785726|America/Chicago
+1785727|America/Chicago
1785735|America/Chicago
1785738|America/Chicago
1785742|America/Chicago
@@ -3005,6 +3016,7 @@
1850362|America/Chicago
1850368|America/Chicago
1850376|America/Chicago
+1850377|America/Chicago
1850380|America/Chicago
1850383|America/New_York
1850384|America/Chicago
@@ -3361,6 +3373,7 @@
1907374|America/Juneau
1907375|America/Juneau
1907376|America/Juneau
+1907378|America/Juneau
1907388|America/Juneau
1907424|America/Juneau
1907442|America/Juneau
@@ -3565,6 +3578,7 @@
34827|Europe/Madrid
34828|Atlantic/Canary
34830|Europe/Madrid
+34837|Europe/Madrid
34841|Europe/Madrid
34843|Europe/Madrid
34845|Europe/Madrid
@@ -3604,15 +3618,7 @@
34926|Europe/Madrid
34927|Europe/Madrid
34928|Atlantic/Canary
-34930|Europe/Madrid
-34931|Europe/Madrid
-34932|Europe/Madrid
-34933|Europe/Madrid
-34934|Europe/Madrid
-34935|Europe/Madrid
-34936|Europe/Madrid
-34937|Europe/Madrid
-34938|Europe/Madrid
+3493|Europe/Madrid
34941|Europe/Madrid
34942|Europe/Madrid
34943|Europe/Madrid
@@ -3646,12 +3652,51 @@
351|Atlantic/Azores&Europe/Lisbon
35121|Europe/Lisbon
35122|Europe/Lisbon
-35123|Europe/Lisbon
-35124|Europe/Lisbon
-35125|Europe/Lisbon
-35126|Europe/Lisbon
-35127|Europe/Lisbon
-35128|Europe/Lisbon
+351231|Europe/Lisbon
+351232|Europe/Lisbon
+351233|Europe/Lisbon
+351234|Europe/Lisbon
+351235|Europe/Lisbon
+351236|Europe/Lisbon
+351238|Europe/Lisbon
+351239|Europe/Lisbon
+351241|Europe/Lisbon
+351242|Europe/Lisbon
+351243|Europe/Lisbon
+351244|Europe/Lisbon
+351245|Europe/Lisbon
+351249|Europe/Lisbon
+351251|Europe/Lisbon
+351252|Europe/Lisbon
+351253|Europe/Lisbon
+351254|Europe/Lisbon
+351255|Europe/Lisbon
+351256|Europe/Lisbon
+351258|Europe/Lisbon
+351259|Europe/Lisbon
+351261|Europe/Lisbon
+351262|Europe/Lisbon
+351263|Europe/Lisbon
+351265|Europe/Lisbon
+351266|Europe/Lisbon
+351268|Europe/Lisbon
+351269|Europe/Lisbon
+351271|Europe/Lisbon
+351272|Europe/Lisbon
+351273|Europe/Lisbon
+351274|Europe/Lisbon
+351275|Europe/Lisbon
+351276|Europe/Lisbon
+351277|Europe/Lisbon
+351278|Europe/Lisbon
+351279|Europe/Lisbon
+351281|Europe/Lisbon
+351282|Europe/Lisbon
+351283|Europe/Lisbon
+351284|Europe/Lisbon
+351285|Europe/Lisbon
+351286|Europe/Lisbon
+351289|Europe/Lisbon
351291|Europe/Lisbon
351292|Atlantic/Azores
351295|Atlantic/Azores
@@ -3784,7 +3829,7 @@
521323|America/Mazatlan
521324|America/Mazatlan
521325|America/Mazatlan
-521327|America/Mazatlan
+521327|America/Mazatlan&America/Mexico_City
521328|America/Mexico_City
521329|America/Mexico_City
52133|America/Mexico_City
@@ -3921,7 +3966,7 @@
521623|America/Mazatlan
521624|America/Mazatlan
521625|America/Mazatlan
-521626|America/Mazatlan
+521626|America/Mazatlan&America/Tijuana
521627|America/Mazatlan
521629|America/Mazatlan&America/Mexico_City
521631|America/Mazatlan
@@ -4547,6 +4592,7 @@
55812101|America/Sao_Paulo
55812102|America/Sao_Paulo
55812103|America/Sao_Paulo
+55812104|America/Sao_Paulo
55812119|America/Sao_Paulo
55812121|America/Sao_Paulo
55812122|America/Sao_Paulo
@@ -5079,6 +5125,7 @@
55913182|America/Sao_Paulo
55913183|America/Sao_Paulo
55913184|America/Sao_Paulo
+55913194|America/Sao_Paulo
55913199|America/Sao_Paulo
55913201|America/Sao_Paulo
55913202|America/Sao_Paulo
@@ -5402,6 +5449,7 @@
55942103|America/Sao_Paulo
55943012|America/Sao_Paulo
55943013|America/Sao_Paulo
+55943016|America/Sao_Paulo
55943018|America/Sao_Paulo
55943222|America/Sao_Paulo
55943301|America/Sao_Paulo
@@ -5665,7 +5713,7 @@
62519|Asia/Jakarta
62522|Asia/Jakarta
62525|Asia/Jakarta
-62526|Asia/Makassar
+62526|Asia/Jakarta&Asia/Makassar
62527|Asia/Makassar
62528|Asia/Jakarta
62531|Asia/Jakarta
@@ -5758,7 +5806,7 @@
62778|Asia/Jakarta
62779|Asia/Jakarta
62810|Asia/Jakarta
-62811|Asia/Jakarta
+62811|Asia/Jakarta&Asia/Makassar
62812|Asia/Jakarta
62813|Asia/Jakarta
62814|Asia/Jakarta
@@ -5803,7 +5851,7 @@
62881|Asia/Jakarta
62882|Asia/Jakarta
62883|Asia/Jakarta
-62884|Asia/Jakarta&Asia/Makassar
+62884|Asia/Jakarta
62885|Asia/Jakarta
62886|Asia/Jakarta
62887|Asia/Jakarta&Asia/Makassar
@@ -5930,7 +5978,7 @@
7401|Europe/Bucharest
7411|Asia/Yakutsk
7413|Asia/Magadan
-7415|Asia/Anadyr
+7415|Asia/Kamchatka
7416|Asia/Yakutsk
7421|Asia/Vladivostok
7423|Asia/Vladivostok