telephone_number 1.2.4 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (233) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -1
  3. data/data/geocoding/ar/82.txt +0 -0
  4. data/data/geocoding/ar/966.txt +0 -0
  5. data/data/geocoding/be/375.txt +0 -0
  6. data/data/geocoding/bg/359.txt +0 -0
  7. data/data/geocoding/bg/82.txt +0 -0
  8. data/data/geocoding/bs/387.txt +0 -0
  9. data/data/geocoding/ca/82.txt +0 -0
  10. data/data/geocoding/cs/82.txt +0 -0
  11. data/data/geocoding/de/32.txt +0 -0
  12. data/data/geocoding/de/352.txt +0 -0
  13. data/data/geocoding/de/41.txt +0 -0
  14. data/data/geocoding/de/43.txt +0 -0
  15. data/data/geocoding/de/49.txt +0 -0
  16. data/data/geocoding/el/30.txt +0 -0
  17. data/data/geocoding/el/82.txt +0 -0
  18. data/data/geocoding/en/1.dat +0 -0
  19. data/data/geocoding/en/1.txt +1 -0
  20. data/data/geocoding/en/20.txt +0 -0
  21. data/data/geocoding/en/212.txt +0 -0
  22. data/data/geocoding/en/213.txt +0 -0
  23. data/data/geocoding/en/216.txt +0 -0
  24. data/data/geocoding/en/218.txt +0 -0
  25. data/data/geocoding/en/220.txt +0 -0
  26. data/data/geocoding/en/221.txt +0 -0
  27. data/data/geocoding/en/222.txt +0 -0
  28. data/data/geocoding/en/223.txt +0 -0
  29. data/data/geocoding/en/224.txt +0 -0
  30. data/data/geocoding/en/225.txt +0 -0
  31. data/data/geocoding/en/226.txt +0 -0
  32. data/data/geocoding/en/227.txt +0 -0
  33. data/data/geocoding/en/228.txt +0 -0
  34. data/data/geocoding/en/229.txt +0 -0
  35. data/data/geocoding/en/230.txt +0 -0
  36. data/data/geocoding/en/232.txt +0 -0
  37. data/data/geocoding/en/233.txt +0 -0
  38. data/data/geocoding/en/234.txt +0 -0
  39. data/data/geocoding/en/237.txt +0 -0
  40. data/data/geocoding/en/238.txt +0 -0
  41. data/data/geocoding/en/239.txt +0 -0
  42. data/data/geocoding/en/240.txt +0 -0
  43. data/data/geocoding/en/241.txt +0 -0
  44. data/data/geocoding/en/242.txt +0 -0
  45. data/data/geocoding/en/243.txt +0 -0
  46. data/data/geocoding/en/244.txt +0 -0
  47. data/data/geocoding/en/245.txt +0 -0
  48. data/data/geocoding/en/247.txt +0 -0
  49. data/data/geocoding/en/249.txt +0 -0
  50. data/data/geocoding/en/251.txt +0 -0
  51. data/data/geocoding/en/252.txt +0 -0
  52. data/data/geocoding/en/254.txt +0 -0
  53. data/data/geocoding/en/255.txt +0 -0
  54. data/data/geocoding/en/256.txt +0 -0
  55. data/data/geocoding/en/257.txt +0 -0
  56. data/data/geocoding/en/258.txt +0 -0
  57. data/data/geocoding/en/260.txt +0 -0
  58. data/data/geocoding/en/261.txt +0 -0
  59. data/data/geocoding/en/263.txt +0 -0
  60. data/data/geocoding/en/264.txt +0 -0
  61. data/data/geocoding/en/266.txt +0 -0
  62. data/data/geocoding/en/267.txt +0 -0
  63. data/data/geocoding/en/268.dat +0 -0
  64. data/data/geocoding/en/268.txt +4 -4
  65. data/data/geocoding/en/269.txt +0 -0
  66. data/data/geocoding/en/27.txt +0 -0
  67. data/data/geocoding/en/290.txt +0 -0
  68. data/data/geocoding/en/299.txt +0 -0
  69. data/data/geocoding/en/30.txt +0 -0
  70. data/data/geocoding/en/31.txt +0 -0
  71. data/data/geocoding/en/32.txt +0 -0
  72. data/data/geocoding/en/33.txt +0 -0
  73. data/data/geocoding/en/34.txt +0 -0
  74. data/data/geocoding/en/351.txt +0 -0
  75. data/data/geocoding/en/352.txt +0 -0
  76. data/data/geocoding/en/353.txt +0 -0
  77. data/data/geocoding/en/354.txt +0 -0
  78. data/data/geocoding/en/355.txt +0 -0
  79. data/data/geocoding/en/358.txt +0 -0
  80. data/data/geocoding/en/359.txt +0 -0
  81. data/data/geocoding/en/36.txt +0 -0
  82. data/data/geocoding/en/370.txt +0 -0
  83. data/data/geocoding/en/371.txt +0 -0
  84. data/data/geocoding/en/372.txt +0 -0
  85. data/data/geocoding/en/373.txt +0 -0
  86. data/data/geocoding/en/374.txt +0 -0
  87. data/data/geocoding/en/375.txt +0 -0
  88. data/data/geocoding/en/380.txt +0 -0
  89. data/data/geocoding/en/381.txt +0 -0
  90. data/data/geocoding/en/383.txt +0 -0
  91. data/data/geocoding/en/387.txt +0 -0
  92. data/data/geocoding/en/389.txt +0 -0
  93. data/data/geocoding/en/39.txt +0 -0
  94. data/data/geocoding/en/40.txt +0 -0
  95. data/data/geocoding/en/41.txt +0 -0
  96. data/data/geocoding/en/420.txt +0 -0
  97. data/data/geocoding/en/421.txt +0 -0
  98. data/data/geocoding/en/43.txt +0 -0
  99. data/data/geocoding/en/44.txt +0 -0
  100. data/data/geocoding/en/46.txt +0 -0
  101. data/data/geocoding/en/47.txt +0 -0
  102. data/data/geocoding/en/48.txt +0 -0
  103. data/data/geocoding/en/49.txt +0 -0
  104. data/data/geocoding/en/501.txt +0 -0
  105. data/data/geocoding/en/504.txt +0 -0
  106. data/data/geocoding/en/51.txt +0 -0
  107. data/data/geocoding/en/52.txt +0 -0
  108. data/data/geocoding/en/53.txt +0 -0
  109. data/data/geocoding/en/54.txt +0 -0
  110. data/data/geocoding/en/55.txt +0 -0
  111. data/data/geocoding/en/56.txt +0 -0
  112. data/data/geocoding/en/57.txt +0 -0
  113. data/data/geocoding/en/58.txt +0 -0
  114. data/data/geocoding/en/592.txt +0 -0
  115. data/data/geocoding/en/599.txt +0 -0
  116. data/data/geocoding/en/61.txt +0 -0
  117. data/data/geocoding/en/62.txt +0 -0
  118. data/data/geocoding/en/64.txt +0 -0
  119. data/data/geocoding/en/66.txt +0 -0
  120. data/data/geocoding/en/675.txt +0 -0
  121. data/data/geocoding/en/680.txt +0 -0
  122. data/data/geocoding/en/686.txt +0 -0
  123. data/data/geocoding/en/688.txt +0 -0
  124. data/data/geocoding/en/7.txt +0 -0
  125. data/data/geocoding/en/81.txt +0 -0
  126. data/data/geocoding/en/82.txt +0 -0
  127. data/data/geocoding/en/84.txt +0 -0
  128. data/data/geocoding/en/86.txt +0 -0
  129. data/data/geocoding/en/886.txt +0 -0
  130. data/data/geocoding/en/90.txt +0 -0
  131. data/data/geocoding/en/91.txt +0 -0
  132. data/data/geocoding/en/93.txt +0 -0
  133. data/data/geocoding/en/94.txt +0 -0
  134. data/data/geocoding/en/95.txt +0 -0
  135. data/data/geocoding/en/960.txt +0 -0
  136. data/data/geocoding/en/962.txt +0 -0
  137. data/data/geocoding/en/966.txt +0 -0
  138. data/data/geocoding/en/968.txt +0 -0
  139. data/data/geocoding/en/972.txt +0 -0
  140. data/data/geocoding/en/975.txt +0 -0
  141. data/data/geocoding/en/976.txt +0 -0
  142. data/data/geocoding/en/98.txt +0 -0
  143. data/data/geocoding/en/992.txt +0 -0
  144. data/data/geocoding/en/994.txt +0 -0
  145. data/data/geocoding/es/228.txt +0 -0
  146. data/data/geocoding/es/230.txt +0 -0
  147. data/data/geocoding/es/34.txt +0 -0
  148. data/data/geocoding/es/52.txt +0 -0
  149. data/data/geocoding/es/54.txt +0 -0
  150. data/data/geocoding/es/56.txt +0 -0
  151. data/data/geocoding/es/57.txt +0 -0
  152. data/data/geocoding/es/58.txt +0 -0
  153. data/data/geocoding/es/82.txt +0 -0
  154. data/data/geocoding/fa/93.txt +0 -0
  155. data/data/geocoding/fa/98.txt +0 -0
  156. data/data/geocoding/fi/358.txt +0 -0
  157. data/data/geocoding/fi/82.txt +0 -0
  158. data/data/geocoding/fr/212.txt +0 -0
  159. data/data/geocoding/fr/222.txt +0 -0
  160. data/data/geocoding/fr/225.txt +0 -0
  161. data/data/geocoding/fr/228.txt +0 -0
  162. data/data/geocoding/fr/229.txt +0 -0
  163. data/data/geocoding/fr/230.txt +0 -0
  164. data/data/geocoding/fr/242.txt +0 -0
  165. data/data/geocoding/fr/243.txt +0 -0
  166. data/data/geocoding/fr/269.txt +0 -0
  167. data/data/geocoding/fr/290.txt +0 -0
  168. data/data/geocoding/fr/32.txt +0 -0
  169. data/data/geocoding/fr/33.txt +0 -0
  170. data/data/geocoding/fr/352.txt +0 -0
  171. data/data/geocoding/fr/41.txt +0 -0
  172. data/data/geocoding/fr/82.txt +0 -0
  173. data/data/geocoding/hi/82.txt +0 -0
  174. data/data/geocoding/hr/387.txt +0 -0
  175. data/data/geocoding/hu/36.txt +0 -0
  176. data/data/geocoding/hu/82.txt +0 -0
  177. data/data/geocoding/hy/374.txt +0 -0
  178. data/data/geocoding/id/62.txt +0 -0
  179. data/data/geocoding/it/39.txt +0 -0
  180. data/data/geocoding/it/41.txt +0 -0
  181. data/data/geocoding/iw/82.txt +0 -0
  182. data/data/geocoding/iw/972.txt +0 -0
  183. data/data/geocoding/ja/81.txt +0 -0
  184. data/data/geocoding/ja/82.txt +0 -0
  185. data/data/geocoding/ko/82.txt +0 -0
  186. data/data/geocoding/nl/31.txt +0 -0
  187. data/data/geocoding/nl/32.txt +0 -0
  188. data/data/geocoding/pl/48.txt +0 -0
  189. data/data/geocoding/pl/82.txt +0 -0
  190. data/data/geocoding/pt/238.txt +0 -0
  191. data/data/geocoding/pt/239.txt +0 -0
  192. data/data/geocoding/pt/244.txt +0 -0
  193. data/data/geocoding/pt/245.txt +0 -0
  194. data/data/geocoding/pt/258.txt +0 -0
  195. data/data/geocoding/pt/351.txt +0 -0
  196. data/data/geocoding/pt/55.txt +0 -0
  197. data/data/geocoding/pt/82.txt +0 -0
  198. data/data/geocoding/ro/373.txt +0 -0
  199. data/data/geocoding/ro/40.txt +0 -0
  200. data/data/geocoding/ro/82.txt +0 -0
  201. data/data/geocoding/ru/373.txt +0 -0
  202. data/data/geocoding/ru/374.txt +0 -0
  203. data/data/geocoding/ru/375.txt +0 -0
  204. data/data/geocoding/ru/7.txt +0 -0
  205. data/data/geocoding/ru/82.txt +0 -0
  206. data/data/geocoding/sl/82.txt +0 -0
  207. data/data/geocoding/sq/383.txt +0 -0
  208. data/data/geocoding/sr/381.txt +0 -0
  209. data/data/geocoding/sr/383.txt +0 -0
  210. data/data/geocoding/sr/387.txt +0 -0
  211. data/data/geocoding/sr/82.txt +0 -0
  212. data/data/geocoding/sv/358.txt +0 -0
  213. data/data/geocoding/sv/46.txt +0 -0
  214. data/data/geocoding/th/66.txt +0 -0
  215. data/data/geocoding/tr/82.txt +0 -0
  216. data/data/geocoding/tr/90.txt +0 -0
  217. data/data/geocoding/uk/82.txt +0 -0
  218. data/data/geocoding/vi/82.txt +0 -0
  219. data/data/geocoding/vi/84.txt +0 -0
  220. data/data/geocoding/zh/82.txt +0 -0
  221. data/data/geocoding/zh/86.txt +0 -0
  222. data/data/geocoding/zh/886.txt +0 -0
  223. data/data/geocoding/zh_Hant/82.txt +0 -0
  224. data/data/geocoding/zh_Hant/886.txt +0 -0
  225. data/data/telephone_number_data_file.dat +0 -0
  226. data/data/telephone_number_data_file.xml +437 -282
  227. data/data/timezones/README.md +0 -0
  228. data/data/timezones/map_data.dat +0 -0
  229. data/data/timezones/map_data.txt +662 -29
  230. data/lib/active_model/telephone_number_validator.rb +17 -3
  231. data/lib/telephone_number/formatter.rb +1 -1
  232. data/lib/telephone_number/version.rb +1 -1
  233. metadata +2 -2
