Skip to content

Commit aff0ec2

Browse files
committed
Merge metadata changes from upstream 8.9.0
Includes changes in resources/ up to and including upstream commit 1b3ad6f40a9d: "[maven-release-plugin] prepare release v8.9.0"
1 parent 87ac7f6 commit aff0ec2

10 files changed

Lines changed: 756 additions & 73 deletions

File tree

resources/PhoneNumberMetadata.xml

Lines changed: 51 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -2302,7 +2302,9 @@
23022302
<leadingDigits>[3-79]1</leadingDigits>
23032303
<format>$1-$2</format>
23042304
</numberFormat>
2305-
<!-- Mobile numbers, VOIP, and four-digit fixed-line area codes. -->
2305+
<!-- Mobile numbers, VOIP, and four-digit fixed-line area codes. We use the same format for
2306+
all VOIP numbers as they are not consistent and these ranges are assigned at 4 digit
2307+
granularity. -->
23062308
<numberFormat pattern="(\d{4})(\d{3,6})">
23072309
<leadingDigits>
23082310
1|
@@ -2332,7 +2334,7 @@
23322334
9(?:
23332335
[02][23]|
23342336
[458]2|
2335-
6[016]
2337+
6[01367]
23362338
)
23372339
</leadingDigits>
23382340
<format>$1-$2</format>
@@ -2689,9 +2691,11 @@
26892691
<exampleNumber>9604123456</exampleNumber>
26902692
<nationalNumberPattern>
26912693
96(?:
2692-
0[49]|
2694+
0[469]|
26932695
1[0-4]|
2694-
6[69]
2696+
3[389]|
2697+
6[69]|
2698+
7[78]
26952699
)\d{6}
26962700
</nationalNumberPattern>
26972701
</voip>
@@ -3156,12 +3160,11 @@
31563160
<exampleNumber>90011234</exampleNumber>
31573161
<!-- We have restricted the pattern here to the first two digits, as beyond this the data
31583162
seems to be no longer accurate. The latest ITU doc (2005) lists 9[0357] and lists
3159-
other 9x and the complete 6x range as reserved. The prefixes 9[46] have also been
3160-
added, along with 6[1267] (seemingly prefixes for Mobile MTN), and 6[3-5] for Moov.
3161-
Glo Mobile has been reported as having prefixes 68 and 9[89]. -->
3163+
other 9x and the complete 6x range as reserved. The prefixes 96 have also been added,
3164+
along with 6[1267] (seemingly prefixes for Mobile MTN). -->
31623165
<nationalNumberPattern>
31633166
(?:
3164-
6[1-9]|
3167+
6\d|
31653168
9[03-9]
31663169
)\d{6}
31673170
</nationalNumberPattern>
@@ -4814,10 +4817,10 @@
48144817
<nationalNumberPattern>
48154818
(?:
48164819
0[1-9]|
4817-
4\d|
4818-
5[14-9]|
4819-
6[015-79]|
4820-
[78][4-9]
4820+
[45]\d|
4821+
6[014-9]|
4822+
7[124-9]|
4823+
8[4-9]
48214824
)\d{6}
48224825
</nationalNumberPattern>
48234826
</mobile>
@@ -5070,10 +5073,10 @@
50705073

