Skip to content

Commit

Permalink
Upstream metadata changes from Google for v8.13.20
Browse files Browse the repository at this point in the history
 - Updated phone metadata for region code(s): AR, BD, GY, IL, NZ, OM, RW, TN
 - Updated carrier data for country calling code(s):
   46 (en), 56 (en), 216 (en), 250 (en), 592 (en)
  • Loading branch information
giggsey committed Sep 7, 2023
1 parent 7b60d12 commit 6bd8a89
Show file tree
Hide file tree
Showing 14 changed files with 41 additions and 39 deletions.
2 changes: 1 addition & 1 deletion METADATA-VERSION.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# It can be a commit, branch or tag of the https://github.com/google/libphonenumber project
#
# For more information, look at the phing tasks in build.xml
v8.13.19
v8.13.20
1 change: 1 addition & 0 deletions src/carrier/data/en/216.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
2164 => 'Tunisie Telecom',
21645 => 'Watany Ettisalat',
21646 => 'Ooredoo',
21648 => 'Ooredoo',
2165 => 'Orange',
2169 => 'Tunisie Telecom',
);
1 change: 1 addition & 0 deletions src/carrier/data/en/250.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
return array (
25072 => 'TIGO',
25073 => 'Airtel',
25077 => 'KtRN',
25078 => 'MTN',
25079 => 'MTN',
);
1 change: 1 addition & 0 deletions src/carrier/data/en/46.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
46701347 => 'EU Tel AB',
46701348 => 'EU Tel AB',
46701349 => 'EU Tel AB',
46701350 => '42 Telecom AB',
46701353 => 'EU Tel AB',
46701356 => 'EU Tel AB',
46701358 => 'EU Tel AB',
Expand Down
1 change: 1 addition & 0 deletions src/carrier/data/en/56.php
Original file line number Diff line number Diff line change
Expand Up @@ -2716,6 +2716,7 @@
569379 => 'Ops Ingenieria Ltda.',
569380 => 'Ops Ingenieria Ltda.',
569381 => 'Ops Ingenieria Ltda.',
569388 => 'Entel',
56940 => 'Entel',
56941 => 'Movistar',
56942 => 'Entel',
Expand Down
25 changes: 13 additions & 12 deletions src/carrier/data/en/592.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,30 +11,31 @@
*/