@@ -297,11 +297,12 @@
297
297
  <mobile>
298
298
  <possibleLengths national="9"/>
299
299
  <exampleNumber>701234567</exampleNumber>
300
+ <!-- 731 range is supported based on user report. -->
300
301
  <nationalNumberPattern>
301
302
  7(?:
302
303
  [014-9]\d|
303
304
  2[89]|
304
- 30
305
+ 3[01]
305
306
  )\d{6}
306
307
  </nationalNumberPattern>
307
308
  </mobile>
@@ -336,7 +337,7 @@
336
337
  <possibleLengths national="10" localOnly="7"/>
337
338
  <exampleNumber>2684641234</exampleNumber>
338
339
  <!-- 268 776/778/779 are not in the plan, but have been added after numbers with these
339
- prefixes have been found in online searches. Same for 268 780/782/784/786. -->
340
+ prefixes have been found in online searches. Same for 268 782/784/786/789. -->
340
341
  <nationalNumberPattern>
341
342
  268(?:
342
343
  464|
@@ -345,8 +346,7 @@
345
346
  2\d|
346
347
  3[246]|
347
348
  64|
348
- 7[0-689]|
349
- 8[02-68]
349
+ [78][0-689]
350
350
  )
351
351
  )\d{4}
352
352
  </nationalNumberPattern>
@@ -648,7 +648,7 @@
648
648
  55|
649
649
  77|
650
650
  88|
651
- 9[1-9]
651
+ 9[13-9]
652
652
  )\d{6}
653
653
  </nationalNumberPattern>
654
654
  </mobile>
@@ -672,9 +672,12 @@
672
672
  <exampleNumber>60271234</exampleNumber>
673
673
  <nationalNumberPattern>
674
674
  60(?:
675
- 2[078]|
676
- [3-7]\d|
677
- 8[0-5]
675
+ 2[78]|
676
+ 3[5-9]|
677
+ 4[02-9]|
678
+ 5[0-46-9]|
679
+ [6-8]\d|
680
+ 90
678
681
  )\d{4}
679
682
  </nationalNumberPattern>
680
683
  </voip>
@@ -2291,7 +2294,7 @@
2291
2294
  <references>
2292
2295
  <sourceUrl>http://www.itu.int/oth/T0202000012/en</sourceUrl>
2293
2296
  <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Bangladesh</sourceUrl>
2294
- <sourceUrl>http://www.btrc.gov.bd/sites/default/files/national_numbering_plan_2005_0.pdf</sourceUrl>
2297
+ <sourceUrl>http://www.btrc.gov.bd/national-numbering-plan</sourceUrl>
2295
2298
  </references>
2296
2299
  <availableFormats>
2297
2300
  <numberFormat pattern="(2)(\d{7,8})">
@@ -2302,7 +2305,9 @@
2302
2305
  <leadingDigits>[3-79]1</leadingDigits>
2303
2306
  <format>$1-$2</format>
2304
2307
  </numberFormat>
2305
- <!-- Mobile numbers, VOIP, and four-digit fixed-line area codes. -->
2308
+ <!-- Mobile numbers, VOIP, and four-digit fixed-line area codes. We use the same format for
2309
+ all VOIP numbers as they are not consistent and these ranges are assigned at 4 digit
2310
+ granularity. -->
2306
2311
  <numberFormat pattern="(\d{4})(\d{3,6})">
2307
2312
  <leadingDigits>
2308
2313
  1|
@@ -2332,7 +2337,7 @@
2332
2337
  9(?:
2333
2338
  [02][23]|
2334
2339
  [458]2|
2335
- 6[016]
2340
+ 6[01367]
2336
2341
  )
2337
2342
  </leadingDigits>
2338
2343
  <format>$1-$2</format>
@@ -2689,9 +2694,11 @@
2689
2694
  <exampleNumber>9604123456</exampleNumber>
2690
2695
  <nationalNumberPattern>
2691
2696
  96(?:
2692
- 0[49]|
2697
+ 0[469]|
2693
2698
  1[0-4]|
2694
- 6[69]
2699
+ 3[389]|
2700
+ 6[69]|
2701
+ 7[78]
2695
2702
  )\d{6}
2696
2703
  </nationalNumberPattern>
2697
2704
  </voip>
@@ -2774,25 +2781,41 @@
2774
2781
  <tollFree>
2775
2782
  <possibleLengths national="8"/>
2776
2783
  <exampleNumber>80012345</exampleNumber>
2777
- <nationalNumberPattern>800\d{5}</nationalNumberPattern>
2784
+ <nationalNumberPattern>800[1-9]\d{4}</nationalNumberPattern>
2778
2785
  </tollFree>
2779
2786
  <premiumRate>
2780
2787
  <possibleLengths national="8"/>
2781
- <exampleNumber>90123456</exampleNumber>
2788
+ <exampleNumber>90012345</exampleNumber>
2782
2789
  <nationalNumberPattern>
2783
2790
  (?:
2784
- 70[2-467]|
2785
- 90[0-79]
2786
- )\d{5}
2791
+ 70(?:
2792
+ 2[0-57]|
2793
+ 3[0457]|
2794
+ 44|
2795
+ 69|
2796
+ 7[0579]
2797
+ )|
2798
+ 90(?:
2799
+ 0[0-35-8]|
2800
+ 1[36]|
2801
+ 2[0-3568]|
2802
+ 3[0135689]|
2803
+ 4[2-68]|
2804
+ 5[1-68]|
2805
+ 6[0-378]|
2806
+ 7[23568]|
2807
+ 9[34679]
2808
+ )
2809
+ )\d{4}
2787
2810
  </nationalNumberPattern>
2788
2811
  </premiumRate>
2789
2812
  <uan>
2790
2813
  <possibleLengths national="8"/>
2791
- <exampleNumber>78123456</exampleNumber>
2814
+ <exampleNumber>78102345</exampleNumber>
2792
2815
  <!-- Using this for National Rate Services, since
2793
2816
  http://www.voipgate.com/site/news/newsflash/new-numbers-available-the-netherlands-and-austria.html
2794
2817
  says it will be priced the same as any other national calls. -->
2795
- <nationalNumberPattern>78\d{6}</nationalNumberPattern>
2818
+ <nationalNumberPattern>78[0-7]\d{5}</nationalNumberPattern>
2796
2819
  </uan>
