Skip to content

Commit

Permalink
Merge metadata changes from upstream r648
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddrysdale committed Feb 9, 2014
1 parent 95faae3 commit 97845a3
Show file tree
Hide file tree
Showing 16 changed files with 298 additions and 129 deletions.
253 changes: 138 additions & 115 deletions resources/PhoneNumberMetadata.xml

Large diffs are not rendered by default.

80 changes: 73 additions & 7 deletions resources/ShortNumberMetadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5205,27 +5205,91 @@
</territory>

<!-- Latvia -->
<!-- http://www.itu.int/oth/T0202000076/en -->
<!-- http://en.wikipedia.org/wiki/+371 -->
<territory id="LV">
<generalDesc>
<nationalNumberPattern>[01]\d{1,2}</nationalNumberPattern>
<possibleNumberPattern>\d{2,3}</possibleNumberPattern>
<nationalNumberPattern>
0\d|
1\d{2,6}|
8\d{3,4}
</nationalNumberPattern>
<possibleNumberPattern>\d{2,6}</possibleNumberPattern>
</generalDesc>
<shortCode>
<nationalNumberPattern>
0[123]|
112
0[1-4]|
1(?:
1(?:
[02-4]|
6(?:
000|
111
)|
8[0189]
)|
55|
655|
77
)|
821[57]4
</nationalNumberPattern>
<exampleNumber>112</exampleNumber>
</shortCode>
<tollFree>
<!-- http://116000.lv/en/about -->
<nationalNumberPattern>116000</nationalNumberPattern>
<possibleNumberPattern>\d{6}</possibleNumberPattern>
<exampleNumber>116000</exampleNumber>
</tollFree>
<standardRate>
<!-- http://www.ldz.lv/?object_id=2568 - 0.177 LVL per minute. -->
<nationalNumberPattern>1181</nationalNumberPattern>
<possibleNumberPattern>\d{4}</possibleNumberPattern>
<exampleNumber>1181</exampleNumber>
</standardRate>
<premiumRate>
<nationalNumberPattern>
1180|
8(?:
2\d{3}|
[89]\d{2}
)
</nationalNumberPattern>
<possibleNumberPattern>\d{4,5}</possibleNumberPattern>
</premiumRate>
<carrierSpecific>
<nationalNumberPattern>16\d{2}</nationalNumberPattern>
<possibleNumberPattern>\d{4}</possibleNumberPattern>
<exampleNumber>1655</exampleNumber>
</carrierSpecific>
<carrierServices>
<nationalNumberPattern>
1(?:
6\d{2}|
77
)
</nationalNumberPattern>
<possibleNumberPattern>\d{3,4}</possibleNumberPattern>
<exampleNumber>177</exampleNumber>
</carrierServices>
<directoryServices>
<nationalNumberPattern>118\d</nationalNumberPattern>
<possibleNumberPattern>\d{4}</possibleNumberPattern>
<exampleNumber>1180</exampleNumber>
</directoryServices>
<emergency>
<nationalNumberPattern>
0[123]|
112
11[023]
</nationalNumberPattern>
<possibleNumberPattern>\d{2,3}</possibleNumberPattern>
<exampleNumber>112</exampleNumber>
</emergency>
<expandedEmergency>
<nationalNumberPattern>155</nationalNumberPattern>
<possibleNumberPattern>\d{3}</possibleNumberPattern>
<exampleNumber>155</exampleNumber>
</expandedEmergency>
</territory>

<!-- Libya (Soc. People’s Libyan Arab Jamahiriya) -->
Expand Down Expand Up @@ -5313,6 +5377,7 @@
<possibleNumberPattern>\d{3,6}</possibleNumberPattern>
</generalDesc>
<shortCode>
<!-- http://www.idknet.com/mobile/sms/ -->
<nationalNumberPattern>
1(?:
1(?:
Expand All @@ -5324,7 +5389,8 @@
23
)
)|
8\d
8\d|
99
)|
4\d{3}|
5[0-3]\d|
Expand Down
2 changes: 2 additions & 0 deletions resources/carrier/en/1.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
1441590|Digicel Bermuda
1441599|Digicel Bermuda
14417|Cellular One
1473520|Affordable Island Communications
1473521|Affordable Island Communications
164923|C&W
164924|C&W
164933|DIGICEL
Expand Down
1 change: 1 addition & 0 deletions resources/carrier/en/213.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

