phonelib 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/data/PhoneNumberMetaData.xml +169 -127
- data/data/phone_data.yml +63 -53
- 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 +14 -972
- data/test/dummy/log/test.log +146 -8682
- metadata +98 -150
- data/test/dummy/tmp/cache/assets/C8C/B80/sprockets%2F371bf96e99717688ed7313a0c53f4212 +0 -0
- data/test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy/tmp/cache/assets/CF0/1D0/sprockets%2F6fc757c2c8329244ca95d6909865bbc2 +0 -0
- data/test/dummy/tmp/cache/assets/CF2/1D0/sprockets%2F0c27dcea623d22c007e33b8bf5301181 +0 -0
- data/test/dummy/tmp/cache/assets/D04/B50/sprockets%2F46c36c6aa77b26dddc3117542d006b94 +0 -0
- data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/D46/C40/sprockets%2F9b88128dae7c1e6c7b28bcf197057c21 +0 -0
- data/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/D6D/E60/sprockets%2F1e022b8d5f5e26ebefd84c611bb56952 +0 -0
- data/test/dummy/tmp/cache/assets/D86/1B0/sprockets%2F5525f793871e81fb2bc8ff6dc05d7d8f +0 -0
- data/test/dummy/tmp/cache/assets/D8B/9D0/sprockets%2F017fa706d8e37400eafdda73e151d0bc +0 -0
- data/test/dummy/tmp/cache/assets/DD6/070/sprockets%2F2c9fb78e23cbc06765e705f8dfc6abe1 +0 -0
- data/test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/E57/9D0/sprockets%2Fdc6481f3cacaff37934cae4aa8e0ecb4 +0 -0
@@ -574,6 +574,7 @@
|
|
574
574
|
<!-- Armenia -->
|
575
575
|
<!-- http://www.itu.int/oth/T020200000A/en -->
|
576
576
|
<!-- http://en.wikipedia.org/wiki/%2B374 -->
|
577
|
+
<!-- http://en.wikipedia.org/wiki/Telephone_numbers_in_Nagorno-Karabakh_Republic -->
|
577
578
|
<!-- We think the national dialling prefix is 0 - it seems this was a change in 2005 (or 2008)
|
578
579
|
along with the new city codes. However, their official document makes no mention of it,
|
579
580
|
websites disagree, and we are not sure if the change has actually been made. -->
|
@@ -612,10 +613,10 @@
|
|
612
613
|
</generalDesc>
|
613
614
|
<fixedLine>
|
614
615
|
<!-- Includes telephone numbers in Nagorno-Karabakh Republic, physically located inside
|
615
|
-
Azerbaijan. -->
|
616
|
+
Azerbaijan, which use prefix 47. -->
|
616
617
|
<nationalNumberPattern>
|
617
618
|
(?:
|
618
|
-
|
619
|
+
1[01]\d|
|
619
620
|
2(?:
|
620
621
|
2[2-46]|
|
621
622
|
3[1-8]|
|
@@ -1200,10 +1201,11 @@
|
|
1200
1201
|
<exampleNumber>6846221234</exampleNumber>
|
1201
1202
|
</fixedLine>
|
1202
1203
|
<mobile>
|
1204
|
+
<!-- Adding 24[246], operated from Blue Sky. -->
|
1203
1205
|
<nationalNumberPattern>
|
1204
1206
|
684(?:
|
1205
1207
|
733|
|
1206
|
-
|
1208
|
+
25[2468]
|
1207
1209
|
)\d{4}
|
1208
1210
|
</nationalNumberPattern>
|
1209
1211
|
<possibleNumberPattern>\d{10}</possibleNumberPattern>
|
@@ -2600,7 +2602,8 @@
|
|
2600
2602
|
<fixedLine>
|
2601
2603
|
<!-- The prefix 50 48 has been added based on numbers found online, while 40 49 has been
|
2602
2604
|
deleted since we haven't found any numbers with this prefix and it is not mentioned in
|
2603
|
-
the onatel document.
|
2605
|
+
the onatel document. Note the most recent ITU document seems to have major errors in
|
2606
|
+
the fixed-line table, so we have not changed our patterns based on this. -->
|
2604
2607
|
<nationalNumberPattern>
|
2605
2608
|
(?:
|
2606
2609
|
20(?:
|
@@ -2619,24 +2622,13 @@
|
|
2619
2622
|
<exampleNumber>20491234</exampleNumber>
|
2620
2623
|
</fixedLine>
|
2621
2624
|
<mobile>
|
2622
|
-
<!-- Including the whole range of 75 despite the document restricting it to only a few,
|
2623
|
-
since diallable numbers have been found outside the range that the document specifies.
|
2624
|
-
Including 716 as well since many numbers seem to have this prefix. -->
|
2625
2625
|
<nationalNumberPattern>
|
2626
|
-
(?:
|
2627
|
-
|
2628
|
-
|
2629
|
-
|
2630
|
-
|
2631
|
-
|
2632
|
-
)|
|
2633
|
-
7(?:
|
2634
|
-
[02-68]\d|
|
2635
|
-
1[0-4689]|
|
2636
|
-
7[0-69]|
|
2637
|
-
9[0-689]
|
2638
|
-
)
|
2639
|
-
)\d{5}
|
2626
|
+
6(?:
|
2627
|
+
[0156]\d|
|
2628
|
+
[28][0-5]|
|
2629
|
+
4[01]
|
2630
|
+
)\d{5}|
|
2631
|
+
7\d{7}
|
2640
2632
|
</nationalNumberPattern>
|
2641
2633
|
<exampleNumber>70123456</exampleNumber>
|
2642
2634
|
</mobile>
|
@@ -2818,13 +2810,14 @@
|
|
2818
2810
|
<exampleNumber>17001234</exampleNumber>
|
2819
2811
|
</fixedLine>
|
2820
2812
|
<!-- Mobile prefix 384 is not yet in the ITU document but other sources (e.g. Google
|
2821
|
-
searches) suggest mobile numbers with this prefix are in use.
|
2813
|
+
searches) suggest mobile numbers with this prefix are in use. 350 was added as
|
2814
|
+
VIVO are apparently using that prefix. -->
|
2822
2815
|
<mobile>
|
2823
2816
|
<nationalNumberPattern>
|
2824
2817
|
(?:
|
2825
2818
|
3(?:
|
2826
2819
|
[23469]\d|
|
2827
|
-
5[
|
2820
|
+
5[035]|
|
2828
2821
|
77|
|
2829
2822
|
8[348]
|
2830
2823
|
)\d|
|
@@ -2954,11 +2947,11 @@
|
|
2954
2947
|
</fixedLine>
|
2955
2948
|
<mobile>
|
2956
2949
|
<!-- We have restricted the pattern here to the first two digits, as beyond this the data
|
2957
|
-
seems to be no longer accurate. The prefixes 9[468] have also been added, along with
|
2958
|
-
(seemingly
|
2950
|
+
seems to be no longer accurate. The prefixes 9[468] have also been added, along with
|
2951
|
+
6[67] (seemingly prefixes for Mobile MTN), and 64 for BeninCell. -->
|
2959
2952
|
<nationalNumberPattern>
|
2960
2953
|
(?:
|
2961
|
-
6[
|
2954
|
+
6[467]|
|
2962
2955
|
9[03-8]
|
2963
2956
|
)\d{6}
|
2964
2957
|
</nationalNumberPattern>
|
@@ -3277,7 +3270,7 @@
|
|
3277
3270
|
<numberFormat nationalPrefixFormattingRule="($FG)"
|
3278
3271
|
pattern="(\d{2})(\d{5})(\d{4})"
|
3279
3272
|
carrierCodeFormattingRule="$NP $CC ($FG)">
|
3280
|
-
<leadingDigits>
|
3273
|
+
<leadingDigits>1[1-9]9</leadingDigits>
|
3281
3274
|
<format>$1 $2-$3</format>
|
3282
3275
|
</numberFormat>
|
3283
3276
|
<numberFormat nationalPrefixFormattingRule="($FG)"
|
@@ -3326,23 +3319,28 @@
|
|
3326
3319
|
</nationalNumberPattern>
|
3327
3320
|
<exampleNumber>1123456789</exampleNumber>
|
3328
3321
|
</fixedLine>
|
3322
|
+
<!-- Also includes the new 11-digit mobile numbers that are being rolled out since 2012,
|
3323
|
+
which are added at the end. -->
|
3329
3324
|
<mobile>
|
3330
3325
|
<nationalNumberPattern>
|
3331
3326
|
1(?:
|
3332
3327
|
1(?:
|
3333
3328
|
5[347]|
|
3334
|
-
[6-
|
3335
|
-
9\d{1,2}
|
3329
|
+
[6-9]\d|
|
3336
3330
|
)|
|
3337
3331
|
[2-9][6-9]\d
|
3338
3332
|
)\d{6}|
|
3339
3333
|
(?:
|
3340
|
-
[4689][1-9]|
|
3341
3334
|
2[12478]|
|
3342
3335
|
3[1-578]|
|
3336
|
+
[4689][1-9]|
|
3343
3337
|
5[13-5]|
|
3344
3338
|
7[13-579]
|
3345
|
-
)[6-9]\d{7}
|
3339
|
+
)[6-9]\d{7}|
|
3340
|
+
(?:
|
3341
|
+
119\d|
|
3342
|
+
1[2-9]9[6-9]
|
3343
|
+
)\d{7}
|
3346
3344
|
</nationalNumberPattern>
|
3347
3345
|
<possibleNumberPattern>\d{10,11}</possibleNumberPattern>
|
3348
3346
|
<exampleNumber>1161234567</exampleNumber>
|
@@ -4279,13 +4277,13 @@
|
|
4279
4277
|
<exampleNumber>21234567</exampleNumber>
|
4280
4278
|
</fixedLine>
|
4281
4279
|
<mobile>
|
4282
|
-
<!-- Added the prefixes 4[0-2] (Moov), 5[
|
4280
|
+
<!-- Added the prefixes 4[0-2] (Moov), 5[5-9] & 65 because SMS messages have been
|
4283
4281
|
successfully delivered. Supported by numbers found on the internet. -->
|
4284
4282
|
<nationalNumberPattern>
|
4285
4283
|
(?:
|
4286
4284
|
0[1-9]|
|
4287
4285
|
4[0-24-9]|
|
4288
|
-
5[
|
4286
|
+
5[05-9]|
|
4289
4287
|
6[05679]
|
4290
4288
|
)\d{6}
|
4291
4289
|
</nationalNumberPattern>
|
@@ -5011,7 +5009,7 @@
|
|
5011
5009
|
<!-- Costa Rica -->
|
5012
5010
|
<!-- http://www.itu.int/oth/T0202000030/en -->
|
5013
5011
|
<territory id="CR" countryCode="506" internationalPrefix="00"
|
5014
|
-
nationalPrefixForParsing="(19(?:0[0-2468]|19|66|77))"
|
5012
|
+
nationalPrefixForParsing="(19(?:0[0-2468]|19|20|66|77))"
|
5015
5013
|
carrierCodeFormattingRule="$CC $FG">
|
5016
5014
|
<availableFormats>
|
5017
5015
|
<numberFormat pattern="(\d{4})(\d{4})">
|
@@ -5075,6 +5073,7 @@
|
|
5075
5073
|
70[01]\d{3}
|
5076
5074
|
)|
|
5077
5075
|
1[01]\d{5}|
|
5076
|
+
20[0-3]\d{4}|
|
5078
5077
|
400\d{4}|
|
5079
5078
|
70[0-2]\d{4}
|
5080
5079
|
)|
|
@@ -5107,7 +5106,10 @@
|
|
5107
5106
|
55
|
5108
5107
|
)|
|
5109
5108
|
333|
|
5110
|
-
|
5109
|
+
4(?:
|
5110
|
+
00|
|
5111
|
+
1[56]
|
5112
|
+
)|
|
5111
5113
|
5(?:
|
5112
5114
|
15|
|
5113
5115
|
5[15]
|
@@ -5590,6 +5592,16 @@
|
|
5590
5592
|
<territory id="DE" countryCode="49" internationalPrefix="00"
|
5591
5593
|
nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
|
5592
5594
|
<availableFormats>
|
5595
|
+
<!-- Mobile number formatting rules. We follow the ITU document here for guidance on how
|
5596
|
+
these should best be formatted, even though actual usage varies. -->
|
5597
|
+
<numberFormat pattern="(1\d{2})(\d{7,8})">
|
5598
|
+
<leadingDigits>1[67]</leadingDigits>
|
5599
|
+
<format>$1 $2</format>
|
5600
|
+
</numberFormat>
|
5601
|
+
<numberFormat pattern="(1\d{3})(\d{7})">
|
5602
|
+
<leadingDigits>15</leadingDigits>
|
5603
|
+
<format>$1 $2</format>
|
5604
|
+
</numberFormat>
|
5593
5605
|
<numberFormat pattern="(\d{2})(\d{4,11})">
|
5594
5606
|
<leadingDigits>
|
5595
5607
|
3[02]|
|
@@ -5710,12 +5722,12 @@
|
|
5710
5722
|
<format>$1 $2</format>
|
5711
5723
|
</numberFormat>
|
5712
5724
|
<!-- 5 digit area codes. -->
|
5713
|
-
<numberFormat pattern="(\d{
|
5725
|
+
<numberFormat pattern="(3\d{4})(\d{1,10})">
|
5714
5726
|
<leadingDigits>3</leadingDigits>
|
5715
5727
|
<format>$1 $2</format>
|
5716
5728
|
</numberFormat>
|
5717
|
-
<numberFormat pattern="(
|
5718
|
-
<leadingDigits>
|
5729
|
+
<numberFormat pattern="(800)(\d{7,10})">
|
5730
|
+
<leadingDigits>800</leadingDigits>
|
5719
5731
|
<format>$1 $2</format>
|
5720
5732
|
</numberFormat>
|
5721
5733
|
<!-- Voicemail access numbers for the carrier Blau. -->
|
@@ -5725,10 +5737,6 @@
|
|
5725
5737
|
<leadingDigits>17799</leadingDigits>
|
5726
5738
|
<format>$1 $2 $3</format>
|
5727
5739
|
</numberFormat>
|
5728
|
-
<numberFormat pattern="(8\d{2})(\d{7,10})">
|
5729
|
-
<leadingDigits>800</leadingDigits>
|
5730
|
-
<format>$1 $2</format>
|
5731
|
-
</numberFormat>
|
5732
5740
|
<numberFormat pattern="(\d{3})(\d)(\d{4,10})">
|
5733
5741
|
<leadingDigits>
|
5734
5742
|
(?:
|
@@ -6228,10 +6236,10 @@
|
|
6228
6236
|
</fixedLine>
|
6229
6237
|
<mobile>
|
6230
6238
|
<!-- Adding 65 and 78 from numbers found online. Also, prefix 670 is added since the carrier
|
6231
|
-
Mobilis Algeria provided it.-->
|
6239
|
+
Mobilis Algeria provided it, and 54 for Nedjma.-->
|
6232
6240
|
<nationalNumberPattern>
|
6233
6241
|
(?:
|
6234
|
-
5[
|
6242
|
+
5[4-6]|
|
6235
6243
|
7[7-9]
|
6236
6244
|
)\d{7}|
|
6237
6245
|
6(?:
|
@@ -6662,13 +6670,13 @@
|
|
6662
6670
|
<!-- The following sections are copied verbatim from Morocco to allow these non-geographical
|
6663
6671
|
numbers to be recognized as available from within Western Sahara. -->
|
6664
6672
|
<mobile>
|
6665
|
-
<!-- Prefixes 60[1-
|
6673
|
+
<!-- Prefixes 60[1-578], 62[0147-9], 63[04-8] and 68[01] are from numbers found online,
|
6666
6674
|
bug-reports, and information provided directly by the carriers. -->
|
6667
6675
|
<nationalNumberPattern>
|
6668
6676
|
6(?:
|
6669
|
-
0[0-
|
6677
|
+
0[0-8]|
|
6670
6678
|
[14-7]\d|
|
6671
|
-
2[
|
6679
|
+
2[0-46-9]|
|
6672
6680
|
3[03-8]|
|
6673
6681
|
8[01]|
|
6674
6682
|
99
|
@@ -7175,12 +7183,12 @@
|
|
7175
7183
|
</fixedLine>
|
7176
7184
|
<mobile>
|
7177
7185
|
<!-- Adding 7[67], 8[367], and 9[034678] from numbers found online and numbers where SMSs
|
7178
|
-
have been received from.
|
7186
|
+
have been received from. Adding 9[15] and 84 from Vodafone Fiji IR21. -->
|
7179
7187
|
<nationalNumberPattern>
|
7180
7188
|
(?:
|
7181
7189
|
7[0-467]|
|
7182
|
-
8[
|
7183
|
-
9
|
7190
|
+
8[3467]|
|
7191
|
+
9\d
|
7184
7192
|
)\d{5}
|
7185
7193
|
</nationalNumberPattern>
|
7186
7194
|
<possibleNumberPattern>\d{7}</possibleNumberPattern>
|
@@ -10666,7 +10674,7 @@
|
|
10666
10674
|
3(?:
|
10667
10675
|
[037-9]|
|
10668
10676
|
4[1-9]|
|
10669
|
-
5[0-
|
10677
|
+
5[0-57-9]
|
10670
10678
|
)|
|
10671
10679
|
[45]|
|
10672
10680
|
6[02457-9]|
|
@@ -11060,7 +11068,8 @@
|
|
11060
11068
|
<!-- A couple of additional prefixes found neither on the wikipedia page nor in the MSC
|
11061
11069
|
codes list, are added because SMS messages have been successfully sent to these
|
11062
11070
|
numbers. It seems almost impossible to know for some of these numbers whether they are
|
11063
|
-
land-line or mobile, since the ranges overlap. Extra prefixes added: 8299, 8309
|
11071
|
+
land-line or mobile, since the ranges overlap. Extra prefixes added: 8299, 8309,
|
11072
|
+
835[45].
|
11064
11073
|
New prefixes were added based on the document provided from mobile carriers:
|
11065
11074
|
https://code.google.com/p/libphonenumber/issues/detail?id=260 -->
|
11066
11075
|
<nationalNumberPattern>
|
@@ -11132,7 +11141,7 @@
|
|
11132
11141
|
3(?:
|
11133
11142
|
[037-9]\d|
|
11134
11143
|
4[1-9]|
|
11135
|
-
5[0-
|
11144
|
+
5[0-57-9]
|
11136
11145
|
)|
|
11137
11146
|
[45]\d{2}|
|
11138
11147
|
6[02457-9]\d|
|
@@ -13504,13 +13513,13 @@
|
|
13504
13513
|
<!-- Adding 86 and 87 from numbers found online, along with 88 (the 88 numbers seem to be
|
13505
13514
|
one digit longer as well.) Adding 97 followed by 7 digits as such numbers have been
|
13506
13515
|
found online. Adding 14 as Mobitel have informed us they are using this prefix. Adding
|
13507
|
-
60[1-9] based on information received from Beeline
|
13508
|
-
long. -->
|
13516
|
+
60[1-9] based on information received from Beeline, and 857 and 61 from Cellcard. 76
|
13517
|
+
numbers seem now to be 9 digits long. -->
|
13509
13518
|
<nationalNumberPattern>
|
13510
13519
|
(?:
|
13511
13520
|
(?:
|
13512
13521
|
1\d|
|
13513
|
-
6[
|
13522
|
+
6[016-9]|
|
13514
13523
|
7(?:
|
13515
13524
|
[07-9]|
|
13516
13525
|
6\d
|
@@ -13519,7 +13528,7 @@
|
|
13519
13528
|
8(?:
|
13520
13529
|
0[89]|
|
13521
13530
|
[134679]\d|
|
13522
|
-
5[2-
|
13531
|
+
5[2-9]|
|
13523
13532
|
8\d{2}
|
13524
13533
|
)|
|
13525
13534
|
9(?:
|
@@ -14359,11 +14368,12 @@
|
|
14359
14368
|
<exampleNumber>7123456789</exampleNumber>
|
14360
14369
|
</fixedLine>
|
14361
14370
|
<mobile>
|
14371
|
+
<!-- Added 776, apparently assigned to Beeline. -->
|
14362
14372
|
<nationalNumberPattern>
|
14363
14373
|
7(?:
|
14364
14374
|
0[01257]|
|
14365
14375
|
6[02-4]|
|
14366
|
-
7[
|
14376
|
+
7[15-8]|
|
14367
14377
|
85
|
14368
14378
|
)\d{7}
|
14369
14379
|
</nationalNumberPattern>
|
@@ -15474,13 +15484,13 @@
|
|
15474
15484
|
</fixedLine>
|
15475
15485
|
<!-- Also duplicated in Western Sahara, please ensure you update both. -->
|
15476
15486
|
<mobile>
|
15477
|
-
<!-- Prefixes 60[1-
|
15487
|
+
<!-- Prefixes 60[1-578], 62[0147-9], 63[04-8] and 68[01] are from numbers found online,
|
15478
15488
|
bug-reports, and information provided directly by the carriers. -->
|
15479
15489
|
<nationalNumberPattern>
|
15480
15490
|
6(?:
|
15481
|
-
0[0-
|
15491
|
+
0[0-8]|
|
15482
15492
|
[14-7]\d|
|
15483
|
-
2[
|
15493
|
+
2[0-46-9]|
|
15484
15494
|
3[03-8]|
|
15485
15495
|
8[01]|
|
15486
15496
|
99
|
@@ -15631,7 +15641,7 @@
|
|
15631
15641
|
562|
|
15632
15642
|
6(?:
|
15633
15643
|
50|
|
15634
|
-
7[1-
|
15644
|
+
7[1-6]|
|
15635
15645
|
[089]\d
|
15636
15646
|
)|
|
15637
15647
|
7(?:
|
@@ -15865,22 +15875,17 @@
|
|
15865
15875
|
20 4 is for the rest of the province of Antanarivo, but then fails to mention any area
|
15866
15876
|
codes beginning with 4. -->
|
15867
15877
|
<nationalNumberPattern>
|
15868
|
-
|
15869
|
-
|
15870
|
-
|
15871
|
-
|
15872
|
-
|
15873
|
-
|
15874
|
-
|
15875
|
-
|
15876
|
-
9[245]
|
15877
|
-
)\d|
|
15878
|
-
7(?:
|
15879
|
-
2[29]|
|
15880
|
-
[35]\d
|
15881
|
-
)
|
15878
|
+
20(?:
|
15879
|
+
2\d{2}|
|
15880
|
+
4[47]\d|
|
15881
|
+
5[3467]\d|
|
15882
|
+
6[279]\d|
|
15883
|
+
7(?:
|
15884
|
+
2[29]|
|
15885
|
+
[35]\d
|
15882
15886
|
)|
|
15883
|
-
|
15887
|
+
8[268]\d|
|
15888
|
+
9[245]\d
|
15884
15889
|
)\d{4}
|
15885
15890
|
</nationalNumberPattern>
|
15886
15891
|
<exampleNumber>202123456</exampleNumber>
|
@@ -15897,6 +15902,12 @@
|
|
15897
15902
|
<possibleNumberPattern>\d{9}</possibleNumberPattern>
|
15898
15903
|
<exampleNumber>301234567</exampleNumber>
|
15899
15904
|
</mobile>
|
15905
|
+
<!-- Putting VSAT numbers here. -->
|
15906
|
+
<voip>
|
15907
|
+
<nationalNumberPattern>22\d{7}</nationalNumberPattern>
|
15908
|
+
<possibleNumberPattern>\d{9}</possibleNumberPattern>
|
15909
|
+
<exampleNumber>221234567</exampleNumber>
|
15910
|
+
</voip>
|
15900
15911
|
<emergency>
|
15901
15912
|
<!-- http://www.commerce.gov.mg/index.php/infos-services -->
|
15902
15913
|
<nationalNumberPattern>11?[78]</nationalNumberPattern>
|
@@ -16105,15 +16116,10 @@
|
|
16105
16116
|
<exampleNumber>20212345</exampleNumber>
|
16106
16117
|
</fixedLine>
|
16107
16118
|
<mobile>
|
16108
|
-
<!-- Adding 63 from numbers found online. -->
|
16109
16119
|
<!-- Orange Mali have updated their numbering plan, though this is not reflected in the ITU
|
16110
|
-
document (which is very stale). All mobile numbers starting with 7 are now Orange.
|
16111
|
-
|
16112
|
-
|
16113
|
-
6[3569]|
|
16114
|
-
7\d
|
16115
|
-
)\d{6}
|
16116
|
-
</nationalNumberPattern>
|
16120
|
+
document (which is very stale). All mobile numbers starting with 7 are now Orange.
|
16121
|
+
Includes 6x from Malitel IR21. -->
|
16122
|
+
<nationalNumberPattern>[67]\d{7}</nationalNumberPattern>
|
16117
16123
|
<exampleNumber>65012345</exampleNumber>
|
16118
16124
|
</mobile>
|
16119
16125
|
<tollFree>
|
@@ -16166,7 +16172,7 @@
|
|
16166
16172
|
<numberFormat pattern="(9)(\d{3})(\d{4,5})">
|
16167
16173
|
<leadingDigits>
|
16168
16174
|
9(?:
|
16169
|
-
[
|
16175
|
+
[235-9]|
|
16170
16176
|
4[13789]
|
16171
16177
|
)
|
16172
16178
|
</leadingDigits>
|
@@ -16183,6 +16189,7 @@
|
|
16183
16189
|
[26]\d{5,8}|
|
16184
16190
|
9(?:
|
16185
16191
|
[258]|
|
16192
|
+
3\d|
|
16186
16193
|
4\d{1,2}|
|
16187
16194
|
[679]\d?
|
16188
16195
|
)\d{6}
|
@@ -16272,6 +16279,7 @@
|
|
16272
16279
|
17[01]\d{4}|
|
16273
16280
|
9(?:
|
16274
16281
|
2[0-4]|
|
16282
|
+
3[136]\d|
|
16275
16283
|
4(?:
|
16276
16284
|
0[0-4]\d|
|
16277
16285
|
[1379]\d|
|
@@ -17326,7 +17334,7 @@
|
|
17326
17334
|
<format>$1-$2 $3</format>
|
17327
17335
|
</numberFormat>
|
17328
17336
|
<numberFormat nationalPrefixFormattingRule="$NP$FG"
|
17329
|
-
pattern="(
|
17337
|
+
pattern="(15[49])(\d{3})(\d{4})">
|
17330
17338
|
<leadingDigits>15</leadingDigits>
|
17331
17339
|
<format>$1-$2 $3</format>
|
17332
17340
|
</numberFormat>
|
@@ -17346,10 +17354,14 @@
|
|
17346
17354
|
<exampleNumber>323456789</exampleNumber>
|
17347
17355
|
</fixedLine>
|
17348
17356
|
<mobile>
|
17357
|
+
<!-- Although the plan lists the prefix 159 as broadband services (data only), apparently it
|
17358
|
+
is possible to send SMSs (and receive them) from numbers in this block, so we are
|
17359
|
+
listing them as mobile. -->
|
17349
17360
|
<nationalNumberPattern>
|
17350
17361
|
1(?:
|
17351
17362
|
1[1-3]\d{2}|
|
17352
17363
|
[02-4679][2-9]\d|
|
17364
|
+
59\d{2}|
|
17353
17365
|
8(?:
|
17354
17366
|
1[23]|
|
17355
17367
|
[2-9]\d
|
@@ -17874,7 +17886,8 @@
|
|
17874
17886
|
<!-- More 81X prefixes have been added based on online numbers, including the prefix 817
|
17875
17887
|
from Etisalat, 814 MTN and 811 from Glo. Furthermore, the fixed-line prefixes owned by
|
17876
17888
|
Starcomms have apparently, according to the company, been used for mobile numbers too,
|
17877
|
-
despite the ITU plan, so we list them here as well.
|
17889
|
+
despite the ITU plan, so we list them here as well. 701 has been added for Airtel/Zain.
|
17890
|
+
-->
|
17878
17891
|
<nationalNumberPattern>
|
17879
17892
|
(?:
|
17880
17893
|
1(?:
|
@@ -17950,7 +17963,7 @@
|
|
17950
17963
|
)\d{4}|
|
17951
17964
|
(?:
|
17952
17965
|
70(?:
|
17953
|
-
[
|
17966
|
+
[13-9]\d|
|
17954
17967
|
2[1-9]
|
17955
17968
|
)|
|
17956
17969
|
8(?:
|
@@ -19916,7 +19929,7 @@
|
|
19916
19929
|
<!-- Paraguay -->
|
19917
19930
|
<!-- http://en.wikipedia.org/wiki/Telephone_numbers_in_Paraguay -->
|
19918
19931
|
<!-- http://www.itu.int/oth/T02020000A5/en -->
|
19919
|
-
<!-- http://www.copaco.com.py/
|
19932
|
+
<!-- http://www.copaco.com.py/portal/index.php/component/content/article/8-empresa/74-codigos-de-area.html -->
|
19920
19933
|
<territory id="PY" countryCode="595" internationalPrefix="00" nationalPrefix="0">
|
19921
19934
|
<availableFormats>
|
19922
19935
|
<!-- CONATEL plan. -->
|
@@ -20011,9 +20024,10 @@
|
|
20011
20024
|
<exampleNumber>212345678</exampleNumber>
|
20012
20025
|
</fixedLine>
|
20013
20026
|
<mobile>
|
20027
|
+
<!-- 962 was added for Tigo. -->
|
20014
20028
|
<nationalNumberPattern>
|
20015
20029
|
9(?:
|
20016
|
-
|
20030
|
+
6[12]|
|
20017
20031
|
[78][1-6]|
|
20018
20032
|
9[1-5]
|
20019
20033
|
)\d{6}
|
@@ -20573,13 +20587,17 @@
|
|
20573
20587
|
<leadingDigits>[1-467]</leadingDigits>
|
20574
20588
|
<format>$1 $2 $3</format>
|
20575
20589
|
</numberFormat>
|
20590
|
+
<numberFormat pattern="(1\d)(\d{3})(\d{4})">
|
20591
|
+
<leadingDigits>1[1-467]</leadingDigits>
|
20592
|
+
<format>$1 $2 $3</format>
|
20593
|
+
</numberFormat>
|
20576
20594
|
<numberFormat pattern="(5\d)(\d{3})(\d{4})">
|
20577
20595
|
<leadingDigits>5</leadingDigits>
|
20578
20596
|
<format>$1 $2 $3</format>
|
20579
20597
|
</numberFormat>
|
20580
20598
|
<!-- It seems that the trunk prefix is not used for these numbers, based on wikipedia and on
|
20581
20599
|
the fact that no numbers of this form found online have a trunk prefix added. -->
|
20582
|
-
<numberFormat pattern="(
|
20600
|
+
<numberFormat pattern="(92\d{2})(\d{5})" nationalPrefixFormattingRule="$FG">
|
20583
20601
|
<leadingDigits>9</leadingDigits>
|
20584
20602
|
<format>$1 $2</format>
|
20585
20603
|
</numberFormat>
|
@@ -20587,7 +20605,7 @@
|
|
20587
20605
|
<leadingDigits>80</leadingDigits>
|
20588
20606
|
<format>$1 $2 $3</format>
|
20589
20607
|
</numberFormat>
|
20590
|
-
<numberFormat pattern="(
|
20608
|
+
<numberFormat pattern="(811)(\d{3})(\d{3,4})">
|
20591
20609
|
<leadingDigits>81</leadingDigits>
|
20592
20610
|
<format>$1 $2 $3</format>
|
20593
20611
|
</numberFormat>
|
@@ -20596,8 +20614,9 @@
|
|
20596
20614
|
<!-- The more detailed pattern here is to allow the country-code to be stripped off for
|
20597
20615
|
fixed-line numbers. -->
|
20598
20616
|
<nationalNumberPattern>
|
20617
|
+
1\d{7,8}|
|
20599
20618
|
(?:
|
20600
|
-
[
|
20619
|
+
[2-467]|
|
20601
20620
|
92
|
20602
20621
|
)\d{7}|
|
20603
20622
|
5\d{8}|
|
@@ -20606,26 +20625,31 @@
|
|
20606
20625
|
<possibleNumberPattern>\d{7,10}</possibleNumberPattern>
|
20607
20626
|
</generalDesc>
|
20608
20627
|
<fixedLine>
|
20609
|
-
<!--
|
20628
|
+
<!-- Saudi Arabia is in the process of adding a leading 1 to their fixed-line numbers. This
|
20629
|
+
is happening in May for area code 1 (parallel running ends July 13th, 2013) and then in
|
20630
|
+
August for the other fixed-line numbers. -->
|
20610
20631
|
<nationalNumberPattern>
|
20611
20632
|
(?:
|
20612
|
-
|
20633
|
+
11?\d|
|
20634
|
+
2[24-8]|
|
20613
20635
|
3[35-8]|
|
20614
20636
|
4[3-68]|
|
20615
20637
|
6[2-5]|
|
20616
20638
|
7[235-7]
|
20617
20639
|
)\d{6}
|
20618
20640
|
</nationalNumberPattern>
|
20619
|
-
<possibleNumberPattern>\d{7,
|
20620
|
-
<exampleNumber>
|
20641
|
+
<possibleNumberPattern>\d{7,9}</possibleNumberPattern>
|
20642
|
+
<exampleNumber>112345678</exampleNumber>
|
20621
20643
|
</fixedLine>
|
20622
20644
|
<mobile>
|
20623
|
-
<!-- Including "Nomadic" numbers from the Telecom Company "Go"
|
20645
|
+
<!-- Including "Nomadic" numbers from the Telecom Company "Go". The ITU document now says
|
20646
|
+
they are 11 digits long; however all online numbers are 10, and it used to say 10, so
|
20647
|
+
until we find evidence that this is an error, leaving them at 10 for now. -->
|
20624
20648
|
<nationalNumberPattern>
|
20625
20649
|
(?:
|
20626
|
-
5[013-689]
|
20627
|
-
|
20628
|
-
)\d{
|
20650
|
+
5[013-689]|
|
20651
|
+
811
|
20652
|
+
)\d{7}
|
20629
20653
|
</nationalNumberPattern>
|
20630
20654
|
<possibleNumberPattern>\d{9,10}</possibleNumberPattern>
|
20631
20655
|
<exampleNumber>512345678</exampleNumber>
|
@@ -20635,27 +20659,43 @@
|
|
20635
20659
|
<possibleNumberPattern>\d{10}</possibleNumberPattern>
|
20636
20660
|
<exampleNumber>8001234567</exampleNumber>
|
20637
20661
|
</tollFree>
|
20638
|
-
<
|
20639
|
-
|
20662
|
+
<sharedCost>
|
20663
|
+
<!-- Including shared revenue with shared cost here. -->
|
20664
|
+
<nationalNumberPattern>92[05]\d{6}</nationalNumberPattern>
|
20640
20665
|
<possibleNumberPattern>\d{9}</possibleNumberPattern>
|
20641
20666
|
<exampleNumber>920012345</exampleNumber>
|
20642
|
-
</
|
20667
|
+
</sharedCost>
|
20643
20668
|
<shortCode>
|
20644
20669
|
<nationalNumberPattern>
|
20670
|
+
1(?:
|
20671
|
+
16111|
|
20672
|
+
9(?:
|
20673
|
+
00|
|
20674
|
+
1[89]|
|
20675
|
+
9(?:
|
20676
|
+
099|
|
20677
|
+
22|
|
20678
|
+
91
|
20679
|
+
)
|
20680
|
+
)
|
20681
|
+
)|
|
20645
20682
|
9(
|
20646
|
-
|
20647
|
-
|
20648
|
-
|
20649
|
-
66|
|
20650
|
-
8[59]|
|
20651
|
-
9[02-6]
|
20683
|
+
37|
|
20684
|
+
8[6-8]|
|
20685
|
+
9[2-6]
|
20652
20686
|
)
|
20653
20687
|
</nationalNumberPattern>
|
20654
|
-
<possibleNumberPattern>\d{3}</possibleNumberPattern>
|
20655
|
-
<exampleNumber>
|
20688
|
+
<possibleNumberPattern>\d{3,6}</possibleNumberPattern>
|
20689
|
+
<exampleNumber>937</exampleNumber>
|
20656
20690
|
</shortCode>
|
20657
20691
|
<emergency>
|
20658
|
-
<nationalNumberPattern>
|
20692
|
+
<nationalNumberPattern>
|
20693
|
+
112|
|
20694
|
+
9(?:
|
20695
|
+
11|
|
20696
|
+
9[7-9]
|
20697
|
+
)
|
20698
|
+
</nationalNumberPattern>
|
20659
20699
|
<possibleNumberPattern>\d{3}</possibleNumberPattern>
|
20660
20700
|
<exampleNumber>999</exampleNumber>
|
20661
20701
|
</emergency>
|
@@ -22508,10 +22548,10 @@
|
|
22508
22548
|
</fixedLine>
|
22509
22549
|
<mobile>
|
22510
22550
|
<!-- Adding 90 prefix as SMS messages could be successfully delivered to these mobile
|
22511
|
-
numbers. -->
|
22551
|
+
numbers, and 501 for TCell. -->
|
22512
22552
|
<nationalNumberPattern>
|
22513
22553
|
(?:
|
22514
|
-
|
22554
|
+
50[15]|
|
22515
22555
|
9[0-35-9]\d
|
22516
22556
|
)\d{6}
|
22517
22557
|
</nationalNumberPattern>
|
@@ -22584,7 +22624,7 @@
|
|
22584
22624
|
<exampleNumber>2112345</exampleNumber>
|
22585
22625
|
</fixedLine>
|
22586
22626
|
<mobile>
|
22587
|
-
<nationalNumberPattern>7[
|
22627
|
+
<nationalNumberPattern>7[3-8]\d{6}</nationalNumberPattern>
|
22588
22628
|
<possibleNumberPattern>\d{8}</possibleNumberPattern>
|
22589
22629
|
<exampleNumber>77212345</exampleNumber>
|
22590
22630
|
</mobile>
|
@@ -22973,7 +23013,7 @@
|
|
22973
23013
|
<exampleNumber>8682211234</exampleNumber>
|
22974
23014
|
</fixedLine>
|
22975
23015
|
<mobile>
|
22976
|
-
<!-- Adding
|
23016
|
+
<!-- Adding 48X & 70X from the IR21 published by TSTT. -->
|
22977
23017
|
<nationalNumberPattern>
|
22978
23018
|
868(?:
|
22979
23019
|
2(?:
|
@@ -22985,19 +23025,15 @@
|
|
22985
23025
|
1[02-9]|
|
22986
23026
|
[2-9]\d
|
22987
23027
|
)|
|
22988
|
-
4
|
22989
|
-
[679]\d|
|
22990
|
-
8[0-4]
|
22991
|
-
)|
|
23028
|
+
4[6-9]\d|
|
22992
23029
|
6(?:
|
22993
23030
|
20|
|
22994
23031
|
78|
|
22995
23032
|
8\d
|
22996
23033
|
)|
|
22997
23034
|
7(?:
|
22998
|
-
03|
|
22999
23035
|
1[02-9]|
|
23000
|
-
[
|
23036
|
+
[02-9]\d
|
23001
23037
|
)
|
23002
23038
|
)\d{4}
|
23003
23039
|
</nationalNumberPattern>
|
@@ -23246,7 +23282,7 @@
|
|
23246
23282
|
<numberFormat pattern="([3-689]\d{2})(\d{3})(\d{3})">
|
23247
23283
|
<leadingDigits>
|
23248
23284
|
3[1-8]2|
|
23249
|
-
4[
|
23285
|
+
4[13678]2|
|
23250
23286
|
5(?:
|
23251
23287
|
[12457]2|
|
23252
23288
|
6[24]
|
@@ -23264,7 +23300,10 @@
|
|
23264
23300
|
[1-46-8]2[013-9]|
|
23265
23301
|
52
|
23266
23302
|
)|
|
23267
|
-
4
|
23303
|
+
4(?:
|
23304
|
+
[1378]2|
|
23305
|
+
62[013-9]
|
23306
|
+
)|
|
23268
23307
|
5(?:
|
23269
23308
|
[12457]2|
|
23270
23309
|
6[24]
|
@@ -23313,7 +23352,10 @@
|
|
23313
23352
|
)|
|
23314
23353
|
4(?:
|
23315
23354
|
[137][013-9]|
|
23316
|
-
6
|
23355
|
+
6(?:
|
23356
|
+
[013-9]|
|
23357
|
+
22
|
23358
|
+
)|
|
23317
23359
|
[45][6-9]|
|
23318
23360
|
8[4-6]
|
23319
23361
|
)|
|