Skip to content

Commit

Permalink
Metadata updates from Google v6.1.1 (r669)
Browse files Browse the repository at this point in the history
* Metadata changes:
  - Updated phone metadata for region code(s):
    AF, AG, AI, AS, BB, BF, BM, BS, CA, CN, CR, DM, DO, DZ, FR, GD, GU, IN, JM,
    KH, KN, KW, KY, LC, MN, MP, MS, NG, NI, PH, PR, SX, TC, TT, US, VC, VG, VI
  - Updated short number metadata for region code(s): AL
  - New geocoding data for country calling code(s): 1346 (en), 1959 (en)
  - Updated geocoding data for country calling code(s):
    33 (en, fr), 352 (de, en, fr), 355 (en)
  - New carrier data for country calling code(s): 505 (en)
  - Updated carrier data for country calling code(s):
    63 (en), 91 (en), 93 (en), 234 (en)
  • Loading branch information
giggsey committed Jun 10, 2014
1 parent 2c93cbe commit e01fa6d
Show file tree
Hide file tree
Showing 54 changed files with 1,719 additions and 1,772 deletions.
125 changes: 63 additions & 62 deletions src/libphonenumber/carrier/data/Map.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,68 +120,69 @@
102 => 48,
103 => 49,
104 => 501,
105 => 506,
106 => 51,
107 => 53,
108 => 54,
109 => 55,
110 => 56,
111 => 57,
112 => 58,
113 => 591,
114 => 595,
115 => 597,
116 => 598,
117 => 599,
118 => 60,
119 => 61,
120 => 62,
121 => 63,
122 => 64,
123 => 65,
124 => 66,
125 => 670,
126 => 673,
127 => 675,
128 => 676,
129 => 677,
130 => 678,
131 => 679,
132 => 685,
133 => 686,
134 => 7,
135 => 84,
136 => 852,
137 => 855,
138 => 856,
139 => 86,
140 => 880,
141 => 90,
142 => 91,
143 => 92,
144 => 93,
145 => 94,
146 => 960,
147 => 962,
148 => 964,
149 => 965,
150 => 966,
151 => 967,
152 => 968,
153 => 970,
154 => 971,
155 => 972,
156 => 973,
157 => 974,
158 => 975,
159 => 977,
160 => 98,
161 => 992,
162 => 993,
163 => 994,
164 => 995,
165 => 996,
166 => 998,
105 => 505,
106 => 506,
107 => 51,
108 => 53,
109 => 54,
110 => 55,
111 => 56,
112 => 57,
113 => 58,
114 => 591,
115 => 595,
116 => 597,
117 => 598,
118 => 599,
119 => 60,
120 => 61,
121 => 62,
122 => 63,
123 => 64,
124 => 65,
125 => 66,
126 => 670,
127 => 673,
128 => 675,
129 => 676,
130 => 677,
131 => 678,
132 => 679,
133 => 685,
134 => 686,
135 => 7,
136 => 84,
137 => 852,
138 => 855,
139 => 856,
140 => 86,
141 => 880,
142 => 90,
143 => 91,
144 => 92,
145 => 93,
146 => 94,
147 => 960,
148 => 962,
149 => 964,
150 => 965,
151 => 966,
152 => 967,
153 => 968,
154 => 970,
155 => 971,
156 => 972,
157 => 973,
158 => 974,
159 => 975,
160 => 977,
161 => 98,
162 => 992,
163 => 993,
164 => 994,
165 => 995,
166 => 996,
167 => 998,
),
'ru' =>
array (
Expand Down
1 change: 1 addition & 0 deletions src/libphonenumber/carrier/data/en/234.php
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@
2348885 => 'Starcomms',
2348886 => 'Starcomms',
2348887 => 'Starcomms',
234902 => 'Airtel',
234903 => 'MTN',
234909 => 'Etisalat',
234980 => 'Starcomms',
Expand Down
14 changes: 14 additions & 0 deletions src/libphonenumber/carrier/data/en/505.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php
/**
* This file is automatically @generated by {@link GeneratePhonePrefixData}.
* Please don't modify it directly.
*/

return array (
50557 => 'Claro',
50575 => 'Movistar',
50576 => 'Movistar',
50577 => 'Movistar',
50578 => 'Movistar',
);
/* EOF */
4 changes: 4 additions & 0 deletions src/libphonenumber/carrier/data/en/63.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
63909 => 'Smart',
63910 => 'Smart',
63912 => 'Smart',
63914 => 'Globe',
63915 => 'Globe',
63916 => 'Globe',
63917 => 'Globe',
Expand Down Expand Up @@ -39,6 +40,9 @@
63947 => 'Smart',
63948 => 'Smart',
63949 => 'Smart',
63975 => 'Globe',
63976 => 'Globe',
63995 => 'Globe',
63999 => 'Smart',
);
/* EOF */
24 changes: 24 additions & 0 deletions src/libphonenumber/carrier/data/en/91.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,30 @@
*/

