Skip to content

Commit

Permalink
Upstream metadata changes from Google for v7.3.1
Browse files Browse the repository at this point in the history
Metadata changes:
 - Updated phone metadata for region code(s): DE, DJ, IL, IN, KH
 - Updated short number metadata for region code(s): BR
 - Updated carrier data for country calling code(s):
   91 (en), 855 (en), 972 (en)
  • Loading branch information
giggsey committed Apr 21, 2016
1 parent d2c69a9 commit 848269d
Show file tree
Hide file tree
Showing 10 changed files with 210 additions and 50 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/googlei18n/libphonenumber project
#
# For more information, look at the phing tasks in build.xml
libphonenumber-7.3.0
libphonenumber-7.3.1
1 change: 1 addition & 0 deletions src/libphonenumber/carrier/data/en/855.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
85512 => 'Cellcard',
85514 => 'Cellcard',
85517 => 'Cellcard',
85518 => 'Seatel',
85560 => 'Beeline',
85566 => 'Beeline',
85567 => 'Beeline',
Expand Down
119 changes: 114 additions & 5 deletions src/libphonenumber/carrier/data/en/91.php
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,49 @@
917309 => 'Idea',
917310 => 'Vodafone',
917319 => 'Airtel',
9173258 => 'Airtel',
9173259 => 'Airtel',
9173260 => 'Airtel',
9173268 => 'Airtel',
9173269 => 'Airtel',
9173270 => 'Airtel',
9173278 => 'Airtel',
9173279 => 'Airtel',
9173280 => 'Airtel',
9173288 => 'Airtel',
9173376 => 'Airtel',
9173377 => 'Airtel',
9173378 => 'Airtel',
917338 => 'Airtel',
9173390 => 'Airtel',
9173391 => 'Airtel',
9173392 => 'Airtel',
9173393 => 'Airtel',
9173394 => 'Airtel',
9173395 => 'Airtel',
9173396 => 'Airtel',
9173477 => 'Idea',
9173478 => 'Idea',
9173480 => 'Idea',
9173481 => 'Idea',
9173482 => 'Idea',
9173483 => 'Idea',
9173484 => 'Idea',
9173485 => 'Idea',
9173486 => 'Idea',
9173487 => 'Idea',
9173488 => 'Airtel',
9173489 => 'Airtel',
9173490 => 'Airtel',
9173491 => 'Airtel',
9173492 => 'Airtel',
9173493 => 'Airtel',
9173494 => 'Airtel',
9173495 => 'Airtel',
9173496 => 'Airtel',
9173497 => 'Airtel',
9173498 => 'Vodafone',
9173499 => 'Vodafone',
917350 => 'Idea',
917351 => 'Idea',
917352 => 'Idea',
Expand All @@ -222,21 +265,87 @@
917357 => 'Videocon',
917358 => 'Airtel',
917359 => 'Idea',
9173600 => 'Vodafone',
9173608 => 'Vodafone',
9173609 => 'Vodafone',
9173610 => 'Vodafone',
9173618 => 'Vodafone',
9173619 => 'Vodafone',
9173620 => 'Vodafone',
9173628 => 'Vodafone',
9173629 => 'Airtel',
9173630 => 'Airtel',
9173638 => 'Airtel',
9173639 => 'Airtel',
9173640 => 'Airtel',
9173648 => 'Airtel',
9173649 => 'Airtel',
9173650 => 'Airtel',
9173658 => 'Airtel',
9173659 => 'Airtel',
9173660 => 'Airtel',
9173668 => 'Airtel',
9173669 => 'Airtel',
9173670 => 'Airtel',
9173678 => 'Airtel',
9173679 => 'Airtel',
9173680 => 'Airtel',
9173688 => 'Airtel',
9173689 => 'Airtel',
9173690 => 'Airtel',
9173698 => 'Idea',
9173699 => 'Idea',
9173700 => 'Idea',
9173708 => 'Idea',
9173709 => 'Idea',
9173710 => 'Idea',
9173718 => 'Idea',
9173719 => 'Idea',
9173720 => 'Idea',
9173728 => 'Idea',
9173729 => 'Idea',
917373 => 'Aircel',
9173740 => 'Idea',
9173748 => 'Idea',
9173749 => 'Idea',
9173750 => 'Idea',
9173758 => 'Idea',
9173759 => 'Idea',
917376 => 'Cellone',
917377 => 'Idea',
9173780 => 'Idea',
9173781 => 'Idea',
9173782 => 'Idea',
9173783 => 'Vodafone',
9173784 => 'Vodafone',
9173785 => 'Vodafone',
9173786 => 'Vodafone',
9173787 => 'Vodafone',
9173788 => 'Vodafone',
9173789 => 'Vodafone',
917379 => 'Vodafone',
917380 => 'CellOne',
9173810 => 'Vodafone',
9173803 => 'Airtel',
9173804 => 'Airtel',
9173805 => 'Airtel',
9173806 => 'Airtel',
9173807 => 'Airtel',
9173808 => 'Airtel',
9173809 => 'Airtel',
917381 => 'Vodafone',
917382 => 'CellOne',
917383 => 'Telewings',
917384 => 'Airtel',
917385 => 'Telewings',
917386 => 'Telewings',
917387 => 'AirTel',
917388 => 'AirTel',
917389 => 'AirTel',
917387 => 'Airtel',
917388 => 'Airtel',
917389 => 'Airtel',
9173900 => 'Airtel',
9173908 => 'Airtel',
9173909 => 'Airtel',
9173910 => 'Vodafone',
9173918 => 'Vodafone',
9173919 => 'Vodafone',
917396 => 'Telewings',
917398 => 'Telewings',
917399 => 'Dishnet',
Expand Down
1 change: 1 addition & 0 deletions src/libphonenumber/carrier/data/en/972.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
9725587 => 'Alon',
9725588 => 'Alon',
9725589 => 'Alon',
9725595 => 'Telzar',
9725596 => 'Telzar',
9725597 => 'Telzar',
9725598 => 'Telzar',
Expand Down
90 changes: 70 additions & 20 deletions src/libphonenumber/data/PhoneNumberMetadata_DE.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,32 @@
),
'voicemail' =>
array (
'NationalNumberPattern' => '17799\\d{7,8}',
'NationalNumberPattern' => '
1(?:
5(?:
(?:
2\\d55|
7\\d99|
9\\d33
)\\d{7}|
(?:
[034568]00|
113
)\\d{8}
)|
6(?:
013|
255|
399
)\\d{7,8}|
7(?:
[015]13|
[234]55|
[69]33|
[78]99
)\\d{7,8}
)
',
'PossibleNumberPattern' => '\\d{12,13}',
'ExampleNumber' => '177991234567',
),
Expand Down Expand Up @@ -370,19 +395,6 @@
'domesticCarrierCodeFormattingRule' => '',
),
8 =>
array (
'pattern' => '(177)(99)(\\d{7,8})',
'format' => '$1 $2 $3',
'leadingDigitsPatterns' =>
array (
0 => '177',
1 => '1779',
2 => '17799',
),
'nationalPrefixFormattingRule' => '0$1',
'domesticCarrierCodeFormattingRule' => '',
),
9 =>
array (
'pattern' => '(\\d{3})(\\d)(\\d{4,10})',
'format' => '$1 $2 $3',
Expand All @@ -406,7 +418,7 @@
'nationalPrefixFormattingRule' => '0$1',
'domesticCarrierCodeFormattingRule' => '',
),
10 =>
9 =>
array (
'pattern' => '(1\\d{2})(\\d{5,11})',
'format' => '$1 $2',
Expand All @@ -417,7 +429,7 @@
'nationalPrefixFormattingRule' => '0$1',
'domesticCarrierCodeFormattingRule' => '',
),
11 =>
10 =>
array (
'pattern' => '(18\\d{3})(\\d{6})',
'format' => '$1 $2',
Expand All @@ -430,7 +442,7 @@
'nationalPrefixFormattingRule' => '0$1',
'domesticCarrierCodeFormattingRule' => '',
),
12 =>
11 =>
array (
'pattern' => '(18\\d{2})(\\d{7})',
'format' => '$1 $2',
Expand All @@ -441,7 +453,7 @@
'nationalPrefixFormattingRule' => '0$1',
'domesticCarrierCodeFormattingRule' => '',
),
13 =>
12 =>
array (
'pattern' => '(18\\d)(\\d{8})',
'format' => '$1 $2',
Expand All @@ -452,7 +464,7 @@
'nationalPrefixFormattingRule' => '0$1',
'domesticCarrierCodeFormattingRule' => '',
),
14 =>
13 =>
array (
'pattern' => '(700)(\\d{4})(\\d{4})',
'format' => '$1 $2 $3',
Expand All @@ -463,7 +475,7 @@
'nationalPrefixFormattingRule' => '0$1',
'domesticCarrierCodeFormattingRule' => '',
),
15 =>
14 =>
array (
'pattern' => '(138)(\\d{4})',
'format' => '$1 $2',
Expand All @@ -474,6 +486,44 @@
'nationalPrefixFormattingRule' => '0$1',
'domesticCarrierCodeFormattingRule' => '',
),
15 =>
array (
'pattern' => '(15[013-68])(\\d{2})(\\d{8})',
'format' => '$1 $2 $3',
'leadingDigitsPatterns' =>
array (
0 => '15[013-68]',
),
'nationalPrefixFormattingRule' => '0$1',
'domesticCarrierCodeFormattingRule' => '',
),
16 =>
array (
'pattern' => '(15[279]\\d)(\\d{2})(\\d{7})',
'format' => '$1 $2 $3',
'leadingDigitsPatterns' =>
array (
0 => '15[279]',
),
'nationalPrefixFormattingRule' => '0$1',
'domesticCarrierCodeFormattingRule' => '',
),
17 =>
array (
'pattern' => '(1[67]\\d)(\\d{2})(\\d{7,8})',
'format' => '$1 $2 $3',
'leadingDigitsPatterns' =>
array (
0 => '
1(?:
6[023]|
7
)
',
),
'nationalPrefixFormattingRule' => '0$1',
'domesticCarrierCodeFormattingRule' => '',
),
),
'intlNumberFormat' =>
array (
Expand Down
7 changes: 1 addition & 6 deletions src/libphonenumber/data/PhoneNumberMetadata_DJ.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '
77(?:
08|
[6-8]\\d
)\\d{4}
',
'NationalNumberPattern' => '77[0-26-8]\\d{5}',
'PossibleNumberPattern' => '\\d{8}',
'ExampleNumber' => '77831001',
),
Expand Down
3 changes: 2 additions & 1 deletion src/libphonenumber/data/PhoneNumberMetadata_IL.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
5[5689]|
6[67]|
7[0178]|
[89][6-9]
8[6-9]|
9[5-9]
)|
6[2-9]\\d
)\\d{5}
Expand Down
23 changes: 11 additions & 12 deletions src/libphonenumber/data/PhoneNumberMetadata_IN.php
Original file line number Diff line number Diff line change
Expand Up @@ -204,12 +204,12 @@
9[389]
)|
3(?:
[058]\\d|
[05-8]\\d|
1[09]|
31|
48|
7[3679]|
9[689]
2[5-8]|
3[17-9]|
4[789]|
9[01689]
)|
4(?:
0[1-9]|
Expand Down Expand Up @@ -387,8 +387,7 @@
array (
0 => '
7(?:
[0257]|
3[013-57-9]|
[02357]|
4[0-389]|
6[0-35-9]|
8[0-79]
Expand Down Expand Up @@ -416,12 +415,12 @@
9[389]
)|
3(?:
[058]|
[05-8]|
1[09]|
31|
48|
7[3679]|
9[689]
2[5-8]|
3[17-9]|
4[789]|
9[01689]
)|
4(?:
0[1-9]|
Expand Down
4 changes: 2 additions & 2 deletions src/libphonenumber/data/PhoneNumberMetadata_KH.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
'NationalNumberPattern' => '
(?:
1(?:
[013-9]|
2\\d?
[013-79]|
[28]\\d?
)|
3[18]\\d|
6[016-9]|
Expand Down
Loading

0 comments on commit 848269d

Please sign in to comment.