1515 @author: Shaopeng Jia
1616
1717 Metadata on Phone Number Plan and formatting rules
18- Note: Territories are in alphabetical order by their IDs, which are based on ISO 3166-1
19- two-letter country codes (or are set to "001" for non-geographical entities, which
18+ Note: Territories are in alphabetical order by their IDs, which are based on CLDR
19+ two-letter region codes (or are set to "001" for non-geographical entities, which
2020 represents "World" in the UN M.49 standard). The country names in the comments are the
21- official short names in English according to ISO 3166-1 .
21+ official short names in English according to CLDR .
2222
2323 For more information on what each element represents, see
2424 resources/phonemetadata.proto
28902890 0(?:
28912891 49|
28922892 5[23]|
2893+ 6[56]|
28932894 9[016-9]
28942895 )|
2895- [45]\d{2}
2896+ 4(?:
2897+ 4[569]|
2898+ 5[4-6]|
2899+ 6[56]|
2900+ 7[0179]
2901+ )|
2902+ 5(?:
2903+ [34]\d|
2904+ 50|
2905+ 6[56]
2906+ )
28962907 )\d{4}
28972908 </nationalNumberPattern>
28982909 <possibleLengths national="8"/>
28992910 <exampleNumber>20491234</exampleNumber>
29002911 </fixedLine>
29012912 <mobile>
2902- <!-- 550 range is assigned to Airtel as per a issue reported. -->
2913+ <!-- 550 range is assigned to Airtel as per a reported issue . -->
29032914 <nationalNumberPattern>
29042915 (?:
2905- 55[0-5]|
2906- 6(?:
2907- [0-689]\d|
2908- 7[0-5]
2909- )
2910- )\d{5}|
2911- 7\d{7}
2916+ 5[15]|
2917+ [67]\d
2918+ )\d{6}
29122919 </nationalNumberPattern>
29132920 <possibleLengths national="8"/>
29142921 <exampleNumber>70123456</exampleNumber>
70347041 <territory id="EE" countryCode="372" internationalPrefix="00" mobileNumberPortableRegion="true">
70357042 <references>
70367043 <sourceUrl>http://www.itu.int/oth/T0202000043/en</sourceUrl>
7037- <sourceUrl>http://www.tja.ee/public/Legislation_side/Numbering_/Estonian_NP_eng.htm </sourceUrl>
7044+ <sourceUrl>http://www.tja.ee/numbering/ </sourceUrl>
70387045 </references>
70397046 <availableFormats>
70407047 <numberFormat pattern="([3-79]\d{2})(\d{4})">
78357842 </references>
78367843 <availableFormats>
78377844 <numberFormat pattern="(\d{3})(\d{4})">
7838- <leadingDigits>[36 -9]</leadingDigits>
7845+ <leadingDigits>[35 -9]</leadingDigits>
78397846 <format>$1 $2</format>
78407847 </numberFormat>
78417848 <numberFormat pattern="(\d{4})(\d{3})(\d{4})">
78457852 </availableFormats>
78467853 <generalDesc>
78477854 <nationalNumberPattern>
7848- [36 -9]\d{6}|
7855+ [35 -9]\d{6}|
78497856 0\d{10}
78507857 </nationalNumberPattern>
78517858 <possibleNumberPattern>\d{7}(?:\d{4})?</possibleNumberPattern>
78667873 <exampleNumber>3212345</exampleNumber>
78677874 </fixedLine>
78687875 <mobile>
7869- <!-- Adding 7[5-8], 8 [03679], and 9[034678] from numbers found online and numbers where SMSs
7870- have been received from. Adding 9[15] and 84 from Vodafone Fiji IR21 . -->
7876+ <!-- Adding 8 [03679] and 9[034678] from numbers found online and numbers from which SMSs
7877+ have been received. -->
78717878 <nationalNumberPattern>
78727879 (?:
7873- 7[0-8 ]|
7874- 8[034679] |
7875- 9\d
7880+ 5[018 ]|
7881+ [79]\d |
7882+ 8[034679]
78767883 )\d{5}
78777884 </nationalNumberPattern>
78787885 <possibleNumberPattern>\d{7}</possibleNumberPattern>
83708377 3[0189]|
83718378 4[017]|
83728379 8[0-46-9]|
8373- 9[012 ]
8380+ 9[0-2 ]
83748381 )\d{7}|
83758382 1(?:
83768383 (?:
83778384 1(?:
83788385 3[0-48]|
83798386 [46][0-4]|
8380- 5[0126-9]|
8381- 7[0-49]|
8382- 8[01349]
8387+ 5[0-26-9]|
8388+ [78][0-49]
83838389 )|
83848390 21[0-7]|
83858391 31[0-8]|
8386- [459]1\d|
8387- 61[0-46-9]
8392+ [4-69]1\d
83888393 )
83898394 )\d{6}|
83908395 1(?:
83948399 3[3-79]|
83958400 4[1-689]|
83968401 [58][02-9]|
8397- 6[0-4789 ]|
8402+ 6[0-47-9 ]|
83988403 7[013-9]|
83998404 9\d
84008405 )|
84038408 [25][02-9]|
84048409 3[02-579]|
84058410 [468][0-46-9]|
8406- 7[1235679 ]|
8407- 9[24578 ]
8411+ 7[1-35-79 ]|
8412+ 9[2-578 ]
84088413 )|
84098414 4(?:
84108415 0[03-9]|
8411- [28][02-5789 ]|
8416+ [28][02-57-9 ]|
84128417 [37]\d|
84138418 4[02-69]|
84148419 5[0-8]|
84158420 [69][0-79]
84168421 )|
84178422 5(?:
8418- 0[1235 -9]|
8423+ 0[1-35 -9]|
84198424 2[024-9]|
84208425 3[015689]|
84218426 4[02-9]|
84228427 5[03-9]|
84238428 6\d|
84248429 7[0-35-9]|
84258430 8[0-468]|
8426- 9[0-5789 ]
8431+ 9[0-57-9 ]
84278432 )|
84288433 6(?:
84298434 0[034689]|
84388443 7(?:
84398444 0[0246-9]|
84408445 2\d|
8441- 3[023678 ]|
8446+ 3[0236-8 ]|
84428447 4[03-9]|
84438448 5[0-46-9]|
84448449 6[013-9]|
84488453 )|
84498454 8(?:
84508455 0[35-9]|
8451- 2[1-5789 ]|
8456+ 2[1-57-9 ]|
84528457 3[02-578]|
84538458 4[0-578]|
84548459 5[124-9]|
84608465 9(?:
84618466 0[02-589]|
84628467 2[02-689]|
8463- 3[1-5789 ]|
8468+ 3[1-57-9 ]|
84648469 4[2-9]|
84658470 5[0-579]|
8466- 6[234789 ]|
8467- 7[0124578 ]|
8471+ 6[2-47-9 ]|
8472+ 7[0-24578 ]|
84688473 8\d|
84698474 9[2-57]
84708475 )
84888493 )|
84898494 8(?:
84908495 2[2-8]|
8491- 7[0-4789 ]|
8496+ 7[0-47-9 ]|
84928497 8[345]
84938498 )
84948499 )
84988503 647[23]|
84998504 8(?:
85008505 47[04-9]|
8501- 64[015789 ]
8506+ 64[0157-9 ]
85028507 )
85038508 )|
85048509 4(?:
85958600 9561
85968601 )
85978602 )\d{3}|
8598- 176888[234678 ]\d{2}|
8603+ 176888[2-46-8 ]\d{2}|
85998604 16977[23]\d{3}
86008605 </nationalNumberPattern>
86018606 <possibleLengths national="9,10" localOnly="[4-8]"/>
1008210087 <exampleNumber>51234567</exampleNumber>
1008310088 </mobile>
1008410089 <pager>
10085- <nationalNumberPattern>7\d{7}</nationalNumberPattern>
10090+ <nationalNumberPattern>
10091+ 7(?:
10092+ 1[0-369]|
10093+ [23][0-37-9]|
10094+ 47|
10095+ 5[1578]|
10096+ 6[0235]|
10097+ 7[278]|
10098+ 8[236-9]|
10099+ 9[025-9]
10100+ )\d{5}
10101+ </nationalNumberPattern>
1008610102 <possibleNumberPattern>\d{8}</possibleNumberPattern>
1008710103 <possibleLengths national="8"/>
1008810104 <exampleNumber>71234567</exampleNumber>
1010510121 <exampleNumber>90012345678</exampleNumber>
1010610122 </premiumRate>
1010710123 <personalNumber>
10108- <nationalNumberPattern>8[1-3]\d{6}</nationalNumberPattern>
10124+ <nationalNumberPattern>
10125+ 8(?:
10126+ 1[1-4679]|
10127+ 2[0-367]|
10128+ 3[02-47]
10129+ )\d{5}
10130+ </nationalNumberPattern>
1010910131 <possibleNumberPattern>\d{8}</possibleNumberPattern>
1011010132 <possibleLengths national="8"/>
1011110133 <exampleNumber>81123456</exampleNumber>
@@ -10323,25 +10345,25 @@
1032310345 <possibleNumberPattern>\d{8}</possibleNumberPattern>
1032410346 </generalDesc>
1032510347 <fixedLine>
10326- <!-- The prefix 24 seems to be also used, based on online searches. -->
10348+ <!-- Digicel reported 281 and 29[149] belong to them, the more recent ITU doc 20.I.2017
10349+ agrees and classifies them as fixedLine so we follow that here. -->
1032710350 <nationalNumberPattern>
1032810351 2(?:
10329- [24]\d|
10330- 5[1-5]
10352+ 2\d|
10353+ 5[1-5]|
10354+ 81|
10355+ 9[149]
1033110356 )\d{5}
1033210357 </nationalNumberPattern>
1033310358 <possibleLengths national="8"/>
1033410359 <exampleNumber>22453300</exampleNumber>
1033510360 </fixedLine>
1033610361 <mobile>
10362+ <!-- 32, 33, 35 are kept even though they are not in the ITU doc because numbers found
10363+ online are working. -->
1033710364 <nationalNumberPattern>
1033810365 (?:
10339- 2(?:
10340- 81|
10341- 9\d
10342- )|
10343- 3[1-9]\d|
10344- 4\d{2}|
10366+ [34]\d{2}|
1034510367 9(?:
1034610368 8[0-35]|
1034710369 9[5-9]
1156411586 2[0-249]|
1156511587 3[0-25]|
1156611588 4[145]|
11567- [569 ][14]|
11589+ [59 ][14]|
1156811590 7[1257]|
11569- 8[1346]|
1157011591 [68][1-9]
1157111592 )|
1157211593 2(?:
1160811629 )|
1160911630 6(?:
1161011631 12|
11611- [2345 ]1|
11612- 57 |
11632+ [2-4 ]1|
11633+ 5[17] |
1161311634 6[13]|
1161411635 7[14]|
1161511636 80
1216612187 </tollFree>
1216712188 <premiumRate>
1216812189 <!-- Only televoting numbers are covered here for now. The 900 numbers are not covered
12169- because they overlap with mobile, and we haven't found any real numbers online. -->
12190+ because they overlap with mobile, and we haven't found any real numbers online.
12191+ 1863 424 Tele-voting (Different Charge Rate) numbers are not added as there are no
12192+ valid numbers online. -->
1217012193 <nationalNumberPattern>186[12]\d{9}</nationalNumberPattern>
1217112194 <possibleNumberPattern>\d{13}</possibleNumberPattern>
1217212195 <possibleLengths national="13"/>
1218212205 <exampleNumber>18603451234</exampleNumber>
1218312206 </sharedCost>
1218412207 <uan>
12185- <!-- Telemarketing numbers: http://en.wikipedia.org/wiki/Telephone_numbers_in_India -->
12208+ <!-- Telemarketing numbers: http://en.wikipedia.org/wiki/Telephone_numbers_in_India. 1869 -
12209+ long distance UAN numbers are not added here as there are no valid numbers online. -->
1218612210 <nationalNumberPattern>140\d{7}</nationalNumberPattern>
1218712211 <possibleNumberPattern>\d{10}</possibleNumberPattern>
1218812212 <possibleLengths national="10"/>
2135521379 <mobile>
2135621380 <!-- http://www.enigma-system.net/business/customized-phone-number.html confirms that the
2135721381 numbers are restricted to those starting with 07000. Mobile prefix 0799 added based on
21358- open-source report and confirmation by existence of such numbers online. -->
21382+ open-source report and confirmation by existence of such numbers online.
21383+ As per Ancom official doc, mobile numbers can also begin with 6. However, we didn't
21384+ find any numbers online with this prefix, and the wikipedia source doesn't mention it,
21385+ so we do not support it for now. -->
2135921386 <nationalNumberPattern>
2136021387 7(?:
2136121388 [0-8]\d{2}|
@@ -21379,17 +21406,13 @@
2137921406 <exampleNumber>900123456</exampleNumber>
2138021407 </premiumRate>
2138121408 <sharedCost>
21409+ <!-- 803\d{6} shared cost number pattern is not included as we couldn't find any working
21410+ numbers online. -->
2138221411 <nationalNumberPattern>801\d{6}</nationalNumberPattern>
2138321412 <possibleNumberPattern>\d{9}</possibleNumberPattern>
2138421413 <possibleLengths national="9"/>
2138521414 <exampleNumber>801123456</exampleNumber>
2138621415 </sharedCost>
21387- <personalNumber>
21388- <nationalNumberPattern>802\d{6}</nationalNumberPattern>
21389- <possibleNumberPattern>\d{9}</possibleNumberPattern>
21390- <possibleLengths national="9"/>
21391- <exampleNumber>802123456</exampleNumber>
21392- </personalNumber>
2139321416 <uan>
2139421417 <!-- http://www.ancom.org.ro/pnn_1300 refers to numbers beginning with 37, 38 or 39 as
2139521418 location-independent national numbers. Only numbers beginning with 37 have been seen so
0 commit comments