2797
2820
  </territory>
2798
2821
 
@@ -2800,7 +2823,7 @@
2800
2823
  <territory id="BF" countryCode="226" internationalPrefix="00">
2801
2824
  <references>
2802
2825
  <sourceUrl>http://www.itu.int/oth/T0202000021/en</sourceUrl>
2803
- <sourceUrl>http://www.onatel.bf/onatelsa/plandenumerotation_burkina.pdf</sourceUrl>
2826
+ <sourceUrl>http://www.onatel.bf/plan-national-de-numerotation.aspx</sourceUrl>
2804
2827
  </references>
2805
2828
  <availableFormats>
2806
2829
  <!-- The national numbering plan from ITU suggests grouping of 2, 2 and 4, but we have
@@ -2842,7 +2865,7 @@
2842
2865
  <exampleNumber>70123456</exampleNumber>
2843
2866
  <nationalNumberPattern>
2844
2867
  (?:
2845
- 5[15-8]|
2868
+ 5[124-8]|
2846
2869
  [67]\d
2847
2870
  )\d{6}
2848
2871
  </nationalNumberPattern>
@@ -3156,12 +3179,11 @@
3156
3179
  <exampleNumber>90011234</exampleNumber>
3157
3180
  <!-- We have restricted the pattern here to the first two digits, as beyond this the data
3158
3181
  seems to be no longer accurate. The latest ITU doc (2005) lists 9[0357] and lists
3159
- other 9x and the complete 6x range as reserved. The prefixes 9[46] have also been
3160
- added, along with 6[1267] (seemingly prefixes for Mobile MTN), and 6[3-5] for Moov.
3161
- Glo Mobile has been reported as having prefixes 68 and 9[89]. -->
3182
+ other 9x and the complete 6x range as reserved. The prefixes 96 have also been added,
3183
+ along with 6[1267] (seemingly prefixes for Mobile MTN). -->
3162
3184
  <nationalNumberPattern>
3163
3185
  (?:
3164
- 6[1-9]|
3186
+ 6\d|
3165
3187
  9[03-9]
3166
3188
  )\d{6}
3167
3189
  </nationalNumberPattern>
@@ -3517,19 +3539,25 @@
3517
3539
  the number after capturing. We also need a nationalTransformRule to repopulate with the
3518
3540
  number without the carrier code. -->
3519
3541
  <availableFormats>
3520
- <!-- First handle X00 and 4020, i.e. all phone numbers other than fixed-line or mobile; this
3521
- simplifies the fixed-line and mobile formatting patterns so they don't have to exclude
3522
- 4020 explicitly. -->
3542
+ <!-- First handle X00, 4020 and 4370, i.e. all phone numbers other than fixed-line or
3543
+ mobile; this simplifies the fixed-line and mobile formatting patterns so they don't
3544
+ have to exclude 4020 and 4370 explicitly. -->
3523
3545
  <numberFormat pattern="(\d{4})(\d{4})">
3524
3546
  <leadingDigits>
3525
3547
  300|
3526
- 40[02]
3548
+ 4(?:
3549
+ 0[02]|
3550
+ 37
3551
+ )
3527
3552
  </leadingDigits>
3528
3553
  <leadingDigits>
3529
3554
  300|
