Skip to content

Commit b43af64

Browse files
committed
Merge metadata updates from upstream r526
1 parent 4f1d3ee commit b43af64

3 files changed

Lines changed: 403 additions & 63 deletions

File tree

resources/PhoneNumberMetaData.xml

Lines changed: 29 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
official short names in English according to ISO 3166-1.
2323

2424
For more information on what each element represents, see
25-
java/com/google/i18n/phonenumbers/phonemetadata.proto
25+
resources/phonemetadata.proto
2626

2727
Note that if you want to add validation metadata, the generalDesc nationalNumberPattern and
2828
possibleNumberPattern must be provided. If this is missing, then the country will be
@@ -6289,10 +6289,7 @@
62896289
</numberFormat>
62906290
<numberFormat pattern="(\d{3})(\d{3})(\d{4})">
62916291
<leadingDigits>
6292-
1(?:
6293-
[012]|
6294-
5[0-2]
6295-
)|
6292+
1[012]|
62966293
[89]00
62976294
</leadingDigits>
62986295
<format>$1 $2 $3</format>
@@ -6364,11 +6361,12 @@
63646361
</fixedLine>
63656362
<mobile>
63666363
<!-- Adding the extra prefixes 102 and 121 from user reports that Vodafone and Mobinil have
6367-
started allocating numbers beginning with these prefixes. -->
6364+
started allocating numbers beginning with these prefixes, along with 115 from numbers
6365+
found online. -->
63686366
<nationalNumberPattern>
63696367
1(?:
63706368
0[01269]|
6371-
1[124]|
6369+
1[1245]|
63726370
2[0-278]
63736371
)\d{7}
63746372
</nationalNumberPattern>
@@ -14175,13 +14173,13 @@
1417514173
<exampleNumber>21212862</exampleNumber>
1417614174
</fixedLine>
1417714175
<mobile>
14178-
<!-- Adding 2028, 2058, 2078 and 2097 from numbers found online. -->
14176+
<!-- Adding 202[89], 205[89], 207[68] and 209[57] from numbers found online. -->
1417914177
<nationalNumberPattern>
1418014178
20(?:
14181-
2[238]|
14182-
5[4-68]|
14183-
7[78]|
14184-
9[7-9]
14179+
2[2389]|
14180+
5[4-689]|
14181+
7[6-8]|
14182+
9[57-9]
1418514183
)\d{6}
1418614184
</nationalNumberPattern>
1418714185
<possibleNumberPattern>\d{10}</possibleNumberPattern>
@@ -14199,16 +14197,16 @@
1419914197
<!-- Lebanon -->
1420014198
<!-- http://www.itu.int/oth/T0202000077/en -->
1420114199
<!-- http://en.wikipedia.org/wiki/%2B961 -->
14202-
<territory id="LB" countryCode="961" internationalPrefix="00"
14203-
nationalPrefix="0">
14200+
<territory id="LB" countryCode="961" internationalPrefix="00" nationalPrefix="0">
1420414201
<availableFormats>
1420514202
<numberFormat pattern="(\d)(\d{3})(\d{3})" nationalPrefixFormattingRule="$NP$FG">
1420614203
<leadingDigits>
1420714204
[13-6]|
1420814205
7(?:
1420914206
[2-579]|
1421014207
62|
14211-
8[0-7])|
14208+
8[0-7]
14209+
)|
1421214210
[89][2-9]
1421314211
</leadingDigits>
1421414212
<format>$1 $2 $3</format>
@@ -14219,7 +14217,9 @@
1421914217
7(?:
1422014218
[01]|
1422114219
6[013-9]|
14222-
88)
14220+
88|
14221+
91
14222+
)
1422314223
</leadingDigits>
1422414224
<format>$1 $2 $3</format>
1422514225
</numberFormat>
@@ -14235,21 +14235,25 @@
1423514235
7(?:
1423614236
[2-579]\d|
1423714237
62|
14238-
8[0-7])|
14238+
8[0-7]
14239+
)|
1423914240
[89][2-9]\d
1424014241
)\d{4}
1424114242
</nationalNumberPattern>
1424214243
<possibleNumberPattern>\d{7}</possibleNumberPattern>
1424314244
<exampleNumber>1123456</exampleNumber>
1424414245
</fixedLine>
1424514246
<mobile>
14247+
<!-- 791\d{5} is being used for mobile, according to numbers found online, despite
14248+
overlapping partially with shorter fixed-line numbers beginning with 79. -->
1424614249
<nationalNumberPattern>
1424714250
(?:
1424814251
3\d|
1424914252
7(?:
1425014253
[01]\d|
1425114254
6[013-9]|
14252-
88
14255+
88|
14256+
91
1425314257
)
1425414258
)\d{5}
1425514259
</nationalNumberPattern>
@@ -14388,7 +14392,7 @@
1438814392
<numberFormat pattern="(\d{3})(\d{2})(\d{2})">
1438914393
<leadingDigits>
1439014394
[23]|
14391-
7[3-9]|
14395+
7[3-57-9]|
1439214396
87
1439314397
</leadingDigits>
1439414398
<format>$1 $2 $3</format>
@@ -14461,7 +14465,7 @@
1446114465
36|
1446214466
4[25]|
1446314467
56|
14464-
[6-9]\d
14468+
[7-9]\d
1446514469
)\d{4}
1446614470
</nationalNumberPattern>
1446714471
<possibleNumberPattern>\d{7,9}</possibleNumberPattern>
@@ -19629,8 +19633,7 @@
1962919633
<nationalNumberPattern>
1963019634
9(?:
1963119635
61|
19632-
7[1-6]|
19633-
8[1-5]|
19636+
[78][1-6]|
1963419637
9[1-5]
1963519638
)\d{6}
1963619639
</nationalNumberPattern>
@@ -24997,7 +25000,7 @@
2499725000