50715074
<!-- China -->
50725075
<!-- The international/national prefix patterns must not collide with valid prefixes such
5073-
as 170, 176, 177 and 178. 179XX00 is a valid calling prefix, see: www.chahaoba.com/179 -->
5076+
as 17[0678] and 19[89]. 179XX00 is a valid calling prefix, see: www.chahaoba.com/179 -->
50745077
<territory id="CN" countryCode="86" preferredInternationalPrefix="00"
5075-
internationalPrefix="(1(?:[129]\d{3}|79\d{2}))?00" nationalPrefix="0"
5076-
nationalPrefixForParsing="(1(?:[129]\d{3}|79\d{2}))|0">
5078+
internationalPrefix="(1(?:[12]\d{3}|79\d{2}|9[0-7]\d{2}))?00" nationalPrefix="0"
5079+
nationalPrefixForParsing="(1(?:[12]\d{3}|79\d{2}|9[0-7]\d{2}))|0">
50775080
<references>
50785081
<sourceUrl>http://www.itu.int/oth/T020200002B/en</sourceUrl>
50795082
</references>
@@ -11076,19 +11079,19 @@
1107611079
[09]0|
1107711080
127|
1107811081
2(?:
11079-
0[01]|
11082+
0[013]|
1108011083
39|
1108111084
6[02]|
1108211085
8[0-2]|
1108311086
9[04]
1108411087
)|
1108511088
3(?:
1108611089
0[01]|
11087-
5[0-2]|
11090+
5[0-3]|
1108811091
60|
1108911092
7[05]|
1109011093
81|
11091-
9[02-5]
11094+
9[02-6]
1109211095
)
1109311096
)|
1109411097
7(?:
@@ -11168,19 +11171,19 @@
1116811171
[09]0|
1116911172
1279|
1117011173
2(?:
11171-
0[01]|
11174+
0[013]|
1117211175
39|
1117311176
6[02]|
1117411177
8[0-2]|
1117511178
9[04]
1117611179
)|
1117711180
3(?:
1117811181
0[01]|
11179-
5[0-2]|
11182+
5[0-3]|
1118011183
60|
1118111184
7[05]|
1118211185
81|
11183-
9[02-5]
11186+
9[02-6]
1118411187
)
1118511188
)|
1118611189
7(?:
@@ -11722,10 +11725,10 @@
1172211725
<nationalNumberPattern>
1172311726
(?:
1172411727
6(?:
11725-
00[0-3]\d|
11728+
00[0-35]\d|
1172611729
1279|
1172711730
2(?:
11728-
0[0-2]|
11731+
0[0-3]|
1172911732
39|
1173011733
6[02]|
1173111734
8[0-2]|
@@ -11735,12 +11738,12 @@
1173511738
0[01]\d|
1173611739
5(?:
1173711740
0[0-6]|
11738-
[12]\d
11741+
[1-3]\d
1173911742
)|
1174011743
60\d|
1174111744
7[05]\d|
1174211745
8[01]\d|
11743-
9[023-5]\d
11746+
9[023-6]\d
1174411747
)|
1174511748
900\d
1174611749
)|
@@ -14915,7 +14918,7 @@
1491514918
4[0-35-9]
1491614919
)|
1491714920
52[25]|
14918-
9[024-9]
14921+
9[0-24-9]
1491914922
</leadingDigits>
1492014923
<format>$1 $2</format>
1492114924
</numberFormat>
@@ -14988,6 +14991,7 @@
1498814991
)|
1498914992
9(?:
1499014993
0[09]\d|
14994+
11[01]|
1499114995
22\d|
1499214996
4[01479]\d|
1499314997
55\d|
@@ -16308,9 +16312,10 @@
1630816312
</territory>
1630916313

1631016314
<!-- Monaco -->
16311-
<!-- We support Kosovo mobile numbers (044, 045) with a Monaco country-code here, as we do not
16312-
support Kosovo at the moment. Kosovo seems to use a variety of country codes currently. It
16313-
also seems that the national prefix is only used for mobile numbers, not fixed-line. -->
16315+
<!-- We support Kosovo mobile numbers (044, 045) with a Monaco calling code here, while Kosovo
16316+
numbers all move over to the +383 plan. Kosovo numbers are still under several calling
16317+
codes. It also seems that the national prefix is only used for mobile numbers, not
16318+
fixed-line. -->
1631416319
<territory id="MC" countryCode="377" internationalPrefix="00" nationalPrefix="0"
1631516320
nationalPrefixFormattingRule="$NP$FG">
1631616321
<references>
@@ -17143,6 +17148,7 @@
1714317148
nationalPrefixFormattingRule="$NP$FG">
1714417149
<references>
1714517150
<sourceUrl>http://www.itu.int/oth/T020200008E/en</sourceUrl>
17151+
<sourceUrl>http://www.crc.gov.mn/k/4L/36</sourceUrl>
1714617152
</references>
1714717153
<availableFormats>
1714817154
<numberFormat pattern="([12]\d)(\d{2})(\d{4})">
@@ -22968,19 +22974,20 @@
2296822974
<fixedLine>
2296922975
<possibleLengths national="9"/>
2297022976
<exampleNumber>121231234</exampleNumber>
22971-
<!-- Retaining previous prefix as 18 since it seems still to be used. Adding 11 from numbers
22972-
found online. -->
22977+
<!-- Retaining previous prefix as 18 since it seems still to be used. Adding 10 and 11 from
22978+
numbers found online. Looks like these are fixed-line numbers as per Wikipedia page
22979+
https://en.wikipedia.org/wiki/Telephone_numbers_in_Sudan. No official evidence
22980+
found for these ranges. -->
2297322981
<nationalNumberPattern>
2297422982
1(?:
22975-
[125]\d|
22983+
[0-25]\d|
2297622984
8[3567]
2297722985
)\d{6}
2297822986
</nationalNumberPattern>
2297922987
</fixedLine>
2298022988
<mobile>
2298122989
<possibleLengths national="9"/>
2298222990
<exampleNumber>911231234</exampleNumber>
22983-
<!-- Adding 90X as online numbers have been found with this prefix. -->
2298422991
<nationalNumberPattern>9[0-3569]\d{7}</nationalNumberPattern>
2298522992
</mobile>
2298622993
</territory>
@@ -24523,11 +24530,11 @@
2452324530
<mobile>
2452424531
<possibleLengths national="8"/>
2452524532
<exampleNumber>90112345</exampleNumber>
24526-
<!-- Prefixes 93, 96 and 97 are from open-source bug reports. 70 mobile range is assigned
24533+
<!-- Prefixes 79, 93, 96 and 97 are from open-source bug reports. 70 mobile range is assigned
2452724534
to TOGOCEL as per their web portal http://www.togocel.tg/. -->
2452824535
<nationalNumberPattern>
2452924536
(?:
24530-
70|
24537+
7[09]|
2453124538
9[0-36-9]
2453224539
)\d{6}
2453324540
</nationalNumberPattern>
@@ -25022,7 +25029,12 @@
2502225029
<format>$1 $2 $3 $4</format>
2502325030
</numberFormat>
2502425031
<numberFormat pattern="(\d{3})(\d{3})(\d{2})(\d{2})" nationalPrefixFormattingRule="$NP$FG">
25025-
<leadingDigits>5[02-69]</leadingDigits>
25032+
<leadingDigits>
25033+
5(?:
25034+
[02-69]|
25035+
16
25036+
)
25037+
</leadingDigits>
2502625038
<format>$1 $2 $3 $4</format>
2502725039
</numberFormat>
2502825040
<numberFormat pattern="(\d{3})(\d{3})(\d{4})" nationalPrefixFormattingRule="$NP$FG">
@@ -25090,6 +25102,7 @@
2509025102
5[1-59]|
2509125103
9[246]
2509225104
)\d{2}|
25105+
1616|
2509325106
6161
2509425107
)\d{5}
2509525108
</nationalNumberPattern>
@@ -25812,7 +25825,7 @@
2581225825
4[08]|
2581325826
5[1-46]|
2581425827
6[0279]|
25815-
7[026]|
25828+
7[0269]|
2581625829
8[13]
2581725830
)|
2581825831
3(?:
@@ -25905,7 +25918,7 @@
2590525918
4[08]|
2590625919
5[1-46]|
2590725920
6[0279]|
25908-
7[026]|
25921+
7[0269]|
2590925922
8[13]
2591025923
)|
2591125924
3(?:

resources/carrier/en/225.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,10 @@
3737
22547|Orange
3838
22548|Orange
3939
22549|Orange
40+
22550|Moov
4041
22551|Moov
42+
22552|Moov
43+
22553|Moov
4144
22554|MTN
4245
22555|MTN
4346
22556|MTN
@@ -46,10 +49,14 @@
4649
22559|Orange
4750
22560|GreenN
4851
22561|GreenN
52+
22564|MTN
4953
22565|KoZ
5054
22566|KoZ
5155
22567|KoZ
56+
22568|Orange
5257
22569|Aircom
58+
22571|Moov
59+
22572|Moov
5360
22574|MTN
5461
22575|MTN
5562
22576|MTN

resources/carrier/en/228.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
# limitations under the License.
1414

1515
22870|TOGOCEL
16+
22879|Moov
1617
22890|TOGOCEL
1718
22891|TOGOCEL
1819
22892|TOGOCEL

resources/carrier/en/229.txt

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,22 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15+
# Libercom is brand name of Benintelecoms and Moov is brand name of Etisalat.
16+
17+
22960|Moov
1518
22961|MTN
1619
22962|MTN
1720
22963|Moov
1821
22964|Moov
1922
22965|Moov
2023
22966|MTN
2124
22967|MTN
22-
22968|Glo
25+
22968|Moov
2326
22969|MTN
2427
22990|Libercom
2528
22993|BLK
2629
22994|Moov
2730
22995|Moov
2831
22997|MTN
29-
22998|Glo
30-
22999|Glo
32+
22998|Moov
33+
22999|Moov

resources/carrier/en/249.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15+
24990|Zain
1516
24991|Zain
1617
24992|MTN
1718
24993|MTN

resources/carrier/en/90.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
# Wiki Link : https://tr.wikipedia.org/wiki/Türkiye'deki_telefon_numaraları
1515

1616
9050|Turk Telekom
17+
9051616|Turkcell
1718
9053|Turkcell
1819
9053383|Kuzey Kibris Turkcell
1920
9053384|Kuzey Kibris Turkcell

0 commit comments

Comments
 (0)