3530
- 40(?:
3531
- 0|
3532
- 20
3555
+ 4(?:
3556
+ 0(?:
3557
+ 0|
3558
+ 20
3559
+ )|
3560
+ 370
3533
3561
  )
3534
3562
  </leadingDigits>
3535
3563
  <format>$1-$2</format>
@@ -3635,13 +3663,24 @@
3635
3663
  <mobile>
3636
3664
  <possibleLengths national="10,11" localOnly="8"/>
3637
3665
  <exampleNumber>11961234567</exampleNumber>
3638
- <!-- Between 2012 and 2017, Brazil's mobile numbers migrated from 10 to 11 digits by
3639
- inserting a 9 before the last 8 digits. Mobile radio services are still 10 digits,
3640
- where the 3rd digit is 7. 52 is not added as an area code even though ITU mentions it,
3641
- since it is not yet assigned as per ANATEL and Wikipedia. 10-digit mobile numbers will
3642
- be removed shortly. According to ANATEL, 3x and 7x stopped receiving recorded messages
3643
- since January 2016, 6x stopped since September 2016, and 4x and 5x stopped since
3644
- February 2017. -->
3666
+ <!-- Between 2012 and 2017, Brazil's mobile numbers migrated from 10 to 11 digits long by
3667
+ inserting a 9 before the last 8 digits. Mobile radio services were not migrated and
3668
+ remain 10 digits long, where the 3rd digit is 7. 10-digit mobile numbers are slated to
3669
+ be removed from valid ranges below. According to ANATEL, dialling the mobile numbers
3670
+ in the old ranges during transition resulted in hearing recorded messages instructing
3671
+ users on how to dial the new numbers. As of February 2017, no such messages greet users
3672
+ and the old numbers simply don't connect. See
3673
+ http://www.anatel.gov.br/setorregulado/index.php/perguntas-frequentes?catid=1 FAQ
3674
+ "O que ocorrerá após o Dia D (dia que começará a mudança da numeração)?" and
3675
+ http://www.anatel.gov.br/setorregulado/index.php/nono-digito -->
3676
+ <!-- In this regular expression pattern, we have 2 blocks; the first block includes area
3677
+ codes which only have their post-transition ranges validated; the second block includes
3678
+ area codes where we validate both pre-and post-transition ranges. In the second block,
3679
+ pre-transition numbers have subscriber numbers of the form [6-9]\d{7}, while their
3680
+ corresponding post-transition numbers have subscriber numbers of the form 9[6-9]\d{7},
3681
+ and 9[0-5]\d{7} subscriber numbers are the newly available ranges after transition. -->
3682
+ <!-- 52 is not included as a valid area code even though ITU mentions it, since it is not
3683
+ assigned as per ANATEL and Wikipedia. -->
3645
3684
  <nationalNumberPattern>
3646
3685
  (?:
3647
3686
  [189][1-9]|
@@ -3656,8 +3695,8 @@
3656
3695
  5[13-5]|
3657
3696
  7[13-579]
3658
3697
  )(?:
3659
- [6-8]|
3660
- 9\d?
3698
+ [6-9]|
3699
+ 9\d
3661
3700
  )\d{7}
3662
3701
  </nationalNumberPattern>
3663
3702
  </mobile>
@@ -3679,14 +3718,18 @@
3679
3718
  <sharedCost>
3680
3719
  <possibleLengths national="8,10"/>
3681
3720
  <exampleNumber>40041234</exampleNumber>
3721
+ <!-- Supported 4370 as shared cost based on user report. -->
3682
3722
  <nationalNumberPattern>
3683
3723
  (?:
3684
3724
  300\d(?:
3685
3725
  \d{2}
3686
3726
  )?|
3687
- 40(?:
3688
- 0\d|
3689
- 20
3727
+ 4(?:
3728
+ 0(?:
3729
+ 0\d|
3730
+ 20
3731
+ )|
3732
+ 370
3690
3733
  )
3691
3734
  )\d{4}
3692
3735
  </nationalNumberPattern>
@@ -4277,7 +4320,7 @@
4277
4320
  </generalDesc>
4278
4321
  <fixedLine>
4279
4322
  <possibleLengths national="10" localOnly="7"/>
4280
- <exampleNumber>2042345678</exampleNumber>
4323
+ <exampleNumber>5062345678</exampleNumber>
4281
4324
  <nationalNumberPattern>
4282
4325
  (?:
4283
4326
  2(?:
@@ -4671,7 +4714,7 @@
4671
4714
  <nationalNumberPattern>
4672
4715
  80(?:
4673
4716
  0\d{2}|
4674
- 11[01]
4717
+ 11[0-4]
4675
4718
  )\d{4}
4676
4719
  </nationalNumberPattern>
4677
4720
  </premiumRate>
@@ -4814,10 +4857,10 @@
4814
4857
  <nationalNumberPattern>
4815
4858
  (?:
4816
4859
  0[1-9]|
4817
- 4\d|
4818
- 5[14-9]|
4819
- 6[015-79]|
4820
- [78][4-9]
4860
+ [45]\d|
4861
+ 6[014-9]|
4862
+ 7[124-9]|
4863
+ 8[4-9]
4821
4864
  )\d{6}
4822
4865
  </nationalNumberPattern>
4823
4866
  </mobile>
@@ -4855,25 +4898,13 @@
4855
4898
  </territory>
4856
4899
 
4857
4900
  <!-- Chile -->
4858
- <!-- Carriers listed here: http://www.turismochile.com/datos/carrier.php -->
4859
4901
  <!-- As per ITU doc, from 5 Sep 2016, fixed-mobile portability will apply in Chile. So same
4860
4902
  nationalNumberPatterns are maintained in both fixed-line and mobile categories. -->
4903
+ <!-- According to subtel.gob.cl as of August 2014, nationalPrefix(0) and carrier codes are not
4904
+ required to make a call between fixed-line and mobile in Chile. -->
4861
4905
  <territory id="CL" countryCode="56"
4862
4906
  internationalPrefix="(?:0|1(?:1[0-69]|2[0-57]|5[13-58]|69|7[0167]|8[018]))0"
4863
- nationalPrefix="0"
4864
- nationalPrefixForParsing="
4865
- 0|
4866
- (
4867
- 1(?:
4868
- 1[0-69]|
4869
- 2[0-57]|
4870
- 5[13-58]|
4871
- 69|
4872
- 7[0167]|
4873
- 8[018]
4874
- )
4875
- )"
4876
- nationalPrefixFormattingRule="$NP$FG" mobileNumberPortableRegion="true">
4907
+ mobileNumberPortableRegion="true">
4877
4908
  <references>
4878
4909
  <sourceUrl>http://www.itu.int/oth/T020200002A/en</sourceUrl>
4879
4910
  <sourceUrl>http://en.wikipedia.org/wiki/%2B56</sourceUrl>
@@ -4883,17 +4914,19 @@
4883
4914
  we strip here. National destinations may be dialled with a carrier if they are not local
4884
4915
  so we extract these carrier codes as well. -->
4885
4916
  <availableFormats>
4886
- <numberFormat pattern="(\d)(\d{4})(\d{4})" nationalPrefixFormattingRule="($FG)"
4887
- carrierCodeFormattingRule="$CC ($FG)">
4917
+ <numberFormat pattern="(\d)(\d{4})(\d{4})" nationalPrefixFormattingRule="($FG)">
4888
4918
  <leadingDigits>2[23]</leadingDigits>
4889
4919
  <format>$1 $2 $3</format>
4890
4920
  </numberFormat>
4891
- <numberFormat pattern="(\d{2})(\d{3})(\d{4})" nationalPrefixFormattingRule="($FG)"
4892
- carrierCodeFormattingRule="$CC ($FG)">
4921
+ <numberFormat pattern="(\d{2})(\d{3})(\d{4})" nationalPrefixFormattingRule="($FG)">
4893
4922
  <leadingDigits>
4894
4923
  [357]|
4895
4924
  4[1-35]|
4896
- 6[13-57]
4925
+ 6[13-57]|
4926
+ 8(?:
4927
+ 0[1-9]|
4928
+ [1-9]
4929
+ )
4897
4930
  </leadingDigits>
4898
4931
  <format>$1 $2 $3</format>
4899
4932
  </numberFormat>
@@ -4905,21 +4938,20 @@
4905
4938
  <leadingDigits>44</leadingDigits>
4906
4939
  <format>$1 $2 $3</format>
4907
4940
  </numberFormat>
4908
- <numberFormat pattern="([68]00)(\d{3})(\d{3,4})" nationalPrefixFormattingRule="$FG">
4941
+ <numberFormat pattern="([68]00)(\d{3})(\d{3,4})">
4909
4942
  <leadingDigits>[68]00</leadingDigits>
4910
4943
  <format>$1 $2 $3</format>
4911
4944
  </numberFormat>
4912
- <numberFormat pattern="(600)(\d{3})(\d{2})(\d{3})" nationalPrefixFormattingRule="$FG">
4945
+ <numberFormat pattern="(600)(\d{3})(\d{2})(\d{3})">
4913
4946
  <leadingDigits>600</leadingDigits>
4914
4947
  <format>$1 $2 $3 $4</format>
4915
4948
  </numberFormat>
4916
- <numberFormat pattern="(1230)(\d{3})(\d{4})" nationalPrefixFormattingRule="$FG">
4949
+ <numberFormat pattern="(1230)(\d{3})(\d{4})">
4917
4950
  <leadingDigits>123</leadingDigits>
4918
4951
  <leadingDigits>1230</leadingDigits>
4919
4952
  <format>$1 $2 $3</format>
4920
4953
  </numberFormat>
4921
- <numberFormat pattern="(\d{5})(\d{4})" nationalPrefixFormattingRule="($FG)"
4922
- carrierCodeFormattingRule="$CC ($FG)">
4954
+ <numberFormat pattern="(\d{5})(\d{4})" nationalPrefixFormattingRule="($FG)">
4923
4955
  <leadingDigits>219</leadingDigits>
4924
4956
  <format>$1 $2</format>
4925
4957
  </numberFormat>
@@ -4945,8 +4977,10 @@
4945
4977
  </noInternationalDialling>
4946
4978
  <!-- Area codes do not need to be dialled when dialling within the same area, so the
4947
4979
  smallest possible number is length 7. -->
4980
+ <!-- Local-only calls are no longer valid and it is mandated to use area codes while calling
4981
+ between different regions. -->
4948
4982
  <fixedLine>
4949
- <possibleLengths national="9" localOnly="7,8"/>
4983
+ <possibleLengths national="9"/>
4950
4984
  <exampleNumber>221234567</exampleNumber>
4951
4985
  <!-- In mid-2013, Chile switched from 8 digits to 9 digits for fixed-line numbers, by
4952
4986
  inserting a '2' after the area code (which are 2 digits, with the exception of '2').
@@ -4964,17 +4998,21 @@
4964
4998
  32[0-467]\d{5}
4965
4999
  )|
4966
5000
  (?:
4967
- 3[2-5]|
4968
- [47][1-35]|
4969
- 5[1-3578]|
4970
- 6[13-57]|
4971
- 9[3-9]
4972
- )\d{7}
5001
+ 3[2-5]\d|
5002
+ [47][1-35]\d|
5003
+ 5[1-3578]\d|
5004
+ 6[13-57]\d|
5005
+ 8(?:
5006
+ 0[1-9]|
5007
+ [1-9]\d
5008
+ )|
5009
+ 9[3-9]\d
5010
+ )\d{6}
4973
5011
  </nationalNumberPattern>
4974
5012
  </fixedLine>
4975
5013
  <!-- Supported 93 mobile range as per issue reported. -->
4976
5014
  <mobile>
4977
- <possibleLengths national="9" localOnly="8"/>
5015
+ <possibleLengths national="9"/>
4978
5016
  <exampleNumber>961234567</exampleNumber>
4979
5017
  <nationalNumberPattern>
4980
5018
  2(?:
@@ -4983,12 +5021,16 @@
4983
5021
  32[0-467]\d{5}
4984
5022
  )|
4985
5023
  (?:
4986
- 3[2-5]|
4987
- [47][1-35]|
4988
- 5[1-3578]|
4989
- 6[13-57]|
4990
- 9[3-9]
4991
- )\d{7}
5024
+ 3[2-5]\d|
5025
+ [47][1-35]\d|
5026
+ 5[1-3578]\d|
5027
+ 6[13-57]\d|
5028
+ 8(?:
5029
+ 0[1-9]|
5030
+ [1-9]\d
5031
+ )|
5032
+ 9[3-9]\d
5033
+ )\d{6}
4992
5034
  </nationalNumberPattern>
4993
5035
  </mobile>
4994
5036
  <!-- Toll free patterns have been collected by looking at numbers on the internet, rather than
@@ -5070,10 +5112,10 @@
5070
5112
 
5071
5113
  <!-- China -->
5072
5114
  <!-- The international/national prefix patterns must not collide with valid prefixes such
5073
- as 170, 176, 177 and 178. 179XX00 is a valid calling prefix, see: www.chahaoba.com/179 -->
5115
+ as 17[0678] and 19[89]. 179XX00 is a valid calling prefix, see: www.chahaoba.com/179 -->
5074
5116
  <territory id="CN" countryCode="86" preferredInternationalPrefix="00"
5075
- internationalPrefix="(1(?:[129]\d{3}|79\d{2}))?00" nationalPrefix="0"
5076
- nationalPrefixForParsing="(1(?:[129]\d{3}|79\d{2}))|0">
5117
+ internationalPrefix="(?:1(?:[12]\d{3}|79\d{2}|9[0-7]\d{2}))?00" nationalPrefix="0"
5118
+ nationalPrefixForParsing="(1(?:[12]\d{3}|79\d{2}|9[0-7]\d{2}))|0">
5077
5119
  <references>
5078
5120
  <sourceUrl>http://www.itu.int/oth/T020200002B/en</sourceUrl>
5079
5121
  </references>
@@ -6212,7 +6254,8 @@
6212
6254
  </leadingDigits>
6213
6255
  <format>$1 $2</format>
6214
6256
  </numberFormat>
6215
- <!-- The order of the rules on 3-5 digits area code matter as fallback is used here. -->
6257
+ <!-- The order of the rules on 3-5 digits area code matter as fallback is used here. And
6258
+ also to reduce the switching of formats during AYTF. -->
6216
6259
  <!-- 3 digit area codes. -->
6217
6260
  <numberFormat pattern="(\d{3})(\d{3,11})">
6218
6261
  <leadingDigits>
@@ -6233,6 +6276,29 @@
6233
6276
  [1-9]1
6234
6277
  )
6235
6278
  </leadingDigits>
6279
+ <!-- The second leading digits is to avoid overlappings with four or five digit area code
6280
+ formats. -->
6281
+ <leadingDigits>
6282
+ 2(?:
6283
+ 0[1-389]|
6284
+ 1(?:
6285
+ [14]|
6286
+ 2[0-8]
6287
+ )|
6288
+ 2[18]|
6289
+ 3[14]|
6290
+ [4-9]1
6291
+ )|
6292
+ 3(?:
6293
+ [35-9][15]|
6294
+ 4[015]
6295
+ )|
6296
+ [4-8][1-9]1|
6297
+ 9(?:
6298
+ 06|
6299
+ [1-9]1
6300
+ )
6301
+ </leadingDigits>
6236
6302
  <format>$1 $2</format>
6237
6303
  </numberFormat>
6238
6304
  <!-- 4 digit area codes. -->
@@ -6280,7 +6346,7 @@
6280
6346
  8[13568]
6281
6347
  )|
6282
6348
  6(?:
6283
- 0[356]|
6349
+ 0[1356]|
6284
6350
  2[1-489]|
6285
6351
  3[124-6]|
6286
6352
  4[1347]|
@@ -6958,7 +7024,7 @@
6958
7024
  nationalPrefixFormattingRule="($NP$FG)" mobileNumberPortableRegion="true">
6959
7025
  <references>
6960
7026
  <sourceUrl>http://en.wikipedia.org/wiki/+593</sourceUrl>
6961
- <sourceUrl>http://www.conatel.gob.ec/site_conatel/index.php?option=com_content&amp;view=category&amp;layout=blog&amp;id=52&amp;Itemid=153</sourceUrl>
7027
+ <sourceUrl>http://www.arcotel.gob.ec/plan-tecnico-fundamental-de-numeracion-series-numericas/</sourceUrl>
6962
7028
  <sourceUrl>http://www.itu.int/oth/T020200003D/en</sourceUrl>
6963
7029
  </references>
6964
7030
  <availableFormats>
@@ -7004,17 +7070,12 @@
7004
7070
  [45][89]|
7005
7071
  7[7-9]|
7006
7072
  [89]\d
7007
- )\d{2}|
7073
+ )\d|
7008
7074
  6(?:
7009
- [017-9]\d{2}|
7010
- 2(?:
7011
- [0-47-9]\d|
7012
- 5[1-9]|
7013
- 60
7014
- )|
7015
- 30\d
7075
+ [0-27-9]\d|
7076
+ 30
7016
7077
  )
