data/PhoneNumberMetaData.xml in phonelib-0.2.0 vs data/PhoneNumberMetaData.xml in phonelib-0.2.1

- old
+ new

@@ -78,10 +78,11 @@ <!ATTLIST territory preferredExtnPrefix CDATA #IMPLIED> <!ATTLIST territory nationalPrefixFormattingRule CDATA #IMPLIED> <!ATTLIST territory nationalPrefixOptionalWhenFormatting (true) #IMPLIED> <!ATTLIST territory leadingZeroPossible (true) #IMPLIED> <!ATTLIST territory carrierCodeFormattingRule CDATA #IMPLIED> + <!ATTLIST territory mobileNumberPortableRegion (true) #IMPLIED> <!ATTLIST numberFormat nationalPrefixFormattingRule CDATA #IMPLIED> <!ATTLIST numberFormat nationalPrefixOptionalWhenFormatting (true) #IMPLIED> <!ATTLIST numberFormat carrierCodeFormattingRule CDATA #IMPLIED> <!ATTLIST numberFormat pattern CDATA #REQUIRED> ]> @@ -411,11 +412,12 @@ </territory> <!-- Albania --> <!-- http://www.itu.int/oth/T0202000002/en --> <territory id="AL" countryCode="355" internationalPrefix="00" - nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"> + nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG" + mobileNumberPortableRegion="true"> <availableFormats> <!-- Formats mostly follow http://tirana.usembassy.gov/list_of_doctors.html --> <numberFormat pattern="(4)(\d{3})(\d{4})"> <leadingDigits>4[0-6]</leadingDigits> <format>$1 $2 $3</format> @@ -624,13 +626,13 @@ )\d{5} </nationalNumberPattern> <exampleNumber>222123456</exampleNumber> </fixedLine> <mobile> - <!-- Expanded the 92 prefix possibilities to match numbers found online. Unitel are - launching the prefix 94 apparently on 25th April 2012. --> - <nationalNumberPattern>9[1-4]\d{7}</nationalNumberPattern> + <!-- Expanded the 92 prefix possibilities to match numbers found online. Unitel + apparently launched the prefix 94 on 25th April 2012, and Movicel has 99. --> + <nationalNumberPattern>9[1-49]\d{7}</nationalNumberPattern> <exampleNumber>923123456</exampleNumber> </mobile> </territory> <!-- Argentina --> @@ -735,11 +737,12 @@ 9[124] ) ) )15 )?" - nationalPrefixTransformRule="9$1" nationalPrefixFormattingRule="$NP$FG"> + nationalPrefixTransformRule="9$1" nationalPrefixFormattingRule="$NP$FG" + mobileNumberPortableRegion="true"> <availableFormats> <numberFormat pattern="([68]\d{2})(\d{3})(\d{4})"> <leadingDigits>[68]</leadingDigits> <format>$1-$2-$3</format> </numberFormat> @@ -1156,11 +1159,12 @@ </territory> <!-- Austria --> <!-- http://www.rtr.at/en/tk/E129 --> <territory id="AT" countryCode="43" internationalPrefix="00" - nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"> + nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG" + mobileNumberPortableRegion="true"> <availableFormats> <numberFormat pattern="(1)(\d{3,12})"> <leadingDigits>1</leadingDigits> <format>$1 $2</format> </numberFormat> @@ -1350,11 +1354,12 @@ <!-- Metadata shared with Cocos Islands (CC) and Christmas Islands (CX) --> <!-- http://www.itu.int/oth/T020200000D/en --> <!-- http://en.wikipedia.org/wiki/Telephone_numbers_in_Australia --> <territory id="AU" countryCode="61" mainCountryForCode="true" internationalPrefix="(?:14(?:1[14]|34|4[17]|[56]6|7[47]|88))?001[14-689]" - preferredInternationalPrefix="0011" nationalPrefix="0"> + preferredInternationalPrefix="0011" nationalPrefix="0" + mobileNumberPortableRegion="true"> <availableFormats> <numberFormat nationalPrefixFormattingRule="($NP$FG)" pattern="([2378])(\d{4})(\d{4})"> <leadingDigits>[2378]</leadingDigits> <format>$1 $2 $3</format> @@ -1484,18 +1489,12 @@ </nationalNumberPattern> <possibleNumberPattern>\d{7,10}</possibleNumberPattern> <exampleNumber>1800123456</exampleNumber> </tollFree> <premiumRate> - <nationalNumberPattern> - 19(?: - 0[0126]\d{6}| - [13-5]\d{3}| - [679]\d{5} - ) - </nationalNumberPattern> - <possibleNumberPattern>\d{6,10}</possibleNumberPattern> + <nationalNumberPattern>190[0126]\d{6}</nationalNumberPattern> + <possibleNumberPattern>\d{10}</possibleNumberPattern> <exampleNumber>1900123456</exampleNumber> </premiumRate> <sharedCost> <!-- Local-rate (SmartNumbers) are put here because they are a reverse-charge network, although they charge a small local call connect fee (around 25c). These start with 13 @@ -1679,11 +1678,11 @@ </territory> <!-- Azerbaijan --> <!-- http://www.itu.int/oth/T020200000F/en --> <territory id="AZ" countryCode="994" internationalPrefix="00" nationalPrefix="0" - nationalPrefixFormattingRule="($NP$FG)"> + nationalPrefixFormattingRule="($NP$FG)" mobileNumberPortableRegion="true"> <availableFormats> <numberFormat pattern="(\d{2})(\d{3})(\d{2})(\d{2})"> <leadingDigits> (?: 1[28]| @@ -1757,11 +1756,12 @@ <!-- Bosnia and Herzegovina --> <!-- http://www.rak.ba/eng/index.php?uid=1272016657 (accessible from http://www.cra.ba/en/telecom/numbering/) --> <!-- http://en.wikipedia.org/wiki/+387 --> <territory id="BA" countryCode="387" internationalPrefix="00" - nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"> + nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG" + mobileNumberPortableRegion="true"> <availableFormats> <numberFormat pattern="(\d{2})(\d{3})(\d{3})"> <leadingDigits>[3-5]</leadingDigits> <format>$1 $2-$3</format> </numberFormat> @@ -2284,11 +2284,12 @@ <!-- Belgium --> <!-- http://www.bipt.be/en/161/ShowContent/502/Database/Databases.aspx --> <!-- http://www.telefoonzones.be/ --> <territory id="BE" countryCode="32" internationalPrefix="00" - nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"> + nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG" + mobileNumberPortableRegion="true"> <availableFormats> <numberFormat pattern="(4[6-9]\d)(\d{2})(\d{2})(\d{2})"> <leadingDigits>4[6-9]</leadingDigits> <format>$1 $2 $3 $4</format> </numberFormat> @@ -2420,26 +2421,25 @@ <exampleNumber>20491234</exampleNumber> </fixedLine> <mobile> <nationalNumberPattern> 6(?: - [0-256]\d| + [0-24-6]\d| 8[0-5]| 3[0-3]| - 4[0-7] )\d{5}| 7\d{7} </nationalNumberPattern> <exampleNumber>70123456</exampleNumber> </mobile> - <!-- http://www.diplomatie.gouv.fr/fr/conseils-aux-voyageurs_909/conseils-par-pays_12191/burkina-faso_12217/index.html --> </territory> <!-- Bulgaria --> <!-- http://www.itu.int/oth/T0202000020/en --> <territory id="BG" countryCode="359" internationalPrefix="00" - nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"> + nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG" + mobileNumberPortableRegion="true"> <availableFormats> <!-- Formatting rules follow the conventions seen in web-search results. A space has been used to separate the area code from the rest of the number, based on sites like http://www.goldenpages.bg. --> <numberFormat pattern="(2)(\d{5})"> @@ -2555,11 +2555,11 @@ <!-- Bahrain --> <!-- http://www.itu.int/oth/T0202000011/en --> <!-- http://www.tra.org.bh/en/pdf/National_Numbering_Plan_2.pdf --> <!-- http://www.tra.org.bh/en/marketNumbering.aspx --> <!-- http://en.wikipedia.org/wiki/Telephone_numbers_in_Bahrain --> - <territory id="BH" countryCode="973" internationalPrefix="00"> + <territory id="BH" countryCode="973" internationalPrefix="00" mobileNumberPortableRegion="true"> <availableFormats> <numberFormat pattern="(\d{4})(\d{4})"> <format>$1 $2</format> </numberFormat> </availableFormats> @@ -2694,11 +2694,10 @@ 7[14-9] )\d{6} </nationalNumberPattern> <exampleNumber>79561234</exampleNumber> </mobile> - <!-- http://www.diplomatie.gouv.fr/fr/conseils-aux-voyageurs_909/conseils-par-pays_12191/burundi_12220/index.html --> </territory> <!-- Benin --> <!-- http://www.itu.int/oth/T0202000017/en --> <territory id="BJ" countryCode="229" internationalPrefix="00"> @@ -2797,11 +2796,10 @@ [1-9]\d )\d{4} </nationalNumberPattern> <exampleNumber>690301234</exampleNumber> </mobile> - <!-- http://www.comstbarth.fr/urgences.asp --> </territory> <!-- Bermuda --> <!-- http://www.itu.int/oth/T0202000018/en --> <territory id="BM" countryCode="1" leadingDigits="441" nationalPrefix="1" @@ -2987,11 +2985,11 @@ <!-- http://www.itu.int/oth/T020200001D/en --> <territory id="BR" countryCode="55" internationalPrefix="00(?:1[45]|2[135]|[34]1|43)" nationalPrefix="0" nationalPrefixForParsing="0(?:(1[245]|2[135]|[34]1)(\d{10,11}))?" - nationalPrefixTransformRule="$2"> + nationalPrefixTransformRule="$2" mobileNumberPortableRegion="true"> <!-- The national prefix for parsing here also contains a capturing group for the main number, since the carrier codes here may also be area codes, so we want to check the length of the number after capturing. We also need a nationalTransformRule to repopulate with the number without the carrier code. --> <availableFormats> @@ -3328,16 +3326,16 @@ </nationalNumberPattern> <possibleNumberPattern>\d{7}</possibleNumberPattern> <exampleNumber>2401234</exampleNumber> </fixedLine> <mobile> - <!-- 77[01] has been added after numbers in use have been seen online. --> + <!-- 77[0146] has been added after numbers in use have been seen online. --> <nationalNumberPattern> 7(?: [1-35]\d{6}| [46][0-7]\d{5}| - 7[01]\d{5} + 7[0146]\d{5} ) </nationalNumberPattern> <possibleNumberPattern>\d{8}</possibleNumberPattern> <exampleNumber>71123456</exampleNumber> </mobile> @@ -3359,11 +3357,11 @@ <!-- Belarus --> <!-- http://www.eng.beltelecom.by/en/subscribers/phone-codes --> <!-- Information on national prefix provided by a Belarussian person. --> <territory id="BY" countryCode="375" preferredInternationalPrefix="8~10" internationalPrefix="810" nationalPrefixForParsing="8?0?" - nationalPrefix="8"> + nationalPrefix="8" mobileNumberPortableRegion="true"> <availableFormats> <numberFormat nationalPrefixFormattingRule="$NP 0$FG" pattern="([1-4]\d)(\d{3})(\d{4})"> <leadingDigits>[1-4]</leadingDigits> <format>$1 $2 $3</format> @@ -3521,16 +3519,16 @@ <tollFree> <nationalNumberPattern>0800\d{7}</nationalNumberPattern> <possibleNumberPattern>\d{11}</possibleNumberPattern> <exampleNumber>08001234123</exampleNumber> </tollFree> - <!-- http://studentsabroad.state.gov/content/pdfs/911_ABROAD.pdf --> </territory> <!-- Canada --> <!-- http://www.cnac.ca/canadian_dial_plan/canadian_dial_plan.htm --> - <territory id="CA" countryCode="1" internationalPrefix="011" nationalPrefix="1"> + <territory id="CA" countryCode="1" internationalPrefix="011" nationalPrefix="1" + mobileNumberPortableRegion="true"> <generalDesc> <!-- NANPA country - uses US formatting rules --> <nationalNumberPattern> [2-9]\d{9}| 3\d{6} @@ -3553,14 +3551,14 @@ )| 4(?: 03| 1[68]| 3[178]| - 5[06] + 50 )| 5(?: - 0[06]| + 06| 1[49]| 79| 8[17] )| 6(?: @@ -3568,13 +3566,13 @@ 13| 39| 47 )| 7(?: - 0[059]| - 80| - 78 + 0[59]| + 78| + 80 )| 8(?: [06]7| 19| 73 @@ -3601,14 +3599,14 @@ )| 4(?: 03| 1[68]| 3[178]| - 5[06] + 50 )| 5(?: - 0[06]| + 06| 1[49]| 79| 8[17] )| 6(?: @@ -3616,13 +3614,13 @@ 13| 39| 47 )| 7(?: - 0[059]| - 80| - 78 + 0[59]| + 78| + 80 )| 8(?: [06]7| 19| 73 @@ -3634,11 +3632,10 @@ </mobile> <tollFree> <nationalNumberPattern> 8(?: 00| - 55| 66| 77| 88 )[2-9]\d{6}| 310\d{4} @@ -3787,11 +3784,10 @@ )\d{5}| 9[7-9]\d{7} </nationalNumberPattern> <exampleNumber>991234567</exampleNumber> </mobile> - <!-- No national emergency numbers were located for Congo. --> </territory> <!-- Central African Republic --> <!-- http://www.itu.int/oth/T0202000028/en --> <territory id="CF" countryCode="236" internationalPrefix="00"> @@ -3814,11 +3810,10 @@ </mobile> <premiumRate> <nationalNumberPattern>8776\d{4}</nationalNumberPattern> <exampleNumber>87761234</exampleNumber> </premiumRate> - <!-- No emergency numbers information can be found. --> </territory> <!-- Congo (Rep. of the) (Brazzaville) --> <!-- http://www.itu.int/oth/T020200002E/en --> <territory id="CG" countryCode="242" internationalPrefix="00" leadingZeroPossible="true"> @@ -3847,18 +3842,18 @@ <!-- Referred to as a "Green number" in the telephone plan. --> <tollFree> <nationalNumberPattern>800\d{6}</nationalNumberPattern> <exampleNumber>800123456</exampleNumber> </tollFree> - <!-- No emergency numbers information can be found. --> </territory> <!-- Switzerland --> <!-- http://www.bakom.admin.ch/themen/telekom/00479/00604/index.html?lang=en under Technical prescriptions: Numbering plan for international carriers --> <territory id="CH" countryCode="41" internationalPrefix="00" - nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"> + nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG" + mobileNumberPortableRegion="true"> <availableFormats> <numberFormat pattern="([2-9]\d)(\d{3})(\d{2})(\d{2})"> <leadingDigits> [2-7]| [89]1 @@ -3888,23 +3883,29 @@ <nationalNumberPattern> (?: 2[12467]| 3[1-4]| 4[134]| - 5[12568]| + 5[256]| 6[12]| [7-9]1 )\d{7} </nationalNumberPattern> <possibleNumberPattern>\d{9}</possibleNumberPattern> <exampleNumber>212345678</exampleNumber> </fixedLine> <mobile> - <nationalNumberPattern>7[4-9]\d{7}</nationalNumberPattern> + <nationalNumberPattern>7[5-9]\d{7}</nationalNumberPattern> <possibleNumberPattern>\d{9}</possibleNumberPattern> - <exampleNumber>741234567</exampleNumber> + <exampleNumber>781234567</exampleNumber> </mobile> + <pager> + <!-- https://www.eofcom.admin.ch/eofcom/public/listEofcom_e164Allocated.do --> + <nationalNumberPattern>74[0248]\d{6}</nationalNumberPattern> + <possibleNumberPattern>\d{9}</possibleNumberPattern> + <exampleNumber>740123456</exampleNumber> + </pager> <tollFree> <nationalNumberPattern>800\d{6}</nationalNumberPattern> <possibleNumberPattern>\d{9}</possibleNumberPattern> <exampleNumber>800123456</exampleNumber> </tollFree> @@ -3921,10 +3922,16 @@ <personalNumber> <nationalNumberPattern>878\d{6}</nationalNumberPattern> <possibleNumberPattern>\d{9}</possibleNumberPattern> <exampleNumber>878123456</exampleNumber> </personalNumber> + <uan> + <!-- Used for corporate networks. --> + <nationalNumberPattern>5[18]\d{7}</nationalNumberPattern> + <possibleNumberPattern>\d{9}</possibleNumberPattern> + <exampleNumber>581234567</exampleNumber> + </uan> <voicemail> <nationalNumberPattern>860\d{9}</nationalNumberPattern> <possibleNumberPattern>\d{12}</possibleNumberPattern> <exampleNumber>860123456789</exampleNumber> </voicemail> @@ -3963,23 +3970,22 @@ )\d{5} </nationalNumberPattern> <exampleNumber>21234567</exampleNumber> </fixedLine> <mobile> - <!-- Added the prefixes 4[0-2] (Moov), 5[5-9] & 65 because SMS messages have been + <!-- Added the prefixes 4[0-2] (Moov), 5[5-9] & 6[15] because SMS messages have been successfully delivered. Supported by numbers found on the internet. --> <nationalNumberPattern> (?: 0[1-9]| 4[0-24-9]| 5[05-9]| - 6[05679] + 6[015679] )\d{6} </nationalNumberPattern> <exampleNumber>01234567</exampleNumber> </mobile> - <!-- http://studentsabroad.state.gov/content/pdfs/911_ABROAD.pdf --> </territory> <!-- Cook Islands --> <!-- http://www.itu.int/oth/T020200002F/en --> <territory id="CK" countryCode="682" internationalPrefix="00"> @@ -4019,11 +4025,11 @@ <!-- Carriers listed here: http://www.turismochile.com/datos/carrier.php --> <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]))" - nationalPrefixFormattingRule="$NP$FG"> + nationalPrefixFormattingRule="$NP$FG" mobileNumberPortableRegion="true"> <!-- When dialling mobile numbers from landlines, or vice versa, you need a prefix of 0, which 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="(2)(\d{3,4})(\d{4})" @@ -4209,11 +4215,10 @@ with 88 (usually 880). No information can be found as to whether these are premium rate or shared cost. --> <nationalNumberPattern>88\d{6}</nationalNumberPattern> <exampleNumber>88012345</exampleNumber> </premiumRate> - <!-- http://www.diplomatie.gouv.fr/fr/conseils-aux-voyageurs_909/conseils-par-pays_12191/cameroun_12221/index.html --> </territory> <!-- China --> <!-- http://www.itu.int/oth/T020200002B/en --> <territory id="CN" countryCode="86" internationalPrefix="(1[1279]\d{3})?00" @@ -4228,40 +4233,61 @@ </numberFormat> <numberFormat pattern="([48]00)(\d{3})(\d{4})"> <leadingDigits>[48]00</leadingDigits> <format>$1 $2 $3</format> </numberFormat> - <!-- 95xxx shared cost numbers. Without this rule, the numbers will be formatted - incorrectly by the AsYouTypeFormatter because they overlap with area code 095x. + <!-- 100xx and 95xxx(x) numbers. Without this rule, the numbers will be formatted + incorrectly by the AsYouTypeFormatter because they overlap with area codes 010, 095x. Note although ITU says the format is more like 95 xxx, in reality no space is used when writing such numbers in China --> - <numberFormat pattern="(\d{5})"> - <leadingDigits>95</leadingDigits> + <numberFormat pattern="(\d{5,6})"> + <leadingDigits> + 100| + 95 + </leadingDigits> <format>$1</format> + <intlFormat>NA</intlFormat> </numberFormat> - <!-- 95xxx numbers with area codes. --> + <!-- 100xx and 95xxx(x) numbers with area codes. --> <numberFormat nationalPrefixFormattingRule="$NP$FG" pattern="(\d{2})(\d{5,6})" carrierCodeFormattingRule="$CC $FG"> <leadingDigits> (?: 10| 2\d - )9 + )[19] </leadingDigits> <leadingDigits> (?: 10| 2\d - )95 + )(?: + 10| + 95 + ) </leadingDigits> + <leadingDigits> + (?: + 10| + 2\d + )(?: + 100| + 95 + ) + </leadingDigits> <format>$1 $2</format> </numberFormat> <numberFormat nationalPrefixFormattingRule="$NP$FG" pattern="(\d{3})(\d{5,6})" carrierCodeFormattingRule="$CC $FG"> <leadingDigits>[3-9]</leadingDigits> - <leadingDigits>[3-9]\d{2}9</leadingDigits> - <leadingDigits>[3-9]\d{2}95</leadingDigits> + <leadingDigits>[3-9]\d{2}[19]</leadingDigits> + <leadingDigits> + [3-9]\d{2}(?: + 10| + 95 + ) + </leadingDigits> <format>$1 $2</format> </numberFormat> <!-- Local numbers --> <!-- Chinese fixed-line numbers can be dialed from a cell phone without area code and they can be 7 to 8 digits. This rule is here to make formatting work with such numbers, as @@ -4408,45 +4434,51 @@ <format>$1 $2 $3</format> </numberFormat> </availableFormats> <generalDesc> <nationalNumberPattern> - [1-7]\d{6,11}| + 1(?: + 00\d{2}| + \d{6,11} + )| + [2-7]\d{6,11}| 8[0-357-9]\d{6,9}| 9(?: 5\d{3,4}| \d{9} ) </nationalNumberPattern> <possibleNumberPattern>\d{4,12}</possibleNumberPattern> </generalDesc> <noInternationalDialling> - <!-- 95xxx numbers have been verified to be unreachable from overseas by placing actual - calls. --> + <!-- 100xx and 95xxx(x) numbers have been verified to be unreachable from overseas by + placing actual calls. --> <nationalNumberPattern> + 100\d{2}| (?: 4| (?: 10 )?8 )00\d{7}| - 95\d{3} + 95\d{3,4} </nationalNumberPattern> <possibleNumberPattern>\d{5,12}</possibleNumberPattern> <exampleNumber>4001234567</exampleNumber> </noInternationalDialling> <fixedLine> <!-- 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. - 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. + 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. --> <nationalNumberPattern> 21(?: + 100\d{2}| 95\d{3,4}| \d{8,10} )| (?: 10| @@ -4476,10 +4508,11 @@ 8(?: 71| 98 ) )(?: + 100\d{2}| 95\d{3,4}| \d{8} )| (?: 3(?: @@ -4538,10 +4571,11 @@ [379]\d| 4[13]| 5[1-5] ) )(?: + 100\d{2}| 95\d{3,4}| \d{7} )| 80(?: 29| @@ -4592,17 +4626,30 @@ 95\d{3,4} </nationalNumberPattern> <possibleNumberPattern>\d{5,10}</possibleNumberPattern> <exampleNumber>4001234567</exampleNumber> </sharedCost> + <uan> + <!-- 100xx numbers are mainly used for carrier services. They can be dialed nationwide and + are always routed to the local provider. They are free if called from a phone by the + same carrier, or charged at local rate if called from a phone by a different carrier. + Note they can also be used with area codes when one specifically wants to reach an + operator in a different region. That case is more like fixed-line numbers and is + covered under the fixed-line pattern. + --> + <nationalNumberPattern>100\d{2}</nationalNumberPattern> + <possibleNumberPattern>\d{5}</possibleNumberPattern> + <exampleNumber>10000</exampleNumber> + </uan> </territory> <!-- Colombia --> <!-- http://www.itu.int/oth/T020200002C/en --> <!-- http://en.wikipedia.org/wiki/Telephone_numbers_in_Colombia --> <territory id="CO" countryCode="57" internationalPrefix="00[579]|#555|#999" - nationalPrefix="0" nationalPrefixForParsing="0([3579]|4(?:44|56))?"> + nationalPrefix="0" nationalPrefixForParsing="0([3579]|4(?:44|56))?" + mobileNumberPortableRegion="true"> <availableFormats> <numberFormat pattern="(\d)(\d{7})" carrierCodeFormattingRule="$NP$CC $FG" nationalPrefixFormattingRule="($FG)"> <leadingDigits> 1(?: @@ -4989,11 +5036,11 @@ </voip> </territory> <!-- Cyprus --> <!-- http://www.itu.int/oth/T0202000034/en --> - <territory id="CY" countryCode="357" internationalPrefix="00"> + <territory id="CY" countryCode="357" internationalPrefix="00" mobileNumberPortableRegion="true"> <availableFormats> <!-- Format from http://www.cyprusyellowpages.com/--> <numberFormat pattern="(\d{2})(\d{6})"> <format>$1 $2</format> </numberFormat> @@ -5040,11 +5087,11 @@ </territory> <!-- Czech Rep. --> <!-- http://www.itu.int/oth/T0202000035/en --> <!-- http://en.wikipedia.org/wiki/%2B420 --> - <territory id="CZ" countryCode="420" internationalPrefix="00"> + <territory id="CZ" countryCode="420" internationalPrefix="00" mobileNumberPortableRegion="true"> <availableFormats> <numberFormat pattern="([2-9]\d{2})(\d{3})(\d{3})"> <leadingDigits> [2-8]| 9[015-7] @@ -5143,11 +5190,12 @@ <!-- Germany --> <!-- http://www.itu.int/oth/T0202000051/en --> <!-- http://en.wikipedia.org/wiki/Telephone_numbers_in_germany --> <territory id="DE" countryCode="49" internationalPrefix="00" - nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"> + nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG" + mobileNumberPortableRegion="true"> <availableFormats> <!-- Mobile number formatting rules. We follow the ITU document here for guidance on how these should best be formatted, even though actual usage varies. --> <numberFormat pattern="(1\d{2})(\d{7,8})"> <leadingDigits>1[67]</leadingDigits> @@ -5155,11 +5203,11 @@ </numberFormat> <numberFormat pattern="(1\d{3})(\d{7})"> <leadingDigits>15</leadingDigits> <format>$1 $2</format> </numberFormat> - <numberFormat pattern="(\d{2})(\d{4,11})"> + <numberFormat pattern="(\d{2})(\d{3,11})"> <leadingDigits> 3[02]| 40| [68]9 </leadingDigits> @@ -5360,12 +5408,13 @@ <!-- The numbering plan defines rather optimistic longest-number limits - online numbers don't seem to respect this. The max-length is hence extended. --> <nationalNumberPattern> [246]\d{5,13}| 3(?: - [03-9]\d{4,13}| - 2\d{9} + 0\d{3,13}| + 2\d{9}| + [3-9]\d{4,13} )| 5(?: 0[2-8]| [1256]\d| [38][0-8]| @@ -5489,11 +5538,11 @@ </mobile> </territory> <!-- Denmark --> <!-- http://www.dba.erhvervsstyrelsen.dk/numbering-lists --> - <territory id="DK" countryCode="45" internationalPrefix="00"> + <territory id="DK" countryCode="45" internationalPrefix="00" mobileNumberPortableRegion="true"> <availableFormats> <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})"> <format>$1 $2 $3 $4</format> </numberFormat> </availableFormats> @@ -5606,11 +5655,11 @@ </territory> <!-- Dominican Rep. --> <!-- http://www.itu.int/oth/T020200003C/en --> <territory id="DO" countryCode="1" leadingDigits="8[024]9" nationalPrefix="1" - internationalPrefix="011"> + internationalPrefix="011" mobileNumberPortableRegion="true"> <generalDesc> <!-- NANPA country - uses US formatting rules --> <nationalNumberPattern>[589]\d{9}</nationalNumberPattern> <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern> </generalDesc> @@ -5794,11 +5843,12 @@ <!-- http://en.wikipedia.org/wiki/+593 --> <!-- http://www.conatel.gob.ec/site_conatel/index.php?option=com_content&view=category&layout=blog&id=52&Itemid=153 --> <!-- http://www.itu.int/oth/T020200003D/en --> <territory id="EC" countryCode="593" internationalPrefix="00" - nationalPrefix="0" nationalPrefixFormattingRule="($NP$FG)"> + nationalPrefix="0" nationalPrefixFormattingRule="($NP$FG)" + mobileNumberPortableRegion="true"> <availableFormats> <numberFormat pattern="(\d)(\d{3})(\d{4})"> <leadingDigits> [247]| [356][2-8] @@ -5855,11 +5905,11 @@ </territory> <!-- Estonia --> <!-- http://www.itu.int/oth/T0202000043/en --> <!-- http://www.tja.ee/public/Legislation_side/Numbering_/Estonian_NP_eng.htm --> - <territory id="EE" countryCode="372" internationalPrefix="00"> + <territory id="EE" countryCode="372" internationalPrefix="00" mobileNumberPortableRegion="true"> <availableFormats> <numberFormat pattern="([3-79]\d{2})(\d{4})"> <leadingDigits> [369]| 4[3-8]| @@ -6015,11 +6065,12 @@ </territory> <!-- Egypt --> <!-- http://www.itu.int/oth/T020200003E/en --> <territory id="EG" countryCode="20" internationalPrefix="00" - nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"> + nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG" + mobileNumberPortableRegion="true"> <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})"> @@ -6201,16 +6252,15 @@ 7\d{6} </nationalNumberPattern> <possibleNumberPattern>\d{7}</possibleNumberPattern> <exampleNumber>7123456</exampleNumber> </mobile> - <!-- No emergency numbers information can be found. --> </territory> <!-- Spain --> <!-- http://www.mityc.es/telecomunicaciones/es-ES/Servicios/Numeracion/Paginas/Plan.aspx --> - <territory id="ES" countryCode="34" internationalPrefix="00"> + <territory id="ES" countryCode="34" internationalPrefix="00" mobileNumberPortableRegion="true"> <availableFormats> <numberFormat pattern="([5-9]\d{2})(\d{2})(\d{2})(\d{2})"> <leadingDigits> [568]| [79][0-8] @@ -6453,11 +6503,12 @@ <!-- Finland --> <!-- Metadata shared with Ă…land (AX) --> <!-- http://www.ficora.fi/en/index/palvelut/palvelutaiheittain/numerointi/numerotyypitjaalueet.html --> <territory id="FI" countryCode="358" internationalPrefix="00|99[049]" nationalPrefix="0" - nationalPrefixFormattingRule="$NP$FG" mainCountryForCode="true"> + nationalPrefixFormattingRule="$NP$FG" mainCountryForCode="true" + mobileNumberPortableRegion="true"> <availableFormats> <numberFormat pattern="(\d{3})(\d{3,7})"> <leadingDigits> (?: [1-3]00| @@ -6746,63 +6797,50 @@ <!-- France --> <!-- http://www.itu.int/oth/T020200004A/en --> <!-- http://www.arcep.fr/index.php?id=8146 --> <!-- http://en.wikipedia.org/wiki/%2B33 --> - <territory id="FR" countryCode="33" internationalPrefix="[04579]0" - preferredInternationalPrefix="00" - nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"> - <!-- 4-digit premium-rate numbers will be formatted as a block without a national prefix. --> + <territory id="FR" countryCode="33" internationalPrefix="00" nationalPrefix="0" + nationalPrefixFormattingRule="$NP$FG" mobileNumberPortableRegion="true"> + <!-- Short numbers will be formatted as a block without a national prefix. --> <availableFormats> <numberFormat pattern="([1-79])(\d{2})(\d{2})(\d{2})(\d{2})"> <leadingDigits>[1-79]</leadingDigits> <format>$1 $2 $3 $4 $5</format> </numberFormat> + <numberFormat pattern="(1\d{2})(\d{3})" nationalPrefixFormattingRule="$FG"> + <leadingDigits>11</leadingDigits> + <format>$1 $2</format> + <intlFormat>NA</intlFormat> + </numberFormat> <numberFormat nationalPrefixFormattingRule="$NP $FG" pattern="(8\d{2})(\d{2})(\d{2})(\d{2})"> <leadingDigits>8</leadingDigits> <format>$1 $2 $3 $4</format> </numberFormat> </availableFormats> <generalDesc> - <nationalNumberPattern> - [124-9]\d{8}| - 3\d{3}(?:\d{5})? - </nationalNumberPattern> - <possibleNumberPattern>\d{4}(?:\d{5})?</possibleNumberPattern> + <nationalNumberPattern>[1-9]\d{8}</nationalNumberPattern> + <possibleNumberPattern>\d{9}</possibleNumberPattern> </generalDesc> - <noInternationalDialling> - <nationalNumberPattern>3\d{3}</nationalNumberPattern> - <possibleNumberPattern>\d{4}</possibleNumberPattern> - <exampleNumber>3123</exampleNumber> - </noInternationalDialling> <fixedLine> <nationalNumberPattern>[1-5]\d{8}</nationalNumberPattern> - <possibleNumberPattern>\d{9}</possibleNumberPattern> <exampleNumber>123456789</exampleNumber> </fixedLine> <mobile> <nationalNumberPattern> 6\d{8}| 7[5-9]\d{7} </nationalNumberPattern> - <possibleNumberPattern>\d{9}</possibleNumberPattern> <exampleNumber>612345678</exampleNumber> </mobile> <tollFree> <nationalNumberPattern>80\d{7}</nationalNumberPattern> - <possibleNumberPattern>\d{9}</possibleNumberPattern> <exampleNumber>801234567</exampleNumber> </tollFree> <premiumRate> - <!-- We are putting 4-digit premium-rate numbers here for now, since they are used by - agencies such as CPAM and the national unemployment agency. --> - <nationalNumberPattern> - 3\d{3}| - 89[1-37-9]\d{6} - </nationalNumberPattern> - <possibleNumberPattern>\d{4}(?:\d{5})?</possibleNumberPattern> + <nationalNumberPattern>89[1-37-9]\d{6}</nationalNumberPattern> <exampleNumber>891123456</exampleNumber> </premiumRate> <sharedCost> <nationalNumberPattern> 8(?: @@ -6810,17 +6848,15 @@ 2[0156]| 84| 90 )\d{6} </nationalNumberPattern> - <possibleNumberPattern>\d{9}</possibleNumberPattern> <exampleNumber>810123456</exampleNumber> </sharedCost> <voip> <!-- 087 numbers used to be used for this. --> <nationalNumberPattern>9\d{8}</nationalNumberPattern> - <possibleNumberPattern>\d{9}</possibleNumberPattern> <exampleNumber>912345678</exampleNumber> </voip> </territory> <!-- Gabon --> @@ -6856,11 +6892,11 @@ <!-- http://www.numberingplans.com/?page=dialling&sub=areacodes&ac=GB --> <!-- Note that this excludes Isle of Man, Jersey and Guernsey prefixes for the purposes of validation, although the formatting rules are shared. --> <territory id="GB" countryCode="44" internationalPrefix="00" nationalPrefix="0" preferredExtnPrefix=" x" nationalPrefixFormattingRule="$NP$FG" - mainCountryForCode="true"> + mainCountryForCode="true" mobileNumberPortableRegion="true"> <availableFormats> <!-- 2d, 55, 56, 70 and 76 pager numbers (excludes 7624) with 10 digits. --> <numberFormat pattern="(\d{2})(\d{4})(\d{4})"> <leadingDigits> 2| @@ -7526,11 +7562,12 @@ </territory> <!-- Georgia --> <!-- http://www.itu.int/oth/T0202000050/en --> <!-- http://en.wikipedia.org/wiki/Telephone_numbers_in_Georgia. --> - <territory id="GE" countryCode="995" internationalPrefix="00" nationalPrefix="0"> + <territory id="GE" countryCode="995" internationalPrefix="00" nationalPrefix="0" + mobileNumberPortableRegion="true"> <availableFormats> <!-- Format isn't very strictly defined - the yellow pages omits area code and does 2 2 2, the communications commission uses 2 3 3. Wikipedia says 3 2 3. Some use 2 6. --> <numberFormat pattern="(\d{3})(\d{2})(\d{2})(\d{2})" nationalPrefixFormattingRule="$NP$FG"> <leadingDigits>[348]</leadingDigits> @@ -7766,11 +7803,12 @@ <!-- Ghana --> <!-- http://www.itu.int/oth/T0202000052/en --> <!-- http://www.nca.org.gh/index.php?option=com_content&view=article&id=90&Itemid=65 --> <territory id="GH" countryCode="233" internationalPrefix="00" - nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"> + nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG" + mobileNumberPortableRegion="true"> <availableFormats> <numberFormat pattern="(\d{2})(\d{3})(\d{4})"> <leadingDigits>[235]</leadingDigits> <format>$1 $2 $3</format> </numberFormat> @@ -8028,11 +8066,10 @@ http://www.gammaconcept.com/internet%20sat.html --> <nationalNumberPattern>722\d{6}</nationalNumberPattern> <possibleNumberPattern>\d{9}</possibleNumberPattern> <exampleNumber>722123456</exampleNumber> </voip> - <!-- No national emergency numbers were located for Guinea. --> </territory> <!-- Guadeloupe --> <!-- http://www.itu.int/oth/T0202000058/en --> <!-- http://www.arcep.fr/index.php?id=interactivenumeros - ZABPQ-ZNE.xls --> @@ -8127,17 +8164,16 @@ </tollFree> <premiumRate> <nationalNumberPattern>90\d[1-9]\d{5}</nationalNumberPattern> <exampleNumber>900123456</exampleNumber> </premiumRate> - <!-- No national emergency numbers were located for Equatorial Guinea. --> </territory> <!-- Greece --> <!-- http://www.itu.int/oth/T0202000055/en --> <!-- http://en.wikipedia.org/wiki/%2B30 --> - <territory id="GR" countryCode="30" internationalPrefix="00"> + <territory id="GR" countryCode="30" internationalPrefix="00" mobileNumberPortableRegion="true"> <availableFormats> <numberFormat pattern="([27]\d)(\d{4})(\d{4})"> <leadingDigits> 21| 7 @@ -8538,11 +8574,11 @@ </premiumRate> </territory> <!-- Hong Kong --> <!-- http://www.ofca.gov.hk/en/industry_focus/telecommunications/portability/index.html --> - <territory id="HK" countryCode="852" internationalPrefix="00"> + <territory id="HK" countryCode="852" internationalPrefix="00" mobileNumberPortableRegion="true"> <availableFormats> <numberFormat pattern="(\d{4})(\d{4})"> <leadingDigits> [235-7]| [89](?: @@ -8695,11 +8731,12 @@ <!-- Croatia --> <!-- http://www.itu.int/oth/T0202000032/en --> <!-- http://en.wikipedia.org/wiki/%2B385 --> <territory id="HR" countryCode="385" internationalPrefix="00" - nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"> + nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG" + mobileNumberPortableRegion="true"> <availableFormats> <!-- The plan says 1 XXX XXXX but the government and local telecom websites are formatted 1 XXXX XXX, so we prefer that formatting here. These same sources prefer XXX XXX to XX XXXX as well. --> <numberFormat pattern="(1)(\d{4})(\d{3})"> @@ -8857,17 +8894,17 @@ 98[89]\d{5}. --> <nationalNumberPattern>98[89]\d{5}</nationalNumberPattern> <possibleNumberPattern>\d{8}</possibleNumberPattern> <exampleNumber>98901234</exampleNumber> </voip> - <!-- http://studentsabroad.state.gov/content/pdfs/911_ABROAD.pdf --> </territory> <!-- Hungary --> <!-- http://www.itu.int/oth/T0202000061/en --> <territory id="HU" countryCode="36" internationalPrefix="00" - nationalPrefix="06" nationalPrefixFormattingRule="($FG)"> + nationalPrefix="06" nationalPrefixFormattingRule="($FG)" + mobileNumberPortableRegion="true"> <!-- Although the national prefix is necessary for dialling, the preferred format (confirmed by a Hungarian person and following the yellow pages) is to omit this when formatting. Yellow pages: www.aranyoldalak.hu --> <availableFormats> <numberFormat pattern="(1)(\d{3})(\d{4})"> @@ -9159,11 +9196,12 @@ <!-- Ireland --> <!-- http://www.comreg.ie/licensing_and_services/numbering_plan_for_ireland.552.440.html --> <!-- http://www.comreg.ie/_fileupload/publications/ComReg1119.pdf --> <territory id="IE" countryCode="353" internationalPrefix="00" - nationalPrefix="0" nationalPrefixFormattingRule="($NP$FG)"> + nationalPrefix="0" nationalPrefixFormattingRule="($NP$FG)" + mobileNumberPortableRegion="true"> <availableFormats> <numberFormat pattern="(1)(\d{3,4})(\d{4})"> <leadingDigits>1</leadingDigits> <format>$1 $2 $3</format> </numberFormat> @@ -9336,11 +9374,12 @@ <!-- http://en.wikipedia.org/wiki/%2B972 --> <!-- 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 (in Hebrew) --> <!-- Formatting practice following wikipedia, and government sites. --> <territory id="IL" countryCode="972" internationalPrefix="0(?:0|1[2-9])" - nationalPrefix="0" nationalPrefixFormattingRule="$FG"> + nationalPrefix="0" nationalPrefixFormattingRule="$FG" + mobileNumberPortableRegion="true"> <availableFormats> <numberFormat nationalPrefixFormattingRule="$NP$FG" pattern="([2-489])(\d{3})(\d{4})"> <leadingDigits>[2-489]</leadingDigits> <format>$1-$2-$3</format> @@ -9481,11 +9520,11 @@ </nationalNumberPattern> <possibleNumberPattern>\d{9}</possibleNumberPattern> <exampleNumber>771234567</exampleNumber> </voip> <uan> - <!-- 4-digit star numbers 1-599 numbers. The latter are actually labelled "interactive + <!-- 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 calls, and incur a normal call cost on account of the caller. --> <nationalNumberPattern> [2-689]\d{3}| @@ -9593,11 +9632,12 @@ <!-- http://www.coai.in/msccodes.php --> <!-- Note that several changes in area codes have occurred since the numbering plan was released - fixed line changes are notified on the www.bsnl.co.in website. Area codes can be verified here at http://dq.ndc.bsnl.co.in/bsnl-web/stdSearch.seam. --> <territory id="IN" countryCode="91" internationalPrefix="00" nationalPrefix="0" - nationalPrefixFormattingRule="$NP$FG" nationalPrefixOptionalWhenFormatting="true" > + nationalPrefixFormattingRule="$NP$FG" nationalPrefixOptionalWhenFormatting="true" + mobileNumberPortableRegion="true"> <availableFormats> <!-- Mobile numbers. --> <numberFormat pattern="(\d{2})(\d{2})(\d{6})"> <leadingDigits> 7(?: @@ -10219,11 +10259,10 @@ </fixedLine> <mobile> <nationalNumberPattern>38\d{5}</nationalNumberPattern> <exampleNumber>3801234</exampleNumber> </mobile> - <!-- It seems that there are no emergency numbers for this island. --> </territory> <!-- Iraq --> <!-- http://en.wikipedia.org/wiki/%2B964 --> <!-- http://wtng.info/wtng-964-ik.html --> @@ -10265,11 +10304,10 @@ <nationalNumberPattern>7[3-9]\d{8}</nationalNumberPattern> <possibleNumberPattern>\d{10}</possibleNumberPattern> <exampleNumber>7912345678</exampleNumber> </mobile> <!-- No tollFree or premiumRate information can be found. --> - <!-- No national emergency numbers were located for Iraq. --> </territory> <!-- Iran, Islamic Republic of --> <!-- http://en.wikipedia.org/wiki/%2B98 --> <!-- http://www.itu.int/oth/T0202000066/en --> @@ -10470,11 +10508,11 @@ </territory> <!-- Iceland --> <!-- http://www.pta.is/default.aspx?cat_id=85 --> <!-- http://www.pfs.is/default.aspx?cat_id=14&module_id=210&element_id=4 --> - <territory id="IS" countryCode="354" internationalPrefix="00"> + <territory id="IS" countryCode="354" internationalPrefix="00" mobileNumberPortableRegion="true"> <availableFormats> <numberFormat pattern="(\d{3})(\d{4})"> <leadingDigits>[4-9]</leadingDigits> <format>$1 $2</format> </numberFormat> @@ -10582,11 +10620,12 @@ </voicemail> </territory> <!-- Italy --> <!-- http://en.wikipedia.org/wiki/%2B39 --> - <territory id="IT" countryCode="39" internationalPrefix="00" leadingZeroPossible="true"> + <territory id="IT" countryCode="39" internationalPrefix="00" leadingZeroPossible="true" + mobileNumberPortableRegion="true"> <availableFormats> <!-- The leading zero for fixed numbers will be prepended before the matching of these regular expressions. --> <numberFormat pattern="(\d{2})(\d{3,4})(\d{4})"> <leadingDigits> @@ -11107,11 +11146,12 @@ <!-- Jordan --> <!-- http://www.trc.gov.jo/images/stories/pdf/NNP_ver200[1].pdf?lang=english --> <!-- http://www.itu.int/oth/T020200006E/en --> <!-- http://en.wikipedia.org/wiki/%2B962 --> <territory id="JO" countryCode="962" internationalPrefix="00" - nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"> + nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG" + mobileNumberPortableRegion="true"> <availableFormats> <numberFormat nationalPrefixFormattingRule="($NP$FG)" pattern="(\d)(\d{3})(\d{4})"> <leadingDigits> [2356]| @@ -11267,11 +11307,12 @@ <!-- Japan --> <!-- http://www.soumu.go.jp/main_sosiki/joho_tsusin/top/tel_number/number_shitei.html --> <!-- http://www.numberingplans.com/?page=dialling&sub=areacodes&ac=JP --> <territory id="JP" countryCode="81" internationalPrefix="010" nationalPrefix="0" - nationalPrefixFormattingRule="$NP$FG" leadingZeroPossible="true" > + nationalPrefixFormattingRule="$NP$FG" leadingZeroPossible="true" + mobileNumberPortableRegion="true"> <availableFormats> <!-- Toll-free, premium-rate and UAN numbers --> <numberFormat pattern="(\d{3})(\d{3})(\d{3})"> <leadingDigits> (?: @@ -12241,11 +12282,12 @@ <!-- Kenya --> <!-- http://www.cck.go.ke/licensing/numbering/plan.html --> <!-- http://en.wikipedia.org/wiki/+254 --> <territory id="KE" countryCode="254" internationalPrefix="000" - nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"> + nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG" + mobileNumberPortableRegion="true"> <availableFormats> <numberFormat pattern="(\d{2})(\d{4,7})"> <leadingDigits>[24-6]</leadingDigits> <format>$1 $2</format> </numberFormat> @@ -12598,11 +12640,10 @@ 9[01]0 )\d{4} </nationalNumberPattern> <exampleNumber>9001234</exampleNumber> </premiumRate> - <!-- http://travel.state.gov/travel/cis_pa_tw/cis/cis_1091.html --> </territory> <!-- Saint Kitts and Nevis --> <!-- http://www.itu.int/oth/T02020000B0/en --> <territory id="KN" countryCode="1" leadingDigits="869" nationalPrefix="1" @@ -12734,12 +12775,10 @@ <mobile> <nationalNumberPattern>19[123]\d{7}</nationalNumberPattern> <possibleNumberPattern>\d{10}</possibleNumberPattern> <exampleNumber>1921234567</exampleNumber> </mobile> - <!-- According to the following webpage, there is no emergency number in - North Korea: http://www.netglobers.com/asia/north-korea-emergency-numbers-in-north-korea.html --> </territory> <!-- Korea (Rep. of) --> <!-- http://www.itu.int/oth/T0202000072/en --> <!-- http://en.wikipedia.org/wiki/%2B82 --> @@ -12751,11 +12790,12 @@ 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 --> <territory id="KR" countryCode="82" internationalPrefix="00(?:[124-68]|[37]\d{2})" nationalPrefix="0" nationalPrefixForParsing="0(8[1-46-8]|85\d{2})?" - nationalPrefixFormattingRule="$NP$FG" carrierCodeFormattingRule="$NP$CC-$FG"> + nationalPrefixFormattingRule="$NP$FG" carrierCodeFormattingRule="$NP$CC-$FG" + mobileNumberPortableRegion="true"> <availableFormats> <numberFormat pattern="(\d{2})(\d{4})(\d{4})"> <leadingDigits> 1(?: 0| @@ -12954,11 +12994,11 @@ </uan> </territory> <!-- Kuwait --> <!-- http://www.itu.int/oth/T0202000073/en --> - <territory id="KW" countryCode="965" internationalPrefix="00"> + <territory id="KW" countryCode="965" internationalPrefix="00" mobileNumberPortableRegion="true"> <availableFormats> <!-- Format is from ITU. --> <numberFormat pattern="(\d{4})(\d{3,4})"> <leadingDigits>[1269]</leadingDigits> <format>$1 $2</format> @@ -13643,12 +13683,10 @@ <personalNumber> <nationalNumberPattern>701\d{4}</nationalNumberPattern> <possibleNumberPattern>\d{7}</possibleNumberPattern> <exampleNumber>7011234</exampleNumber> </personalNumber> - <!-- Information for short codes and emergency numbers comes from: - http://www.llv.li/pdf-llv-ak-shortnumbers_20110331.pdf --> </territory> <!-- Sri Lanka --> <!-- http://en.wikipedia.org/wiki/%2B94 --> <!-- http://www.itu.int/oth/T02020000C3/en --> @@ -13795,11 +13833,11 @@ <!-- 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)" - nationalPrefixOptionalWhenFormatting="true"> + nationalPrefixOptionalWhenFormatting="true" mobileNumberPortableRegion="true"> <!-- National Prefix formatting rule from www.yellowpages.lt --> <availableFormats> <!-- Two-digit area codes --> <numberFormat pattern="([34]\d)(\d{6})"> <leadingDigits> @@ -13884,11 +13922,11 @@ <!-- Luxembourg --> <!-- http://www.ilr.public.lu/communications_electroniques/numerotation/index.html --> <territory id="LU" countryCode="352" internationalPrefix="00" nationalPrefixForParsing="(15(?:0[06]|1[12]|35|4[04]|55|6[26]|77|88|99)\d)" - carrierCodeFormattingRule="$CC $FG"> + carrierCodeFormattingRule="$CC $FG" mobileNumberPortableRegion="true"> <availableFormats> <!-- Patterns overlap because of variable number length. --> <numberFormat pattern="(\d{2})(\d{3})"> <leadingDigits> [2-5]| @@ -14082,11 +14120,11 @@ </territory> <!-- Latvia --> <!-- http://www.itu.int/oth/T0202000076/en --> <!-- http://en.wikipedia.org/wiki/+371 --> - <territory id="LV" countryCode="371" internationalPrefix="00"> + <territory id="LV" countryCode="371" internationalPrefix="00" mobileNumberPortableRegion="true"> <availableFormats> <numberFormat pattern="([2689]\d)(\d{3})(\d{3})"> <format>$1 $2 $3</format> </numberFormat> </availableFormats> @@ -14157,11 +14195,12 @@ <!-- Morocco --> <!-- Shares formatting and some metadata with Western Sahara. --> <!-- http://www.itu.int/oth/T0202000090/en --> <!-- http://en.wikipedia.org/wiki/+212 --> <territory id="MA" countryCode="212" internationalPrefix="00" nationalPrefix="0" - nationalPrefixFormattingRule="$NP$FG" mainCountryForCode="true"> + nationalPrefixFormattingRule="$NP$FG" mainCountryForCode="true" + mobileNumberPortableRegion="true"> <availableFormats> <numberFormat pattern="([56]\d{2})(\d{6})"> <leadingDigits> 5(?: 2[015-7]| @@ -14256,19 +14295,19 @@ </nationalNumberPattern> <exampleNumber>520123456</exampleNumber> </fixedLine> <!-- Also duplicated in Western Sahara, please ensure you update both. --> <mobile> - <!-- Prefixes 60[1-578], 62[01457-9], 63[04-8] and 68[01] are from numbers found online, - bug-reports, and information provided directly by the carriers. --> + <!-- Prefixes 60[1-578], 62[01457-9], 63[04-8] and 68[01], 698 are from numbers found + online, bug-reports, and information provided directly by the carriers. --> <nationalNumberPattern> 6(?: 0[0-8]| [124-7]\d| 3[013-8]| 8[01]| - 99 + 9[89] )\d{6} </nationalNumberPattern> <exampleNumber>650123456</exampleNumber> </mobile> <tollFree> @@ -14339,11 +14378,12 @@ <!-- Moldova, Rep. of --> <!-- http://www.itu.int/oth/T020200008C/en --> <!-- http://en.anrceti.md --> <territory id="MD" countryCode="373" internationalPrefix="00" - nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG" > + nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG" + mobileNumberPortableRegion="true"> <availableFormats> <numberFormat pattern="(\d{2})(\d{3})(\d{3})"> <leadingDigits> 22| 3 @@ -14581,11 +14621,10 @@ [1-9]\d )\d{4} </nationalNumberPattern> <exampleNumber>690301234</exampleNumber> </mobile> - <!-- http://www.leshotelsdesaintmartin.com/fr/saint-martin-antilles/informations-saint-martin/infos-pratiques-sxm.html --> </territory> <!-- Madagascar --> <!-- http://www.itu.int/oth/T020200007F/en --> <territory id="MG" countryCode="261" internationalPrefix="00" @@ -14680,11 +14719,12 @@ </territory> <!-- Macedonia, Former Yugoslav Rep. of --> <!-- http://www.itu.int/oth/T02020000CE/en --> <territory id="MK" countryCode="389" internationalPrefix="00" - nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"> + nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG" + mobileNumberPortableRegion="true"> <availableFormats> <!-- Formats follow wikipedia. --> <numberFormat pattern="(2)(\d{3})(\d{4})"> <leadingDigits>2</leadingDigits> <format>$1 $2 $3</format> @@ -15266,11 +15306,10 @@ <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. --> - <!-- http://www.martinique.franceantilles.fr/pratique/urgences/ --> </territory> <!-- Mauritania --> <!-- http://www.itu.int/oth/T0202000087/en --> <!-- http://www.are.mr/com-1-4-1.html --> @@ -15305,21 +15344,21 @@ 7[1-3] )| 4(?: 4\d| 6[0457-9]| - 7[4-9] + 7[4-9]| + 8[01346-8] ) )\d{5} </nationalNumberPattern> <exampleNumber>22123456</exampleNumber> </mobile> <tollFree> <nationalNumberPattern>800\d{5}</nationalNumberPattern> <exampleNumber>80012345</exampleNumber> </tollFree> - <!-- http://www.lemoci.com/Mauritanie/14-Donnees-generales.htm --> </territory> <!-- Montserrat --> <!-- http://www.itu.int/oth/T020200008F/en --> <territory id="MS" countryCode="1" leadingDigits="664" nationalPrefix="1" @@ -15366,17 +15405,16 @@ )[2-9]\d{6} </nationalNumberPattern> <possibleNumberPattern>\d{10}</possibleNumberPattern> <exampleNumber>5002345678</exampleNumber> </personalNumber> - <!-- http://studentsabroad.state.gov/content/pdfs/911_ABROAD.pdf --> </territory> <!-- Malta --> <!-- www.itu.int/oth/T0202000084/en --> <!-- www.mca.org.mt (Numbering link in the LHS menu - has more up-to-date allocations) --> - <territory id="MT" countryCode="356" internationalPrefix="00"> + <territory id="MT" countryCode="356" internationalPrefix="00" mobileNumberPortableRegion="true"> <availableFormats> <numberFormat pattern="(\d{4})(\d{4})"> <format>$1 $2</format> </numberFormat> </availableFormats> @@ -15476,30 +15514,24 @@ <nationalNumberPattern>[2-9]\d{6,7}</nationalNumberPattern> <possibleNumberPattern>\d{7,8}</possibleNumberPattern> </generalDesc> <fixedLine> <!-- See also: http://www.wtng.info/wtng-230-mu.html for additional detail. --> - <!-- Mauritius has a small number of "fixed line or mobile" numbers prefixed by 44X or 471 - (referred to as "Non-geographic fixed-mobile converged numbers" in the ITU document). - As of 1st Sept 2013, these have a leading 5 applied with no parallel running. - Once switchover has occurred the old, 7-digit versions of these numbers can be removed. - We will remove old versions of extended numbers sometime after 2013/09/01 --> <nationalNumberPattern> (?: 2(?: [03478]\d| 1[0-7]| 6[1-69] )| 4(?: - [013-68]\d| - 2[4-7]| - 71 + [013568]\d| + 2[4-7] )| 5( 44\d| - 471| + 471 )| 6\d{2}| 8(?: 14| 3[129] @@ -15507,14 +15539,12 @@ )\d{4} </nationalNumberPattern> <exampleNumber>2012345</exampleNumber> </fixedLine> <mobile> - <!-- As of 1st Sept 2013, mobile numbers have a leading 5 applied with no parallel running. - The leading 5 will be made required sometime after 2013/09/01 --> <nationalNumberPattern> - 5?(?: + 5(?: 2[59]\d| 4(?: 2[1-389]| 4\d| 7[1-9]| @@ -15526,10 +15556,11 @@ 7[15-8] )| 9[0-8]\d )\d{4} </nationalNumberPattern> + <possibleNumberPattern>\d{8}</possibleNumberPattern> <exampleNumber>52512345</exampleNumber> </mobile> <tollFree> <nationalNumberPattern>80[012]\d{4}</nationalNumberPattern> <possibleNumberPattern>\d{7}</possibleNumberPattern> @@ -15694,11 +15725,11 @@ nationalPrefix="01" nationalPrefixForParsing="0[12]|04[45](\d{10})" nationalPrefixTransformRule="1$1" nationalPrefixFormattingRule="$NP $FG" nationalPrefixOptionalWhenFormatting="true" - leadingZeroPossible="true"> + leadingZeroPossible="true" mobileNumberPortableRegion="true"> <!-- When a number starts with 01 or 02, we remove the prefixes; when a number starts with 044 or 045 followed by 10 digits, we replace the prefixes with 1. This way all the mobile numbers, regardless of whether they are written in international format (leading 1) or national format (leading 044/045), will be parsed into the same form. --> <availableFormats> @@ -15908,11 +15939,11 @@ <!-- Malaysia --> <!-- http://en.wikipedia.org/wiki/%2B60 --> <!-- http://www.skmm.gov.my --> <territory id="MY" countryCode="60" internationalPrefix="00" - nationalPrefix="0"> + nationalPrefix="0" mobileNumberPortableRegion="true"> <availableFormats> <numberFormat nationalPrefixFormattingRule="$NP$FG" pattern="([4-79])(\d{3})(\d{4})"> <leadingDigits>[4-79]</leadingDigits> <format>$1-$2 $3</format> @@ -16306,11 +16337,10 @@ </tollFree> <premiumRate> <nationalNumberPattern>09\d{6}</nationalNumberPattern> <exampleNumber>09123456</exampleNumber> </premiumRate> - <!-- No emergency numbers information can be found. --> </territory> <!-- Norfolk Island --> <!-- http://www.itu.int/oth/T020200009D/en --> <!-- Including numbers for Australian Antarctic stations. --> @@ -16352,11 +16382,12 @@ </territory> <!-- Nigeria --> <!-- http://www.itu.int/oth/T020200009C/en --> <territory id="NG" countryCode="234" internationalPrefix="009" - nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"> + nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG" + mobileNumberPortableRegion="true"> <availableFormats> <numberFormat pattern="([129])(\d{3})(\d{3,4})"> <leadingDigits>[129]</leadingDigits> <format>$1 $2 $3</format> </numberFormat> @@ -16537,19 +16568,24 @@ <numberFormat pattern="(\d{4})(\d{4})"> <format>$1 $2</format> </numberFormat> </availableFormats> <generalDesc> - <nationalNumberPattern>[128]\d{7}</nationalNumberPattern> + <nationalNumberPattern>[1258]\d{7}</nationalNumberPattern> <possibleNumberPattern>\d{8}</possibleNumberPattern> </generalDesc> <fixedLine> <nationalNumberPattern>2\d{7}</nationalNumberPattern> <exampleNumber>21234567</exampleNumber> </fixedLine> <mobile> - <nationalNumberPattern>8\d{7}</nationalNumberPattern> + <!-- Online users have reported seeing 5500 used by Claro; until we can find actual numbers + or any documentation about it, we restrict this pattern to this prefix exactly. --> + <nationalNumberPattern> + 5500\d{4}| + 8\d{7} + </nationalNumberPattern> <exampleNumber>81234567</exampleNumber> </mobile> <tollFree> <nationalNumberPattern>1800\d{4}</nationalNumberPattern> <exampleNumber>18001234</exampleNumber> @@ -16558,11 +16594,12 @@ <!-- Netherlands --> <!-- http://en.wikipedia.org/wiki/%2B31 --> <!-- http://www.opta.nl/en/numbers/search-for-numbers --> <territory id="NL" countryCode="31" internationalPrefix="00" - nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"> + nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG" + mobileNumberPortableRegion="true"> <availableFormats> <numberFormat pattern="([1-578]\d)(\d{3})(\d{4})"> <leadingDigits> 1[035]| 2[0346]| @@ -16691,11 +16728,11 @@ <!-- Norway --> <!-- Metadata (excluding fixed-line) shared with Svalbard. --> <!-- http://www.npt.no/npt/numsys/E.164.pdf --> <territory id="NO" countryCode="47" internationalPrefix="00" leadingZeroPossible="true" - mainCountryForCode="true"> + mainCountryForCode="true" mobileNumberPortableRegion="true"> <availableFormats> <numberFormat pattern="([489]\d{2})(\d{2})(\d{3})"> <leadingDigits>[489]</leadingDigits> <format>$1 $2 $3</format> </numberFormat> @@ -16918,11 +16955,11 @@ <!-- 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" - nationalPrefixFormattingRule="$NP$FG"> + nationalPrefixFormattingRule="$NP$FG" mobileNumberPortableRegion="true"> <availableFormats> <!-- Pattern for fixed-line formats. --> <numberFormat pattern="([34679])(\d{3})(\d{4})"> <leadingDigits> [3467]| @@ -17038,11 +17075,11 @@ </premiumRate> </territory> <!-- Oman --> <!-- http://www.itu.int/oth/T020200009F/en --> - <territory id="OM" countryCode="968" internationalPrefix="00" > + <territory id="OM" countryCode="968" internationalPrefix="00" mobileNumberPortableRegion="true"> <availableFormats> <numberFormat pattern="(2\d)(\d{6})"> <leadingDigits>2</leadingDigits> <format>$1 $2</format> </numberFormat> @@ -17095,11 +17132,11 @@ <!-- Panama --> <!-- http://www.asep.gob.pa/telecom/pnn/default.asp - last read Jan 17th 2013. --> <!-- http://en.wikipedia.org/wiki/%2B507 - although it omits the fact that mobile phones are 8 digits long. --> - <territory id="PA" countryCode="507" internationalPrefix="00"> + <territory id="PA" countryCode="507" internationalPrefix="00" mobileNumberPortableRegion="true"> <availableFormats> <numberFormat pattern="(\d{3})(\d{4})"> <leadingDigits>[1-57-9]</leadingDigits> <format>$1-$2</format> </numberFormat> @@ -17246,11 +17283,11 @@ <!-- http://www.itu.int/oth/T02020000A6/en --> <!-- http://en.wikipedia.org/wiki/+51 --> <!-- http://www.assistbook.com/South%20America/Peru/widecodes --> <territory id="PE" countryCode="51" internationalPrefix="19(?:1[124]|77|90)00" nationalPrefix="0" nationalPrefixFormattingRule="($NP$FG)" - preferredExtnPrefix=" Anexo "> + preferredExtnPrefix=" Anexo " mobileNumberPortableRegion="true"> <availableFormats> <numberFormat pattern="(1)(\d{7})"> <leadingDigits>1</leadingDigits> <format>$1 $2</format> </numberFormat> @@ -17365,11 +17402,10 @@ 89\d{3} )\d{3} </nationalNumberPattern> <exampleNumber>212345</exampleNumber> </mobile> - <!-- http://studentsabroad.state.gov/content/pdfs/911_ABROAD.pdf --> </territory> <!-- Papua New Guinea --> <!-- http://www.itu.int/oth/T02020000A4/en --> <!-- http://en.wikipedia.org/wiki/%2B675 --> @@ -17377,48 +17413,47 @@ <availableFormats> <numberFormat pattern="(\d{3})(\d{4})"> <leadingDigits>[1-689]</leadingDigits> <format>$1 $2</format> </numberFormat> - <numberFormat pattern="(7\d{2})(\d{2})(\d{3})"> + <numberFormat pattern="(7\d{3})(\d{4})"> <leadingDigits>7</leadingDigits> - <format>$1 $2 $3</format> + <format>$1 $2</format> </numberFormat> </availableFormats> <generalDesc> <nationalNumberPattern>[1-9]\d{6,7}</nationalNumberPattern> <possibleNumberPattern>\d{7,8}</possibleNumberPattern> </generalDesc> <fixedLine> - <!-- Fixed line patterns are from the numbering plan, with additions for 4XX since many - numbers in the yellow pages seem to be outside the 47X range prescribed by the plan. - The same applies to extra 64X numbers. --> <nationalNumberPattern> (?: - 3\d{2}| - 4[257]\d| + 3[0-2]\d| + 4[25]\d| 5[34]\d| - 6(?: - 29| - 4[1-9] + 64[1-9]| + 77(?: + [0-24]\d| + 30 )| 85[02-46-9]| 9[78]\d )\d{4} </nationalNumberPattern> <possibleNumberPattern>\d{7}</possibleNumberPattern> <exampleNumber>3123456</exampleNumber> </fixedLine> <mobile> <!-- Mobile number patterns from the numbering plan are included here, as well as 68X from - Wikipedia and 730 from online numbers. The prefix 70X is added since open-source users - have reported it as now being in use, although no real numbers can be found as of yet. - --> + Wikipedia. --> <nationalNumberPattern> (?: 68| - 7[0-36]\d + 7(?: + [0-369]\d| + 75 + ) )\d{5} </nationalNumberPattern> <possibleNumberPattern>\d{7,8}</possibleNumberPattern> <exampleNumber>6812345</exampleNumber> </mobile> @@ -17618,11 +17653,12 @@ <!-- Pakistan --> <!-- http://www.itu.int/oth/T02020000A1/en --> <!-- http://en.wikipedia.org/wiki/%2B92 --> <territory id="PK" countryCode="92" internationalPrefix="00" - nationalPrefix="0" nationalPrefixFormattingRule="($NP$FG)"> + nationalPrefix="0" nationalPrefixFormattingRule="($NP$FG)" + mobileNumberPortableRegion="true"> <availableFormats> <!-- Universal Access Numbers (UAN) number format patterns first, so that these numbers are formatted nicely by the AYTF. --> <numberFormat pattern="(\d{2})(111)(\d{3})(\d{3})"> <leadingDigits> @@ -17918,11 +17954,11 @@ <!-- http://en.wikipedia.org/wiki/%2B48 --> <!-- http://www.itu.int/oth/T02020000A8/en --> <!-- http://www.uke.gov.pl/uke/index.jsp?place=Lead24&news_cat_id=277&news_id=3791&layout=9&page=text (in Polish) --> - <territory id="PL" countryCode="48" internationalPrefix="00"> + <territory id="PL" countryCode="48" internationalPrefix="00" mobileNumberPortableRegion="true"> <availableFormats> <numberFormat pattern="(\d{2})(\d{3})(\d{2})(\d{2})"> <leadingDigits> [124]| 3[2-4]| @@ -18197,11 +18233,11 @@ </sharedCost> </territory> <!-- Portugal --> <!-- http://www.anacom.pt/render.jsp?categoryId=279098 --> - <territory id="PT" countryCode="351" internationalPrefix="00"> + <territory id="PT" countryCode="351" internationalPrefix="00" mobileNumberPortableRegion="true"> <availableFormats> <!-- Note: the wikipedia page suggests that mobile numbers may also be formatted with only two digits in the first group; however, this doesn't seem to be majority usage based on searches online. --> <numberFormat pattern="(2\d)(\d{3})(\d{4})"> @@ -18343,11 +18379,12 @@ <!-- Paraguay --> <!-- http://en.wikipedia.org/wiki/Telephone_numbers_in_Paraguay --> <!-- http://www.itu.int/oth/T02020000A5/en --> <!-- http://www.copaco.com.py/portal/index.php/component/content/article/8-empresa/74-codigos-de-area.html --> - <territory id="PY" countryCode="595" internationalPrefix="00" nationalPrefix="0"> + <territory id="PY" countryCode="595" internationalPrefix="00" nationalPrefix="0" + mobileNumberPortableRegion="true"> <availableFormats> <!-- CONATEL plan. --> <numberFormat pattern="(\d{2})(\d{5,7})" nationalPrefixFormattingRule="($FG)"> <leadingDigits> (?: @@ -18463,11 +18500,11 @@ </territory> <!-- Qatar --> <!-- http://www.itu.int/oth/T02020000AB/en --> <!-- http://wtng.info/wtng-qq.html --> - <territory id="QA" countryCode="974" internationalPrefix="00"> + <territory id="QA" countryCode="974" internationalPrefix="00" mobileNumberPortableRegion="true"> <availableFormats> <numberFormat pattern="([28]\d{2})(\d{4})"> <leadingDigits>[28]</leadingDigits> <format>$1 $2</format> </numberFormat> @@ -18563,11 +18600,11 @@ <!-- http://www.itu.int/oth/T02020000AC/en --> <!-- http://en.wikipedia.org/wiki/Telephone_numbers_in_Romania --> <!-- Extension prefix found online, confirmed by a Romanian. --> <territory id="RO" countryCode="40" internationalPrefix="00" nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG" - preferredExtnPrefix=" int "> + preferredExtnPrefix=" int " mobileNumberPortableRegion="true"> <availableFormats> <numberFormat pattern="([237]\d)(\d{3})(\d{4})"> <leadingDigits>[23]1</leadingDigits> <format>$1 $2 $3</format> </numberFormat> @@ -18667,11 +18704,12 @@ <!-- Serbia --> <!-- http://www.itu.int/oth/T02020000B9/en --> <!-- http://registar.ratel.rs/en/reg202 --> <territory id="RS" countryCode="381" internationalPrefix="00" - nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"> + nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG" + mobileNumberPortableRegion="true"> <availableFormats> <numberFormat pattern="([23]\d{2})(\d{4,9})"> <leadingDigits> (?: 2[389]| @@ -18924,11 +18962,12 @@ <!-- Saudi Arabia --> <!-- http://en.wikipedia.org/wiki/Telephone_numbers_in_Saudi_Arabia --> <!-- http://www.itu.int/oth/T02020000B7/en --> <territory id="SA" countryCode="966" internationalPrefix="00" - nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"> + nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG" + mobileNumberPortableRegion="true"> <availableFormats> <numberFormat pattern="([1-467])(\d{3})(\d{4})"> <leadingDigits>[1-467]</leadingDigits> <format>$1 $2 $3</format> </numberFormat> @@ -18941,11 +18980,11 @@ <format>$1 $2 $3</format> </numberFormat> <!-- It seems that the trunk prefix is not used for these numbers, based on wikipedia and on the fact that no numbers of this form found online have a trunk prefix added. --> <numberFormat pattern="(92\d{2})(\d{5})" nationalPrefixFormattingRule="$FG"> - <leadingDigits>9</leadingDigits> + <leadingDigits>92</leadingDigits> <format>$1 $2</format> </numberFormat> <numberFormat pattern="(800)(\d{3})(\d{4})" nationalPrefixFormattingRule="$FG"> <leadingDigits>80</leadingDigits> <format>$1 $2 $3</format> @@ -18969,22 +19008,20 @@ </nationalNumberPattern> <possibleNumberPattern>\d{7,10}</possibleNumberPattern> </generalDesc> <fixedLine> <!-- Saudi Arabia is in the process of adding a leading 1 to their fixed-line numbers. This - is happening in May for area code 1 (parallel running ends July 13th, 2013) and then in - August for the other fixed-line numbers. --> + 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). --> <nationalNumberPattern> - (?: - 11?\d| - 1?(?: - 2[24-8]| - 3[35-8]| - 4[3-68]| - 6[2-5]| - 7[235-7] - ) + 11\d{7}| + 1?(?: + 2[24-8]| + 3[35-8]| + 4[3-68]| + 6[2-5]| + 7[235-7] )\d{6} </nationalNumberPattern> <possibleNumberPattern>\d{7,9}</possibleNumberPattern> <exampleNumber>112345678</exampleNumber> </fixedLine> @@ -19156,12 +19193,14 @@ </mobile> </territory> <!-- Sweden --> <!-- http://www.pts.se/upload/Ovrigt/Tele/Nummerfragor/Sv_nrplan_telefoni_enl_TU-T_rek_E.164.pdf --> + <!-- http://www.pts.se/upload/Ovrigt/Tele/Nummerfragor/Nrplansammanst%C3%A4llning-2013-07-05.pdf --> <territory id="SE" countryCode="46" internationalPrefix="00" - nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"> + nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG" + mobileNumberPortableRegion="true"> <availableFormats> <!-- 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> @@ -19231,23 +19270,33 @@ <numberFormat pattern="(7\d)(\d{3})(\d{2})(\d{2})"> <leadingDigits>7</leadingDigits> <format>$1-$2 $3 $4</format> <intlFormat>$1 $2 $3 $4</intlFormat> </numberFormat> + <numberFormat pattern="(77)(\d{2})(\d{2})"> + <leadingDigits>7</leadingDigits> + <format>$1-$2$3</format> + <intlFormat>$1 $2 $3</intlFormat> + </numberFormat> <numberFormat pattern="(20)(\d{2,3})(\d{2})"> <leadingDigits>20</leadingDigits> <format>$1-$2 $3</format> <intlFormat>$1 $2 $3</intlFormat> </numberFormat> <numberFormat pattern="(9[034]\d)(\d{2})(\d{2})(\d{3})"> <leadingDigits>9[034]</leadingDigits> <format>$1-$2 $3 $4</format> <intlFormat>$1 $2 $3 $4</intlFormat> </numberFormat> + <numberFormat pattern="(9[034]\d)(\d{4})"> + <leadingDigits>9[034]</leadingDigits> + <format>$1-$2</format> + <intlFormat>$1 $2</intlFormat> + </numberFormat> </availableFormats> <generalDesc> - <nationalNumberPattern>[1-9]\d{6,9}</nationalNumberPattern> + <nationalNumberPattern>[1-9]\d{5,9}</nationalNumberPattern> <possibleNumberPattern>\d{5,10}</possibleNumberPattern> </generalDesc> <fixedLine> <nationalNumberPattern> 1(?: @@ -19283,13 +19332,14 @@ 8[0-3]| 9[023] )\d{5,6} )| 4(?: - [0246]\d{5,7}| + 0[1-9]\d{4,6}| + [246]\d{5,7}| (?: - 1[0-8]| + 1[013-8]| 3[0135]| 5[14-79]| 7[0-246-9]| 8[0156]| 9[0-689] @@ -19305,11 +19355,12 @@ 7[013]| 8[0-79]| 9[01] )\d{5,6}| 6(?: - [03]\d{5,7}| + 0[1-9]\d{4,6}| + 3\d{5,7}| (?: 1[1-3]| 2[0-4]| 4[02-57]| 5[0-37]| @@ -19317,18 +19368,19 @@ 7[0-2]| 8[0247]| 9[0-356] )\d{5,6} )| - 8\d{6,8}| + 8[1-9]\d{5,7}| 9(?: - 0\d{5,7}| + 0[1-9]\d{4,6}| (?: 1[0-68]| 2\d| - 3[02-59]| - [45][0-4]| + 3[02-5]| + 4[0-3]| + 5[0-4]| [68][01]| 7[0135-8] )\d{5,6} ) </nationalNumberPattern> @@ -19339,45 +19391,105 @@ <nationalNumberPattern>7[0236]\d{7}</nationalNumberPattern> <possibleNumberPattern>\d{9}</possibleNumberPattern> <exampleNumber>701234567</exampleNumber> </mobile> <pager> - <nationalNumberPattern>74\d{7}</nationalNumberPattern> + <nationalNumberPattern>74[02-9]\d{6}</nationalNumberPattern> <possibleNumberPattern>\d{9}</possibleNumberPattern> - <exampleNumber>741234567</exampleNumber> + <exampleNumber>740123456</exampleNumber> </pager> <tollFree> - <nationalNumberPattern>20\d{4,7}</nationalNumberPattern> + <nationalNumberPattern> + 20(?: + 0(?: + 0\d{2}| + [1-9](?: + 0\d{1,4}| + [1-9]\d{4} + ) + )| + 1(?: + 0\d{4}| + [1-9]\d{4,5} + )| + [2-9]\d{5} + ) + </nationalNumberPattern> <possibleNumberPattern>\d{6,9}</possibleNumberPattern> - <exampleNumber>201234567</exampleNumber> + <exampleNumber>20123456</exampleNumber> </tollFree> <premiumRate> <nationalNumberPattern> 9(?: 00| 39| 44 - )\d{7} + )(?: + 1(?: + [0-26]\d{5}| + [3-57-9]\d{2} + )| + 2(?: + [0-2]\d{5}| + [3-9]\d{2} + )| + 3(?: + [0139]\d{5}| + [24-8]\d{2} + )| + 4(?: + [045]\d{5}| + [1-36-9]\d{2} + )| + 5(?: + 5\d{5}| + [0-46-9]\d{2} + )| + 6(?: + [679]\d{5}| + [0-58]\d{2} + )| + 7(?: + [078]\d{5}| + [1-69]\d{2} + )| + 8(?: + [578]\d{5}| + [0-469]\d{2} + ) + ) </nationalNumberPattern> - <possibleNumberPattern>\d{10}</possibleNumberPattern> + <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern> <exampleNumber>9001234567</exampleNumber> </premiumRate> <sharedCost> - <nationalNumberPattern>77\d{7}</nationalNumberPattern> - <possibleNumberPattern>\d{9}</possibleNumberPattern> + <nationalNumberPattern> + 77(?: + 0(?: + 0\d{2}| + [1-9](?: + 0\d| + [1-9]\d{4} + ) + )| + [1-6][1-9]\d{5} + ) + </nationalNumberPattern> + <possibleNumberPattern>\d{6}(?:\d{3})?</possibleNumberPattern> <exampleNumber>771234567</exampleNumber> </sharedCost> <personalNumber> - <nationalNumberPattern>75\d{7}</nationalNumberPattern> + <nationalNumberPattern>75[1-8]\d{6}</nationalNumberPattern> <possibleNumberPattern>\d{9}</possibleNumberPattern> <exampleNumber>751234567</exampleNumber> </personalNumber> </territory> <!-- Singapore --> <!-- http://www.ida.gov.sg/Policies-and-Regulations/Industry-and-Licensees/Numbering/National-Numbering-Plan-and-Allocation-Process.aspx --> - <territory id="SG" countryCode="65" internationalPrefix="0[0-3]\d"> + <territory id="SG" countryCode="65" internationalPrefix="0[0-3]\d" + mobileNumberPortableRegion="true"> <availableFormats> <numberFormat pattern="([3689]\d{3})(\d{4})"> <leadingDigits> [369]| 8[1-9] @@ -19487,11 +19599,12 @@ </territory> <!-- Slovenia --> <!-- http://www.itu.int/oth/T02020000BE/en --> <territory id="SI" countryCode="386" internationalPrefix="00" - nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"> + nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG" + mobileNumberPortableRegion="true"> <availableFormats> <numberFormat nationalPrefixFormattingRule="($NP$FG)" pattern="(\d)(\d{3})(\d{2})(\d{2})"> <leadingDigits> [12]| @@ -19660,17 +19773,17 @@ <voicemail> <nationalNumberPattern>81[23]\d{5}</nationalNumberPattern> <possibleNumberPattern>\d{8}</possibleNumberPattern> <exampleNumber>81212345</exampleNumber> </voicemail> - <!-- Same as Norway, according to http://kho.unis.no/nordlysstasjon_useful.htm --> </territory> <!-- Slovakia --> <!-- http://www.itu.int/oth/T02020000BD/en --> <territory id="SK" countryCode="421" internationalPrefix="00" - nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"> + nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG" + mobileNumberPortableRegion="true"> <availableFormats> <numberFormat pattern="(2)(\d{3})(\d{3})(\d{2})"> <leadingDigits>2</leadingDigits> <format>$1/$2 $3 $4</format> </numberFormat> @@ -19910,11 +20023,10 @@ </mobile> <voip> <nationalNumberPattern>33301\d{4}</nationalNumberPattern> <exampleNumber>333011234</exampleNumber> </voip> - <!-- No emergency numbers information can be found. --> </territory> <!-- Somalia --> <!-- http://www.itu.int/oth/T02020000C0/en --> <!-- http://en.wikipedia.org/wiki/+252 --> @@ -19996,12 +20108,10 @@ )\d )\d{5} </nationalNumberPattern> <exampleNumber>907792024</exampleNumber> </mobile> - <!-- According to the following webpage, there is no emergency number in Somalia: - http://www.netglobers.com/africa/somalia-emergency-numbers-in-somalia.html --> </territory> <!-- Suriname --> <!-- http://www.itu.int/oth/T02020000C5/en --> <territory id="SR" countryCode="597" internationalPrefix="00"> @@ -20518,11 +20628,12 @@ <!-- Thailand --> <!-- http://www.itu.int/oth/T02020000CD/en --> <!-- http://www.barascientific.com/bscnews/variety/emergency/Tel-4Digi.pdf --> <territory id="TH" countryCode="66" internationalPrefix="00" - nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"> + nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG" + mobileNumberPortableRegion="true"> <availableFormats> <!-- Formatting patterns from wikipedia and the document itself - http://en.wikipedia.org/wiki/%2B66 --> <numberFormat pattern="(2)(\d{3})(\d{4})"> <leadingDigits>2</leadingDigits> @@ -20694,11 +20805,10 @@ </fixedLine> <mobile> <nationalNumberPattern>[5-9]\d{3}</nationalNumberPattern> <exampleNumber>5190</exampleNumber> </mobile> - <!-- No evidence that any emergency numbers exist for this tiny island has been found. --> </territory> <!-- Timor-Leste (East Timor) --> <!-- http://www.itu.int/oth/T02020000D0/en --> <territory id="TL" countryCode="670" internationalPrefix="00"> @@ -20935,11 +21045,12 @@ </territory> <!-- Turkey --> <!-- http://en.wikipedia.org/wiki/%2B90 --> <!-- http://www.itu.int/oth/T02020000D6/en --> - <territory id="TR" countryCode="90" internationalPrefix="00" nationalPrefix="0"> + <territory id="TR" countryCode="90" internationalPrefix="00" nationalPrefix="0" + mobileNumberPortableRegion="true"> <availableFormats> <numberFormat nationalPrefixFormattingRule="($NP$FG)" pattern="(\d{3})(\d{3})(\d{4})" nationalPrefixOptionalWhenFormatting="true"> <leadingDigits> [23]| @@ -21156,11 +21267,12 @@ <!-- Taiwan, China --> <!-- http://www.itu.int/oth/T02020000EB/en --> <!-- 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"> + nationalPrefix="0" preferredExtnPrefix="#" nationalPrefixFormattingRule="$NP$FG" + mobileNumberPortableRegion="true"> <availableFormats> <numberFormat pattern="([2-8])(\d{3,4})(\d{4})"> <leadingDigits> [2-7]| 8[1-9] @@ -21549,11 +21661,12 @@ countries/regions under NANPA --> <!-- 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" - nationalPrefix="1" nationalPrefixOptionalWhenFormatting="true"> + nationalPrefix="1" nationalPrefixOptionalWhenFormatting="true" + mobileNumberPortableRegion="true"> <availableFormats> <numberFormat pattern="(\d{3})(\d{4})"> <format>$1-$2</format> <intlFormat>NA</intlFormat> </numberFormat> @@ -21577,11 +21690,11 @@ 2[4589]| 3[149]| 4[08]| 5[1-46]| 6[0279]| - 7[06]| + 7[026]| 8[13] )| 3(?: 0[1-57-9]| 1[02-9]| @@ -21627,11 +21740,11 @@ )| 7(?: 0[1-46-8]| 1[02-9]| 2[047]| - 3[124]| + 3[1247]| 4[07]| 5[47]| 6[02359]| 7[02-59]| 8[156] @@ -21669,11 +21782,11 @@ 2[4589]| 3[149]| 4[08]| 5[1-46]| 6[0279]| - 7[06]| + 7[026]| 8[13] )| 3(?: 0[1-57-9]| 1[02-9]| @@ -21719,11 +21832,11 @@ )| 7(?: 0[1-46-8]| 1[02-9]| 2[047]| - 3[124]| + 3[1247]| 4[07]| 5[47]| 6[02359]| 7[02-59]| 8[156] @@ -22469,10 +22582,11 @@ 55 )| 6(?: 26| 4[23]| + 77| 9[023] )| 7(?: [17]\d| 27 @@ -22506,10 +22620,11 @@ 55 )| 6(?: 26| 4[23]| + 77| 9[023] )| 7(?: [17]\d| 27 @@ -22787,12 +22902,10 @@ 72 )\d{4} </nationalNumberPattern> <exampleNumber>501234</exampleNumber> </mobile> - <!-- http://lannuaire.service-public.fr/navigation/wallis-et-futuna-wallis-futuna-alofi.html - --> </territory> <!-- Samoa --> <!-- http://www.itu.int/oth/T02020000B4/en --> <territory id="WS" countryCode="685" internationalPrefix="0"> @@ -22915,18 +23028,17 @@ <!-- Same as in France. --> <tollFree> <nationalNumberPattern>80\d{7}</nationalNumberPattern> <exampleNumber>801234567</exampleNumber> </tollFree> - <!-- http://www.sfr-mayotte.com/la-carte/les-services-@/article.jspz?oid=679&categ=345 --> - <!-- http://www.sccfd.org/travel.html --> </territory> <!-- South Africa --> <!-- http://www.itu.int/dms_pub/itu-t/oth/02/02/T02020000C10001PDFE.pdf --> <!-- http://en.wikipedia.org/wiki/Telephone_numbers_in_South_Africa --> <territory id="ZA" countryCode="27" internationalPrefix="00" - nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"> + nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG" + mobileNumberPortableRegion="true"> <availableFormats> <numberFormat pattern="(860)(\d{3})(\d{3})"> <leadingDigits>860</leadingDigits> <format>$1 $2 $3</format> </numberFormat>