2499825001
<!-- Universal International Toll Free Number -->
2499925002
<!-- http://www.itu.int/en/ITU-T/inr/unum/Pages/uifn.aspx -->
25000-
<territory id="001" countryCode="800">
25003+
<territory id="001" countryCode="800" leadingZeroPossible="true">
2500125004
<availableFormats>
2500225005
<numberFormat pattern="(\d{4})(\d{4})">
2500325006
<format>$1 $2</format>
@@ -25023,7 +25026,7 @@
2502325026

2502425027
<!-- Universal International Shared Cost Number -->
2502525028
<!-- http://www.itu.int/rec/T-REC-E.169-200205-I/en -->
25026-
<territory id="001" countryCode="808">
25029+
<territory id="001" countryCode="808" leadingZeroPossible="true">
2502725030
<availableFormats>
2502825031
<numberFormat pattern="(\d{4})(\d{4})">
2502925032
<format>$1 $2</format>
@@ -25269,7 +25272,7 @@
2526925272
<!-- Numbers here are classified as UAN, as they are non-geographical and universally
2527025273
accessible. In addition, the end-user tariff to reach these numbers is lower or similar to
2527125274
the tariff of a national call. -->
25272-
<territory id="001" countryCode="888">
25275+
<territory id="001" countryCode="888" leadingZeroPossible="true">
2527325276
<availableFormats>
2527425277
<numberFormat pattern="(\d{3})(\d{3})(\d{5})">
2527525278
<format>$1 $2 $3</format>
@@ -25295,7 +25298,7 @@
2529525298

2529625299
<!-- Universal International Premium Rate Number -->
2529725300
<!-- http://www.itu.int/rec/T-REC-E.169-200205-I/en -->
25298-
<territory id="001" countryCode="979">
25301+
<territory id="001" countryCode="979" leadingZeroPossible="true">
2529925302
<availableFormats>
2530025303
<numberFormat pattern="(\d)(\d{4})(\d{4})">
2530125304
<format>$1 $2 $3</format>

0 commit comments

Comments
 (0)