phonelib 0.2.5 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/data/PhoneNumberMetaData.xml +340 -225
- data/data/phone_data.yml +50 -33
- data/lib/phonelib/core.rb +15 -3
- data/lib/phonelib/phone.rb +29 -23
- data/lib/phonelib/version.rb +1 -1
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +28 -16
- data/test/dummy/log/test.log +11697 -1351
- data/test/phonelib_test.rb +12 -0
- metadata +129 -119
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: a7d3521b555bcad42616c8db145f3060af09521a
|
4
|
+
data.tar.gz: b51511d10c1eea13b3ad1ac791d01dbe3e72c156
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: cdc5a922c21648508460bbe5f135335a9847f11248dd0ca4ffc926870f5ad79f1d806f4a7c2f68667e6900c9a640062d204b5efad3f88e6e94ab9948762c23e6
|
7
|
+
data.tar.gz: eae1c2d58be40f7ac0218f7b010bc7d2caaa0e35f1ce5bf20f1210a48e3774fbba998b966418b949fdc6ef1dce97c1b635ed4f34a0313d2ab7977a566021923e
|
@@ -938,11 +938,6 @@
|
|
938
938
|
<format>$1</format>
|
939
939
|
<intlFormat>NA</intlFormat>
|
940
940
|
</numberFormat>
|
941
|
-
<numberFormat pattern="(\d{2})" nationalPrefixFormattingRule="$NP$FG">
|
942
|
-
<leadingDigits>0</leadingDigits>
|
943
|
-
<format>$1</format>
|
944
|
-
<intlFormat>NA</intlFormat>
|
945
|
-
</numberFormat>
|
946
941
|
</availableFormats>
|
947
942
|
<generalDesc>
|
948
943
|
<nationalNumberPattern>
|
@@ -1466,10 +1461,11 @@
|
|
1466
1461
|
[0-2]\d|
|
1467
1462
|
3[0-57-9]|
|
1468
1463
|
4[47-9]|
|
1469
|
-
5[0-
|
1464
|
+
5[0-25-9]|
|
1470
1465
|
6[6-9]|
|
1471
|
-
[
|
1472
|
-
8[17-9]
|
1466
|
+
7[0457-9]|
|
1467
|
+
8[17-9]|
|
1468
|
+
9[07-9]
|
1473
1469
|
)\d{6}
|
1474
1470
|
</nationalNumberPattern>
|
1475
1471
|
<possibleNumberPattern>\d{9}</possibleNumberPattern>
|
@@ -2043,7 +2039,7 @@
|
|
2043
2039
|
3|
|
2044
2040
|
4\d
|
2045
2041
|
)
|
2046
|
-
)
|
2042
|
+
)
|
2047
2043
|
)\d{3}|
|
2048
2044
|
4(?:
|
2049
2045
|
0(?:
|
@@ -2303,7 +2299,7 @@
|
|
2303
2299
|
<numberFormat pattern="([15-8]\d)(\d{2})(\d{2})(\d{2})">
|
2304
2300
|
<leadingDigits>
|
2305
2301
|
[156]|
|
2306
|
-
7[
|
2302
|
+
7[018]|
|
2307
2303
|
8(?:
|
2308
2304
|
0[1-9]|
|
2309
2305
|
[1-79]
|
@@ -2326,21 +2322,17 @@
|
|
2326
2322
|
<possibleNumberPattern>\d{8,9}</possibleNumberPattern>
|
2327
2323
|
</generalDesc>
|
2328
2324
|
<fixedLine>
|
2329
|
-
<!--
|
2330
|
-
digit begins with 1-9 -->
|
2325
|
+
<!-- According to the published Excel document the third digit must be 1-9. -->
|
2331
2326
|
<nationalNumberPattern>
|
2332
2327
|
(?:
|
2333
2328
|
1[0-69]|
|
2334
|
-
[23][2-8]|
|
2335
2329
|
[49][23]|
|
2336
2330
|
5\d|
|
2337
2331
|
6[013-57-9]|
|
2338
|
-
71
|
2339
|
-
|
2340
|
-
|
2341
|
-
|
2342
|
-
[1-79]\d
|
2343
|
-
)\d{5}
|
2332
|
+
71|
|
2333
|
+
8[0-79]
|
2334
|
+
)[1-9]\d{5}|
|
2335
|
+
[23][2-8]\d{6}
|
2344
2336
|
</nationalNumberPattern>
|
2345
2337
|
<possibleNumberPattern>\d{8}</possibleNumberPattern>
|
2346
2338
|
<exampleNumber>12345678</exampleNumber>
|
@@ -2365,9 +2357,9 @@
|
|
2365
2357
|
<premiumRate>
|
2366
2358
|
<nationalNumberPattern>
|
2367
2359
|
(?:
|
2368
|
-
|
2369
|
-
|
2370
|
-
)\d{
|
2360
|
+
70[2-7]|
|
2361
|
+
90\d
|
2362
|
+
)\d{5}
|
2371
2363
|
</nationalNumberPattern>
|
2372
2364
|
<possibleNumberPattern>\d{8}</possibleNumberPattern>
|
2373
2365
|
<exampleNumber>90123456</exampleNumber>
|
@@ -2398,11 +2390,6 @@
|
|
2398
2390
|
<possibleNumberPattern>\d{8}</possibleNumberPattern>
|
2399
2391
|
</generalDesc>
|
2400
2392
|
<fixedLine>
|
2401
|
-
<!-- The prefix 50 48 has been added based on numbers found online, while 40 49 has been
|
2402
|
-
deleted since we haven't found any numbers with this prefix and it is not mentioned in
|
2403
|
-
the Onatel document.
|
2404
|
-
IMPORTANT: Note that the ITU documents of Mar/Apr 2013 seem to have major errors in the
|
2405
|
-
fixed-line table, so we have not changed our patterns based on these. -->
|
2406
2393
|
<nationalNumberPattern>
|
2407
2394
|
(?:
|
2408
2395
|
20(?:
|
@@ -2411,11 +2398,14 @@
|
|
2411
2398
|
9[016-9]
|
2412
2399
|
)|
|
2413
2400
|
40(?:
|
2414
|
-
4[
|
2401
|
+
4[569]|
|
2415
2402
|
5[4-6]|
|
2416
2403
|
7[0179]
|
2417
2404
|
)|
|
2418
|
-
50
|
2405
|
+
50(?:
|
2406
|
+
[34]\d|
|
2407
|
+
50
|
2408
|
+
)
|
2419
2409
|
)\d{4}
|
2420
2410
|
</nationalNumberPattern>
|
2421
2411
|
<exampleNumber>20491234</exampleNumber>
|
@@ -2424,8 +2414,9 @@
|
|
2424
2414
|
<nationalNumberPattern>
|
2425
2415
|
6(?:
|
2426
2416
|
[0-24-6]\d|
|
2427
|
-
|
2428
|
-
|
2417
|
+
70|
|
2418
|
+
8[0-8]|
|
2419
|
+
3[0-3]
|
2429
2420
|
)\d{5}|
|
2430
2421
|
7\d{7}
|
2431
2422
|
</nationalNumberPattern>
|
@@ -2956,7 +2947,7 @@
|
|
2956
2947
|
<nationalNumberPattern>
|
2957
2948
|
(?:
|
2958
2949
|
318[023]|
|
2959
|
-
416[
|
2950
|
+
416[023]|
|
2960
2951
|
7(?:
|
2961
2952
|
1[578]|
|
2962
2953
|
50
|
@@ -2968,13 +2959,14 @@
|
|
2968
2959
|
<mobile>
|
2969
2960
|
<nationalNumberPattern>
|
2970
2961
|
(?:
|
2971
|
-
318[
|
2972
|
-
416[15-
|
2962
|
+
318[14-68]|
|
2963
|
+
416[15-9]|
|
2973
2964
|
7(?:
|
2974
2965
|
0[01]|
|
2966
|
+
7[07]|
|
2975
2967
|
[89]\d
|
2976
2968
|
)\d
|
2977
|
-
)\d{3}
|
2969
|
+
)\d{3}
|
2978
2970
|
</nationalNumberPattern>
|
2979
2971
|
<exampleNumber>3181234</exampleNumber>
|
2980
2972
|
</mobile>
|
@@ -3086,7 +3078,7 @@
|
|
3086
3078
|
1(?:
|
3087
3079
|
1(?:
|
3088
3080
|
5[347]|
|
3089
|
-
[6-9]\d
|
3081
|
+
[6-9]\d
|
3090
3082
|
)|
|
3091
3083
|
[2-9][6-9]\d
|
3092
3084
|
)\d{6}|
|
@@ -3362,9 +3354,93 @@
|
|
3362
3354
|
nationalPrefix="8" mobileNumberPortableRegion="true">
|
3363
3355
|
<availableFormats>
|
3364
3356
|
<numberFormat nationalPrefixFormattingRule="$NP 0$FG"
|
3365
|
-
pattern="(
|
3366
|
-
<leadingDigits>
|
3367
|
-
|
3357
|
+
pattern="(\d{2})(\d{3})(\d{2})(\d{2})">
|
3358
|
+
<leadingDigits>
|
3359
|
+
17[0-3589]|
|
3360
|
+
2[4-9]|
|
3361
|
+
[34]
|
3362
|
+
</leadingDigits>
|
3363
|
+
<leadingDigits>
|
3364
|
+
17(?:
|
3365
|
+
[02358]|
|
3366
|
+
1[0-2]|
|
3367
|
+
9[0189]
|
3368
|
+
)|
|
3369
|
+
2[4-9]|
|
3370
|
+
[34]
|
3371
|
+
</leadingDigits>
|
3372
|
+
<format>$1 $2-$3-$4</format>
|
3373
|
+
</numberFormat>
|
3374
|
+
<numberFormat nationalPrefixFormattingRule="$NP 0$FG"
|
3375
|
+
pattern="(\d{3})(\d{2})(\d{2})(\d{2})">
|
3376
|
+
<leadingDigits>
|
3377
|
+
1(?:
|
3378
|
+
5[24]|
|
3379
|
+
6[235]|
|
3380
|
+
7[467]
|
3381
|
+
)|
|
3382
|
+
2(?:
|
3383
|
+
1[246]|
|
3384
|
+
2[25]|
|
3385
|
+
3[26]
|
3386
|
+
)
|
3387
|
+
</leadingDigits>
|
3388
|
+
<leadingDigits>
|
3389
|
+
1(?:
|
3390
|
+
5[24]|
|
3391
|
+
6(?:
|
3392
|
+
2|
|
3393
|
+
3[04-9]|
|
3394
|
+
5[0346-9]
|
3395
|
+
)|
|
3396
|
+
7(?:
|
3397
|
+
[46]|
|
3398
|
+
7[37-9]
|
3399
|
+
)
|
3400
|
+
)|
|
3401
|
+
2(?:
|
3402
|
+
1[246]|
|
3403
|
+
2[25]|
|
3404
|
+
3[26]
|
3405
|
+
)
|
3406
|
+
</leadingDigits>
|
3407
|
+
<format>$1 $2-$3-$4</format>
|
3408
|
+
</numberFormat>
|
3409
|
+
<numberFormat nationalPrefixFormattingRule="$NP 0$FG"
|
3410
|
+
pattern="(\d{4})(\d{2})(\d{3})">
|
3411
|
+
<leadingDigits>
|
3412
|
+
1(?:
|
3413
|
+
5[169]|
|
3414
|
+
6[3-5]|
|
3415
|
+
7[179]
|
3416
|
+
)|
|
3417
|
+
2(?:
|
3418
|
+
1[35]|
|
3419
|
+
2[34]|
|
3420
|
+
3[3-5]
|
3421
|
+
)
|
3422
|
+
</leadingDigits>
|
3423
|
+
<leadingDigits>
|
3424
|
+
1(?:
|
3425
|
+
5[169]|
|
3426
|
+
6(?:
|
3427
|
+
3[1-3]|
|
3428
|
+
4|
|
3429
|
+
5[125]
|
3430
|
+
)|
|
3431
|
+
7(?:
|
3432
|
+
1[3-9]|
|
3433
|
+
7[0-24-6]|
|
3434
|
+
9[2-7]
|
3435
|
+
)
|
3436
|
+
)|
|
3437
|
+
2(?:
|
3438
|
+
1[35]|
|
3439
|
+
2[34]|
|
3440
|
+
3[3-5]
|
3441
|
+
)
|
3442
|
+
</leadingDigits>
|
3443
|
+
<format>$1 $2-$3</format>
|
3368
3444
|
</numberFormat>
|
3369
3445
|
<numberFormat nationalPrefixFormattingRule="$NP $FG"
|
3370
3446
|
pattern="([89]\d{2})(\d{3})(\d{4})">
|
@@ -3392,8 +3468,8 @@
|
|
3392
3468
|
<noInternationalDialling>
|
3393
3469
|
<nationalNumberPattern>
|
3394
3470
|
8(?:
|
3395
|
-
[
|
3396
|
-
|
3471
|
+
[013]|
|
3472
|
+
[12]0
|
3397
3473
|
)\d{8}|
|
3398
3474
|
902\d{7}
|
3399
3475
|
</nationalNumberPattern>
|
@@ -3406,7 +3482,7 @@
|
|
3406
3482
|
1(?:
|
3407
3483
|
5(?:
|
3408
3484
|
1[1-5]|
|
3409
|
-
|
3485
|
+
[24]\d|
|
3410
3486
|
6[2-4]|
|
3411
3487
|
9[1-7]
|
3412
3488
|
)|
|
@@ -3427,10 +3503,10 @@
|
|
3427
3503
|
4[0-8]
|
3428
3504
|
)|
|
3429
3505
|
3(?:
|
3430
|
-
|
3506
|
+
[26]\d|
|
3431
3507
|
3[02-79]|
|
3432
3508
|
4[024-7]|
|
3433
|
-
5[
|
3509
|
+
5[03-7]
|
3434
3510
|
)
|
3435
3511
|
)
|
3436
3512
|
)\d{5}
|
@@ -3948,7 +4024,7 @@
|
|
3948
4024
|
</numberFormat>
|
3949
4025
|
</availableFormats>
|
3950
4026
|
<generalDesc>
|
3951
|
-
<nationalNumberPattern>[02-
|
4027
|
+
<nationalNumberPattern>[02-7]\d{7}</nationalNumberPattern>
|
3952
4028
|
<possibleNumberPattern>\d{8}</possibleNumberPattern>
|
3953
4029
|
</generalDesc>
|
3954
4030
|
<fixedLine>
|
@@ -3973,13 +4049,17 @@
|
|
3973
4049
|
</fixedLine>
|
3974
4050
|
<mobile>
|
3975
4051
|
<!-- Added the prefixes 4[0-2] (Moov), 5[5-9] & 6[15] because SMS messages have been
|
3976
|
-
successfully delivered. Supported by numbers found on the internet.
|
3977
|
-
|
4052
|
+
successfully delivered. Supported by numbers found on the internet. The prefix 56 was
|
4053
|
+
assigned to MTN in July 2013:
|
4054
|
+
http://www.atci.ci/images/stories/pdf/decisions-dg/decision_002.pdf
|
4055
|
+
50 has been removed since Warid seems to have stopped operation in Côte d'Ivoire. -->
|
4056
|
+
<nationalNumberPattern>
|
3978
4057
|
(?:
|
3979
4058
|
0[1-9]|
|
3980
4059
|
4[0-24-9]|
|
3981
|
-
5[
|
3982
|
-
6[
|
4060
|
+
5[4-9]|
|
4061
|
+
6[015-79]|
|
4062
|
+
77
|
3983
4063
|
)\d{6}
|
3984
4064
|
</nationalNumberPattern>
|
3985
4065
|
<exampleNumber>01234567</exampleNumber>
|
@@ -4645,7 +4725,9 @@
|
|
4645
4725
|
<!-- Colombia -->
|
4646
4726
|
<!-- http://www.itu.int/oth/T020200002C/en -->
|
4647
4727
|
<!-- http://en.wikipedia.org/wiki/Telephone_numbers_in_Colombia -->
|
4648
|
-
|
4728
|
+
<!-- Extra international dialling prefixes from www.claro.com.co and www.tigo.com.co. -->
|
4729
|
+
<!-- 05 and 005 are for Orbitel: co.orbitel.com -->
|
4730
|
+
<territory id="CO" countryCode="57" internationalPrefix="00(?:4(?:[14]4|56)|[579])"
|
4649
4731
|
nationalPrefix="0" nationalPrefixForParsing="0([3579]|4(?:44|56))?"
|
4650
4732
|
mobileNumberPortableRegion="true">
|
4651
4733
|
<availableFormats>
|
@@ -4711,12 +4793,11 @@
|
|
4711
4793
|
<exampleNumber>12345678</exampleNumber>
|
4712
4794
|
</fixedLine>
|
4713
4795
|
<mobile>
|
4714
|
-
<!-- Virgin Mobile Colombia have reported that they are now using the 319 prefix. -->
|
4715
4796
|
<nationalNumberPattern>
|
4716
4797
|
3(?:
|
4717
|
-
0[0-
|
4798
|
+
0[0-5]|
|
4718
4799
|
1\d|
|
4719
|
-
|
4800
|
+
[25][01]
|
4720
4801
|
)\d{7}
|
4721
4802
|
</nationalNumberPattern>
|
4722
4803
|
<possibleNumberPattern>\d{10}</possibleNumberPattern>
|
@@ -4742,7 +4823,7 @@
|
|
4742
4823
|
<!-- Costa Rica -->
|
4743
4824
|
<!-- http://www.itu.int/oth/T0202000030/en -->
|
4744
4825
|
<territory id="CR" countryCode="506" internationalPrefix="00"
|
4745
|
-
nationalPrefixForParsing="(19(?:0[
|
4826
|
+
nationalPrefixForParsing="(19(?:0[01468]|19|20|66|77))"
|
4746
4827
|
carrierCodeFormattingRule="$CC $FG">
|
4747
4828
|
<availableFormats>
|
4748
4829
|
<numberFormat pattern="(\d{4})(\d{4})">
|
@@ -4797,10 +4878,7 @@
|
|
4797
4878
|
0(?:
|
4798
4879
|
[04]0\d{4}|
|
4799
4880
|
10[0-3]\d{3}|
|
4800
|
-
2
|
4801
|
-
00\d|
|
4802
|
-
900
|
4803
|
-
)\d{2}|
|
4881
|
+
2900\d{2}|
|
4804
4882
|
3[01]\d{4}|
|
4805
4883
|
5\d{5}|
|
4806
4884
|
70[01]\d{3}|
|
@@ -4928,10 +5006,11 @@
|
|
4928
5006
|
[48]\d{2}|
|
4929
5007
|
50\d|
|
4930
5008
|
7(?:
|
4931
|
-
2[0-
|
5009
|
+
2[0-24]|
|
4932
5010
|
[34]\d|
|
4933
5011
|
6[35-7]|
|
4934
|
-
77
|
5012
|
+
77|
|
5013
|
+
8[7-9]
|
4935
5014
|
)
|
4936
5015
|
)\d{4}
|
4937
5016
|
</nationalNumberPattern>
|
@@ -4945,7 +5024,7 @@
|
|
4945
5024
|
3[01]
|
4946
5025
|
)|
|
4947
5026
|
6(?:
|
4948
|
-
[
|
5027
|
+
[16-9]\d|
|
4949
5028
|
3[01]
|
4950
5029
|
)
|
4951
5030
|
)\d{4}
|
@@ -6086,10 +6165,7 @@
|
|
6086
6165
|
</numberFormat>
|
6087
6166
|
<numberFormat pattern="(\d{2})(\d{6,7})">
|
6088
6167
|
<leadingDigits>
|
6089
|
-
1
|
6090
|
-
3|
|
6091
|
-
5[23]
|
6092
|
-
)|
|
6168
|
+
1[35]|
|
6093
6169
|
[4-6]|
|
6094
6170
|
[89][2-9]
|
6095
6171
|
</leadingDigits>
|
@@ -6108,7 +6184,7 @@
|
|
6108
6184
|
<fixedLine>
|
6109
6185
|
<!-- Short numbers used for businesses (starting with 16 or 19) are covered here. Note also
|
6110
6186
|
that the plan says numbers starting with 15 should be followed by seven digit
|
6111
|
-
subscriber numbers, but
|
6187
|
+
subscriber numbers, but some numbers we have found online are in fact six digit.
|
6112
6188
|
Subscriber numbers starting with 5 are also permitted for the area codes 040, with 5, 6
|
6113
6189
|
and 7 for the area code 050, with 5 and 7 for 082, with 6 for 084, with 7 for 086 and
|
6114
6190
|
092 and with 5 and 6 for 96. -->
|
@@ -6116,7 +6192,10 @@
|
|
6116
6192
|
(?:
|
6117
6193
|
1(
|
6118
6194
|
3[23]\d|
|
6119
|
-
5
|
6195
|
+
5(?:
|
6196
|
+
[23]|
|
6197
|
+
9\d
|
6198
|
+
)
|
6120
6199
|
)|
|
6121
6200
|
2[2-4]\d{2}|
|
6122
6201
|
3\d{2}|
|
@@ -6195,15 +6274,12 @@
|
|
6195
6274
|
<!-- The following sections are copied verbatim from Morocco to allow these non-geographical
|
6196
6275
|
numbers to be recognized as available from within Western Sahara. -->
|
6197
6276
|
<mobile>
|
6198
|
-
<!-- Prefixes 60[1-578], 62[01457-9], 63[04-8] and 68[01] are from numbers found online,
|
6199
|
-
bug-reports, and information provided directly by the carriers. -->
|
6200
6277
|
<nationalNumberPattern>
|
6201
6278
|
6(?:
|
6202
6279
|
0[0-8]|
|
6203
|
-
[
|
6204
|
-
3[03-8]|
|
6280
|
+
[12-7]\d|
|
6205
6281
|
8[01]|
|
6206
|
-
|
6282
|
+
9[27-9]
|
6207
6283
|
)\d{6}
|
6208
6284
|
</nationalNumberPattern>
|
6209
6285
|
<exampleNumber>650123456</exampleNumber>
|
@@ -6519,8 +6595,8 @@
|
|
6519
6595
|
</numberFormat>
|
6520
6596
|
<numberFormat pattern="(\d{2})(\d{4,10})">
|
6521
6597
|
<leadingDigits>
|
6522
|
-
2[09]|
|
6523
6598
|
[14]|
|
6599
|
+
2[09]|
|
6524
6600
|
50|
|
6525
6601
|
7[135]
|
6526
6602
|
</leadingDigits>
|
@@ -6666,12 +6742,12 @@
|
|
6666
6742
|
<exampleNumber>3212345</exampleNumber>
|
6667
6743
|
</fixedLine>
|
6668
6744
|
<mobile>
|
6669
|
-
<!-- Adding 7[
|
6745
|
+
<!-- Adding 7[5-8], 8[0367], and 9[034678] from numbers found online and numbers where SMSs
|
6670
6746
|
have been received from. Adding 9[15] and 84 from Vodafone Fiji IR21. -->
|
6671
6747
|
<nationalNumberPattern>
|
6672
6748
|
(?:
|
6673
|
-
7[0-
|
6674
|
-
8[
|
6749
|
+
7[0-8]|
|
6750
|
+
8[03467]|
|
6675
6751
|
9\d
|
6676
6752
|
)\d{5}
|
6677
6753
|
</nationalNumberPattern>
|
@@ -7888,8 +7964,15 @@
|
|
7888
7964
|
</territory>
|
7889
7965
|
|
7890
7966
|
<!-- Gibraltar -->
|
7967
|
+
<!-- http://www.gra.gi/index.php?topic=numbering+plan§ion=legislation&site=communications -->
|
7891
7968
|
<territory id="GI" countryCode="350" internationalPrefix="00">
|
7892
|
-
|
7969
|
+
<availableFormats>
|
7970
|
+
<!-- Most numbers are formatted as a block -->
|
7971
|
+
<numberFormat pattern="(\d{3})(\d{5})">
|
7972
|
+
<leadingDigits>2</leadingDigits>
|
7973
|
+
<format>$1 $2</format>
|
7974
|
+
</numberFormat>
|
7975
|
+
</availableFormats>
|
7893
7976
|
<generalDesc>
|
7894
7977
|
<nationalNumberPattern>[2568]\d{7}</nationalNumberPattern>
|
7895
7978
|
<possibleNumberPattern>\d{8}</possibleNumberPattern>
|
@@ -7898,8 +7981,14 @@
|
|
7898
7981
|
<nationalNumberPattern>
|
7899
7982
|
2(?:
|
7900
7983
|
00\d|
|
7901
|
-
|
7902
|
-
|
7984
|
+
1(?:
|
7985
|
+
6[24-7]|
|
7986
|
+
9\d
|
7987
|
+
)|
|
7988
|
+
2(?:
|
7989
|
+
00|
|
7990
|
+
2[2457]
|
7991
|
+
)
|
7903
7992
|
)\d{4}
|
7904
7993
|
</nationalNumberPattern>
|
7905
7994
|
<exampleNumber>20012345</exampleNumber>
|
@@ -7907,8 +7996,8 @@
|
|
7907
7996
|
<mobile>
|
7908
7997
|
<nationalNumberPattern>
|
7909
7998
|
(?:
|
7910
|
-
5[
|
7911
|
-
|
7999
|
+
5[46-8]|
|
8000
|
+
62
|
7912
8001
|
)\d{6}
|
7913
8002
|
</nationalNumberPattern>
|
7914
8003
|
<exampleNumber>57123456</exampleNumber>
|
@@ -8008,7 +8097,7 @@
|
|
8008
8097
|
<mobile>
|
8009
8098
|
<nationalNumberPattern>
|
8010
8099
|
(?:
|
8011
|
-
2[0-
|
8100
|
+
2[0-6]|
|
8012
8101
|
[3679]\d
|
8013
8102
|
)\d{5}
|
8014
8103
|
</nationalNumberPattern>
|
@@ -8049,15 +8138,9 @@
|
|
8049
8138
|
<exampleNumber>30241234</exampleNumber>
|
8050
8139
|
</fixedLine>
|
8051
8140
|
<mobile>
|
8052
|
-
<!--
|
8053
|
-
|
8054
|
-
|
8055
|
-
[03]1|
|
8056
|
-
2[128]|
|
8057
|
-
5[57]|
|
8058
|
-
6[2469]
|
8059
|
-
)\d{6}
|
8060
|
-
</nationalNumberPattern>
|
8141
|
+
<!-- Prefixes here match those assigned to carriers, as per the ITU communication Jan 23rd
|
8142
|
+
2013. -->
|
8143
|
+
<nationalNumberPattern>6[02356]\d{7}</nationalNumberPattern>
|
8061
8144
|
<possibleNumberPattern>\d{9}</possibleNumberPattern>
|
8062
8145
|
<exampleNumber>601123456</exampleNumber>
|
8063
8146
|
</mobile>
|
@@ -8678,7 +8761,7 @@
|
|
8678
8761
|
<possibleNumberPattern>\d{8}</possibleNumberPattern>
|
8679
8762
|
</generalDesc>
|
8680
8763
|
<fixedLine>
|
8681
|
-
<!-- Extra prefixes 227[01389], 228X
|
8764
|
+
<!-- Extra prefixes 227[01389], 228X, 2292 & 260X were added from numbers found online. -->
|
8682
8765
|
<nationalNumberPattern>
|
8683
8766
|
2(?:
|
8684
8767
|
2(?:
|
@@ -8704,8 +8787,8 @@
|
|
8704
8787
|
74
|
8705
8788
|
)|
|
8706
8789
|
6(?:
|
8790
|
+
[056]\d|
|
8707
8791
|
4[0-378]|
|
8708
|
-
[56]\d|
|
8709
8792
|
[78][0-8]|
|
8710
8793
|
9[01]
|
8711
8794
|
)|
|
@@ -9626,7 +9709,6 @@
|
|
9626
9709
|
</territory>
|
9627
9710
|
|
9628
9711
|
<!-- India -->
|
9629
|
-
<!-- http://www.dot.gov.in/numbering_plan/numberplanindex.htm -->
|
9630
9712
|
<!-- http://www.itu.int/oth/T0202000063/en -->
|
9631
9713
|
<!-- http://en.wikipedia.org/wiki/%2B91 -->
|
9632
9714
|
<!-- http://www.coai.in/msccodes.php -->
|
@@ -9644,9 +9726,8 @@
|
|
9644
9726
|
2[0579]|
|
9645
9727
|
3[057-9]|
|
9646
9728
|
4[0-389]|
|
9647
|
-
5[024-9]|
|
9648
9729
|
6[0-35-9]|
|
9649
|
-
|
9730
|
+
[57]|
|
9650
9731
|
8[0-79]
|
9651
9732
|
)|
|
9652
9733
|
8(?:
|
@@ -9655,7 +9736,7 @@
|
|
9655
9736
|
2[2356-9]|
|
9656
9737
|
3[0-57-9]|
|
9657
9738
|
[45]|
|
9658
|
-
6[
|
9739
|
+
6[02457-9]|
|
9659
9740
|
7[1-69]|
|
9660
9741
|
8[0124-9]|
|
9661
9742
|
9[02-9]
|
@@ -9684,21 +9765,19 @@
|
|
9684
9765
|
8[389]
|
9685
9766
|
)|
|
9686
9767
|
5(?:
|
9687
|
-
|
9688
|
-
[
|
9689
|
-
[
|
9690
|
-
|
9691
|
-
[89][7-9]
|
9768
|
+
[034678]|
|
9769
|
+
2[03-9]|
|
9770
|
+
5[017-9]|
|
9771
|
+
9[7-9]
|
9692
9772
|
)|
|
9693
9773
|
6(?:
|
9694
9774
|
0[027]|
|
9695
|
-
|
9696
|
-
|
9775
|
+
1[0-257-9]|
|
9776
|
+
2[0-4]|
|
9697
9777
|
3[19]|
|
9698
|
-
5[
|
9699
|
-
|
9700
|
-
|
9701
|
-
9[1-46-9]
|
9778
|
+
5[4589]|
|
9779
|
+
[679]|
|
9780
|
+
8[0-589]
|
9702
9781
|
)|
|
9703
9782
|
7(?:
|
9704
9783
|
0[2-9]|
|
@@ -10120,8 +10199,8 @@
|
|
10120
10199
|
<!-- A couple of additional prefixes found neither on the wikipedia page nor in the MSC
|
10121
10200
|
codes list, are added because SMS messages have been successfully sent to these
|
10122
10201
|
numbers. It seems almost impossible to know for some of these numbers whether they are
|
10123
|
-
land-line or mobile, since the ranges overlap. Extra prefixes added: 8299,
|
10124
|
-
New prefixes were added based on the document provided from mobile carriers:
|
10202
|
+
land-line or mobile, since the ranges overlap. Extra prefixes added: 76[89]5, 8299,
|
10203
|
+
8309. New prefixes were also added based on the document provided from mobile carriers:
|
10125
10204
|
https://code.google.com/p/libphonenumber/issues/detail?id=260 -->
|
10126
10205
|
<nationalNumberPattern>
|
10127
10206
|
(?:
|
@@ -10146,21 +10225,19 @@
|
|
10146
10225
|
8[389]
|
10147
10226
|
)|
|
10148
10227
|
5(?:
|
10149
|
-
|
10150
|
-
[
|
10151
|
-
[
|
10152
|
-
|
10153
|
-
[89][7-9]
|
10228
|
+
[034678]\d|
|
10229
|
+
2[03-9]|
|
10230
|
+
5[017-9]|
|
10231
|
+
9[7-9]
|
10154
10232
|
)|
|
10155
10233
|
6(?:
|
10156
10234
|
0[027]|
|
10157
|
-
|
10158
|
-
|
10235
|
+
1[0-257-9]|
|
10236
|
+
2[0-4]|
|
10159
10237
|
3[19]|
|
10160
|
-
5[
|
10161
|
-
|
10162
|
-
|
10163
|
-
9[1-46-9]
|
10238
|
+
5[4589]|
|
10239
|
+
[679]\d|
|
10240
|
+
8[0-589]
|
10164
10241
|
)|
|
10165
10242
|
7(?:
|
10166
10243
|
0[2-9]|
|
@@ -10559,7 +10636,7 @@
|
|
10559
10636
|
<mobile>
|
10560
10637
|
<!-- TETRA = TErrestrial Trunked RAdio is included under mobile. -->
|
10561
10638
|
<nationalNumberPattern>
|
10562
|
-
38[
|
10639
|
+
38[589]\d{6}|
|
10563
10640
|
(?:
|
10564
10641
|
6(?:
|
10565
10642
|
1[0-8]|
|
@@ -10584,6 +10661,9 @@
|
|
10584
10661
|
<exampleNumber>6101234</exampleNumber>
|
10585
10662
|
</mobile>
|
10586
10663
|
<tollFree>
|
10664
|
+
<!-- The UIFN numbers mentioned in the Excel document are not yet included since no real
|
10665
|
+
numbers can be found online, and it is not clear what these are; the standard
|
10666
|
+
definition would have them under the +800 country code instead of Iceland. -->
|
10587
10667
|
<nationalNumberPattern>800\d{4}</nationalNumberPattern>
|
10588
10668
|
<possibleNumberPattern>\d{7}</possibleNumberPattern>
|
10589
10669
|
<exampleNumber>8001234</exampleNumber>
|
@@ -10600,7 +10680,6 @@
|
|
10600
10680
|
</voip>
|
10601
10681
|
<voicemail>
|
10602
10682
|
<nationalNumberPattern>
|
10603
|
-
388\d{6}|
|
10604
10683
|
(?:
|
10605
10684
|
6(?:
|
10606
10685
|
2[0-8]|
|
@@ -10616,7 +10695,8 @@
|
|
10616
10695
|
95[48]
|
10617
10696
|
)\d{4}
|
10618
10697
|
</nationalNumberPattern>
|
10619
|
-
<
|
10698
|
+
<possibleNumberPattern>\d{7}</possibleNumberPattern>
|
10699
|
+
<exampleNumber>6201234</exampleNumber>
|
10620
10700
|
</voicemail>
|
10621
10701
|
</territory>
|
10622
10702
|
|
@@ -11185,7 +11265,8 @@
|
|
11185
11265
|
3[0-57-8]|
|
11186
11266
|
4[24-7]|
|
11187
11267
|
5[0-24-8]|
|
11188
|
-
[6-
|
11268
|
+
[6-8][02]|
|
11269
|
+
9[0-2]
|
11189
11270
|
)|
|
11190
11271
|
7(?:
|
11191
11272
|
0[1-79]|
|
@@ -11201,11 +11282,13 @@
|
|
11201
11282
|
1[1-35-7]|
|
11202
11283
|
2[024-7]|
|
11203
11284
|
3\d|
|
11204
|
-
[
|
11285
|
+
4[0-2]|
|
11286
|
+
[57][02]|
|
11205
11287
|
60
|
11206
11288
|
)|
|
11207
11289
|
53(?:
|
11208
|
-
[
|
11290
|
+
0[0-2]|
|
11291
|
+
[13][02]|
|
11209
11292
|
2[0-59]|
|
11210
11293
|
49|
|
11211
11294
|
5[0-35-9]|
|
@@ -11254,8 +11337,8 @@
|
|
11254
11337
|
7(?:
|
11255
11338
|
55|
|
11256
11339
|
7[25-9]|
|
11257
|
-
8[
|
11258
|
-
9[
|
11340
|
+
8[05-9]|
|
11341
|
+
9[015-9]
|
11259
11342
|
)\d{6}
|
11260
11343
|
</nationalNumberPattern>
|
11261
11344
|
<possibleNumberPattern>\d{9}</possibleNumberPattern>
|
@@ -12571,36 +12654,42 @@
|
|
12571
12654
|
<!-- Kiribati -->
|
12572
12655
|
<!-- http://www.itu.int/oth/T0202000071/en -->
|
12573
12656
|
<!-- We include the national prefix for parsing here just in case numbers can be dialled with a
|
12574
|
-
leading 0 -
|
12575
|
-
|
12576
|
-
prefix. -->
|
12657
|
+
leading 0 - no numbers online have been found formatted this way, but the ITU document
|
12658
|
+
lists it as a national dialling prefix. -->
|
12577
12659
|
<territory id="KI" countryCode="686" internationalPrefix="00"
|
12578
12660
|
nationalPrefixForParsing="0">
|
12579
12661
|
<!-- Numbers should be formatted as a block." -->
|
12580
12662
|
<generalDesc>
|
12581
|
-
<nationalNumberPattern>
|
12582
|
-
|
12663
|
+
<nationalNumberPattern>
|
12664
|
+
[2-58]\d{4}|
|
12665
|
+
7\d{7}
|
12666
|
+
</nationalNumberPattern>
|
12667
|
+
<possibleNumberPattern>\d{5,8}</possibleNumberPattern>
|
12583
12668
|
</generalDesc>
|
12584
12669
|
<fixedLine>
|
12585
12670
|
<nationalNumberPattern>
|
12586
12671
|
(?:
|
12587
|
-
[
|
12672
|
+
[24]\d|
|
12673
|
+
3[1-9]|
|
12588
12674
|
50|
|
12589
|
-
8[
|
12675
|
+
8[0-5]
|
12590
12676
|
)\d{3}
|
12591
12677
|
</nationalNumberPattern>
|
12678
|
+
<possibleNumberPattern>\d{5}</possibleNumberPattern>
|
12592
12679
|
<exampleNumber>31234</exampleNumber>
|
12593
12680
|
</fixedLine>
|
12594
12681
|
<mobile>
|
12595
|
-
<!--
|
12682
|
+
<!-- North Tarawa is listed as 720XXXXX-729XXXXX but considering that this deviates from the
|
12683
|
+
pattern followed by every other place, we are assuming 731XXXXX-732XXXXX for now. -->
|
12596
12684
|
<nationalNumberPattern>
|
12597
|
-
|
12598
|
-
|
12599
|
-
[
|
12600
|
-
|
12601
|
-
)\d{
|
12685
|
+
7(?:
|
12686
|
+
[24]\d|
|
12687
|
+
3[1-9]|
|
12688
|
+
8[0-5]
|
12689
|
+
)\d{5}
|
12602
12690
|
</nationalNumberPattern>
|
12603
|
-
<
|
12691
|
+
<possibleNumberPattern>\d{8}</possibleNumberPattern>
|
12692
|
+
<exampleNumber>72012345</exampleNumber>
|
12604
12693
|
</mobile>
|
12605
12694
|
</territory>
|
12606
12695
|
|
@@ -13040,7 +13129,7 @@
|
|
13040
13129
|
<nationalNumberPattern>
|
13041
13130
|
(?:
|
13042
13131
|
5(?:
|
13043
|
-
1[0-
|
13132
|
+
1[0-5]|
|
13044
13133
|
[05]\d
|
13045
13134
|
)|
|
13046
13135
|
6(?:
|
@@ -13055,7 +13144,7 @@
|
|
13055
13144
|
4[049]|
|
13056
13145
|
6[069]|
|
13057
13146
|
[79]\d|
|
13058
|
-
|
13147
|
+
8[08]
|
13059
13148
|
)
|
13060
13149
|
)\d{5}
|
13061
13150
|
</nationalNumberPattern>
|
@@ -14297,15 +14386,13 @@
|
|
14297
14386
|
</fixedLine>
|
14298
14387
|
<!-- Also duplicated in Western Sahara, please ensure you update both. -->
|
14299
14388
|
<mobile>
|
14300
|
-
<!--
|
14301
|
-
online, bug-reports, and information provided directly by the carriers. -->
|
14389
|
+
<!-- http://www.anrt.ma/sites/default/files/Blocs_de_numeros_par_operateur.pdf -->
|
14302
14390
|
<nationalNumberPattern>
|
14303
14391
|
6(?:
|
14304
14392
|
0[0-8]|
|
14305
|
-
[
|
14306
|
-
3[013-8]|
|
14393
|
+
[12-7]\d|
|
14307
14394
|
8[01]|
|
14308
|
-
9[
|
14395
|
+
9[27-9]
|
14309
14396
|
)\d{6}
|
14310
14397
|
</nationalNumberPattern>
|
14311
14398
|
<exampleNumber>650123456</exampleNumber>
|
@@ -14661,14 +14748,9 @@
|
|
14661
14748
|
<mobile>
|
14662
14749
|
<!-- The numbering plan suggests the third digit, Z, should be 24-9, but this is not borne
|
14663
14750
|
out by reality. -->
|
14664
|
-
<nationalNumberPattern>
|
14665
|
-
3(?:
|
14666
|
-
[02-4]\d|
|
14667
|
-
90
|
14668
|
-
)\d{6}
|
14669
|
-
</nationalNumberPattern>
|
14751
|
+
<nationalNumberPattern>3[2-49]\d{7}</nationalNumberPattern>
|
14670
14752
|
<possibleNumberPattern>\d{9}</possibleNumberPattern>
|
14671
|
-
<exampleNumber>
|
14753
|
+
<exampleNumber>321234567</exampleNumber>
|
14672
14754
|
</mobile>
|
14673
14755
|
<!-- Putting VSAT numbers here. -->
|
14674
14756
|
<voip>
|
@@ -14771,9 +14853,11 @@
|
|
14771
14853
|
<mobile>
|
14772
14854
|
<nationalNumberPattern>
|
14773
14855
|
7(?:
|
14774
|
-
[0-25-8]\d|
|
14775
|
-
|
14776
|
-
|
14856
|
+
[0-25-8]\d{2}|
|
14857
|
+
32\d|
|
14858
|
+
421
|
14859
|
+
)\d{4}
|
14860
|
+
</nationalNumberPattern>
|
14777
14861
|
<exampleNumber>72345678</exampleNumber>
|
14778
14862
|
</mobile>
|
14779
14863
|
<tollFree>
|
@@ -14896,7 +14980,8 @@
|
|
14896
14980
|
<numberFormat pattern="(9)(\d{3})(\d{4,5})">
|
14897
14981
|
<leadingDigits>
|
14898
14982
|
9(?:
|
14899
|
-
[
|
14983
|
+
2[0-4]|
|
14984
|
+
[35-9]|
|
14900
14985
|
4[13789]
|
14901
14986
|
)
|
14902
14987
|
</leadingDigits>
|
@@ -14906,13 +14991,19 @@
|
|
14906
14991
|
<leadingDigits>94[0245]</leadingDigits>
|
14907
14992
|
<format>$1 $2 $3</format>
|
14908
14993
|
</numberFormat>
|
14994
|
+
<!-- Following majority of numbers found online. -->
|
14995
|
+
<numberFormat pattern="(9)(\d{3})(\d{3})(\d{3})">
|
14996
|
+
<leadingDigits>925</leadingDigits>
|
14997
|
+
<format>$1 $2 $3 $4</format>
|
14998
|
+
</numberFormat>
|
14909
14999
|
</availableFormats>
|
14910
15000
|
<generalDesc>
|
14911
15001
|
<nationalNumberPattern>
|
14912
15002
|
[14578]\d{5,7}|
|
14913
15003
|
[26]\d{5,8}|
|
14914
15004
|
9(?:
|
14915
|
-
|
15005
|
+
2\d{0,2}|
|
15006
|
+
[58]|
|
14916
15007
|
3\d|
|
14917
15008
|
4\d{1,2}|
|
14918
15009
|
[679]\d?
|
@@ -15002,7 +15093,10 @@
|
|
15002
15093
|
<nationalNumberPattern>
|
15003
15094
|
17[01]\d{4}|
|
15004
15095
|
9(?:
|
15005
|
-
2
|
15096
|
+
2(?:
|
15097
|
+
[0-4]|
|
15098
|
+
5\d{2}
|
15099
|
+
)|
|
15006
15100
|
3[136]\d|
|
15007
15101
|
4(?:
|
15008
15102
|
0[0-4]\d|
|
@@ -15427,6 +15521,7 @@
|
|
15427
15521
|
2(?:
|
15428
15522
|
0(?:
|
15429
15523
|
1[0-6]|
|
15524
|
+
3[1-4]|
|
15430
15525
|
[69]\d
|
15431
15526
|
)|
|
15432
15527
|
[1-357]\d{2}
|
@@ -15435,6 +15530,8 @@
|
|
15435
15530
|
<exampleNumber>21001234</exampleNumber>
|
15436
15531
|
</fixedLine>
|
15437
15532
|
<mobile>
|
15533
|
+
<!-- 7210 and 92XX come from the allocations listed on www.mca.org.mt, but they are not
|
15534
|
+
listed in the latest ITU document. -->
|
15438
15535
|
<nationalNumberPattern>
|
15439
15536
|
(?:
|
15440
15537
|
7(?:
|
@@ -15552,7 +15649,7 @@
|
|
15552
15649
|
)|
|
15553
15650
|
7\d{2}|
|
15554
15651
|
8(?:
|
15555
|
-
[
|
15652
|
+
[256]\d|
|
15556
15653
|
7[15-8]
|
15557
15654
|
)|
|
15558
15655
|
9[0-8]\d
|
@@ -16117,8 +16214,8 @@
|
|
16117
16214
|
7\d?
|
16118
16215
|
)|
|
16119
16216
|
3(?:
|
16120
|
-
|
16121
|
-
|
16217
|
+
[01378]|
|
16218
|
+
2\d
|
16122
16219
|
)|
|
16123
16220
|
4[01]|
|
16124
16221
|
69|
|
@@ -16126,7 +16223,6 @@
|
|
16126
16223
|
)|
|
16127
16224
|
2(?:
|
16128
16225
|
17|
|
16129
|
-
25|
|
16130
16226
|
5(?:
|
16131
16227
|
[0-36-8]|
|
16132
16228
|
4\d?
|
@@ -16391,7 +16487,7 @@
|
|
16391
16487
|
<leadingDigits>[129]</leadingDigits>
|
16392
16488
|
<format>$1 $2 $3</format>
|
16393
16489
|
</numberFormat>
|
16394
|
-
<numberFormat pattern="(
|
16490
|
+
<numberFormat pattern="(\d{2})(\d{3})(\d{2,3})">
|
16395
16491
|
<leadingDigits>
|
16396
16492
|
[3-6]|
|
16397
16493
|
7(?:
|
@@ -16402,10 +16498,11 @@
|
|
16402
16498
|
</leadingDigits>
|
16403
16499
|
<format>$1 $2 $3</format>
|
16404
16500
|
</numberFormat>
|
16405
|
-
<numberFormat pattern="(
|
16501
|
+
<numberFormat pattern="(\d{3})(\d{3})(\d{3,4})">
|
16406
16502
|
<leadingDigits>
|
16407
16503
|
70|
|
16408
|
-
8[01]
|
16504
|
+
8[01]|
|
16505
|
+
909
|
16409
16506
|
</leadingDigits>
|
16410
16507
|
<format>$1 $2 $3</format>
|
16411
16508
|
</numberFormat>
|
@@ -16424,7 +16521,8 @@
|
|
16424
16521
|
</availableFormats>
|
16425
16522
|
<generalDesc>
|
16426
16523
|
<nationalNumberPattern>
|
16427
|
-
[1-
|
16524
|
+
[1-6]\d{5,8}|
|
16525
|
+
9\d{5,9}|
|
16428
16526
|
[78]\d{5,13}
|
16429
16527
|
</nationalNumberPattern>
|
16430
16528
|
<possibleNumberPattern>\d{5,14}</possibleNumberPattern>
|
@@ -16432,7 +16530,10 @@
|
|
16432
16530
|
<fixedLine>
|
16433
16531
|
<nationalNumberPattern>
|
16434
16532
|
[12]\d{6,7}|
|
16435
|
-
9
|
16533
|
+
9(?:
|
16534
|
+
0[3-9]|
|
16535
|
+
[1-9]\d
|
16536
|
+
)\d{5}|
|
16436
16537
|
(?:
|
16437
16538
|
3\d|
|
16438
16539
|
4[023568]|
|
@@ -16460,7 +16561,7 @@
|
|
16460
16561
|
from Etisalat, 814 MTN and 811 from Glo. Furthermore, the fixed-line prefixes owned by
|
16461
16562
|
Starcomms have apparently, according to the company, been used for mobile numbers too,
|
16462
16563
|
despite the ITU plan, so we list them here as well. 701 has been added for Airtel/Zain.
|
16463
|
-
-->
|
16564
|
+
9091 has been added for Etisalat. -->
|
16464
16565
|
<nationalNumberPattern>
|
16465
16566
|
(?:
|
16466
16567
|
1(?:
|
@@ -16542,7 +16643,8 @@
|
|
16542
16643
|
8(?:
|
16543
16644
|
0[2-9]|
|
16544
16645
|
1\d
|
16545
|
-
)\d
|
16646
|
+
)\d|
|
16647
|
+
9091
|
16546
16648
|
)\d{6}
|
16547
16649
|
</nationalNumberPattern>
|
16548
16650
|
<possibleNumberPattern>\d{8,10}</possibleNumberPattern>
|
@@ -16570,7 +16672,7 @@
|
|
16570
16672
|
</numberFormat>
|
16571
16673
|
</availableFormats>
|
16572
16674
|
<generalDesc>
|
16573
|
-
<nationalNumberPattern>[
|
16675
|
+
<nationalNumberPattern>[12578]\d{7}</nationalNumberPattern>
|
16574
16676
|
<possibleNumberPattern>\d{8}</possibleNumberPattern>
|
16575
16677
|
</generalDesc>
|
16576
16678
|
<fixedLine>
|
@@ -16579,9 +16681,14 @@
|
|
16579
16681
|
</fixedLine>
|
16580
16682
|
<mobile>
|
16581
16683
|
<!-- Online users have reported seeing 5500 used by Claro; until we can find actual numbers
|
16582
|
-
or any documentation about it, we restrict this pattern to this prefix exactly.
|
16684
|
+
or any documentation about it, we restrict this pattern to this prefix exactly. 57 and
|
16685
|
+
78 were added from bug reports/numbers found online. -->
|
16583
16686
|
<nationalNumberPattern>
|
16584
|
-
|
16687
|
+
5(?:
|
16688
|
+
500\d{4}|
|
16689
|
+
7\d{6}
|
16690
|
+
)|
|
16691
|
+
78\d{6}|
|
16585
16692
|
8\d{7}
|
16586
16693
|
</nationalNumberPattern>
|
16587
16694
|
<exampleNumber>81234567</exampleNumber>
|
@@ -17872,8 +17979,7 @@
|
|
17872
17979
|
0\d|
|
17873
17980
|
1[1-5]|
|
17874
17981
|
2[0-5]|
|
17875
|
-
|
17876
|
-
4[1-7]|
|
17982
|
+
[34][1-7]|
|
17877
17983
|
55|
|
17878
17984
|
64
|
17879
17985
|
)\d{7}
|
@@ -19618,7 +19724,7 @@
|
|
19618
19724
|
<numberFormat pattern="([3-7]\d)(\d{3})(\d{3})">
|
19619
19725
|
<leadingDigits>
|
19620
19726
|
[37][01]|
|
19621
|
-
4[
|
19727
|
+
4[0139]|
|
19622
19728
|
51|
|
19623
19729
|
6
|
19624
19730
|
</leadingDigits>
|
@@ -19657,14 +19763,13 @@
|
|
19657
19763
|
<exampleNumber>11234567</exampleNumber>
|
19658
19764
|
</fixedLine>
|
19659
19765
|
<mobile>
|
19660
|
-
<!-- We include 049 here - it is VoIP in the plan, but
|
19661
|
-
|
19662
|
-
|
19663
|
-
added 068, which is used by the mobile operator bob.si -->
|
19766
|
+
<!-- We include 043 and 049 here - it is VoIP in the plan, but is actually used to provide
|
19767
|
+
mobile coverage to Kosovo. Also added 068, which is used by the mobile operator bob.si
|
19768
|
+
-->
|
19664
19769
|
<nationalNumberPattern>
|
19665
19770
|
(?:
|
19666
19771
|
[37][01]|
|
19667
|
-
4[
|
19772
|
+
4[0139]|
|
19668
19773
|
51|
|
19669
19774
|
6[48]
|
19670
19775
|
)\d{6}
|
@@ -19964,29 +20069,37 @@
|
|
19964
20069
|
|
19965
20070
|
<!-- Senegal -->
|
19966
20071
|
<!-- http://www.itu.int/oth/T02020000B8/en -->
|
20072
|
+
<!-- http://www.artpsenegal.net -->
|
19967
20073
|
<territory id="SN" countryCode="221" internationalPrefix="00">
|
19968
20074
|
<availableFormats>
|
19969
20075
|
<!-- Using yellow pages and online telecom company formatting, rather than that implied in
|
19970
20076
|
the national numbering plan. -->
|
19971
20077
|
<numberFormat pattern="(\d{2})(\d{3})(\d{2})(\d{2})">
|
20078
|
+
<leadingDigits>[37]</leadingDigits>
|
20079
|
+
<format>$1 $2 $3 $4</format>
|
20080
|
+
</numberFormat>
|
20081
|
+
<numberFormat pattern="(\d{3})(\d{2})(\d{2})(\d{2})">
|
20082
|
+
<leadingDigits>8</leadingDigits>
|
19972
20083
|
<format>$1 $2 $3 $4</format>
|
19973
20084
|
</numberFormat>
|
19974
20085
|
</availableFormats>
|
19975
20086
|
<generalDesc>
|
19976
|
-
<nationalNumberPattern>[
|
20087
|
+
<nationalNumberPattern>[378]\d{8}</nationalNumberPattern>
|
19977
20088
|
<possibleNumberPattern>\d{9}</possibleNumberPattern>
|
19978
20089
|
</generalDesc>
|
19979
20090
|
<fixedLine>
|
19980
20091
|
<nationalNumberPattern>
|
19981
20092
|
3(?:
|
19982
20093
|
0(?:
|
19983
|
-
1[
|
20094
|
+
1[0-2]|
|
19984
20095
|
80
|
19985
20096
|
)|
|
20097
|
+
211|
|
19986
20098
|
3(?:
|
19987
20099
|
8[1-9]|
|
19988
20100
|
9[2-9]
|
19989
|
-
)
|
20101
|
+
)|
|
20102
|
+
90[1-5]
|
19990
20103
|
)\d{5}
|
19991
20104
|
</nationalNumberPattern>
|
19992
20105
|
<exampleNumber>301012345</exampleNumber>
|
@@ -19994,36 +20107,34 @@
|
|
19994
20107
|
<mobile>
|
19995
20108
|
<nationalNumberPattern>
|
19996
20109
|
7(?:
|
19997
|
-
|
19998
|
-
|
19999
|
-
|
20000
|
-
|
20001
|
-
|
20002
|
-
|
20003
|
-
8[029]
|
20004
|
-
)|
|
20005
|
-
6(?:
|
20006
|
-
1[23]|
|
20007
|
-
2[89]|
|
20008
|
-
3[3489]|
|
20009
|
-
4[6-9]|
|
20010
|
-
5\d|
|
20011
|
-
6[3-9]|
|
20012
|
-
7[45]|
|
20013
|
-
8[3-8]
|
20014
|
-
)|
|
20015
|
-
7\d{2}|
|
20016
|
-
8(?:
|
20017
|
-
01|
|
20018
|
-
1[01]
|
20019
|
-
)
|
20020
|
-
)\d{5}
|
20110
|
+
[07]\d|
|
20111
|
+
21|
|
20112
|
+
6[1-9]|
|
20113
|
+
8[0-26]|
|
20114
|
+
90
|
20115
|
+
)\d{6}
|
20021
20116
|
</nationalNumberPattern>
|
20022
|
-
<exampleNumber>
|
20117
|
+
<exampleNumber>701234567</exampleNumber>
|
20023
20118
|
</mobile>
|
20119
|
+
<tollFree>
|
20120
|
+
<nationalNumberPattern>800\d{6}</nationalNumberPattern>
|
20121
|
+
<possibleNumberPattern>\d{9}</possibleNumberPattern>
|
20122
|
+
<exampleNumber>800123456</exampleNumber>
|
20123
|
+
</tollFree>
|
20124
|
+
<premiumRate>
|
20125
|
+
<!-- Revenu Partagé in the plan. -->
|
20126
|
+
<nationalNumberPattern>88[4689]\d{6}</nationalNumberPattern>
|
20127
|
+
<possibleNumberPattern>\d{9}</possibleNumberPattern>
|
20128
|
+
<exampleNumber>884123456</exampleNumber>
|
20129
|
+
</premiumRate>
|
20130
|
+
<sharedCost>
|
20131
|
+
<nationalNumberPattern>81[02468]\d{6}</nationalNumberPattern>
|
20132
|
+
<possibleNumberPattern>\d{9}</possibleNumberPattern>
|
20133
|
+
<exampleNumber>810123456</exampleNumber>
|
20134
|
+
</sharedCost>
|
20024
20135
|
<voip>
|
20025
|
-
<nationalNumberPattern>
|
20026
|
-
<exampleNumber>
|
20136
|
+
<nationalNumberPattern>391\d{6}</nationalNumberPattern>
|
20137
|
+
<exampleNumber>391011234</exampleNumber>
|
20027
20138
|
</voip>
|
20028
20139
|
</territory>
|
20029
20140
|
|
@@ -20151,12 +20262,14 @@
|
|
20151
20262
|
<exampleNumber>211234</exampleNumber>
|
20152
20263
|
</fixedLine>
|
20153
20264
|
<mobile>
|
20154
|
-
<!-- Adding 74 from numbers found online. -->
|
20155
20265
|
<nationalNumberPattern>
|
20156
20266
|
(?:
|
20157
|
-
7
|
20158
|
-
|
20159
|
-
|
20267
|
+
7(?:
|
20268
|
+
[1-357]\d|
|
20269
|
+
4[0-5]
|
20270
|
+
)|
|
20271
|
+
8[1-9]\d
|
20272
|
+
)\d{4}
|
20160
20273
|
</nationalNumberPattern>
|
20161
20274
|
<possibleNumberPattern>\d{7}</possibleNumberPattern>
|
20162
20275
|
<exampleNumber>7412345</exampleNumber>
|
@@ -20504,7 +20617,7 @@
|
|
20504
20617
|
3[1-389]|
|
20505
20618
|
4[1-7]
|
20506
20619
|
)|
|
20507
|
-
4[34][
|
20620
|
+
4[34][1-3]
|
20508
20621
|
)\d{4}
|
20509
20622
|
</nationalNumberPattern>
|
20510
20623
|
<possibleNumberPattern>\d{10}</possibleNumberPattern>
|
@@ -20933,8 +21046,9 @@
|
|
20933
21046
|
<!-- According to feedback from users, the carrier Altyn Asyr is the only one currently
|
20934
21047
|
operating, with the numbers 6[3-5]\d{6}. MTS used to operate the ranges 6[6-8] but this
|
20935
21048
|
has been suspended. It is unclear whether it will resume. We support both ranges in the
|
20936
|
-
meantime.
|
20937
|
-
|
21049
|
+
meantime. The range 62 seems also now to be in use, according to numbers found online.
|
21050
|
+
-->
|
21051
|
+
<nationalNumberPattern>6[2-8]\d{6}</nationalNumberPattern>
|
20938
21052
|
<exampleNumber>66123456</exampleNumber>
|
20939
21053
|
</mobile>
|
20940
21054
|
<!-- No tollFree or premiumRate information can be found. -->
|
@@ -21181,11 +21295,12 @@
|
|
21181
21295
|
<exampleNumber>8682211234</exampleNumber>
|
21182
21296
|
</fixedLine>
|
21183
21297
|
<mobile>
|
21184
|
-
<!-- Adding 48X & 70X from the IR21 published by TSTT.
|
21298
|
+
<!-- Adding 48X & 70X from the IR21 published by TSTT. 288 seems to be used based on numbers
|
21299
|
+
found online. -->
|
21185
21300
|
<nationalNumberPattern>
|
21186
21301
|
868(?:
|
21187
21302
|
2(?:
|
21188
|
-
8[
|
21303
|
+
8[5-9]|
|
21189
21304
|
9\d
|
21190
21305
|
)|
|
21191
21306
|
3(?:
|
@@ -21616,7 +21731,7 @@
|
|
21616
21731
|
)|
|
21617
21732
|
3[23]\d|
|
21618
21733
|
5[0-4]\d|
|
21619
|
-
|
21734
|
+
6[03]\d|
|
21620
21735
|
8[0-2]\d
|
21621
21736
|
)\d{4}|
|
21622
21737
|
[34]\d{8}
|