return array (
5925 => 'GTT',
592600 => 'Digicel Guyana',
592601 => 'Digicel Guyana',
592602 => 'Digicel Guyana',
592603 => 'Digicel Guyana',
592604 => 'Digicel Guyana',
592608 => 'Digicel Guyana',
592609 => 'Guyana Telephone and Telegraph Company',
59261 => 'Guyana Telephone and Telegraph Company',
59262 => 'Guyana Telephone and Telegraph Company',
592609 => 'GTT',
59261 => 'GTT',
59262 => 'GTT',
592630 => 'Digicel Guyana',
592631 => 'GTT',
592632 => 'Digicel Guyana',
592636 => 'Digicel Guyana',
592637 => 'Digicel Guyana',
592638 => 'Guyana Telephone and Telegraph Company',
592639 => 'Guyana Telephone and Telegraph Company',
59264 => 'Guyana Telephone and Telegraph Company',
59265 => 'Guyana Telephone and Telegraph Company',
592659 => 'Digicel Guyana',
592638 => 'GTT',
592639 => 'GTT',
59264 => 'GTT',
59265 => 'GTT',
59266 => 'Digicel Guyana',
59267 => 'Digicel Guyana',
59268 => 'Digicel Guyana',
59269 => 'Digicel Guyana',
592700 => 'Digicel Guyana',
592701 => 'Digicel Guyana',
592702 => 'Digicel Guyana',
592703 => 'Digicel Guyana',
59270 => 'GTT',
59271 => 'GTT',
59272 => 'GTT',
59274 => 'GTT',
);
4 changes: 2 additions & 2 deletions src/data/PhoneNumberMetadata_AR.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
),
'fixedLine' =>
array (
'NationalNumberPattern' => '3888[013-9]\\d{5}|3(?:7(?:1[15]|81)|8(?:21|4[16]|69|9[12]))[46]\\d{5}|(?:29(?:54|66)|3(?:7(?:55|77)|865))[2-8]\\d{5}|(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|473|9(?:[07]2|2[26]|34|46))|3327)[45]\\d{5}|(?:2(?:284|3(?:02|23)|657|920)|3(?:4(?:8[27]|92)|541|878))[2-7]\\d{5}|(?:2(?:(?:26|62)2|320|477|9(?:42|83))|3(?:329|4(?:[47]6|62|89)|564))[2-6]\\d{5}|(?:(?:11[1-8]|670)\\d|2(?:2(?:0[45]|1[2-6]|3[3-6])|3(?:[06]4|7[45])|494|6(?:04|1[2-8]|[36][45]|4[3-6])|80[45]|9(?:[17][4-6]|[48][45]|9[3-6]))|3(?:364|4(?:1[2-7]|[235][4-6]|84)|5(?:1[2-9]|[38][4-6])|6(?:2[45]|44)|7[069][45]|8(?:0[45]|[17][2-6]|3[4-6]|[58][3-6])))\\d{6}|2(?:2(?:21|4[23]|6[145]|7[1-4]|8[356]|9[267])|3(?:16|3[13-8]|43|5[346-8]|9[3-5])|475|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4\\d{5}|(?:2(?:2(?:57|81)|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|71)|5(?:25|37|4[347]|71)|7(?:18|5[17])))[3-6]\\d{5}|(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[03-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[145]|4[13]|5[468]|7[2-5]|8[26])|8(?:2[5-7]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]\\d{5}',
'NationalNumberPattern' => '3888[013-9]\\d{5}|3(?:7(?:1[15]|81)|8(?:21|4[16]|69|9[12]))[46]\\d{5}|(?:29(?:54|66)|3(?:7(?:55|77)|865))[2-8]\\d{5}|(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|473|9(?:[07]2|2[26]|34|46))|3327)[45]\\d{5}|(?:2(?:284|3(?:02|23)|657|920)|3(?:4(?:8[27]|92)|541|878))[2-7]\\d{5}|(?:2(?:(?:26|62)2|320|477|9(?:42|83))|3(?:329|4(?:[47]6|62|89)|564))[2-6]\\d{5}|(?:(?:11[1-8]|670)\\d|2(?:2(?:0[45]|1[2-6]|3[3-6])|3(?:[06]4|7[45])|494|6(?:04|1[2-8]|[36][45]|4[3-6])|80[45]|9(?:[17][4-6]|[48][45]|9[3-6]))|3(?:364|4(?:1[2-8]|[235][4-6]|84)|5(?:1[2-9]|[38][4-6])|6(?:2[45]|44)|7[069][45]|8(?:0[45]|[17][2-6]|3[4-6]|[58][3-6])))\\d{6}|2(?:2(?:21|4[23]|6[145]|7[1-4]|8[356]|9[267])|3(?:16|3[13-8]|43|5[346-8]|9[3-5])|475|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4\\d{5}|(?:2(?:2(?:57|81)|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|71)|5(?:25|37|4[347]|71)|7(?:18|5[17])))[3-6]\\d{5}|(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[03-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[145]|4[13]|5[468]|7[2-5]|8[26])|8(?:2[5-7]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]\\d{5}',
'ExampleNumber' => '1123456789',
'PossibleLength' =>
array (
Expand All @@ -44,7 +44,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '93(?:7(?:1[15]|81)[46]|8(?:(?:21|4[16]|69|9[12])[46]|88[013-9]))\\d{5}|9(?:29(?:54|66)|3(?:7(?:55|77)|865))[2-8]\\d{5}|9(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|473|9(?:[07]2|2[26]|34|46))|3327)[45]\\d{5}|9(?:2(?:284|3(?:02|23)|657|920)|3(?:4(?:8[27]|92)|541|878))[2-7]\\d{5}|9(?:2(?:(?:26|62)2|320|477|9(?:42|83))|3(?:329|4(?:[47]6|62|89)|564))[2-6]\\d{5}|(?:675\\d|9(?:11[1-8]\\d|2(?:2(?:0[45]|1[2-6]|3[3-6])|3(?:[06]4|7[45])|494|6(?:04|1[2-8]|[36][45]|4[3-6])|80[45]|9(?:[17][4-6]|[48][45]|9[3-6]))|3(?:364|4(?:1[2-7]|[235][4-6]|84)|5(?:1[2-9]|[38][4-6])|6(?:2[45]|44)|7[069][45]|8(?:0[45]|[17][2-6]|3[4-6]|[58][3-6]))))\\d{6}|92(?:2(?:21|4[23]|6[145]|7[1-4]|8[356]|9[267])|3(?:16|3[13-8]|43|5[346-8]|9[3-5])|475|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4\\d{5}|9(?:2(?:2(?:57|81)|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|71)|5(?:25|37|4[347]|71)|7(?:18|5[17])))[3-6]\\d{5}|9(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[03-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[145]|4[13]|5[468]|7[2-5]|8[26])|8(?:2[5-7]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]\\d{5}',
'NationalNumberPattern' => '93(?:7(?:1[15]|81)[46]|8(?:(?:21|4[16]|69|9[12])[46]|88[013-9]))\\d{5}|9(?:29(?:54|66)|3(?:7(?:55|77)|865))[2-8]\\d{5}|9(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|473|9(?:[07]2|2[26]|34|46))|3327)[45]\\d{5}|9(?:2(?:284|3(?:02|23)|657|920)|3(?:4(?:8[27]|92)|541|878))[2-7]\\d{5}|9(?:2(?:(?:26|62)2|320|477|9(?:42|83))|3(?:329|4(?:[47]6|62|89)|564))[2-6]\\d{5}|(?:675\\d|9(?:11[1-8]\\d|2(?:2(?:0[45]|1[2-6]|3[3-6])|3(?:[06]4|7[45])|494|6(?:04|1[2-8]|[36][45]|4[3-6])|80[45]|9(?:[17][4-6]|[48][45]|9[3-6]))|3(?:364|4(?:1[2-8]|[235][4-6]|84)|5(?:1[2-9]|[38][4-6])|6(?:2[45]|44)|7[069][45]|8(?:0[45]|[17][2-6]|3[4-6]|[58][3-6]))))\\d{6}|92(?:2(?:21|4[23]|6[145]|7[1-4]|8[356]|9[267])|3(?:16|3[13-8]|43|5[346-8]|9[3-5])|475|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4\\d{5}|9(?:2(?:2(?:57|81)|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|71)|5(?:25|37|4[347]|71)|7(?:18|5[17])))[3-6]\\d{5}|9(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[03-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[145]|4[13]|5[468]|7[2-5]|8[26])|8(?:2[5-7]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]\\d{5}',
'ExampleNumber' => '91123456789',
'PossibleLength' =>
array (
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_BD.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
),
'voip' =>
array (
'NationalNumberPattern' => '96(?:0[469]|1[0-47]|3[389]|6[69]|7[78])\\d{6}',
'NationalNumberPattern' => '96(?:0[469]|1[0-47]|3[389]|43|6[69]|7[78])\\d{6}',
'ExampleNumber' => '9604123456',
'PossibleLength' =>
array (
Expand Down
6 changes: 3 additions & 3 deletions src/data/PhoneNumberMetadata_GY.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
return array (
'generalDesc' =>
array (
'NationalNumberPattern' => '9008\\d{3}|(?:[2-467]\\d\\d|862)\\d{4}',
'NationalNumberPattern' => '9008\\d{3}|(?:[2-467]\\d\\d|510|862)\\d{4}',
'PossibleLength' =>
array (
0 => 7,
Expand All @@ -36,7 +36,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '(?:6\\d\\d|70[0-35-7])\\d{4}',
'NationalNumberPattern' => '(?:510|6\\d\\d|7(?:0\\d|1[0-8]|25|49))\\d{4}',
'ExampleNumber' => '6091234',
'PossibleLength' =>
array (
Expand Down Expand Up @@ -149,7 +149,7 @@
'format' => '$1 $2',
'leadingDigitsPatterns' =>
array (
0 => '[2-46-9]',
0 => '[2-9]',
),
'nationalPrefixFormattingRule' => '',
'domesticCarrierCodeFormattingRule' => '',
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_IL.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '55410\\d{4}|5(?:(?:[0-249][2-9]|[36]\\d|8[3-7])\\d|5(?:01|2[2-9]|3[0-3]|4[34]|5[0-25689]|6[6-8]|7[0-267]|8[7-9]|9[1-9]))\\d{5}',
'NationalNumberPattern' => '55410\\d{4}|5(?:(?:[02][02-9]|[149][2-9]|[36]\\d|8[3-7])\\d|5(?:01|2[2-9]|3[0-3]|4[34]|5[0-25689]|6[6-8]|7[0-267]|8[7-9]|9[1-9]))\\d{5}',
'ExampleNumber' => '502345678',
'PossibleLength' =>
array (
Expand Down
21 changes: 9 additions & 12 deletions src/data/PhoneNumberMetadata_NZ.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
return array (
'generalDesc' =>
array (
'NationalNumberPattern' => '[29]\\d{7,9}|50\\d{5}(?:\\d{2,3})?|6[0-35-9]\\d{6}|7\\d{7,8}|8\\d{4,9}|(?:11\\d|[34])\\d{7}',
'NationalNumberPattern' => '[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}',
'PossibleLength' =>
array (
0 => 5,
Expand Down Expand Up @@ -71,7 +71,7 @@
),
'premiumRate' =>
array (
'NationalNumberPattern' => '(?:11\\d{5}|50(?:0[08]|30|66|77|88))\\d{3}|90\\d{6,8}',
'NationalNumberPattern' => '(?:1[13-57-9]\\d{5}|50(?:0[08]|30|66|77|88))\\d{3}|90\\d{6,8}',
'ExampleNumber' => '900123456',
'PossibleLength' =>
array (
Expand Down Expand Up @@ -118,20 +118,17 @@
),
'pager' =>
array (
'NationalNumberPattern' => '86\\d{6,7}',
'ExampleNumber' => '86123456',
'PossibleLength' =>
array (
0 => 8,
1 => 9,
0 => -1,
),
'PossibleLengthLocalOnly' =>
array (
),
),
'uan' =>
array (
'NationalNumberPattern' => '8(?:1[6-9]|22|3\\d|4[045]|5[459]|7[0-3579]|90)\\d{2,7}',
'NationalNumberPattern' => '8(?:1[16-9]|22|3\\d|4[045]|5[459]|6[235-9]|7[0-3579]|90)\\d{2,7}',
'ExampleNumber' => '83012378',
'PossibleLength' =>
array (
Expand Down Expand Up @@ -175,7 +172,7 @@
'format' => '$1 $2',
'leadingDigitsPatterns' =>
array (
0 => '8[1-579]',
0 => '8[1-79]',
),
'nationalPrefixFormattingRule' => '0$1',
'domesticCarrierCodeFormattingRule' => '',
Expand All @@ -187,8 +184,8 @@
'format' => '$1 $2 $3',
'leadingDigitsPatterns' =>
array (
0 => '50[036-8]|[89]0',
1 => '50(?:[0367]|88)|[89]0',
0 => '50[036-8]|8|90',
1 => '50(?:[0367]|88)|8|90',
),
'nationalPrefixFormattingRule' => '0$1',
'domesticCarrierCodeFormattingRule' => '',
Expand All @@ -212,7 +209,7 @@
'format' => '$1 $2 $3',
'leadingDigitsPatterns' =>
array (
0 => '2(?:10|74)|[59]|80',
0 => '2(?:10|74)|[589]',
),
'nationalPrefixFormattingRule' => '0$1',
'domesticCarrierCodeFormattingRule' => '',
Expand All @@ -236,7 +233,7 @@
'format' => '$1 $2 $3',
'leadingDigitsPatterns' =>
array (
0 => '2(?:[169]|7[0-35-9])|7|86',
0 => '2(?:[169]|7[0-35-9])|7',
),
'nationalPrefixFormattingRule' => '0$1',
'domesticCarrierCodeFormattingRule' => '',
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_OM.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '1505\\d{4}|(?:7(?:[1289]\\d|69|7[0-5])|9(?:0[1-9]|[1-9]\\d))\\d{5}',
'NationalNumberPattern' => '1505\\d{4}|(?:7(?:[1289]\\d|6[89]|7[0-5])|9(?:0[1-9]|[1-9]\\d))\\d{5}',
'ExampleNumber' => '92123456',
'PossibleLength' =>
array (
Expand Down
10 changes: 5 additions & 5 deletions src/data/PhoneNumberMetadata_RW.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '7[2389]\\d{7}',
'NationalNumberPattern' => '7[237-9]\\d{7}',
'ExampleNumber' => '720123456',
'PossibleLength' =>
array (
Expand Down Expand Up @@ -167,9 +167,9 @@
'format' => '$1 $2 $3',
'leadingDigitsPatterns' =>
array (
0 => '[7-9]',
0 => '2',
),
'nationalPrefixFormattingRule' => '0$1',
'nationalPrefixFormattingRule' => '',
'domesticCarrierCodeFormattingRule' => '',
'nationalPrefixOptionalWhenFormatting' => false,
),
Expand All @@ -179,9 +179,9 @@
'format' => '$1 $2 $3',
'leadingDigitsPatterns' =>
array (
0 => '2',
0 => '[7-9]',
),
'nationalPrefixFormattingRule' => '',
'nationalPrefixFormattingRule' => '0$1',
'domesticCarrierCodeFormattingRule' => '',
'nationalPrefixOptionalWhenFormatting' => false,
),
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_TN.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '3(?:001|[12]40)\\d{4}|(?:(?:[259]\\d|4[0-7])\\d|3(?:1[1-35]|6[0-4]|91))\\d{5}',
'NationalNumberPattern' => '3(?:001|[12]40)\\d{4}|(?:(?:[259]\\d|4[0-8])\\d|3(?:1[1-35]|6[0-4]|91))\\d{5}',
'ExampleNumber' => '20123456',
'PossibleLength' =>
array (
Expand Down

0 comments on commit 6bd8a89

Please sign in to comment.