7017
- )\d{4}
7078
+ )\d{5}
7018
7079
  </nationalNumberPattern>
7019
7080
  </mobile>
7020
7081
  <tollFree>
@@ -7303,7 +7364,7 @@
7303
7364
  7(?:
7304
7365
  0[067]|
7305
7366
  6[1267]|
7306
- 7[07]
7367
+ 7[017]
7307
7368
  )
7308
7369
  )\d{6}
7309
7370
  </nationalNumberPattern>
@@ -7999,7 +8060,7 @@
7999
8060
  <premiumRate>
8000
8061
  <possibleLengths national="9"/>
8001
8062
  <exampleNumber>891123456</exampleNumber>
8002
- <nationalNumberPattern>89[1-37-9]\d{6}</nationalNumberPattern>
8063
+ <nationalNumberPattern>89[1-357-9]\d{6}</nationalNumberPattern>
8003
8064
  </premiumRate>
8004
8065
  <sharedCost>
8005
8066
  <possibleLengths national="9"/>
@@ -8711,14 +8772,17 @@
8711
8772
  <leadingDigits>[348]</leadingDigits>
8712
8773
  <format>$1 $2 $3 $4</format>
8713
8774
  </numberFormat>
8775
+ <numberFormat pattern="(\d{3})(\d{2})(\d{2})(\d{2})">
8776
+ <leadingDigits>
8777
+ 5|
8778
+ 790
8779
+ </leadingDigits>
8780
+ <format>$1 $2 $3 $4</format>
8781
+ </numberFormat>
8714
8782
  <numberFormat pattern="(\d{3})(\d{3})(\d{3})" nationalPrefixFormattingRule="$NP$FG">
8715
8783
  <leadingDigits>7</leadingDigits>
8716
8784
  <format>$1 $2 $3</format>
8717
8785
  </numberFormat>
8718
- <numberFormat pattern="(\d{3})(\d{2})(\d{2})(\d{2})">
8719
- <leadingDigits>5</leadingDigits>
8720
- <format>$1 $2 $3 $4</format>
8721
- </numberFormat>
8722
8786
  </availableFormats>
8723
8787
  <generalDesc>
8724
8788
  <nationalNumberPattern>[34578]\d{8}</nationalNumberPattern>
@@ -8754,16 +8818,18 @@
8754
8818
  <mobile>
8755
8819
  <possibleLengths national="9"/>
8756
8820
  <exampleNumber>555123456</exampleNumber>
8757
- <!-- The ITU document says 790 instead of 590, but this contradicts their press release
8758
- about the change in numbers, and online numbers found. 54444 is the only assigned range
8759
- we have found, but we support all of 544 to keep the regex simple. -->
8821
+ <!-- 54444 is the only assigned range we have found, but we support all of 544 to keep the
8822
+ regex simple. -->
8760
8823
  <nationalNumberPattern>
8761
- 5(?:
8762
- [14]4|
8763
- 5[0157-9]|
8764
- 68|
8765
- 7[0147-9]|
8766
- 9[0-35-9]
8824
+ (?:
8825
+ 5(?:
8826
+ [14]4|
8827
+ 5[0157-9]|
8828
+ 68|
8829
+ 7[0147-9]|
8830
+ 9[1-35-9]
8831
+ )|
8832
+ 790
8767
8833
  )\d{6}
8768
8834
  </nationalNumberPattern>
8769
8835
  </mobile>
@@ -9240,12 +9306,12 @@
9240
9306
  <sourceUrl>https://extranet.arcep.fr/portail/Op%C3%A9rateursCE/Num%C3%A9rotation.aspx</sourceUrl>
9241
9307
  </references>
9242
9308
  <availableFormats>
9243
- <numberFormat pattern="([56]\d{2})(\d{2})(\d{4})">
9309
+ <numberFormat pattern="([56]\d{2})(\d{2})(\d{2})(\d{2})">
9244
9310
  <leadingDigits>
9245
9311
  590|
9246
9312
  69[01]
9247
9313
  </leadingDigits>
9248
- <format>$1 $2-$3</format>
9314
+ <format>$1 $2 $3 $4</format>
9249
9315
  </numberFormat>
9250
9316
  </availableFormats>
9251
9317
  <generalDesc>
@@ -9905,18 +9971,51 @@
9905
9971
  </mobile>
9906
9972
  <pager>
9907
9973
  <possibleLengths national="8"/>
9908
- <exampleNumber>71234567</exampleNumber>
9974
+ <exampleNumber>71123456</exampleNumber>
9909
9975
  <nationalNumberPattern>
9910
9976
  7(?:
9911
- 1[0-369]|
9912
- [23][0-37-9]|
9913
- 47|
9914
- 5[1578]|
9915
- 6[0235]|
9916
- 7[278]|
9917
- 8[236-9]|
9918
- 9[025-9]
9919
- )\d{5}
9977
+ 1(?:
9978
+ 0[0-38]|
9979
+ 1[0-3679]|
9980
+ 3[013]|
9981
+ 69|
9982
+ 9[136]
9983
+ )|
9984
+ 2(?:
9985
+ [02389]\d|
9986
+ 1[18]|
9987
+ 7[27-9]
9988
+ )|
9989
+ 3(?:
9990
+ [0-38]\d|
9991
+ 7[0-369]|
9992
+ 9[2357-9]
9993
+ )|
9994
+ 47\d|
9995
+ 5(?:
9996
+ [178]\d|
9997
+ 5[0-5]
9998
+ )|
9999
+ 6(?:
10000
+ 0[0-7]|
10001
+ 2[236-9]|
10002
+ [35]\d
10003
+ )|
10004
+ 7(?:
10005
+ [27]\d|
10006
+ 8[7-9]
10007
+ )|
10008
+ 8(?:
10009
+ [23689]\d|
10010
+ 7[1-9]
10011
+ )|
10012
+ 9(?:
10013
+ [025]\d|
10014
+ 6[0-246-8]|
10015
+ 7[0-36-9]|
10016
+ 8[238]
10017
+ )
10018
+ )\d{4}
9920
10019
  </nationalNumberPattern>
9921
10020
  </pager>
9922
10021
  <tollFree>
@@ -9939,10 +10038,17 @@
9939
10038
  <exampleNumber>81123456</exampleNumber>
9940
10039
  <nationalNumberPattern>
9941
10040
  8(?:
9942
- 1[0-4679]|
9943
- 2[0-367]|
9944
- 3[02-47]
9945
- )\d{5}
10041
+ 1[0-4679]\d|
10042
+ 2(?:
10043
+ [0-36]\d|
10044
+ 7[0-4]
10045
+ )|
10046
+ 3(?:
10047
+ [034]\d|
10048
+ 2[09]|
10049
+ 70
10050
+ )
10051
+ )\d{4}
9946
10052
  </nationalNumberPattern>
9947
10053
  </personalNumber>
9948
10054
  <uan>
@@ -11041,6 +11147,7 @@
11041
11147
  <sourceUrl>http://en.wikipedia.org/wiki/%2B91</sourceUrl>
11042
11148
  <sourceUrl>http://www.bsnl.co.in</sourceUrl>
11043
11149
  <sourceUrl>http://dq.ndc.bsnl.co.in/bsnl-web/stdSearch.seam</sourceUrl>
11150
+ <sourceUrl>http://www.dot.gov.in/access-services/allotment-msc-codes</sourceUrl>
11044
11151
  </references>
11045
11152
  <availableFormats>
11046
11153
  <!-- 8-digit short numbers. Leading digits are more granular to ensure that fixed-line
@@ -11055,10 +11162,11 @@
11055
11162
  <numberFormat pattern="(\d{5})(\d{5})">
11056
11163
  <leadingDigits>
11057
11164
  6(?:
11058
- [09]0|
11165
+ 00|
11059
11166
  12|
11060
11167
  2[03689]|
11061
- 3[05-9]
11168
+ 3[05-9]|
11169
+ 9[01]
11062
11170
  )|
11063
11171
  7(?:
11064
11172
  [02-8]|
@@ -11073,23 +11181,24 @@
11073
11181
  </leadingDigits>
11074
11182
  <leadingDigits>
11075
11183
  6(?:
11076
- [09]0|
11184
+ 00|
11077
11185
  127|
11078
11186
  2(?:
11079
- 0[01]|
11080
- 39|
11081
- 6[02]|
11082
- 8[0-2]|
11083
- 9[04]
11187
+ 0[0134]|
11188
+ 3[589]|
11189
+ 6[0-39]|
11190
+ 8[0-3]|
11191
+ 9[0-46]
11084
11192
  )|
11085
11193
  3(?:
11086
- 0[01]|
11087
- 5[0-2]|
11088
- 60|
11089
- 7[05]|
11090
- 81|
11091
- 9[02-5]
11092
- )
11194
+ 0[0-39]|
11195
+ 5[0-46-9]|
11196
+ 6[0-2]|
11197
+ 7[0156]|
11198
+ 8[1-3569]|
11199
+ 9[0-79]
11200
+ )|
11201
+ 9[01]
11093
11202
  )|
11094
11203
  7(?:
11095
11204
  [07]|
@@ -11165,23 +11274,24 @@
11165
11274
  </leadingDigits>
11166
11275
  <leadingDigits>
11167
11276
  6(?:
11168
- [09]0|
11277
+ 00|
11169
11278
  1279|
11170
11279
  2(?:
11171
- 0[01]|
11172
- 39|
11173
- 6[02]|
11174
- 8[0-2]|
11175
- 9[04]
11280
+ 0[0134]|
11281
+ 3[589]|
11282
+ 6[0-39]|
11283
+ 8[0-3]|
11284
+ 9[0-46]
11176
11285
  )|
11177
11286
  3(?:
11178
- 0[01]|
11179
- 5[0-2]|
11180
- 60|
11181
- 7[05]|
11182
- 81|
11183
- 9[02-5]
11184
- )
11287
+ 0[0-39]|
11288
+ 5[0-46-9]|
11289
+ 6[0-2]|
11290
+ 7[0156]|
11291
+ 8[1-3569]|
11292
+ 9[0-79]
11293
+ )|
11294
+ 9[01]
11185
11295
  )|
