From 09047e2a9ec6c35da175ea665860236eda58ab7c Mon Sep 17 00:00:00 2001 From: Joshua Gigg Date: Thu, 31 Mar 2022 09:24:35 +0100 Subject: [PATCH] Metadata changes from Google for v8.12.46 - Updated phone metadata for region code(s): BJ, JM, PW, SA - Updated short number metadata for region code(s): HU - Updated carrier data for country calling code(s): 36 (en), 51 (en), 61 (en), 90 (en), 229 (en), 254 (en), 680 (en), 966 (en) --- METADATA-VERSION.txt | 2 +- src/carrier/data/en/229.php | 1 + src/carrier/data/en/254.php | 1 - src/carrier/data/en/36.php | 2 +- src/carrier/data/en/51.php | 19 +++---------------- src/carrier/data/en/61.php | 1 + src/carrier/data/en/680.php | 1 + src/carrier/data/en/90.php | 14 ++++++++++++++ src/carrier/data/en/966.php | 1 + src/data/PhoneNumberMetadata_BJ.php | 6 +++--- src/data/PhoneNumberMetadata_JM.php | 2 +- src/data/PhoneNumberMetadata_PW.php | 2 +- src/data/PhoneNumberMetadata_SA.php | 2 +- src/data/ShortNumberMetadata_HU.php | 11 +++++------ 14 files changed, 34 insertions(+), 31 deletions(-) diff --git a/METADATA-VERSION.txt b/METADATA-VERSION.txt index 685f94830..1628c2163 100644 --- a/METADATA-VERSION.txt +++ b/METADATA-VERSION.txt @@ -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.12.45 +v8.12.46 diff --git a/src/carrier/data/en/229.php b/src/carrier/data/en/229.php index 54a4d51d4..fbe29bb15 100644 --- a/src/carrier/data/en/229.php +++ b/src/carrier/data/en/229.php @@ -11,6 +11,7 @@ */ return array ( + 2294 => 'SBIN', 2295 => 'MTN', 22955 => 'Moov', 22956 => 'Moov', diff --git a/src/carrier/data/en/254.php b/src/carrier/data/en/254.php index 82fdea29a..c3979087a 100644 --- a/src/carrier/data/en/254.php +++ b/src/carrier/data/en/254.php @@ -23,7 +23,6 @@ 25474 => 'Safaricom', 254744 => 'Homeland Media', 254747 => 'JTL', - 254749 => 'WiAfrica', 25475 => 'Airtel', 254757 => 'Safaricom', 254758 => 'Safaricom', diff --git a/src/carrier/data/en/36.php b/src/carrier/data/en/36.php index bbe3dafd0..0309333bc 100644 --- a/src/carrier/data/en/36.php +++ b/src/carrier/data/en/36.php @@ -11,7 +11,7 @@ */ return array ( - 3620 => 'Telenor', + 3620 => 'Yettel Hungary', 3630 => 'Magyar Telekom', 36312000 => 'Netfone Telecom', 36312001 => 'Netfone Telecom', diff --git a/src/carrier/data/en/51.php b/src/carrier/data/en/51.php index 4f2082b47..0a4858225 100644 --- a/src/carrier/data/en/51.php +++ b/src/carrier/data/en/51.php @@ -32,32 +32,19 @@ 5191926 => 'Claro', 5191927 => 'Claro', 519198 => 'Entel', + 5192 => 'Claro', 51920 => 'Movistar', - 51921 => 'Claro', 51922 => 'Entel', 51923 => 'Entel', 51924 => 'Entel', - 51925 => 'Claro', - 519260 => 'Claro', - 519261 => 'Claro', - 519262 => 'Claro', - 5192630 => 'Claro', - 5192631 => 'Claro', - 5192632 => 'Claro', - 5192633 => 'Claro', - 5192634 => 'Claro', - 5192635 => 'Claro', + 5192636 => 'Dolphin Telecom', + 5192637 => 'Dolphin Telecom', 5192638 => 'Entel', 5192639 => 'Entel', - 519264 => 'Claro', - 519265 => 'Claro', 519266 => 'Entel', 519267 => 'Entel', 519268 => 'Entel', 519269 => 'Entel', - 51927 => 'Claro', - 51928 => 'Claro', - 51929 => 'Claro', 51930 => 'Claro', 51931 => 'Claro', 51932 => 'Claro', diff --git a/src/carrier/data/en/61.php b/src/carrier/data/en/61.php index 95fcd6b39..b16cef6b3 100644 --- a/src/carrier/data/en/61.php +++ b/src/carrier/data/en/61.php @@ -100,6 +100,7 @@ 614800 => 'Pivotel Satellite', 614801 => 'Telstra', 614803 => 'Telstra', + 614804 => 'Telstra', 614808 => 'Pivotel Satellite', 61481 => 'Optus', 61482 => 'Optus', diff --git a/src/carrier/data/en/680.php b/src/carrier/data/en/680.php index 66e6b3d3b..16b308c47 100644 --- a/src/carrier/data/en/680.php +++ b/src/carrier/data/en/680.php @@ -14,5 +14,6 @@ 68045 => 'PMCI', 68046 => 'PMCI', 68077 => 'PalauCel', + 68083 => 'PMCI', 68088 => 'PalauTel', ); diff --git a/src/carrier/data/en/90.php b/src/carrier/data/en/90.php index 3be70a963..1121c9fe4 100644 --- a/src/carrier/data/en/90.php +++ b/src/carrier/data/en/90.php @@ -12,6 +12,20 @@ return array ( 9050 => 'Turk Telekom', + 90510210 => 'Pasifik Telekom', + 90510222 => 'Netgsm', + 90510232 => 'Foniv Telecommunications Services', + 90510244 => 'Nida Telekomunikasyon', + 90510255 => 'TTM', + 90510266 => 'Medium Telecommunications Services', + 90510300 => 'Mobilisim Mobil Bilisim', + 90510310 => 'Assistant Telecom', + 90510333 => 'Roitel', + 90510343 => 'Isnet', + 90510400 => 'Duru Telekom', + 90510450 => 'Pelicell Telecommunications', + 90510480 => 'Alfa iletisim', + 90510499 => 'HATNET BILGI ILETISIM TEKNOLOJILERI', 9051616 => 'Turkcell', 9053 => 'Turkcell', 9053383 => 'Kuzey Kibris Turkcell', diff --git a/src/carrier/data/en/966.php b/src/carrier/data/en/966.php index ea233aa3f..94261b654 100644 --- a/src/carrier/data/en/966.php +++ b/src/carrier/data/en/966.php @@ -24,6 +24,7 @@ 966571 => 'Virgin', 966572 => 'Virgin', 966573 => 'Virgin', + 966575 => 'Red Bull Mobile', 966576 => 'Lebara', 966577 => 'Lebara', 966578 => 'Lebara', diff --git a/src/data/PhoneNumberMetadata_BJ.php b/src/data/PhoneNumberMetadata_BJ.php index 368fd8769..09d6f7ac8 100644 --- a/src/data/PhoneNumberMetadata_BJ.php +++ b/src/data/PhoneNumberMetadata_BJ.php @@ -14,7 +14,7 @@ return array ( 'generalDesc' => array ( - 'NationalNumberPattern' => '[25689]\\d{7}', + 'NationalNumberPattern' => '(?:[25689]\\d|40)\\d{6}', 'PossibleLength' => array ( 0 => 8, @@ -36,7 +36,7 @@ ), 'mobile' => array ( - 'NationalNumberPattern' => '(?:5[1-8]|6\\d|9[013-9])\\d{6}', + 'NationalNumberPattern' => '(?:40|5[1-8]|6\\d|9[013-9])\\d{6}', 'ExampleNumber' => '90011234', 'PossibleLength' => array ( @@ -149,7 +149,7 @@ 'format' => '$1 $2 $3 $4', 'leadingDigitsPatterns' => array ( - 0 => '[25689]', + 0 => '[24-689]', ), 'nationalPrefixFormattingRule' => '', 'domesticCarrierCodeFormattingRule' => '', diff --git a/src/data/PhoneNumberMetadata_JM.php b/src/data/PhoneNumberMetadata_JM.php index be6696f9d..7f8a81f1b 100644 --- a/src/data/PhoneNumberMetadata_JM.php +++ b/src/data/PhoneNumberMetadata_JM.php @@ -26,7 +26,7 @@ ), 'fixedLine' => array ( - 'NationalNumberPattern' => '8766060\\d{3}|(?:658(?:2(?:[0-8]\\d|9[0-46-9])|[3-9]\\d\\d)|876(?:52[35]|6(?:0[1-3579]|1[0237-9]|[23]\\d|40|5[06]|6[2-589]|7[0257]|8[04]|9[4-9])|7(?:0[2-689]|[1-6]\\d|8[056]|9[45])|9(?:0[1-8]|1[02378]|[2-8]\\d|9[2-468])))\\d{4}', + 'NationalNumberPattern' => '8766060\\d{3}|(?:658(?:2(?:[0-8]\\d|9[0-46-9])|[3-9]\\d\\d)|876(?:52[35]|6(?:0[1-3579]|1[02357-9]|[23]\\d|40|5[06]|6[2-589]|7[0257]|8[04]|9[4-9])|7(?:0[2-689]|[1-6]\\d|8[056]|9[45])|9(?:0[1-8]|1[02378]|[2-8]\\d|9[2-468])))\\d{4}', 'ExampleNumber' => '8765230123', 'PossibleLength' => array ( diff --git a/src/data/PhoneNumberMetadata_PW.php b/src/data/PhoneNumberMetadata_PW.php index de0990e4d..a61e7f112 100644 --- a/src/data/PhoneNumberMetadata_PW.php +++ b/src/data/PhoneNumberMetadata_PW.php @@ -36,7 +36,7 @@ ), 'mobile' => array ( - 'NationalNumberPattern' => '(?:46[0-5]|6[2-4689]0)\\d{4}|(?:45|77|88)\\d{5}', + 'NationalNumberPattern' => '(?:(?:46|83)[0-5]|6[2-4689]0)\\d{4}|(?:45|77|88)\\d{5}', 'ExampleNumber' => '6201234', 'PossibleLength' => array ( diff --git a/src/data/PhoneNumberMetadata_SA.php b/src/data/PhoneNumberMetadata_SA.php index bfb9149c9..69fc59f28 100644 --- a/src/data/PhoneNumberMetadata_SA.php +++ b/src/data/PhoneNumberMetadata_SA.php @@ -40,7 +40,7 @@ ), 'mobile' => array ( - 'NationalNumberPattern' => '579[01]\\d{5}|5(?:[013-689]\\d|7[0-36-8])\\d{6}', + 'NationalNumberPattern' => '579[01]\\d{5}|5(?:[013-689]\\d|7[0-35-8])\\d{6}', 'ExampleNumber' => '512345678', 'PossibleLength' => array ( diff --git a/src/data/ShortNumberMetadata_HU.php b/src/data/ShortNumberMetadata_HU.php index 5ad651f4a..fbd12d0a2 100644 --- a/src/data/ShortNumberMetadata_HU.php +++ b/src/data/ShortNumberMetadata_HU.php @@ -28,12 +28,10 @@ ), 'tollFree' => array ( - 'NationalNumberPattern' => '1(?:0[457]|1(?:2|6\\d{3}))', + 'NationalNumberPattern' => '1(?:0[457]|12|4[0-4]\\d)|1(?:16\\d|37|45)\\d\\d', 'ExampleNumber' => '104', 'PossibleLength' => array ( - 0 => 3, - 1 => 6, ), 'PossibleLengthLocalOnly' => array ( @@ -63,7 +61,7 @@ ), 'shortCode' => array ( - 'NationalNumberPattern' => '1(?:0[457]|1(?:2|6(?:000|1(?:11|23)))|2(?:20|7[02])|37(?:00|37|7[07])|414|777|8(?:1[27-9]|2[04]|40|[589]))', + 'NationalNumberPattern' => '1(?:0[457]|1(?:2|6(?:000|1(?:11|23))|800)|2(?:0[0-4]|1[013489]|2[0-5]|3[0-46]|4[0-24-68]|5[0-2568]|6[06]|7[0-25-7]|8[028]|9[08])|37(?:00|37|7[07])|4(?:0[0-5]|1[013-8]|2[034]|3[23]|4[02-9]|5(?:00|41|67))|777|8(?:1[27-9]|2[04]|40|[589]))', 'ExampleNumber' => '104', 'PossibleLength' => array ( @@ -84,11 +82,12 @@ ), 'carrierSpecific' => array ( - 'NationalNumberPattern' => '1(?:2[27]|41|77)\\d', - 'ExampleNumber' => '1220', + 'NationalNumberPattern' => '1(?:4[0-4]|77)\\d|1(?:18|2|45)\\d\\d', + 'ExampleNumber' => '1200', 'PossibleLength' => array ( 0 => 4, + 1 => 5, ), 'PossibleLengthLocalOnly' => array (