telephone_number 1.4.11 → 1.4.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/README.md +7 -5
- data/data/geocoding/en/1.dat +0 -0
- data/data/geocoding/en/1.txt +1 -0
- data/data/geocoding/en/212.dat +0 -0
- data/data/geocoding/en/212.txt +9 -1
- data/data/geocoding/en/678.dat +0 -0
- data/data/geocoding/en/678.txt +1 -1
- data/data/geocoding/fr/212.dat +0 -0
- data/data/geocoding/fr/212.txt +9 -1
- data/data/telephone_number_data_file.dat +0 -0
- data/data/telephone_number_data_file.xml +259 -235
- data/data/timezones/map_data.dat +0 -0
- data/data/timezones/map_data.txt +1 -0
- data/lib/telephone_number/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1aa006867b6c4a15e810ab0d389692bf594d4e73
|
4
|
+
data.tar.gz: 15c2a66257de6414a989c03777e516cc43bcdb22
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a09f365fd74d69fface3ec278514eb0f83d4d78065849f1f4c3d66f61dd8cdd953fe2f2cb95d0ea095064de1146a1b090fbb27f3a1a519f5c39937832e6f9e0
|
7
|
+
data.tar.gz: a70079067561305fdc4abea083e601cc0c50c3a62c743bcce47d371ace8a43b2723b7cc1f3ac7b2ef40259cd6b4bde1e01c7a1c091fd018febd86cdbc6971da0
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,9 @@
|
|
1
1
|
# Changelog
|
2
2
|
All notable changes to this project are documented here.
|
3
3
|
|
4
|
+
## v1.4.12 - 2021-07-14
|
5
|
+
* Bring data up to date with [upstream](https://github.com/google/libphonenumber/releases/tag/v8.12.27).
|
6
|
+
|
4
7
|
## v1.4.11 - 2021-05-13
|
5
8
|
* Bring data up to date with [upstream](https://github.com/google/libphonenumber/releases/tag/v8.12.22).
|
6
9
|
|
data/README.md
CHANGED
@@ -1,4 +1,6 @@
|
|
1
|
-
[![
|
1
|
+
[![Build Status](https://travis-ci.org/mobi/telephone_number.svg?branch=master)](https://travis-ci.org/mobi/telephone_number)
|
2
|
+
[![Code Climate](https://codeclimate.com/github/mobi/telephone_number/badges/gpa.svg)](https://codeclimate.com/github/mobi/telephone_number)
|
3
|
+
[![Coverage Status](https://coveralls.io/repos/github/mobi/telephone_number/badge.svg)](https://coveralls.io/github/mobi/telephone_number)
|
2
4
|
|
3
5
|
# What is it?
|
4
6
|
|
@@ -64,7 +66,7 @@ phone_object = TelephoneNumber.parse("3175082237", :us) ==>
|
|
64
66
|
@country=:US,
|
65
67
|
@e164_number="13175083348",
|
66
68
|
@national_number="3175083348",
|
67
|
-
@original_number="3175083348">
|
69
|
+
@original_number="3175083348">
|
68
70
|
```
|
69
71
|
After that you have the following instance methods available to you.
|
70
72
|
|
@@ -72,7 +74,7 @@ After that you have the following instance methods available to you.
|
|
72
74
|
|
73
75
|
Returns all types that the number is considered valid for.
|
74
76
|
|
75
|
-
`phone_object.valid_types ==> [:fixed_line, :mobile, :toll_free]`
|
77
|
+
`phone_object.valid_types ==> [:fixed_line, :mobile, :toll_free]`
|
76
78
|
|
77
79
|
- ### `valid?`
|
78
80
|
|
@@ -117,10 +119,10 @@ After that you have the following instance methods available to you.
|
|
117
119
|
`phone_object.location ==> "Indiana"`
|
118
120
|
|
119
121
|
`phone_object.location(:ja) ==> "ソウル特別市"`
|
120
|
-
|
122
|
+
|
121
123
|
- ### `timezone`
|
122
124
|
|
123
|
-
Returns the time zone of the number.
|
125
|
+
Returns the time zone of the number.
|
124
126
|
|
125
127
|
`phone_object.timezone ==> "America/New_York"`
|
126
128
|
|
data/data/geocoding/en/1.dat
CHANGED
Binary file
|
data/data/geocoding/en/1.txt
CHANGED
@@ -10932,6 +10932,7 @@
|
|
10932
10932
|
1443977|Baltimore, MD
|
10933
10933
|
1445|Philadelphia
|
10934
10934
|
1447|Illinois
|
10935
|
+
1448|Florida
|
10935
10936
|
1450|Quebec
|
10936
10937
|
1450218|Vaudreuil-Dorion, QC
|
10937
10938
|
1450224|Prévost, QC
|
data/data/geocoding/en/212.dat
CHANGED
Binary file
|
data/data/geocoding/en/212.txt
CHANGED
@@ -18,7 +18,15 @@
|
|
18
18
|
|
19
19
|
212520|Casablanca
|
20
20
|
212521|Casablanca/Central Morocco
|
21
|
-
|
21
|
+
2125220|Casablanca
|
22
|
+
2125222|Casablanca
|
23
|
+
2125223|Casablanca
|
24
|
+
2125224|Casablanca
|
25
|
+
2125225|Casablanca
|
26
|
+
2125226|Casablanca
|
27
|
+
2125227|Casablanca
|
28
|
+
2125228|Casablanca
|
29
|
+
2125229|Casablanca
|
22
30
|
2125232|Mohammedia
|
23
31
|
2125233|El Jedida/Mohammedia
|
24
32
|
2125234|Settai
|
data/data/geocoding/en/678.dat
CHANGED
Binary file
|
data/data/geocoding/en/678.txt
CHANGED
data/data/geocoding/fr/212.dat
CHANGED
Binary file
|
data/data/geocoding/fr/212.txt
CHANGED
@@ -17,7 +17,15 @@
|
|
17
17
|
|
18
18
|
212520|Casablanca
|
19
19
|
212521|Casablanca/Maroc Central
|
20
|
-
|
20
|
+
2125220|Casablanca
|
21
|
+
2125222|Casablanca
|
22
|
+
2125223|Casablanca
|
23
|
+
2125224|Casablanca
|
24
|
+
2125225|Casablanca
|
25
|
+
2125226|Casablanca
|
26
|
+
2125227|Casablanca
|
27
|
+
2125228|Casablanca
|
28
|
+
2125229|Casablanca
|
21
29
|
2125232|Mohammedia
|
22
30
|
2125233|Mohammedia/El Jadida
|
23
31
|
2125234|Settat
|
Binary file
|
@@ -2671,6 +2671,7 @@
|
|
2671
2671
|
<possibleLengths national="[6-10]"/>
|
2672
2672
|
<exampleNumber>412345678</exampleNumber>
|
2673
2673
|
<nationalNumberPattern>
|
2674
|
+
4946\d{2,6}|
|
2674
2675
|
(?:
|
2675
2676
|
4[0-8]|
|
2676
2677
|
50
|
@@ -4919,12 +4920,10 @@
|
|
4919
4920
|
<possibleLengths national="8"/>
|
4920
4921
|
<exampleNumber>71123456</exampleNumber>
|
4921
4922
|
<nationalNumberPattern>
|
4922
|
-
77200\d{3}|
|
4923
4923
|
(?:
|
4924
4924
|
321|
|
4925
4925
|
7(?:
|
4926
|
-
[1-
|
4927
|
-
7[013-9]|
|
4926
|
+
[1-7]\d|
|
4928
4927
|
8[01]
|
4929
4928
|
)
|
4930
4929
|
)\d{5}
|
@@ -5193,10 +5192,21 @@
|
|
5193
5192
|
<exampleNumber>2221234</exampleNumber>
|
5194
5193
|
<nationalNumberPattern>
|
5195
5194
|
(?:
|
5196
|
-
|
5197
|
-
|
5198
|
-
|
5199
|
-
|
5195
|
+
2(?:
|
5196
|
+
[02]\d|
|
5197
|
+
36|
|
5198
|
+
[68]0
|
5199
|
+
)|
|
5200
|
+
[3-58](?:
|
5201
|
+
[02]\d|
|
5202
|
+
[68]0
|
5203
|
+
)|
|
5204
|
+
7(?:
|
5205
|
+
[02]\d|
|
5206
|
+
32|
|
5207
|
+
[68]0
|
5208
|
+
)
|
5209
|
+
)\d{4}
|
5200
5210
|
</nationalNumberPattern>
|
5201
5211
|
</fixedLine>
|
5202
5212
|
<!-- 62[6-9], 63X, 65X and 6[67][2-9] were added as we have been able to successfully
|
@@ -8776,7 +8786,7 @@
|
|
8776
8786
|
5(?:
|
8777
8787
|
4[0-29]|
|
8778
8788
|
5\d|
|
8779
|
-
6[
|
8789
|
+
6[0-2]
|
8780
8790
|
)|
|
8781
8791
|
6(?:
|
8782
8792
|
[569]\d|
|
@@ -9172,7 +9182,7 @@
|
|
9172
9182
|
)|
|
9173
9183
|
7(?:
|
9174
9184
|
0\d|
|
9175
|
-
|
9185
|
+
1[0-2]|
|
9176
9186
|
6[1267]|
|
9177
9187
|
7[0-57]
|
9178
9188
|
)
|
@@ -9638,6 +9648,7 @@
|
|
9638
9648
|
<possibleLengths national="[6-10]"/>
|
9639
9649
|
<exampleNumber>412345678</exampleNumber>
|
9640
9650
|
<nationalNumberPattern>
|
9651
|
+
4946\d{2,6}|
|
9641
9652
|
(?:
|
9642
9653
|
4[0-8]|
|
9643
9654
|
50
|
@@ -10232,7 +10243,7 @@
|
|
10232
10243
|
1(?:
|
10233
10244
|
3(?:
|
10234
10245
|
[0-58]\d\d|
|
10235
|
-
73[
|
10246
|
+
73[023]
|
10236
10247
|
)|
|
10237
10248
|
4(?:
|
10238
10249
|
[0-5]\d\d|
|
@@ -10241,102 +10252,106 @@
|
|
10241
10252
|
)|
|
10242
10253
|
(?:
|
10243
10254
|
5[0-26-9]|
|
10244
|
-
6[0-4]|
|
10245
10255
|
[78][0-49]
|
10246
|
-
)\d\d
|
10256
|
+
)\d\d|
|
10257
|
+
6(?:
|
10258
|
+
[0-4]\d\d|
|
10259
|
+
50[259]
|
10260
|
+
)
|
10247
10261
|
)|
|
10248
|
-
(?:
|
10249
|
-
2(?:
|
10250
|
-
(?:
|
10251
|
-
0[024-9]|
|
10252
|
-
2[3-9]|
|
10253
|
-
3[3-79]|
|
10254
|
-
4[1-689]|
|
10255
|
-
[58][02-9]|
|
10256
|
-
6[0-47-9]|
|
10257
|
-
7[013-9]|
|
10258
|
-
9\d
|
10259
|
-
)\d|
|
10260
|
-
1(?:
|
10261
|
-
[0-7]\d|
|
10262
|
-
8[02]
|
10263
|
-
)
|
10264
|
-
)|
|
10262
|
+
2(?:
|
10265
10263
|
(?:
|
10266
|
-
|
10267
|
-
|
10268
|
-
|
10269
|
-
|
10270
|
-
|
10271
|
-
|
10272
|
-
|
10273
|
-
|
10274
|
-
|
10275
|
-
|
10276
|
-
|
10277
|
-
[137]\d|
|
10278
|
-
[28][02-57-9]|
|
10279
|
-
4[02-69]|
|
10280
|
-
5[0-8]|
|
10281
|
-
[69][0-79]
|
10282
|
-
)|
|
10283
|
-
5(?:
|
10284
|
-
0[1-35-9]|
|
10285
|
-
[16]\d|
|
10286
|
-
2[024-9]|
|
10287
|
-
3[015689]|
|
10288
|
-
4[02-9]|
|
10289
|
-
5[03-9]|
|
10290
|
-
7[0-35-9]|
|
10291
|
-
8[0-468]|
|
10292
|
-
9[0-57-9]
|
10293
|
-
)|
|
10294
|
-
6(?:
|
10295
|
-
0[034689]|
|
10296
|
-
1\d|
|
10297
|
-
2[0-35689]|
|
10298
|
-
[38][013-9]|
|
10299
|
-
4[1-467]|
|
10300
|
-
5[0-69]|
|
10301
|
-
6[13-9]|
|
10302
|
-
7[0-8]|
|
10303
|
-
9[0-24578]
|
10304
|
-
)|
|
10305
|
-
7(?:
|
10306
|
-
0[0246-9]|
|
10307
|
-
2\d|
|
10308
|
-
3[0236-8]|
|
10309
|
-
4[03-9]|
|
10310
|
-
5[0-46-9]|
|
10311
|
-
6[013-9]|
|
10312
|
-
7[0-35-9]|
|
10313
|
-
8[024-9]|
|
10314
|
-
9[02-9]
|
10315
|
-
)|
|
10264
|
+
0[024-9]|
|
10265
|
+
2[3-9]|
|
10266
|
+
3[3-79]|
|
10267
|
+
4[1-689]|
|
10268
|
+
[58][02-9]|
|
10269
|
+
6[0-47-9]|
|
10270
|
+
7[013-9]|
|
10271
|
+
9\d
|
10272
|
+
)\d\d|
|
10273
|
+
1(?:
|
10274
|
+
[0-7]\d\d|
|
10316
10275
|
8(?:
|
10317
|
-
|
10318
|
-
|
10319
|
-
3[02-578]|
|
10320
|
-
4[0-578]|
|
10321
|
-
5[124-9]|
|
10322
|
-
6[2-69]|
|
10323
|
-
7\d|
|
10324
|
-
8[02-9]|
|
10325
|
-
9[02569]
|
10326
|
-
)|
|
10327
|
-
9(?:
|
10328
|
-
0[02-589]|
|
10329
|
-
[18]\d|
|
10330
|
-
2[02-689]|
|
10331
|
-
3[1-57-9]|
|
10332
|
-
4[2-9]|
|
10333
|
-
5[0-579]|
|
10334
|
-
6[2-47-9]|
|
10335
|
-
7[0-24578]|
|
10336
|
-
9[2-57]
|
10276
|
+
[02]\d|
|
10277
|
+
1[278]
|
10337
10278
|
)
|
10338
|
-
)
|
10339
|
-
)
|
10279
|
+
)
|
10280
|
+
)|
|
10281
|
+
(?:
|
10282
|
+
3(?:
|
10283
|
+
0\d|
|
10284
|
+
1[0-8]|
|
10285
|
+
[25][02-9]|
|
10286
|
+
3[02-579]|
|
10287
|
+
[468][0-46-9]|
|
10288
|
+
7[1-35-79]|
|
10289
|
+
9[2-578]
|
10290
|
+
)|
|
10291
|
+
4(?:
|
10292
|
+
0[03-9]|
|
10293
|
+
[137]\d|
|
10294
|
+
[28][02-57-9]|
|
10295
|
+
4[02-69]|
|
10296
|
+
5[0-8]|
|
10297
|
+
[69][0-79]
|
10298
|
+
)|
|
10299
|
+
5(?:
|
10300
|
+
0[1-35-9]|
|
10301
|
+
[16]\d|
|
10302
|
+
2[024-9]|
|
10303
|
+
3[015689]|
|
10304
|
+
4[02-9]|
|
10305
|
+
5[03-9]|
|
10306
|
+
7[0-35-9]|
|
10307
|
+
8[0-468]|
|
10308
|
+
9[0-57-9]
|
10309
|
+
)|
|
10310
|
+
6(?:
|
10311
|
+
0[034689]|
|
10312
|
+
1\d|
|
10313
|
+
2[0-35689]|
|
10314
|
+
[38][013-9]|
|
10315
|
+
4[1-467]|
|
10316
|
+
5[0-69]|
|
10317
|
+
6[13-9]|
|
10318
|
+
7[0-8]|
|
10319
|
+
9[0-24578]
|
10320
|
+
)|
|
10321
|
+
7(?:
|
10322
|
+
0[0246-9]|
|
10323
|
+
2\d|
|
10324
|
+
3[0236-8]|
|
10325
|
+
4[03-9]|
|
10326
|
+
5[0-46-9]|
|
10327
|
+
6[013-9]|
|
10328
|
+
7[0-35-9]|
|
10329
|
+
8[024-9]|
|
10330
|
+
9[02-9]
|
10331
|
+
)|
|
10332
|
+
8(?:
|
10333
|
+
0[35-9]|
|
10334
|
+
2[1-57-9]|
|
10335
|
+
3[02-578]|
|
10336
|
+
4[0-578]|
|
10337
|
+
5[124-9]|
|
10338
|
+
6[2-69]|
|
10339
|
+
7\d|
|
10340
|
+
8[02-9]|
|
10341
|
+
9[02569]
|
10342
|
+
)|
|
10343
|
+
9(?:
|
10344
|
+
0[02-589]|
|
10345
|
+
[18]\d|
|
10346
|
+
2[02-689]|
|
10347
|
+
3[1-57-9]|
|
10348
|
+
4[2-9]|
|
10349
|
+
5[0-579]|
|
10350
|
+
6[2-47-9]|
|
10351
|
+
7[0-24578]|
|
10352
|
+
9[2-57]
|
10353
|
+
)
|
10354
|
+
)\d\d
|
10340
10355
|
)|
|
10341
10356
|
2(?:
|
10342
10357
|
0[013478]|
|
@@ -10802,36 +10817,35 @@
|
|
10802
10817
|
<exampleNumber>555123456</exampleNumber>
|
10803
10818
|
<nationalNumberPattern>
|
10804
10819
|
5(?:
|
10805
|
-
|
10806
|
-
|
10807
|
-
|
10808
|
-
|
10809
|
-
|
10810
|
-
|
10820
|
+
0555[5-9]|
|
10821
|
+
757(?:
|
10822
|
+
7[7-9]|
|
10823
|
+
8[01]
|
10824
|
+
)
|
10825
|
+
)\d{3}|
|
10826
|
+
5(?:
|
10827
|
+
0070|
|
10828
|
+
[25]222|
|
10829
|
+
3333
|
10830
|
+
)[0-4]\d{3}|
|
10831
|
+
5(?:
|
10832
|
+
00(?:
|
10833
|
+
0\d|
|
10834
|
+
50
|
10811
10835
|
)|
|
10836
|
+
111\d|
|
10812
10837
|
(?:
|
10813
|
-
|
10838
|
+
52|
|
10839
|
+
75
|
10840
|
+
)00|
|
10841
|
+
8(?:
|
10842
|
+
58[89]|
|
10814
10843
|
8(?:
|
10815
|
-
|
10816
|
-
|
10817
|
-
)
|
10818
|
-
)\d|
|
10819
|
-
(?:
|
10820
|
-
2222|
|
10821
|
-
3333
|
10822
|
-
)[0-4]|
|
10823
|
-
52(?:
|
10824
|
-
00\d|
|
10825
|
-
22[0-4]
|
10826
|
-
)|
|
10827
|
-
75(?:
|
10828
|
-
00\d|
|
10829
|
-
7(?:
|
10830
|
-
7[7-9]|
|
10831
|
-
8[01]
|
10844
|
+
55|
|
10845
|
+
88
|
10832
10846
|
)
|
10833
10847
|
)
|
10834
|
-
)\d{
|
10848
|
+
)\d{4}|
|
10835
10849
|
(?:
|
10836
10850
|
5(?:
|
10837
10851
|
[14]4|
|
@@ -11128,11 +11142,14 @@
|
|
11128
11142
|
<exampleNumber>231234567</exampleNumber>
|
11129
11143
|
<nationalNumberPattern>
|
11130
11144
|
(?:
|
11131
|
-
2
|
11145
|
+
2(?:
|
11146
|
+
[0346-8]\d|
|
11147
|
+
5[67]
|
11148
|
+
)|
|
11132
11149
|
5(?:
|
11133
11150
|
[0457]\d|
|
11134
11151
|
6[01]|
|
11135
|
-
9[1-
|
11152
|
+
9[1-9]
|
11136
11153
|
)
|
11137
11154
|
)\d{6}
|
11138
11155
|
</nationalNumberPattern>
|
@@ -12254,9 +12271,9 @@
|
|
12254
12271
|
2(?:
|
12255
12272
|
2(?:
|
12256
12273
|
0[0-39]|
|
12257
|
-
1[1-
|
12274
|
+
1[1-367]|
|
12258
12275
|
[23]\d|
|
12259
|
-
4[
|
12276
|
+
4[03-6]|
|
12260
12277
|
5[57]|
|
12261
12278
|
6[245]|
|
12262
12279
|
7[0135689]|
|
@@ -12266,7 +12283,7 @@
|
|
12266
12283
|
4(?:
|
12267
12284
|
0[78]|
|
12268
12285
|
2[3-59]|
|
12269
|
-
3[13-
|
12286
|
+
3[13-9]|
|
12270
12287
|
4[0-68]|
|
12271
12288
|
5[1-35]
|
12272
12289
|
)|
|
@@ -14591,33 +14608,37 @@
|
|
14591
14608
|
<possibleLengths national="10"/>
|
14592
14609
|
<exampleNumber>9123456789</exampleNumber>
|
14593
14610
|
<nationalNumberPattern>
|
14594
|
-
99(?:
|
14595
|
-
5[15]0|
|
14596
|
-
888|
|
14597
|
-
9(?:
|
14598
|
-
0[013]|
|
14599
|
-
21|
|
14600
|
-
77|
|
14601
|
-
88
|
14602
|
-
)
|
14603
|
-
)\d{5}|
|
14604
14611
|
9(?:
|
14605
|
-
0(?:
|
14606
|
-
[0-35]\d|
|
14607
|
-
4[4-6]
|
14608
|
-
)|
|
14609
14612
|
(?:
|
14610
|
-
|
14611
|
-
|
14613
|
+
0(?:
|
14614
|
+
[0-35]\d|
|
14615
|
+
4[4-6]
|
14616
|
+
)|
|
14617
|
+
(?:
|
14618
|
+
[13]\d|
|
14619
|
+
2[0-3]
|
14620
|
+
)\d
|
14612
14621
|
)\d|
|
14613
14622
|
9(?:
|
14614
|
-
|
14615
|
-
|
14616
|
-
|
14617
|
-
|
14618
|
-
|
14623
|
+
(?:
|
14624
|
+
[0-2]\d|
|
14625
|
+
3[01]|
|
14626
|
+
4[0145]
|
14627
|
+
)\d|
|
14628
|
+
5[15]0|
|
14629
|
+
8(?:
|
14630
|
+
1\d|
|
14631
|
+
88
|
14632
|
+
)|
|
14633
|
+
9(?:
|
14634
|
+
0[013]|
|
14635
|
+
[19]\d|
|
14636
|
+
21|
|
14637
|
+
77|
|
14638
|
+
8[7-9]
|
14639
|
+
)
|
14619
14640
|
)
|
14620
|
-
)\d{
|
14641
|
+
)\d{5}
|
14621
14642
|
</nationalNumberPattern>
|
14622
14643
|
</mobile>
|
14623
14644
|
<!-- No tollFree or premiumRate information can be found. -->
|
@@ -15270,12 +15291,7 @@
|
|
15270
15291
|
[3-9]\d\d
|
15271
15292
|
)|
|
15272
15293
|
876(?:
|
15273
|
-
|
15274
|
-
02|
|
15275
|
-
1[0-468]|
|
15276
|
-
2[35]|
|
15277
|
-
63
|
15278
|
-
)|
|
15294
|
+
52[35]|
|
15279
15295
|
6(?:
|
15280
15296
|
0[1-3579]|
|
15281
15297
|
1[0237-9]|
|
@@ -15316,16 +15332,15 @@
|
|
15316
15332
|
658295|
|
15317
15333
|
876(?:
|
15318
15334
|
2(?:
|
15335
|
+
0[6-9]|
|
15319
15336
|
[14-9]\d|
|
15320
15337
|
2[013-9]|
|
15321
15338
|
3[7-9]
|
15322
15339
|
)|
|
15323
15340
|
[348]\d\d|
|
15324
15341
|
5(?:
|
15325
|
-
0[
|
15326
|
-
1
|
15327
|
-
[2-57-9]\d|
|
15328
|
-
6[0-24-9]
|
15342
|
+
0[1-9]|
|
15343
|
+
[1-9]\d
|
15329
15344
|
)|
|
15330
15345
|
6(?:
|
15331
15346
|
4[89]|
|
@@ -18620,7 +18635,7 @@
|
|
18620
18635
|
<nationalNumberPattern>
|
18621
18636
|
6(?:
|
18622
18637
|
[269][18]|
|
18623
|
-
5[
|
18638
|
+
5[1568]|
|
18624
18639
|
7[189]|
|
18625
18640
|
81
|
18626
18641
|
)\d{6}
|
@@ -18862,9 +18877,8 @@
|
|
18862
18877
|
)\d{4}|
|
18863
18878
|
5(?:
|
18864
18879
|
2(?:
|
18865
|
-
[
|
18866
|
-
|
18867
|
-
3[0-578]|
|
18880
|
+
[0-25-7]\d|
|
18881
|
+
3[1-578]|
|
18868
18882
|
4[02-46-8]|
|
18869
18883
|
8[0235-7]|
|
18870
18884
|
90
|
@@ -18895,7 +18909,7 @@
|
|
18895
18909
|
)|
|
18896
18910
|
7(?:
|
18897
18911
|
0\d|
|
18898
|
-
|
18912
|
+
1[0-2]|
|
18899
18913
|
6[1267]|
|
18900
18914
|
7[0-57]
|
18901
18915
|
)
|
@@ -19304,7 +19318,7 @@
|
|
19304
19318
|
<mobile>
|
19305
19319
|
<possibleLengths national="9"/>
|
19306
19320
|
<exampleNumber>321234567</exampleNumber>
|
19307
|
-
<nationalNumberPattern>3[2-
|
19321
|
+
<nationalNumberPattern>3[2-489]\d{7}</nationalNumberPattern>
|
19308
19322
|
</mobile>
|
19309
19323
|
<!-- Putting VSAT numbers here. -->
|
19310
19324
|
<voip>
|
@@ -20771,15 +20785,13 @@
|
|
20771
20785
|
</availableFormats>
|
20772
20786
|
<generalDesc>
|
20773
20787
|
<nationalNumberPattern>
|
20774
|
-
1\d{6}(?:
|
20775
|
-
\d{2}
|
20776
|
-
)?|
|
20777
20788
|
(?:
|
20789
|
+
[19]\d|
|
20778
20790
|
[23]1|
|
20779
20791
|
77|
|
20780
|
-
88
|
20781
|
-
|
20782
|
-
|
20792
|
+
88
|
20793
|
+
)\d{7}|
|
20794
|
+
1\d{6}
|
20783
20795
|
</nationalNumberPattern>
|
20784
20796
|
</generalDesc>
|
20785
20797
|
<!-- 14 is no longer mentioned in the plan as a prefix, but plenty of online numbers have
|
@@ -20804,7 +20816,7 @@
|
|
20804
20816
|
31|
|
20805
20817
|
77|
|
20806
20818
|
88|
|
20807
|
-
|
20819
|
+
9[89]
|
20808
20820
|
)\d{7}
|
20809
20821
|
</nationalNumberPattern>
|
20810
20822
|
</mobile>
|
@@ -22691,7 +22703,7 @@
|
|
22691
22703
|
21[89]|
|
22692
22704
|
6(?:
|
22693
22705
|
[02-9]\d|
|
22694
|
-
1[0-
|
22706
|
+
1[0-8]
|
22695
22707
|
)\d|
|
22696
22708
|
8(?:
|
22697
22709
|
1[01]|
|
@@ -22932,33 +22944,27 @@
|
|
22932
22944
|
</nationalNumberPattern>
|
22933
22945
|
</generalDesc>
|
22934
22946
|
<fixedLine>
|
22935
|
-
<possibleLengths national="7
|
22947
|
+
<possibleLengths national="7"/>
|
22936
22948
|
<exampleNumber>3123456</exampleNumber>
|
22937
22949
|
<nationalNumberPattern>
|
22938
22950
|
(?:
|
22951
|
+
(?:
|
22952
|
+
3[0-2]|
|
22953
|
+
4[257]|
|
22954
|
+
5[34]|
|
22955
|
+
9[78]
|
22956
|
+
)\d|
|
22939
22957
|
64[1-9]|
|
22940
|
-
7730|
|
22941
22958
|
85[02-46-9]
|
22942
|
-
)\d{4}
|
22943
|
-
(?:
|
22944
|
-
3[0-2]|
|
22945
|
-
4[257]|
|
22946
|
-
5[34]|
|
22947
|
-
77[0-24]|
|
22948
|
-
9[78]
|
22949
|
-
)\d{5}
|
22959
|
+
)\d{4}
|
22950
22960
|
</nationalNumberPattern>
|
22951
22961
|
</fixedLine>
|
22952
22962
|
<mobile>
|
22953
22963
|
<possibleLengths national="8"/>
|
22954
22964
|
<exampleNumber>70123456</exampleNumber>
|
22955
22965
|
<nationalNumberPattern>
|
22956
|
-
77(?:
|
22957
|
-
3[1-9]|
|
22958
|
-
[5-9]\d
|
22959
|
-
)\d{4}|
|
22960
22966
|
(?:
|
22961
|
-
7
|
22967
|
+
7\d|
|
22962
22968
|
8[18]
|
22963
22969
|
)\d{6}
|
22964
22970
|
</nationalNumberPattern>
|
@@ -22995,12 +23001,6 @@
|
|
22995
23001
|
<leadingDigits>2</leadingDigits>
|
22996
23002
|
<format>$1 $2</format>
|
22997
23003
|
</numberFormat>
|
22998
|
-
<!-- Area code separated from number. Area codes found here:
|
22999
|
-
http://en.wikipedia.org/wiki/Telecommunications_in_the_Philippines#Area_Codes -->
|
23000
|
-
<numberFormat pattern="(\d)(\d{3})(\d{4})" nationalPrefixFormattingRule="($NP$FG)">
|
23001
|
-
<leadingDigits>2</leadingDigits>
|
23002
|
-
<format>$1 $2 $3</format>
|
23003
|
-
</numberFormat>
|
23004
23004
|
<numberFormat pattern="(\d{4})(\d{4,6})" nationalPrefixFormattingRule="($NP$FG)">
|
23005
23005
|
<leadingDigits>
|
23006
23006
|
3(?:
|
@@ -23106,13 +23106,15 @@
|
|
23106
23106
|
</availableFormats>
|
23107
23107
|
<generalDesc>
|
23108
23108
|
<nationalNumberPattern>
|
23109
|
-
1800\d{7,9}|
|
23110
23109
|
(?:
|
23111
|
-
2|
|
23112
|
-
|
23113
|
-
)\d{
|
23114
|
-
|
23115
|
-
|
23110
|
+
[2-7]|
|
23111
|
+
9\d
|
23112
|
+
)\d{8}|
|
23113
|
+
2\d{5}|
|
23114
|
+
(?:
|
23115
|
+
1800|
|
23116
|
+
8
|
23117
|
+
)\d{7,9}
|
23116
23118
|
</nationalNumberPattern>
|
23117
23119
|
</generalDesc>
|
23118
23120
|
<!-- Evidence on number length is hard to come by. We have found diallable numbers in Manila
|
@@ -23121,7 +23123,7 @@
|
|
23121
23123
|
from 7 digit to 8 digit since 6th October 2019. -->
|
23122
23124
|
<fixedLine>
|
23123
23125
|
<possibleLengths national="6,[8-10]" localOnly="4,5,7"/>
|
23124
|
-
<exampleNumber>
|
23126
|
+
<exampleNumber>232345678</exampleNumber>
|
23125
23127
|
<nationalNumberPattern>
|
23126
23128
|
(?:
|
23127
23129
|
(?:
|
@@ -23137,10 +23139,10 @@
|
|
23137
23139
|
42
|
23138
23140
|
)
|
23139
23141
|
)\d{4}|
|
23140
|
-
|
23141
|
-
|
23142
|
-
|
23143
|
-
|
23142
|
+
(?:
|
23143
|
+
2|
|
23144
|
+
8[2-8]\d\d
|
23145
|
+
)\d{5}
|
23144
23146
|
</nationalNumberPattern>
|
23145
23147
|
</fixedLine>
|
23146
23148
|
<!-- 950 added based on info received from Smart. 96[5-7] added based on user report. -->
|
@@ -23149,7 +23151,10 @@
|
|
23149
23151
|
<exampleNumber>9051234567</exampleNumber>
|
23150
23152
|
<nationalNumberPattern>
|
23151
23153
|
(?:
|
23152
|
-
|
23154
|
+
8(?:
|
23155
|
+
1[37]|
|
23156
|
+
9[5-8]
|
23157
|
+
)|
|
23153
23158
|
9(?:
|
23154
23159
|
0[5-9]|
|
23155
23160
|
1[0-24-9]|
|
@@ -23519,6 +23524,7 @@
|
|
23519
23524
|
(70 numbers are formatted as per mobile numbers, based on information from some Polish people). -->
|
23520
23525
|
<numberFormat pattern="(\d{3})(\d{3})(\d{3})">
|
23521
23526
|
<leadingDigits>
|
23527
|
+
21|
|
23522
23528
|
39|
|
23523
23529
|
45|
|
23524
23530
|
5[0137]|
|
@@ -23596,6 +23602,10 @@
|
|
23596
23602
|
<possibleLengths national="9"/>
|
23597
23603
|
<exampleNumber>512345678</exampleNumber>
|
23598
23604
|
<nationalNumberPattern>
|
23605
|
+
211(?:
|
23606
|
+
1\d|
|
23607
|
+
3[1-5]
|
23608
|
+
)\d{4}|
|
23599
23609
|
(?:
|
23600
23610
|
45|
|
23601
23611
|
5[0137]|
|
@@ -24249,6 +24259,7 @@
|
|
24249
24259
|
<possibleLengths national="8"/>
|
24250
24260
|
<exampleNumber>44123456</exampleNumber>
|
24251
24261
|
<nationalNumberPattern>
|
24262
|
+
4141\d{4}|
|
24252
24263
|
(?:
|
24253
24264
|
23|
|
24254
24265
|
4[04]
|
@@ -24437,7 +24448,7 @@
|
|
24437
24448
|
1[01]|
|
24438
24449
|
[2-7]\d|
|
24439
24450
|
8[03-8]|
|
24440
|
-
9[
|
24451
|
+
9[019]
|
24441
24452
|
)\d{6}
|
24442
24453
|
</nationalNumberPattern>
|
24443
24454
|
</mobile>
|
@@ -25456,7 +25467,7 @@
|
|
25456
25467
|
)\d{5}
|
25457
25468
|
</nationalNumberPattern>
|
25458
25469
|
</fixedLine>
|
25459
|
-
<!-- 8023
|
25470
|
+
<!-- 8023 and 8041 are added based on user report. -->
|
25460
25471
|
<mobile>
|
25461
25472
|
<possibleLengths national="8"/>
|
25462
25473
|
<exampleNumber>81234567</exampleNumber>
|
@@ -25466,7 +25477,7 @@
|
|
25466
25477
|
0(?:
|
25467
25478
|
[13]\d|
|
25468
25479
|
2[013-9]|
|
25469
|
-
|
25480
|
+
4[01]
|
25470
25481
|
)|
|
25471
25482
|
[1-8]\d\d|
|
25472
25483
|
9(?:
|
@@ -25909,9 +25920,8 @@
|
|
25909
25920
|
<generalDesc>
|
25910
25921
|
<nationalNumberPattern>
|
25911
25922
|
(?:
|
25912
|
-
[
|
25913
|
-
66
|
25914
|
-
99
|
25923
|
+
[237-9]\d|
|
25924
|
+
66
|
25915
25925
|
)\d{6}
|
25916
25926
|
</nationalNumberPattern>
|
25917
25927
|
</generalDesc>
|
@@ -25930,7 +25940,7 @@
|
|
25930
25940
|
66|
|
25931
25941
|
7[3-9]|
|
25932
25942
|
8[08]|
|
25933
|
-
|
25943
|
+
9[09]
|
25934
25944
|
)\d{6}
|
25935
25945
|
</nationalNumberPattern>
|
25936
25946
|
</mobile>
|
@@ -26958,9 +26968,9 @@
|
|
26958
26968
|
<generalDesc>
|
26959
26969
|
<nationalNumberPattern>
|
26960
26970
|
(?:
|
26961
|
-
|
26971
|
+
00|
|
26962
26972
|
11|
|
26963
|
-
[
|
26973
|
+
[2-57-9]\d
|
26964
26974
|
)\d{7}
|
26965
26975
|
</nationalNumberPattern>
|
26966
26976
|
</generalDesc>
|
@@ -26994,8 +27004,9 @@
|
|
26994
27004
|
<nationalNumberPattern>
|
26995
27005
|
41[18]\d{6}|
|
26996
27006
|
(?:
|
26997
|
-
[
|
27007
|
+
[034]0|
|
26998
27008
|
11|
|
27009
|
+
2[02]|
|
26999
27010
|
5[05]|
|
27000
27011
|
7[07]|
|
27001
27012
|
8[08]|
|
@@ -27301,6 +27312,7 @@
|
|
27301
27312
|
<exampleNumber>7715123</exampleNumber>
|
27302
27313
|
<nationalNumberPattern>
|
27303
27314
|
(?:
|
27315
|
+
55[56]|
|
27304
27316
|
6(?:
|
27305
27317
|
[09]\d|
|
27306
27318
|
3[02]|
|
@@ -27324,6 +27336,11 @@
|
|
27324
27336
|
<exampleNumber>5501234</exampleNumber>
|
27325
27337
|
<nationalNumberPattern>55[04]\d{4}</nationalNumberPattern>
|
27326
27338
|
</premiumRate>
|
27339
|
+
<voip>
|
27340
|
+
<possibleLengths national="7"/>
|
27341
|
+
<exampleNumber>5510123</exampleNumber>
|
27342
|
+
<nationalNumberPattern>55[1-37-9]\d{4}</nationalNumberPattern>
|
27343
|
+
</voip>
|
27327
27344
|
</territory>
|
27328
27345
|
|
27329
27346
|
<!-- Turkey (TR) -->
|
@@ -28316,7 +28333,7 @@
|
|
28316
28333
|
1[02-579]|
|
28317
28334
|
2[3-5]|
|
28318
28335
|
3[0245]|
|
28319
|
-
4[
|
28336
|
+
4[023578]|
|
28320
28337
|
58|
|
28321
28338
|
6[39]|
|
28322
28339
|
7[0589]|
|
@@ -28408,7 +28425,7 @@
|
|
28408
28425
|
1[02-579]|
|
28409
28426
|
2[3-5]|
|
28410
28427
|
3[0245]|
|
28411
|
-
4[
|
28428
|
+
4[023578]|
|
28412
28429
|
58|
|
28413
28430
|
6[39]|
|
28414
28431
|
7[0589]|
|
@@ -28717,8 +28734,7 @@
|
|
28717
28734
|
</fixedLine>
|
28718
28735
|
<!-- Adding 9[45] as suggested by http://www.ucell.uz/en/for_subscribers/how_to_call.html
|
28719
28736
|
Adding other prefixes from http://www.weltvorwahlen.de/99861353.html, and any other
|
28720
|
-
prefixes Tyntec has a carrier mapped to. Adding
|
28721
|
-
5590 based on user report. -->
|
28737
|
+
prefixes Tyntec has a carrier mapped to. Adding 5550[13] & 5590 based on user report. -->
|
28722
28738
|
<mobile>
|
28723
28739
|
<possibleLengths national="9"/>
|
28724
28740
|
<exampleNumber>912345678</exampleNumber>
|
@@ -28730,7 +28746,7 @@
|
|
28730
28746
|
9[0-57-9]
|
28731
28747
|
)\d{3}|
|
28732
28748
|
55(?:
|
28733
|
-
|
28749
|
+
50[13]|
|
28734
28750
|
90\d
|
28735
28751
|
)|
|
28736
28752
|
6(?:
|
@@ -29756,17 +29772,17 @@
|
|
29756
29772
|
<territory id="VU" countryCode="678" internationalPrefix="00">
|
29757
29773
|
<availableFormats>
|
29758
29774
|
<numberFormat pattern="(\d{3})(\d{4})">
|
29759
|
-
<leadingDigits>[
|
29775
|
+
<leadingDigits>[57-9]</leadingDigits>
|
29760
29776
|
<format>$1 $2</format>
|
29761
29777
|
</numberFormat>
|
29762
29778
|
</availableFormats>
|
29763
29779
|
<generalDesc>
|
29764
29780
|
<nationalNumberPattern>
|
29765
|
-
[
|
29781
|
+
[57-9]\d{6}|
|
29766
29782
|
(?:
|
29767
|
-
[
|
29768
|
-
|
29769
|
-
)\d{
|
29783
|
+
[238]\d|
|
29784
|
+
48
|
29785
|
+
)\d{3}
|
29770
29786
|
</nationalNumberPattern>
|
29771
29787
|
</generalDesc>
|
29772
29788
|
<fixedLine>
|
@@ -29789,7 +29805,7 @@
|
|
29789
29805
|
<exampleNumber>5912345</exampleNumber>
|
29790
29806
|
<nationalNumberPattern>
|
29791
29807
|
(?:
|
29792
|
-
|
29808
|
+
[58]\d|
|
29793
29809
|
7[013-7]
|
29794
29810
|
)\d{5}
|
29795
29811
|
</nationalNumberPattern>
|
@@ -30671,8 +30687,8 @@
|
|
30671
30687
|
<exampleNumber>712345678</exampleNumber>
|
30672
30688
|
<nationalNumberPattern>
|
30673
30689
|
7(?:
|
30674
|
-
[
|
30675
|
-
[
|
30690
|
+
[178]\d|
|
30691
|
+
3[1-9]
|
30676
30692
|
)\d{6}
|
30677
30693
|
</nationalNumberPattern>
|
30678
30694
|
</mobile>
|
@@ -30960,6 +30976,10 @@
|
|
30960
30976
|
<leadingDigits>510</leadingDigits>
|
30961
30977
|
<format>$1 $2 $3</format>
|
30962
30978
|
</numberFormat>
|
30979
|
+
<numberFormat pattern="(\d{3})(\d{3})(\d{4})">
|
30980
|
+
<leadingDigits>2</leadingDigits>
|
30981
|
+
<format>$1 $2 $3</format>
|
30982
|
+
</numberFormat>
|
30963
30983
|
<numberFormat pattern="(\d{3})(\d{3})(\d{3})(\d{3})">
|
30964
30984
|
<leadingDigits>510</leadingDigits>
|
30965
30985
|
<format>$1 $2 $3 $4</format>
|
@@ -30973,16 +30993,20 @@
|
|
30973
30993
|
</availableFormats>
|
30974
30994
|
<generalDesc>
|
30975
30995
|
<nationalNumberPattern>
|
30996
|
+
210\d{7}|
|
30976
30997
|
51\d{7}(?:
|
30977
30998
|
\d{3}
|
30978
30999
|
)?
|
30979
31000
|
</nationalNumberPattern>
|
30980
31001
|
</generalDesc>
|
30981
31002
|
<voip>
|
30982
|
-
<possibleLengths national="9,12"/>
|
31003
|
+
<possibleLengths national="9,10,12"/>
|
30983
31004
|
<exampleNumber>510012345</exampleNumber>
|
30984
31005
|
<nationalNumberPattern>
|
30985
|
-
|
31006
|
+
(?:
|
31007
|
+
210|
|
31008
|
+
51[013]0\d
|
31009
|
+
)\d{7}|
|
30986
31010
|
5100\d{5}
|
30987
31011
|
</nationalNumberPattern>
|
30988
31012
|
</voip>
|
data/data/timezones/map_data.dat
CHANGED
Binary file
|
data/data/timezones/map_data.txt
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: telephone_number
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- MOBI Wireless Management
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-07-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|