11186
11296
  7(?:
11187
11297
  0|
@@ -11198,7 +11308,7 @@
11198
11308
  [05-8]|
11199
11309
  1(?:
11200
11310
  [0189]|
11201
- 7[5-9]
11311
+ 7[024-9]
11202
11312
  )|
11203
11313
  2(?:
11204
11314
  [0-49][089]|
@@ -11315,7 +11425,7 @@
11315
11425
  [03-57-9]|
11316
11426
  [16](?:
11317
11427
  [089]|
11318
- 7[02-7]
11428
+ 7[02-8]
11319
11429
  )|
11320
11430
  2(?:
11321
11431
  [09]|
@@ -11716,33 +11826,33 @@
11716
11826
  numbers. It seems almost impossible to know for some of these numbers whether they are
11717
11827
  land-line or mobile, since the ranges overlap. We go to a maximum depth of five where
11718
11828
  necessary to distinguish between mobile and fixed-line numbers. Extra prefixes added:
11719
- 7601, 768[56][1-7] and 7695. New prefixes were also added based on the document
11720
- provided from mobile carriers: https://github.com/googlei18n/libphonenumber/issues/260
11829
+ 6391, 7317[24], 7601, 768[56][1-7], 7695, 83178 and 83678. New prefixes were also added
11830
+ based on the document provided from mobile carriers: https://github.com/googlei18n/libphonenumber/issues/260
11721
11831
  and https://github.com/googlei18n/libphonenumber/pull/692/ -->
11722
11832
  <nationalNumberPattern>
11723
11833
  (?:
11724
11834
  6(?:
11725
- 00[0-3]\d|
11835
+ 00[0-35]\d|
11726
11836
  1279|
11727
11837
  2(?:
11728
- 0[0-2]|
11729
- 39|
11730
- 6[02]|
11731
- 8[0-2]|
11732
- 9[045]
11838
+ 0[0-4]|
11839
+ 3[589]|
11840
+ 6[0-39]|
11841
+ 8[0-3]|
11842
+ 9[0-6]
11733
11843
  )\d|
11734
11844
  3(?:
11735
- 0[01]\d|
11845
+ 0[0-39]\d|
11736
11846
  5(?:
11737
11847
  0[0-6]|
11738
- [12]\d
11848
+ [1-46-9]\d
11739
11849
  )|
11740
- 60\d|
11741
- 7[05]\d|
11742
- 8[01]\d|
11743
- 9[023-5]\d
11850
+ 6[0-2]\d|
11851
+ 7[0156]\d|
11852
+ 8[0-3569]\d|
11853
+ 9[0-79]\d
11744
11854
  )|
11745
- 900\d
11855
+ 90[01]\d
11746
11856
  )|
11747
11857
  7(?:
11748
11858
  0\d{3}|
@@ -11760,7 +11870,7 @@
11760
11870
  1(?:
11761
11871
  [089]\d|
11762
11872
  11|
11763
- 7[5-8]
11873
+ 7[024-8]
11764
11874
  )|
11765
11875
  2(?:
11766
11876
  [0-49][089]|
@@ -11912,7 +12022,7 @@
11912
12022
  [0357-9]\d{2}|
11913
12023
  1(?:
11914
12024
  [089]\d|
11915
- 7[02-7]
12025
+ 7[02-8]
11916
12026
  )|
11917
12027
  2(?:
11918
12028
  [09]\d|
@@ -11922,7 +12032,7 @@
11922
12032
  4\d{2}|
11923
12033
  6(?:
11924
12034
  [089]\d|
11925
- 7[02-7]
12035
+ 7[02-8]
11926
12036
  )
11927
12037
  )|
11928
12038
  [45]\d{3}|
@@ -12210,7 +12320,10 @@
12210
12320
  11[0-7]|
12211
12321
  2\d{2}|
12212
12322
  30[01]|
12213
- 440
12323
+ 4(?:
12324
+ 11|
12325
+ 40
12326
+ )
12214
12327
  )\d{5}
12215
12328
  </nationalNumberPattern>
12216
12329
  </fixedLine>
@@ -12228,7 +12341,10 @@
12228
12341
  9(?:
12229
12342
  [01]\d{2}|
12230
12343
  44\d|
12231
- 810|
12344
+ 8(?:
12345
+ 10|
12346
+ 88
12347
+ )|
12232
12348
  9(?:
12233
12349
  0[013]|
12234
12350
  1[134]|
@@ -12297,7 +12413,7 @@
12297
12413
  05|
12298
12414
  [156]\d|
12299
12415
  2[02578]|
12300
- 3[0-79]|
12416
+ 3[0-579]|
12301
12417
  4[03-7]|
12302
12418
  7[0-2578]|
12303
12419
  8[0-35-9]|
@@ -12320,19 +12436,21 @@
12320
12436
  3[027-9]|
12321
12437
  4[014679]|
12322
12438
  5[0159]|
12323
- [67][0-69]|
12439
+ 6[0-69]|
12440
+ 70|
12324
12441
  8[06-8]|
12325
12442
  9\d
12326
12443
  )|
12327
12444
  7(?:
12328
12445
  5[057]|
12329
- [6-8]\d
12446
+ [6-8]\d|
12447
+ 9[0-3]
12330
12448
  )|
12331
12449
  8(?:
12332
12450
  2[0-59]|
12333
12451
  [3469]\d|
12334
12452
  5[1-9]|
12335
- 88
12453
+ 8[28]
12336
12454
  )
12337
12455
  )\d{4}
12338
12456
  </nationalNumberPattern>
@@ -12362,13 +12480,10 @@
12362
12480
  </uan>
12363
12481
  <voicemail>
12364
12482
  <possibleLengths national="7"/>
12365
- <exampleNumber>6271234</exampleNumber>
12483
+ <exampleNumber>6891234</exampleNumber>
12366
12484
  <nationalNumberPattern>
12367
12485
  (?:
12368
- 6(?:
12369
- 2[78]|
12370
- 8[1-59]
12371
- )|
12486
+ 689|
12372
12487
  8(?:
12373
12488
  7[0189]|
12374
12489
  80
@@ -14118,8 +14233,8 @@
14118
14233
  <nationalNumberPattern>
14119
14234
  7(?:
14120
14235
  [0-3679]\d|
14121
- 4[0-46-9]|
14122
- 5[0-6]|
14236
+ 4[0-9]|
14237
+ 5[0-7]|
14123
14238
  8[0-25-9]
14124
14239
  )\d{6}
14125
14240
  </nationalNumberPattern>
@@ -14235,7 +14350,10 @@
14235
14350
  (?:
14236
14351
  20[0-35]|
14237
14352
  5[0-24-7]\d|
14238
- 7[07]\d
14353
+ 7(?:
14354
+ [07]\d|
14355
+ 55
14356
+ )
14239
14357
  )\d{6}
14240
14358
  </nationalNumberPattern>
14241
14359
  </mobile>
@@ -14915,7 +15033,7 @@
14915
15033
  4[0-35-9]
14916
15034
  )|
14917
15035
  52[25]|
14918
- 9[024-9]
15036
+ 9[0-24-9]
14919
15037
  </leadingDigits>
14920
15038
  <format>$1 $2</format>
14921
15039
  </numberFormat>
@@ -14988,6 +15106,7 @@
14988
15106
  )|
14989
15107
  9(?:
14990
15108
  0[09]\d|
15109
+ 11[01]|
14991
15110
  22\d|
14992
15111
  4[01479]\d|
14993
15112
  55\d|
@@ -16284,7 +16403,7 @@
16284
16403
  7(?:
16285
16404
  0[067]|
16286
16405
  6[1267]|
16287
- 7[07]
16406
+ 7[017]
16288
16407
  )
16289
16408
  )\d{6}
16290
16409
  </nationalNumberPattern>
@@ -16308,9 +16427,10 @@
16308
16427
  </territory>
16309
16428
 
16310
16429
  <!-- Monaco -->
16311
- <!-- We support Kosovo mobile numbers (044, 045) with a Monaco country-code here, as we do not
16312
- support Kosovo at the moment. Kosovo seems to use a variety of country codes currently. It
16313
- also seems that the national prefix is only used for mobile numbers, not fixed-line. -->
16430
+ <!-- We support Kosovo mobile numbers (044, 045) with a Monaco calling code here, while Kosovo
16431
+ numbers all move over to the +383 plan. Kosovo numbers are still under several calling
16432
+ codes. It also seems that the national prefix is only used for mobile numbers, not
16433
+ fixed-line. -->
16314
16434
  <territory id="MC" countryCode="377" internationalPrefix="00" nationalPrefix="0"
16315
16435
  nationalPrefixFormattingRule="$NP$FG">
16316
16436
  <references>
@@ -16809,7 +16929,7 @@
16809
16929
  </references>
16810
16930
  <availableFormats>
16811
16931
  <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
16812
- <leadingDigits>[246-9]</leadingDigits>
16932
+ <leadingDigits>[24-9]</leadingDigits>
16813
16933
  <format>$1 $2 $3 $4</format>
16814
16934
  </numberFormat>
16815
16935
  <!-- Formatting some short numbers as a block. -->
@@ -16823,7 +16943,7 @@
16823
16943
  </numberFormat>
16824
16944
  </availableFormats>
16825
16945
  <generalDesc>
16826
- <nationalNumberPattern>[246-9]\d{7}</nationalNumberPattern>
16946
+ <nationalNumberPattern>[24-9]\d{7}</nationalNumberPattern>
16827
16947
  </generalDesc>
16828
16948
  <!-- DO NOT USE <exampleNumber> : TO BE DELETED -->
16829
16949
  <noInternationalDialling>
@@ -16842,11 +16962,14 @@
16842
16962
  7[0-8]
16843
16963
  )|
16844
16964
  1(?:
16845
- 2[5-7]|
16846
- [3-689]\d
16965
+ 2[67]|
16966
+ [4-689]\d
16847
16967
  )
16848
16968
  )|
16849
- 44[1239]\d
16969
+ 4(?:
16970
+ 0[0-4]|
16971
+ 4[1-39]
16972
+ )\d
16850
16973
  )\d{4}
16851
16974
  </nationalNumberPattern>
16852
16975
  </fixedLine>
@@ -16859,6 +16982,7 @@
16859
16982
  079|
16860
16983
  17\d
16861
16984
  )|
16985
+ 50[0-4]\d|
16862
16986
  [679]\d{3}|
16863
16987
  8[239]\d{2}
16864
16988
  )\d{4}