return array (
917048 => 'Tata',
917049 => 'Idea',
917050 => 'Telewings',
917051 => 'AirTel',
917052 => 'Idea',
917053 => 'Aircel',
917054 => 'AirTel',
917055 => 'Idea',
917056 => 'Idea',
917057 => 'Idea',
917058 => 'Telewings',
917059 => 'Dishnet',
917060 => 'AirTel',
917061 => 'Reliance',
917062 => 'Aircel',
917063 => 'AirTel',
917064 => 'Vodafone',
917065 => 'Idea',
917066 => 'Vodafone',
917067 => 'Reliance',
917068 => 'Telewings',
917069 => 'Vodafone',
917070 => 'AirTel',
917071 => 'Dishnet Wireless',
917200 => 'TATA DOCOMO',
917204 => 'TATA DOCOMO',
917205 => 'TATA DOCOMO',
Expand Down
1 change: 1 addition & 0 deletions src/libphonenumber/carrier/data/en/93.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

return array (
9370 => 'AWCC',
93729 => 'Roshan',
93772 => 'MTN',
93773 => 'MTN',
93774 => 'MTN',
Expand Down
22 changes: 21 additions & 1 deletion src/libphonenumber/data/PhoneNumberMetadata_AF.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,12 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '7[057-9]\\d{7}',
'NationalNumberPattern' => '
7(?:
[057-9]\\d{7}|
29\\d{6}
)
',
'PossibleNumberPattern' => '\\d{9}',
'ExampleNumber' => '701234567',
),
Expand Down Expand Up @@ -108,6 +113,21 @@
'format' => '$1 $2 $3',
'leadingDigitsPatterns' =>
array (
0 => '
[2-6]|
7[013-9]
',
),
'nationalPrefixFormattingRule' => '0$1',
'domesticCarrierCodeFormattingRule' => '',
),
1 =>
array (
'pattern' => '(729)(\\d{3})(\\d{3})',
'format' => '$1 $2 $3',
'leadingDigitsPatterns' =>
array (
0 => '729',
),
'nationalPrefixFormattingRule' => '0$1',
'domesticCarrierCodeFormattingRule' => '',
Expand Down
4 changes: 3 additions & 1 deletion src/libphonenumber/data/PhoneNumberMetadata_AG.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@
5(?:
00|
33|
44
44|
66|
77
)[2-9]\\d{6}
',
'PossibleNumberPattern' => '\\d{10}',
Expand Down
4 changes: 3 additions & 1 deletion src/libphonenumber/data/PhoneNumberMetadata_AI.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@
5(?:
00|
33|
44
44|
66|
77
)[2-9]\\d{6}
',
'PossibleNumberPattern' => '\\d{10}',
Expand Down
4 changes: 3 additions & 1 deletion src/libphonenumber/data/PhoneNumberMetadata_AS.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@
5(?:
00|
33|
44
44|
66|
77
)[2-9]\\d{6}
',
'PossibleNumberPattern' => '\\d{10}',
Expand Down
4 changes: 3 additions & 1 deletion src/libphonenumber/data/PhoneNumberMetadata_BB.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@
5(?:
00|
33|
44
44|
66|
77
)[2-9]\\d{6}
',
'PossibleNumberPattern' => '\\d{10}',
Expand Down
2 changes: 1 addition & 1 deletion src/libphonenumber/data/PhoneNumberMetadata_BF.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
'NationalNumberPattern' => '
6(?:
[0-689]\\d|
7[0-2]
7[0-5]
)\\d{5}|
7\\d{7}
',
Expand Down
4 changes: 3 additions & 1 deletion src/libphonenumber/data/PhoneNumberMetadata_BM.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@
5(?:
00|
33|
44
44|
66|
77
)[2-9]\\d{6}
',
'PossibleNumberPattern' => '\\d{10}',
Expand Down
4 changes: 3 additions & 1 deletion src/libphonenumber/data/PhoneNumberMetadata_BS.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,9 @@
5(?:
00|
33|
44
44|
66|
77
)[2-9]\\d{6}
',
'PossibleNumberPattern' => '\\d{10}',
Expand Down
4 changes: 3 additions & 1 deletion src/libphonenumber/data/PhoneNumberMetadata_CA.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,9 @@
5(?:
00|
33|
44
44|
66|
77
)[2-9]\\d{6}
',
'PossibleNumberPattern' => '\\d{10}',
Expand Down
Loading

0 comments on commit e01fa6d

Please sign in to comment.