21354|Nedjma
21355|Nedjma
21356|Nedjma
2136|Mobilis
Expand Down
3 changes: 2 additions & 1 deletion resources/carrier/en/226.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@
22664|Airtel
22665|Airtel
22666|Airtel
226670|Airtel
22667|Airtel
22668|Telecel Faso
22669|Telecel Faso
22670|Telmob
22671|Telmob
22672|Telmob
Expand Down
3 changes: 3 additions & 0 deletions resources/carrier/en/229.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.

22961|MTN
22964|Moov
22966|MTN
22967|MTN
22968|Glo
22990|Libercom
22993|BLK
Expand Down
3 changes: 2 additions & 1 deletion resources/carrier/en/234.txt
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@
2348885|Starcomms
2348886|Starcomms
2348887|Starcomms
2349091|Etisalat
234903|MTN
234909|Etisalat
234980|Starcomms
234987|Starcomms
1 change: 1 addition & 0 deletions resources/carrier/en/267.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,4 @@
267767|Mascom
267769|Orange
267776|Mascom
267777|Mascom
20 changes: 20 additions & 0 deletions resources/carrier/en/373.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright (C) 2014 The Libphonenumber Authors

# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at

# http://www.apache.org/licenses/LICENSE-2.0

# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

373562|IDC
373774|IDC
373775|IDC
373777|IDC
373778|IDC
373779|IDC
5 changes: 1 addition & 4 deletions resources/carrier/en/389.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# The name of the company to which prefix 7421 is assigned is listed as MVNO
# MOBIK TELEKOMUNIKACII in the ITU document - we are not sure what company this
# is so have omitted it for now.

38970|T-Mobile
38971|T-Mobile
38972|T-Mobile
389732|Albafone
3897421|Mobik Telekomunikacii
38975|One
38976|One
38977|vip
Expand Down
1 change: 1 addition & 0 deletions resources/carrier/en/48.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
48532|T-Mobile
48533|Play
48535|Play
4857|Play
48600|T-Mobile
48601|Plus
48602|T-Mobile
Expand Down
16 changes: 15 additions & 1 deletion resources/carrier/en/49.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,23 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# O2 is run by Telefónica (the name listed in the ITU doc). The ITU doc also
# lists Telekom Deutschland for T-Mobile, but these are the same company.

49151|T-Mobile
491520|Vodafone
49156|Mobilcom
491521|Vodafone/Lycamobile
491522|Vodafone
491523|Vodafone
491525|Vodafone
491529|Vodafone/Truphone
491570|Eplus/Telogic
491573|Eplus
491575|Eplus
491577|Eplus
491578|Eplus
491579|Eplus/Sipgate
491590|O2
49160|T-Mobile
49162|Vodafone
49163|Eplus
Expand Down
30 changes: 30 additions & 0 deletions resources/carrier/en/506.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,36 @@
# See the License for the specific language governing permissions and
# limitations under the License.

506570|OMV
506571|OMV
506572|OMV
506573|OMV
50670010|Claro
50670011|Claro
50670012|Claro
50670013|Claro
50670014|Claro
5067002|Claro
5067003|Claro
5067004|Claro
5067005|Claro
5067006|Claro
5067007|Claro
5067008|Claro
5067009|Claro
506701|Claro
506702|Claro
506703|Claro
506704|Claro
506705|Claro
506706|Claro
506707|Claro
506708|Claro
506709|Claro
50671|Claro
50672|Claro
5067300|Claro
5067301|Claro
50683|Kolbi ICE
50688|Kolbi ICE
50689|Kolbi ICE
5 changes: 5 additions & 0 deletions resources/carrier/en/598.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.

59891|Antel
598920|Antel
598921|Antel
598922|Antel
59893|Movistar
59894|Movistar
59895|Movistar
59896|Claro
Expand Down
3 changes: 3 additions & 0 deletions resources/carrier/en/91.txt
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@
917598|CellOne
917599|CellOne
917600|AirTel
917601|Reliance
917602|AirTel
917607|AirTel
917620|Reliance
Expand All @@ -125,6 +126,8 @@
917676|Reliance
917677|Reliance
917679|Reliance
917686|Aircel
917687|Aircel
917696|TATA DOCOMO
917697|Idea Cellular Ltd
917698|IDEA
Expand Down
1 change: 1 addition & 0 deletions resources/carrier/en/92.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
92306|Mobilink
92307|Mobilink
92308|Mobilink
92310|Zong
92311|Ufone
92312|Ufone
92313|Ufone
Expand Down

0 comments on commit 97845a3

Please sign in to comment.