@@ -17143,6 +17267,7 @@
17143
17267
  nationalPrefixFormattingRule="$NP$FG">
17144
17268
  <references>
17145
17269
  <sourceUrl>http://www.itu.int/oth/T020200008E/en</sourceUrl>
17270
+ <sourceUrl>http://www.crc.gov.mn/k/4L/36</sourceUrl>
17146
17271
  </references>
17147
17272
  <availableFormats>
17148
17273
  <numberFormat pattern="([12]\d)(\d{2})(\d{4})">
@@ -17699,24 +17824,20 @@
17699
17824
  )\d{4}
17700
17825
  </nationalNumberPattern>
17701
17826
  </fixedLine>
17702
- <!-- Added prefix 580, 581 and 589 as per information from the carrier. The prefixes 584[47]
17703
- are added as from a user report and online numbers. -->
17704
17827
  <mobile>
17705
17828
  <possibleLengths national="8"/>
17706
17829
  <exampleNumber>52512345</exampleNumber>
17707
17830
  <nationalNumberPattern>
17708
17831
  5(?:
17709
- 2[59]\d|
17832
+ 2[589]\d|
17710
17833
  4(?:
17711
17834
  2[1-389]|
17712
- 4\d|
17713
- 7[1-9]|
17714
- 9\d
17835
+ [489]\d|
17836
+ 7[1-9]
17715
17837
  )|
17716
17838
  7\d{2}|
17717
17839
  8(?:
17718
- [0-25689]\d|
17719
- 4[3479]|
17840
+ [0-689]\d|
17720
17841
  7[15-8]
17721
17842
  )|
17722
17843
  9[0-8]\d
@@ -17809,7 +17930,7 @@
17809
17930
  (?:
17810
17931
  46[46]|
17811
17932
  7[2-9]\d|
17812
- 9[15-9]\d
17933
+ 9[14-9]\d
17813
17934
  )\d{4}
17814
17935
  </nationalNumberPattern>
17815
17936
  </mobile>
@@ -18012,7 +18133,7 @@
18012
18133
  )|
18013
18134
  7(?:
18014
18135
  [13467][1-9]|
18015
- 2[1-8]|
18136
+ 2[1-9]|
18016
18137
  5[13-9]|
18017
18138
  8[1-69]|
18018
18139
  9[17]
@@ -18086,7 +18207,7 @@
18086
18207
  )|
18087
18208
  7(?:
18088
18209
  [13467][1-9]|
18089
- 2[1-8]|
18210
+ 2[1-9]|
18090
18211
  5[13-9]|
18091
18212
  8[1-69]|
18092
18213
  9[17]
@@ -18179,6 +18300,7 @@
18179
18300
  <generalDesc>
18180
18301
  <nationalNumberPattern>[13-9]\d{7,9}</nationalNumberPattern>
18181
18302
  </generalDesc>
18303
+ <!-- Prefixes 39108 and 82266 are added based on user report. -->
18182
18304
  <fixedLine>
18183
18305
  <possibleLengths national="8,9" localOnly="6,7"/>
18184
18306
  <exampleNumber>323856789</exampleNumber>
@@ -18497,7 +18619,7 @@
18497
18619
  8[0-256]
18498
18620
  )|
18499
18621
  1(?:
18500
- 0[0-356]|
18622
+ 0[0-3568]|
18501
18623
  3[0-49]|
18502
18624
  4[015]|
18503
18625
  7[0-59]|
@@ -18902,7 +19024,7 @@
18902
19024
  2(?:
18903
19025
  [013-5]\d|
18904
19026
  [28][0-8]|
18905
- 6[01]|
19027
+ 6[016]|
18906
19028
  7[0-589]|
18907
19029
  9[0-49]
18908
19030
  )|
@@ -19842,11 +19964,12 @@
19842
19964
  <mobile>
19843
19965
  <possibleLengths national="8"/>
19844
19966
  <exampleNumber>93123456</exampleNumber>
19845
- <!-- Added 88, 90, 91, 92, 95, 97, 98 and 99 from online data. Airtel have confirmed that they
19846
- use the 89 and 97 prefixes, and Orange use 92. MOOV started using 95 in Jan 2014. -->
19967
+ <!-- Added 84, 85, 88, 90, 91, 92, 95, 97, 98 and 99 from online data. Airtel have confirmed
19968
+ that they use the 89 and 97 prefixes, and Orange use 92. MOOV started using 95 in Jan
19969
+ 2014. -->
19847
19970
  <nationalNumberPattern>
19848
19971
  (?:
19849
- 8[089]|
19972
+ 8[04589]|
19850
19973
  9\d
19851
19974
  )\d{6}
19852
19975
  </nationalNumberPattern>
@@ -20815,38 +20938,37 @@
20815
20938
  <nationalNumberPattern>
20816
20939
  (?:
20817
20940
  1(?:
20818
- 0[0-8]|
20819
- 1[49]|
20941
+ 0\d|
20942
+ 1[479]|
20820
20943
  2[37]|
20821
20944
  3[0137]|
20822
20945
  4[147]|
20823
20946
  5[05]|
20824
- 6[58]|
20947
+ [68][58]|
20825
20948
  7[0167]|
20826
- 8[58]|
20827
20949
  9[139]
20828
20950
  )|
20829
20951
  2(?:
20830
- [0235679]\d|
20952
+ [0235-79]\d|
20831
20953
  1[0-7]|
20832
- 4[04-9]|
20833
- 8[028]
20954
+ 4[013-9]|
20955
+ 8[026-9]
20834
20956
  )|
20835
20957
  3(?:
20836
- [09]\d|
20958
+ [089]\d|
20837
20959
  1[014-7]|
20838
- 2[0-3]|
20960
+ 2[0-35]|
20839
20961
  3[03]|
20840
- 4[03-57]|
20962
+ 4[0-579]|
20841
20963
  55|
20842
20964
  6[068]|
20843
- 7[06-8]|
20844
- 8[06-9]
20965
+ 7[06-8]
20845
20966
  )|
20846
20967
  4(?:
20847
- 3[013-69]|
20968
+ 00|
20969
+ 3[0-79]|
20848
20970
  4\d|
20849
- 7[0-589]
20971
+ 7[0-57-9]
20850
20972
  )|
20851
20973
  5(?:
20852
20974
  [01]\d|
@@ -20856,30 +20978,33 @@
20856
20978
  )|
20857
20979
  7(?:
20858
20980
  0[09]|
20859
- 2[0-267]|
20860
- 3[06]|
20861
- [469]0|
20862
- 5[06-9]|
20863
- 7[0-24-79]|
20864
- 8[7-9]
20981
+ 2[0-26-8]|
20982
+ 3[036]|
20983
+ 4[04]|
20984
+ 5[05-9]|
20985
+ 6[05]|
20986
+ 7[0-24-9]|
20987
+ 8[7-9]|
20988
+ 90
20865
20989
  )|
20866
20990
  8(?:
20867
20991
  09|
20992
+ 2[89]|
20868
20993
  [34]\d|
20869
20994
  5[0134]|
20870
20995
  8[02]
20871
20996
  )|
20872
20997
  9(?:
20873
- 0[6-9]|
20874
- 1[016-8]|
20875
- 2[036-8]|
20876
- 3[3679]|
20998
+ 0[5-9]|
20999
+ 1[0135-8]|
21000
+ 2[036-9]|
21001
+ 3[35-79]|
20877
21002
  40|
20878
- 5[0489]|
20879
- 6[06-9]|
20880
- 7[046-9]|
20881
- 8[36-8]|
20882
- 9[1-9]
21003
+ 5[0457-9]|
21004
+ 6[05-9]|
21005
+ 7[04-9]|
21006
+ 8[35-8]|
21007
+ 9\d
20883
21008
  )
20884
21009
  )\d{4}
20885
21010
  </nationalNumberPattern>
@@ -20899,9 +21024,8 @@
20899
21024
  )
20900
21025
  )\d{4}|
20901
21026
  6(?:
20902
- [024-9]\d|
20903
- 1[0-5]|
20904
- 3[0-24-9]
21027
+ [02-9]\d|
21028
+ 1[0-5]
20905
21029
  )\d{5}
20906
21030
  </nationalNumberPattern>
20907
21031
  </mobile>
@@ -20917,9 +21041,11 @@
20917
21041
  <nationalNumberPattern>
