data/PhoneNumberMetaData.xml in phonelib-0.2.9 vs data/PhoneNumberMetaData.xml in phonelib-0.3.0

- old
+ new

@@ -1110,15 +1110,18 @@ )\d{4} </nationalNumberPattern> <exampleNumber>6846221234</exampleNumber> </fixedLine> <mobile> - <!-- Adding 24[246], operated from Blue Sky. --> + <!-- Added 25[246], operated from Blue Sky. Added 731, 770, operated by ASTCA. --> <nationalNumberPattern> 684(?: - 733| - 25[2468] + 25[2468]| + 7(?: + 3[13]| + 70 + ) )\d{4} </nationalNumberPattern> <possibleNumberPattern>\d{10}</possibleNumberPattern> <exampleNumber>6847331234</exampleNumber> </mobile> @@ -2414,13 +2417,13 @@ <exampleNumber>20491234</exampleNumber> </fixedLine> <mobile> <nationalNumberPattern> 6(?: - [0-24-68]\d| + [0-24-689]\d| 3[0-7]| - 70 + 7[0-2] )\d{5}| 7\d{7} </nationalNumberPattern> <exampleNumber>70123456</exampleNumber> </mobile> @@ -2706,15 +2709,15 @@ <exampleNumber>20211234</exampleNumber> </fixedLine> <mobile> <!-- We have restricted the pattern here to the first two digits, as beyond this the data seems to be no longer accurate. The prefixes 9[46] have also been added, along with - 6[67] (seemingly prefixes for Mobile MTN), and 64 for BeninCell. Glo Mobile has been + 6[167] (seemingly prefixes for Mobile MTN), and 64 for BeninCell. Glo Mobile has been reported as having prefixes 68 and 9[89]. --> <nationalNumberPattern> (?: - 6[46-8]| + 6[146-8]| 9[03-9] )\d{6} </nationalNumberPattern> <possibleNumberPattern>\d{8}</possibleNumberPattern> <exampleNumber>90011234</exampleNumber> @@ -3061,13 +3064,17 @@ <mobile> <!-- Since 2012, Brazil has been migrating from 10 to 11 digits by inserting a 9 before the last 8 digits. The following pattern is divided into 3 sections: ranges for which the migration has been completed, ranges which are in transition, and ranges which are still in the old format. (Ranges which were supposed to have been deprecated in - Oct. 2013 are still working as of Jan. 2014.) --> + Oct. 2013 are still working as of Jan. 2014.) Note that mobile radio services are + still 10 digits, with the subscriber number (the last 8 digits) beginning with 7. --> <nationalNumberPattern> - 1[1-9]9\d{8}| + 1[1-9](?: + 7| + 9\d + )\d{7}| 2[12478]9?[6-9]\d{7}| (?: 3[1-578]| [4689][1-9]| 5[13-5]| @@ -3296,16 +3303,16 @@ </nationalNumberPattern> <possibleNumberPattern>\d{7}</possibleNumberPattern> <exampleNumber>2401234</exampleNumber> </fixedLine> <mobile> - <!-- 77[0146] has been added after numbers in use have been seen online. --> + <!-- 77[01467] has been added after numbers in use have been seen online. --> <nationalNumberPattern> 7(?: [1-35]\d{6}| [46][0-7]\d{5}| - 7[0146]\d{5} + 7[01467]\d{5} ) </nationalNumberPattern> <possibleNumberPattern>\d{8}</possibleNumberPattern> <exampleNumber>71123456</exampleNumber> </mobile> @@ -4090,26 +4097,33 @@ 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})" + <numberFormat pattern="(\d)(\d{4})(\d{4})" nationalPrefixFormattingRule="($FG)" carrierCodeFormattingRule="$CC ($FG)"> <leadingDigits>2</leadingDigits> <format>$1 $2 $3</format> </numberFormat> - <numberFormat pattern="(\d{2})(\d{2,3})(\d{4})" + <numberFormat pattern="(\d{2})(\d{3})(\d{4})" nationalPrefixFormattingRule="($FG)" carrierCodeFormattingRule="$CC ($FG)"> <leadingDigits> [357]| 4[1-35]| 6[13-57] </leadingDigits> <format>$1 $2 $3</format> </numberFormat> + <!-- 65 is the only remaining prefix using the old fixed-line format. --> + <numberFormat pattern="(\d{2})(\d{2})(\d{4})" + nationalPrefixFormattingRule="($FG)" + carrierCodeFormattingRule="$CC ($FG)"> + <leadingDigits>65</leadingDigits> + <format>$1 $2 $3</format> + </numberFormat> <numberFormat pattern="(9)([5-9]\d{3})(\d{4})"> <leadingDigits>9</leadingDigits> <format>$1 $2 $3</format> </numberFormat> <numberFormat pattern="(44)(\d{3})(\d{4})"> @@ -4156,38 +4170,30 @@ <nationalNumberPattern>600\d{7,8}</nationalNumberPattern> <possibleNumberPattern>\d{10,11}</possibleNumberPattern> <exampleNumber>6001234567</exampleNumber> </noInternationalDialling> <fixedLine> - <!-- Nov 2012: The prefixing of '2' to all fixed line numbers, which is being rolled - out between October 2012 and June 2013 means that temporarily the regular - expressions for areas will get very messy as some adopt the leading '2' but - others do not. Eventually when the conversion is complete things should simplify - again. Note that area codes 32 or 41 were transitioned in 2007. - IMPORTANT: A literal reading of the transition rules suggest that all numbers get - a '2' prefix, but some numbers are already 7 digits long (but these always start - with a '2'). The prefixing seems almost certain to only apply to 6-digit numbers and - will unify all fixed line numbers to be 9 digits in total. The fact that the new seven - digit numbers currently only start with a '2' is likely to change in the future. - Note also that at some stage it is likely that Santiago numbers (area code '2') will - have a prefix of "2\d" and not "22" (it's like 10 2-digit area codes wrapped into one). + <!-- 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 Feb. 2014, all of the prefixes have been switched over to the new plan, except + for 65 (which according to the schedule should have been switched over by July 2013). + IMPORTANT: The fact that Santiago numbers have a prefix of "22", and that numbers in + other areas have '2' as their third digit, is likely to change in the future. At some + stage, Santiago numbers will probably switch to prefix "2\d", and the third digit in + other areas will probably be allowed to take on other values. 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 --> <nationalNumberPattern> (?: - [23]2| - 41| - 58 + 22| + 3[2-5]| + [47][1-35]| + 5[1-3578]| + 6[1347] )\d{7}| - (?: - 3[3-5]| - 4[235]| - 5[1-357]| - 6[13-57]| - 7[1-35] - )\d{6,7} + 65\d{6,7} </nationalNumberPattern> <!-- Area codes do not need to be dialled when dialling within the same area, so the smallest possible number is length 6. --> <!-- Nov 2012: The prefixing of '2' to all 6-digit fixed line numbers means that while the maximum possible number length stays as 9, the minimum length will become '7' @@ -4800,17 +4806,17 @@ </fixedLine> <mobile> <nationalNumberPattern> 5(?: 0[0-4]| - 7[01] + 7[0-3] )\d{5}| 6(?: [0-2]\d| 30 )\d{5}| - 7[0-2]\d{6}| + 7[0-3]\d{6}| 8[3-9]\d{6} </nationalNumberPattern> <possibleNumberPattern>\d{8}</possibleNumberPattern> <exampleNumber>83123456</exampleNumber> </mobile> @@ -5473,10 +5479,12 @@ </fixedLine> <mobile> <!-- 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. + The ranges 15[056] have been removed from the ITU doc, but information found online + indicates that they may still be working. --> <nationalNumberPattern> 1(?: 5[0-2579]\d{8}| 6[023]\d{7,8}| @@ -5834,19 +5842,20 @@ </nationalNumberPattern> <exampleNumber>12345678</exampleNumber> </fixedLine> <mobile> <!-- Adding 65 and 78 from numbers found online. Also, prefix 670 is added since the carrier - Mobilis Algeria provided it, and 54 for Nedjma.--> + Mobilis Algeria provided it, and 54 for Nedjma. Prefixes 67[12] were also added for + Mobilis Algeria based on evidence found online. --> <nationalNumberPattern> (?: 5[4-6]| 7[7-9] )\d{7}| 6(?: [569]\d| - 70 + 7[0-2] )\d{6} </nationalNumberPattern> <possibleNumberPattern>\d{9}</possibleNumberPattern> <exampleNumber>551234567</exampleNumber> </mobile> @@ -6858,13 +6867,14 @@ <fixedLine> <nationalNumberPattern>[1-5]\d{8}</nationalNumberPattern> <exampleNumber>123456789</exampleNumber> </fixedLine> <mobile> + <!-- Prefixes 7[0-24] were added based on numbers found online. --> <nationalNumberPattern> 6\d{8}| - 7[5-9]\d{7} + 7[0-24-9]\d{7} </nationalNumberPattern> <exampleNumber>612345678</exampleNumber> </mobile> <tollFree> <nationalNumberPattern>80\d{7}</nationalNumberPattern> @@ -7554,11 +7564,14 @@ 0[3-79]| 1[04-9]| 20| 58 )| - 53[3-8] + 5(?: + 2[01]| + 3[3-8] + ) )\d{4} </nationalNumberPattern> <possibleNumberPattern>\d{10}</possibleNumberPattern> <exampleNumber>4734031234</exampleNumber> </mobile> @@ -9730,17 +9743,16 @@ 2[03-9]| 5[017-9]| 9[7-9] )| 6(?: - 0[027]| + 0[0-27]| 1[0-257-9]| 2[0-4]| 3[19]| 5[4589]| - [679]| - 8[0-589] + [6-9] )| 7(?: 0[2-9]| [1-79]| 8[1-9] @@ -10163,13 +10175,13 @@ updated 2012 - more updates at http://www.dot.gov.in/access-services/allotment-msc-codes. --> <mobile> <!-- 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 - land-line or mobile, since the ranges overlap. Extra prefixes added: 76[89]5, 8299, - 8309. New prefixes were also added based on the document provided from mobile carriers: - https://code.google.com/p/libphonenumber/issues/detail?id=260 --> + land-line or mobile, since the ranges overlap. Extra prefixes added: 7601, 768[567], + 7695, 8299, 8309. New prefixes were also added based on the document provided from + mobile carriers: https://code.google.com/p/libphonenumber/issues/detail?id=260 --> <nationalNumberPattern> (?: 7(?: 2(?: 0[04-9]| @@ -10195,17 +10207,16 @@ 2[03-9]| 5[017-9]| 9[7-9] )| 6(?: - 0[027]| + 0[0127]| 1[0-257-9]| 2[0-4]| 3[19]| 5[4589]| - [679]\d| - 8[0-589] + [6-9]\d )| 7(?: 0[2-9]| [1-79]\d| 8[1-9] @@ -11384,59 +11395,65 @@ </numberFormat> <numberFormat pattern="(\d{3})(\d{3})(\d{4})"> <leadingDigits>800</leadingDigits> <format>$1-$2-$3</format> </numberFormat> - <!-- National-only toll-free numbers (0077 and 0088) and VOIP numbers (0037) where the - leading "0" is considered the national prefix. --> - <numberFormat pattern="(\d{3})(\d{4})"> - <leadingDigits>077</leadingDigits> + <!-- National-only toll-free numbers (0037, 0066, 0077 and 0088). --> + <numberFormat nationalPrefixFormattingRule="$FG" pattern="(\d{4})(\d{4})"> + <leadingDigits>0077</leadingDigits> <format>$1-$2</format> + <intlFormat>NA</intlFormat> </numberFormat> - <numberFormat pattern="(\d{3})(\d{2})(\d{3,4})"> - <leadingDigits>077</leadingDigits> + <numberFormat nationalPrefixFormattingRule="$FG" pattern="(\d{4})(\d{2})(\d{3,4})"> + <leadingDigits>0077</leadingDigits> <format>$1-$2-$3</format> + <intlFormat>NA</intlFormat> </numberFormat> - <numberFormat pattern="(\d{3})(\d{2})(\d{4})"> - <leadingDigits>088</leadingDigits> + <numberFormat nationalPrefixFormattingRule="$FG" pattern="(\d{4})(\d{2})(\d{4})"> + <leadingDigits>0088</leadingDigits> <format>$1-$2-$3</format> + <intlFormat>NA</intlFormat> </numberFormat> - <numberFormat pattern="(\d{3})(\d{3})(\d{3,4})"> + <numberFormat nationalPrefixFormattingRule="$FG" pattern="(\d{4})(\d{3})(\d{3,4})"> <leadingDigits> - 0(?: - 37| - 66 + 00(?: + 37| + 66 ) </leadingDigits> <format>$1-$2-$3</format> + <intlFormat>NA</intlFormat> </numberFormat> - <numberFormat pattern="(\d{3})(\d{4})(\d{4,5})"> + <numberFormat nationalPrefixFormattingRule="$FG" pattern="(\d{4})(\d{4})(\d{4,5})"> <leadingDigits> - 0(?: - 37| - 66 + 00(?: + 37| + 66 ) </leadingDigits> <format>$1-$2-$3</format> + <intlFormat>NA</intlFormat> </numberFormat> - <numberFormat pattern="(\d{3})(\d{5})(\d{5,6})"> + <numberFormat nationalPrefixFormattingRule="$FG" pattern="(\d{4})(\d{5})(\d{5,6})"> <leadingDigits> - 0(?: - 37| - 66 + 00(?: + 37| + 66 ) </leadingDigits> <format>$1-$2-$3</format> + <intlFormat>NA</intlFormat> </numberFormat> - <numberFormat pattern="(\d{3})(\d{6})(\d{6,7})"> + <numberFormat nationalPrefixFormattingRule="$FG" pattern="(\d{4})(\d{6})(\d{6,7})"> <leadingDigits> - 0(?: - 37| - 66 + 00(?: + 37| + 66 ) </leadingDigits> <format>$1-$2-$3</format> + <intlFormat>NA</intlFormat> </numberFormat> <!-- Some leading digits are explicitly reserved for a particular purpose. We handle them first in this rule, and let the following rules ignore those exceptions. Note: The rule here is not in the files we rely on when creating the other rules. We would need to manually modify it if the Japanese goverment @@ -12201,34 +12218,33 @@ </numberFormat> </availableFormats> <generalDesc> <nationalNumberPattern> [1-9]\d{8,9}| - 0(?: - [36]\d{7,14}| - 7\d{5,7}| - 8\d{7} + 00(?: + [36]\d{7,14}| + 7\d{5,7}| + 8\d{7} ) </nationalNumberPattern> - <possibleNumberPattern>\d{7,16}</possibleNumberPattern> + <possibleNumberPattern>\d{8,17}</possibleNumberPattern> </generalDesc> <noInternationalDialling> <!-- Toll-free numbers with a leading "00" cannot be dialled internationally. --> <nationalNumberPattern> - 0(?: - 37\d{6,13}| - 66\d{6,13}| - 777(?: - [01]\d{2}| - 5\d{3}| - 8\d{4} - )| - 882[1245]\d{4} + 00(?: + 37\d{6,13}| + 66\d{6,13}| + 777(?: + [01]\d{2}| + 5\d{3}| + 8\d{4} + )| + 882[1245]\d{4} ) </nationalNumberPattern> - <possibleNumberPattern>\d{7,16}</possibleNumberPattern> - <exampleNumber>0777012</exampleNumber> + <exampleNumber>00777012</exampleNumber> </noInternationalDialling> <fixedLine> <nationalNumberPattern> (?: 1(?: @@ -12300,22 +12316,21 @@ length allowed by ITU and hence our library, so we only allow numbers up to 17 digits for now (including both leading 00s). --> <nationalNumberPattern> 120\d{6}| 800\d{7}| - 0(?: - 37\d{6,13}| - 66\d{6,13}| - 777(?: - [01]\d{2}| - 5\d{3}| - 8\d{4} - )| - 882[1245]\d{4} + 00(?: + 37\d{6,13}| + 66\d{6,13}| + 777(?: + [01]\d{2}| + 5\d{3}| + 8\d{4} + )| + 882[1245]\d{4} ) </nationalNumberPattern> - <possibleNumberPattern>\d{7,16}</possibleNumberPattern> <exampleNumber>120123456</exampleNumber> </tollFree> <premiumRate> <nationalNumberPattern>990\d{6}</nationalNumberPattern> <possibleNumberPattern>\d{9}</possibleNumberPattern> @@ -13099,17 +13114,15 @@ </nationalNumberPattern> <possibleNumberPattern>\d{7,8}</possibleNumberPattern> <exampleNumber>22345678</exampleNumber> </fixedLine> <mobile> - <!-- The mention of the mobile range 6933 0000 - 6969 9999 seems to be - a mistake in the ITU plan, and should be 6933 0000 - 6933 9999. --> <nationalNumberPattern> (?: 5(?: - 1[0-5]| - [05]\d + [05]\d| + 1[0-6] )| 6(?: 0[034679]| 5[015-9]| 6\d| @@ -14142,11 +14155,16 @@ )\d{1,7} </nationalNumberPattern> <exampleNumber>27123456</exampleNumber> </fixedLine> <mobile> - <nationalNumberPattern>6[269][18]\d{6}</nationalNumberPattern> + <nationalNumberPattern> + 6(?: + [269][18]| + 71 + )\d{6} + </nationalNumberPattern> <possibleNumberPattern>\d{9}</possibleNumberPattern> <exampleNumber>628123456</exampleNumber> </mobile> <tollFree> <nationalNumberPattern>800\d{5}</nationalNumberPattern> @@ -14503,11 +14521,11 @@ 7[1-6]| [089]\d )| 7(?: 67| - 7[47-9]| + 7[457-9]| [89]\d ) )\d{5} </nationalNumberPattern> <exampleNumber>65012345</exampleNumber> @@ -16477,11 +16495,11 @@ </numberFormat> <numberFormat pattern="(\d{3})(\d{3})(\d{3,4})"> <leadingDigits> 70| 8[01]| - 909 + 90[39] </leadingDigits> <format>$1 $2 $3</format> </numberFormat> <numberFormat pattern="([78]00)(\d{4})(\d{4,5})"> <leadingDigits>[78]00</leadingDigits> @@ -16536,11 +16554,11 @@ <mobile> <!-- More 81X prefixes have been added based on online numbers, including the prefix 817 from Etisalat, 814 MTN and 811 from Glo. Furthermore, the fixed-line prefixes owned by Starcomms have apparently, according to the company, been used for mobile numbers too, despite the ITU plan, so we list them here as well. 701 has been added for Airtel/Zain. - 9091 has been added for Etisalat. --> + 903 has been added for MTN and 909 has been added for Etisalat. --> <nationalNumberPattern> (?: 1(?: 7[34]\d| 8(?: @@ -16619,11 +16637,11 @@ )| 8(?: 0[2-9]| 1\d )\d| - 9091 + 90[39]\d )\d{6} </nationalNumberPattern> <possibleNumberPattern>\d{8,10}</possibleNumberPattern> <exampleNumber>8021234567</exampleNumber> </mobile> @@ -17064,11 +17082,11 @@ <numberFormat pattern="(\d{2})(\d{3})(\d{3})"> <leadingDigits>21</leadingDigits> <format>$1 $2 $3</format> </numberFormat> <!-- Paging numbers and some mobile numbers (Telecom/Vodafone/TelstraClear). --> - <numberFormat pattern="(\d{2})(\d{3})(\d{3,4})"> + <numberFormat pattern="(\d{2})(\d{3})(\d{3,5})"> <leadingDigits> 2(?: 1[1-9]| [69]| 7[0-35-9] @@ -17119,18 +17137,20 @@ </nationalNumberPattern> <possibleNumberPattern>\d{7,8}</possibleNumberPattern> <exampleNumber>32345678</exampleNumber> </fixedLine> <mobile> - <!-- Includes mobile radio service numbers (e.g. TeamTalk). --> + <!-- 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. --> <nationalNumberPattern> 2(?: [028]\d{7,8}| 1(?: - 0\d{5,7}| - [12]\d{5,6}| - [3-9]\d{5} + [03]\d{5,7}| + [12457]\d{5,6}| + [689]\d{5} )| [79]\d{7} ) </nationalNumberPattern> <possibleNumberPattern>\d{8,10}</possibleNumberPattern> @@ -17947,16 +17967,15 @@ <possibleNumberPattern>\d{6,10}</possibleNumberPattern> <exampleNumber>2123456789</exampleNumber> </fixedLine> <mobile> <!-- Adding 311, 325 and 320 as SMSs have been successfully sent to these numbers and numbers - can be found online with these prefixes. --> + can be found online with these prefixes. Added 310 based on information from Zong. --> <nationalNumberPattern> 3(?: 0\d| - 1[1-5]| - 2[0-5]| + [12][0-5]| [34][1-7]| 55| 64 )\d{7} </nationalNumberPattern> @@ -18067,11 +18086,11 @@ <!-- We are formatting 70 numbers as per mobile numbers, based on information from some Poles that this is more usual. --> <numberFormat pattern="(\d{3})(\d{3})(\d{3})"> <leadingDigits> 39| - 5[013]| + 5[0137]| 6[0469]| 7[02389]| 8[08] </leadingDigits> <format>$1 $2 $3</format> @@ -18116,11 +18135,11 @@ <exampleNumber>123456789</exampleNumber> </fixedLine> <mobile> <nationalNumberPattern> (?: - 5[013]| + 5[0137]| 6[069]| 7[2389]| 88 )\d{7} </nationalNumberPattern> @@ -20448,18 +20467,23 @@ <generalDesc> <nationalNumberPattern>[1-59]\d{7,8}</nationalNumberPattern> <possibleNumberPattern>\d{6,9}</possibleNumberPattern> </generalDesc> <fixedLine> + <!-- Numbers with the 21 prefix are made optionally 1-digit longer based on numbers found on + the Internet. --> <nationalNumberPattern> (?: 1(?: 1\d?| 4\d| [2356] )| - 2[1-35]| + 2(?: + 1\d?| + [235] + )| 3(?: [13]\d| 4 )| 4[13]| @@ -22041,11 +22065,11 @@ 4[2-7]\d{6} </nationalNumberPattern> <exampleNumber>21231234</exampleNumber> </fixedLine> <mobile> - <nationalNumberPattern>9[13-9]\d{6}</nationalNumberPattern> + <nationalNumberPattern>9[1-9]\d{6}</nationalNumberPattern> <possibleNumberPattern>\d{8}</possibleNumberPattern> <exampleNumber>94231234</exampleNumber> </mobile> <tollFree> <nationalNumberPattern>80[05]\d{4}</nationalNumberPattern> @@ -22944,11 +22968,11 @@ <possibleNumberPattern>\d{5,7}</possibleNumberPattern> </generalDesc> <fixedLine> <nationalNumberPattern> (?: - 2[2-9]\d| + 2[02-9]\d| 3(?: [5-7]\d| 8[0-8] )| 48[4-9]| @@ -23790,20 +23814,29 @@ <nationalNumberPattern>348[57]\d{7}</nationalNumberPattern> <possibleNumberPattern>\d{11}</possibleNumberPattern> </voicemail> </territory> - <!-- http://www.itu.int/oth/T02020000F3/en --> - <!-- http://www.republicwireless.com/world-wi-fi-number --> + <!-- http://www.itu.int/oth/T02020000F3/en (Voxbone) + http://www.itu.int/oth/T02020000FB/en (bandwidth.com) + http://www.itu.int/oth/T02020000FC/en (SipMe) --> <territory id="001" countryCode="883"> <availableFormats> <numberFormat pattern="(\d{3})(\d{3})(\d{3})"> + <leadingDigits>510</leadingDigits> <format>$1 $2 $3</format> </numberFormat> <numberFormat pattern="(\d{3})(\d{3})(\d{3})(\d{3})"> + <leadingDigits>510</leadingDigits> <format>$1 $2 $3 $4</format> </numberFormat> + <!-- When only 8 digits follow the "area code" formatting as XXXX XXXX + seems preferred (see Bandwidth.com and SipMe). --> + <numberFormat pattern="(\d{4})(\d{4})(\d{4})"> + <leadingDigits>51[13]</leadingDigits> + <format>$1 $2 $3</format> + </numberFormat> </availableFormats> <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> @@ -23820,10 +23853,10 @@ </mobile> <voip> <nationalNumberPattern> 51(?: 00\d{5}(?:\d{3})?| - 10\d{8} + [13]0\d{8} ) </nationalNumberPattern> </voip> </territory>