20918
21042
  (?:
20919
21043
  8(?:
21044
+ 22|
20920
21045
  55|
20921
21046
  60|
20922
- 7[78]
21047
+ 7[78]|
21048
+ 86
20923
21049
  )|
20924
21050
  9(?:
20925
21051
  00|
@@ -22227,10 +22353,10 @@
22227
22353
  <mobile>
22228
22354
  <possibleLengths national="9"/>
22229
22355
  <exampleNumber>961456789</exampleNumber>
22230
- <!-- 962 was added for Tigo. -->
22231
22356
  <nationalNumberPattern>
22232
22357
  9(?:
22233
- 6[12]|
22358
+ 51|
22359
+ 6[129]|
22234
22360
  [78][1-6]|
22235
22361
  9[1-5]
22236
22362
  )\d{6}
@@ -22968,11 +23094,13 @@
22968
23094
  <fixedLine>
22969
23095
  <possibleLengths national="9"/>
22970
23096
  <exampleNumber>121231234</exampleNumber>
22971
- <!-- Retaining previous prefix as 18 since it seems still to be used. Adding 11 from numbers
22972
- found online. -->
23097
+ <!-- Retaining previous prefix as 18 since it seems still to be used. Adding 10 and 11 from
23098
+ numbers found online. Looks like these are fixed-line numbers as per Wikipedia page
23099
+ https://en.wikipedia.org/wiki/Telephone_numbers_in_Sudan. No official evidence
23100
+ found for these ranges. -->
22973
23101
  <nationalNumberPattern>
22974
23102
  1(?:
22975
- [125]\d|
23103
+ [0-25]\d|
22976
23104
  8[3567]
22977
23105
  )\d{6}
22978
23106
  </nationalNumberPattern>
@@ -22980,7 +23108,6 @@
22980
23108
  <mobile>
22981
23109
  <possibleLengths national="9"/>
22982
23110
  <exampleNumber>911231234</exampleNumber>
22983
- <!-- Adding 90X as online numbers have been found with this prefix. -->
22984
23111
  <nationalNumberPattern>9[0-3569]\d{7}</nationalNumberPattern>
22985
23112
  </mobile>
22986
23113
  </territory>
@@ -23732,7 +23859,7 @@
23732
23859
  4[04]|
23733
23860
  5[05]|
23734
23861
  66|
23735
- 7[6-9]|
23862
+ 7[5-9]|
23736
23863
  8[08]|
23737
23864
  99
23738
23865
  )\d{6}
@@ -24315,12 +24442,19 @@
24315
24442
  </references>
24316
24443
  <availableFormats>
24317
24444
  <numberFormat pattern="(\d{4})(\d{4})">
24318
- <leadingDigits>[027]</leadingDigits>
24445
+ <leadingDigits>[0237]</leadingDigits>
24446
+ <format>$1 $2</format>
24447
+ </numberFormat>
24448
+ <numberFormat pattern="(\d{5})(\d{4})">
24449
+ <leadingDigits>900</leadingDigits>
24319
24450
  <format>$1 $2</format>
24320
24451
  </numberFormat>
24321
24452
  </availableFormats>
24322
24453
  <generalDesc>
24323
- <nationalNumberPattern>[027]\d{7}</nationalNumberPattern>
24454
+ <nationalNumberPattern>
24455
+ [0237]\d{7}|
24456
+ 900\d{6}
24457
+ </nationalNumberPattern>
24324
24458
  </generalDesc>
24325
24459
  <!-- DO NOT USE <exampleNumber> : TO BE DELETED -->
24326
24460
  <noInternationalDialling>
@@ -24331,7 +24465,7 @@
24331
24465
  <fixedLine>
24332
24466
  <possibleLengths national="8"/>
24333
24467
  <exampleNumber>22171234</exampleNumber>
24334
- <nationalNumberPattern>2[2-9]\d{6}</nationalNumberPattern>
24468
+ <nationalNumberPattern>[23][2-5]\d{6}</nationalNumberPattern>
24335
24469
  </fixedLine>
24336
24470
  <mobile>
24337
24471
  <possibleLengths national="8"/>
@@ -24343,6 +24477,16 @@
24343
24477
  <exampleNumber>08001234</exampleNumber>
24344
24478
  <nationalNumberPattern>0800\d{4}</nationalNumberPattern>
24345
24479
  </tollFree>
24480
+ <premiumRate>
24481
+ <possibleLengths national="9"/>
24482
+ <exampleNumber>900012345</exampleNumber>
24483
+ <nationalNumberPattern>900\d{6}</nationalNumberPattern>
24484
+ </premiumRate>
24485
+ <voip>
24486
+ <possibleLengths national="8"/>
24487
+ <exampleNumber>70012345</exampleNumber>
24488
+ <nationalNumberPattern>70\d{6}</nationalNumberPattern>
24489
+ </voip>
24346
24490
  </territory>
24347
24491
 
24348
24492
  <!-- Tristan da Cunha -->
@@ -24513,9 +24657,9 @@
24513
24657
  2(?:
24514
24658
  2[2-7]|
24515
24659
  3[23]|
24516
- 44|
24660
+ 4[45]|
24517
24661
  55|
24518
- 66|
24662
+ 6[67]|
24519
24663
  77
24520
24664
  )\d{5}
24521
24665
  </nationalNumberPattern>
@@ -24523,11 +24667,9 @@
24523
24667
  <mobile>
24524
24668
  <possibleLengths national="8"/>
24525
24669
  <exampleNumber>90112345</exampleNumber>
24526
- <!-- Prefixes 93, 96 and 97 are from open-source bug reports. 70 mobile range is assigned
24527
- to TOGOCEL as per their web portal http://www.togocel.tg/. -->
24528
24670
  <nationalNumberPattern>
24529
24671
  (?:
24530
- 70|
24672
+ 7[09]|
24531
24673
  9[0-36-9]
24532
24674
  )\d{6}
24533
24675
  </nationalNumberPattern>
@@ -24955,7 +25097,7 @@
24955
25097
  <numberFormat pattern="(\d{3})(\d{4})">
24956
25098
  <leadingDigits>
24957
25099
  7[5-9]|
24958
- 8[47-9]
25100
+ 8[46-9]
24959
25101
  </leadingDigits>
24960
25102
  <format>$1 $2</format>
24961
25103
  </numberFormat>
@@ -24985,11 +25127,11 @@
24985
25127
  <possibleLengths national="7"/>
24986
25128
  <exampleNumber>7715123</exampleNumber>
24987
25129
  <!-- TCC mobile numbers were given a prefix of "77" in 2009, although this is not mentioned
24988
- in their ITU document. Numbers with a prefix of "75" and "84" have also been found. -->
25130
+ in their ITU document. Numbers with a prefix of 75, 84 and 86 have also been found. -->
24989
25131
  <nationalNumberPattern>
24990
25132
  (?:
24991
25133
  7[578]|
24992
- 8[47-9]
25134
+ 8[46-9]
24993
25135
  )\d{5}
24994
25136
  </nationalNumberPattern>
24995
25137
  </mobile>
@@ -25006,6 +25148,7 @@
25006
25148
  <references>
25007
25149
  <sourceUrl>http://en.wikipedia.org/wiki/%2B90</sourceUrl>
25008
25150
  <sourceUrl>http://www.itu.int/oth/T02020000D6/en</sourceUrl>
25151
+ <sourceUrl>https://www.btk.gov.tr/tr-TR/Sayfalar/Isletmecilere-Tahsisli-Numaralar</sourceUrl>
25009
25152
  </references>
25010
25153
  <availableFormats>
25011
25154
  <!-- In online references we see both these formats for mobile and fixed-line numbers:
@@ -25022,7 +25165,12 @@
25022
25165
  <format>$1 $2 $3 $4</format>
25023
25166
  </numberFormat>
25024
25167
  <numberFormat pattern="(\d{3})(\d{3})(\d{2})(\d{2})" nationalPrefixFormattingRule="$NP$FG">
25025
- <leadingDigits>5[02-69]</leadingDigits>
25168
+ <leadingDigits>
25169
+ 5(?:
25170
+ [02-69]|
25171
+ 16
25172
+ )
25173
+ </leadingDigits>
25026
25174
  <format>$1 $2 $3 $4</format>
25027
25175
  </numberFormat>
25028
25176
  <numberFormat pattern="(\d{3})(\d{3})(\d{4})" nationalPrefixFormattingRule="$NP$FG">
@@ -25090,6 +25238,7 @@
25090
25238
  5[1-59]|
25091
25239
  9[246]
25092
25240
  )\d{2}|
25241
+ 1616|
25093
25242
  6161
25094
25243
  )\d{5}
25095
25244
  </nationalNumberPattern>
@@ -25107,7 +25256,12 @@
25107
25256
  <premiumRate>
25108
25257
  <possibleLengths national="10"/>
25109
25258
  <exampleNumber>9001234567</exampleNumber>
25110
- <nationalNumberPattern>900\d{7}</nationalNumberPattern>
25259
+ <nationalNumberPattern>
25260
+ (?:
25261
+ 8[89]8|
25262
+ 900
25263
+ )\d{7}
25264
+ </nationalNumberPattern>
25111
25265
  </premiumRate>
25112
25266
  <uan>
25113
25267
  <possibleLengths national="7,10"/>
@@ -25253,7 +25407,7 @@
25253
25407
  covering these for now. -->
25254
25408
  <nationalNumberPattern>
25255
25409
  (?:
25256
- 70\d|
25410
+ 7[01]\d|
25257
25411
  90
25258
25412
  )\d{4}
25259
25413
  </nationalNumberPattern>
@@ -25812,7 +25966,7 @@
25812
25966
  4[08]|
25813
25967
  5[1-46]|
25814
25968
  6[0279]|
25815
- 7[026]|
25969
+ 7[0269]|
25816
25970
  8[13]
25817
25971
  )|
25818
25972
  3(?:
@@ -25905,7 +26059,7 @@
25905
26059
  4[08]|
25906
26060
  5[1-46]|
25907
26061
  6[0279]|
25908
- 7[026]|
26062
+ 7[0269]|
25909
26063
  8[13]
25910
26064
  )|
25911
26065
  3(?:
@@ -26584,13 +26738,14 @@
26584
26738
  <mobile>
26585
26739
  <possibleLengths national="10" localOnly="7"/>
26586
26740
  <exampleNumber>7844301234</exampleNumber>
26741
+ <!-- Supported 49[67] XXXX mobile ranges based on user report. -->
26587
26742
  <nationalNumberPattern>
26588
26743
  784(?:
26589
26744
  4(?:
26590
26745
  3[0-5]|
26591
26746
  5[45]|
26592
26747
  89|
26593
- 9[0-58]
26748
+ 9[0-8]
26594
26749
  )|
26595
26750
  5(?:
26596
26751
  2[6-9]|
@@ -27786,7 +27941,7 @@
27786
27941
  <nationalNumberPattern>
27787
27942
  (?:
27788
27943
  7(?:
27789
- 1[2-8]|
27944
+ 1\d|
27790
27945
  3[2-9]|
27791
27946
  7[1-9]|
27792
27947
  8[2-5]