Merge pull request #278 from nmav/ocserv
[project/luci.git] / applications / luci-asterisk / luasrc / asterisk / cc_idd.lua
1 --[[
2 LuCI - Asterisk - International Direct Dialing Prefixes and Country Codes
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8         http://www.apache.org/licenses/LICENSE-2.0
9
10 ]]--
11
12 module "luci.asterisk.cc_idd"
13
14 CC_IDD = {
15 --      Country, CC, IDD
16         { "Afghanistan", "93", "00" },
17         { "Albania", "355", "00" },
18         { "Algeria", "213", "00" },
19         { "American Samoa", "684", "00" },
20         { "Andorra", "376", "00" },
21         { "Angola", "244", "00" },
22         { "Anguilla", "264", "011" },
23         { "Antarctica", "672", "" },
24         { "Antigua", "268", "011" },
25         { "Argentina", "54", "00" },
26         { "Armenia", "374", "00" },
27         { "Aruba", "297", "00" },
28         { "Ascension Island", "247", "00" },
29         { "Australia", "61", "0011" },
30         { "Austria", "43", "00" },
31         { "Azberbaijan", "994", "00" },
32         { "Bahamas", "242", "011" },
33         { "Bahrain", "973", "00" },
34         { "Bangladesh", "880", "00" },
35         { "Barbados", "246", "011" },
36         { "Barbuda", "268", "011" },
37         { "Belarus", "375", "810" },
38         { "Belgium", "32", "00" },
39         { "Belize", "501", "00" },
40         { "Benin", "229", "00" },
41         { "Bermuda", "441", "011" },
42         { "Bhutan", "975", "00" },
43         { "Bolivia", "591", "00" },
44         { "Bosnia", "387", "00" },
45         { "Botswana", "267", "00" },
46         { "Brazil", "55", "00" },
47         { "British Virgin Islands", "284", "011" },
48         { "Brunei", "673", "00" },
49         { "Bulgaria", "359", "00" },
50         { "Burkina Faso", "226", "00" },
51         { "Burma (Myanmar)", "95", "00" },
52         { "Burundi", "257", "00" },
53         { "Cambodia", "855", "001" },
54         { "Cameroon", "237", "00" },
55         { "Canada", "1", "011" },
56         { "Cape Verde Islands", "238", "0" },
57         { "Cayman Islands", "345", "011" },
58         { "Central African Rep.", "236", "00" },
59         { "Chad", "235", "15" },
60         { "Chile", "56", "00" },
61         { "China", "86", "00" },
62         { "Christmas Island", "61", "0011" },
63         { "Cocos Islands", "61", "0011" },
64         { "Colombia", "57", "00" },
65         { "Comoros", "269", "00" },
66         { "Congo", "242", "00" },
67         { "Congo, Dem. Rep. of", "243", "00" },
68         { "Cook Islands", "682", "00" },
69         { "Costa Rica", "506", "00" },
70         { "Croatia", "385", "00" },
71         { "Cuba", "53", "119" },
72         { "Cyprus", "357", "00" },
73         { "Czech Republic", "420", "00" },
74         { "Denmark", "45", "00" },
75         { "Diego Garcia", "246", "00" },
76         { "Djibouti", "253", "00" },
77         { "Dominica", "767", "011" },
78         { "Dominican Rep.", "809", "011" },
79         { "Ecuador", "593", "00" },
80         { "Egypt", "20", "00" },
81         { "El Salvador", "503", "00" },
82         { "Equatorial Guinea", "240", "00" },
83         { "Eritrea", "291", "00" },
84         { "Estonia", "372", "00" },
85         { "Ethiopia", "251", "00" },
86         { "Faeroe Islands", "298", "00" },
87         { "Falkland Islands", "500", "00" },
88         { "Fiji Islands", "679", "00" },
89         { "Finland", "358", "00" },
90         { "France", "33", "00" },
91         { "French Antilles", "596", "00" },
92         { "French Guiana", "594", "00" },
93         { "French Polynesia", "689", "00" },
94         { "Gabon", "241", "00" },
95         { "Gambia", "220", "00" },
96         { "Georgia", "995", "810" },
97         { "Germany", "49", "00" },
98         { "Ghana", "233", "00" },
99         { "Gibraltar", "350", "00" },
100         { "Greece", "30", "00" },
101         { "Greenland", "299", "00" },
102         { "Grenada", "473", "011" },
103         { "Guadeloupe", "590", "00" },
104         { "Guam", "671", "011" },
105         { "Guantanamo Bay", "5399", "00" },
106         { "Guatemala", "502", "00" },
107         { "Guinea", "224", "00" },
108         { "Guinea Bissau", "245", "00" },
109         { "Guyana", "592", "001" },
110         { "Haiti", "509", "00" },
111         { "Honduras", "504", "00" },
112         { "Hong Kong", "852", "001" },
113         { "Hungary", "36", "00" },
114         { "Iceland", "354", "00" },
115         { "India", "91", "00" },
116         { "Indonesia", "62", { "001", "008" } },
117         { "Iran", "98", "00" },
118         { "Iraq", "964", "00" },
119         { "Ireland", "353", "00" },
120         { "Israel", "972", "00" },
121         { "Italy", "39", "00" },
122         { "Ivory Coast", "225", "00" },
123         { "Jamaica", "876", "011" },
124         { "Japan", "81", "001" },
125         { "Jordan", "962", "00" },
126         { "Kazakhstan", "7", "810" },
127         { "Kenya", "254", "000" },
128         { "Kiribati", "686", "00" },
129         { "Korea, North", "850", "00" },
130         { "Korea, South", "82", "001" },
131         { "Kuwait", "965", "00" },
132         { "Kyrgyzstan", "996", "00" },
133         { "Laos", "856", "00" },
134         { "Latvia", "371", "00" },
135         { "Lebanon", "961", "00" },
136         { "Lesotho", "266", "00" },
137         { "Liberia", "231", "00" },
138         { "Libya", "218", "00" },
139         { "Liechtenstein", "423", "00" },
140         { "Lithuania", "370", "00" },
141         { "Luxembourg", "352", "00" },
142         { "Macau", "853", "00" },
143         { "Macedonia", "389", "00" },
144         { "Madagascar", "261", "00" },
145         { "Malawi", "265", "00" },
146         { "Malaysia", "60", "00" },
147         { "Maldives", "960", "00" },
148         { "Mali", "223", "00" },
149         { "Malta", "356", "00" },
150         { "Mariana Islands", "670", "011" },
151         { "Marshall Islands", "692", "011" },
152         { "Martinique", "596", "00" },
153         { "Mauritania", "222", "00" },
154         { "Mauritius", "230", "00" },
155         { "Mayotte Islands", "269", "00" },
156         { "Mexico", "52", "00" },
157         { "Micronesia", "691", "011" },
158         { "Midway Island", "808", "011" },
159         { "Moldova", "373", "00" },
160         { "Monaco", "377", "00" },
161         { "Mongolia", "976", "001" },
162         { "Montserrat", "664", "011" },
163         { "Morocco", "212", "00" },
164         { "Mozambique", "258", "00" },
165         { "Myanmar (Burma)", "95", "00" },
166         { "Namibia", "264", "00" },
167         { "Nauru", "674", "00" },
168         { "Nepal", "977", "00" },
169         { "Netherlands", "31", "00" },
170         { "Netherlands Antilles", "599", "00" },
171         { "Nevis", "869", "011" },
172         { "New Caledonia", "687", "00" },
173         { "New Zealand", "64", "00" },
174         { "Nicaragua", "505", "00" },
175         { "Niger", "227", "00" },
176         { "Nigeria", "234", "009" },
177         { "Niue", "683", "00" },
178         { "Norfolk Island", "672", "00" },
179         { "Norway", "47", "00" },
180         { "Oman", "968", "00" },
181         { "Pakistan", "92", "00" },
182         { "Palau", "680", "011" },
183         { "Palestine", "970", "00" },
184         { "Panama", "507", "00" },
185         { "Papua New Guinea", "675", "05" },
186         { "Paraguay", "595", "002" },
187         { "Peru", "51", "00" },
188         { "Philippines", "63", "00" },
189         { "Poland", "48", "00" },
190         { "Portugal", "351", "00" },
191         { "Puerto Rico", { "787", "939" }, "011" },
192         { "Qatar", "974", "00" },
193         { "Reunion Island", "262", "00" },
194         { "Romania", "40", "00" },
195         { "Russia", "7", "810" },
196         { "Rwanda", "250", "00" },
197         { "St. Helena", "290", "00" },
198         { "St. Kitts", "869", "011" },
199         { "St. Lucia", "758", "011" },
200         { "St. Perre & Miquelon", "508", "00" },
201         { "St. Vincent", "784", "011" },
202         { "San Marino", "378", "00" },
203         { "Sao Tome & Principe", "239", "00" },
204         { "Saudi Arabia", "966", "00" },
205         { "Senegal", "221", "00" },
206         { "Serbia", "381", "99" },
207         { "Seychelles", "248", "00" },
208         { "Sierra Leone", "232", "00" },
209         { "Singapore", "65", "001" },
210         { "Slovakia", "421", "00" },
211         { "Slovenia", "386", "00" },
212         { "Solomon Islands", "677", "00" },
213         { "Somalia", "252", "00" },
214         { "South Africa", "27", "09" },
215         { "Spain", "34", "00" },
216         { "Sri Lanka", "94", "00" },
217         { "Sudan", "249", "00" },
218         { "Suriname", "597", "00" },
219         { "Swaziland", "268", "00" },
220         { "Sweden", "46", "00" },
221         { "Switzerland", "41", "00" },
222         { "Syria", "963", "00" },
223         { "Taiwan", "886", "002" },
224         { "Tajikistan", "992", "810" },
225         { "Tanzania", "255", "00" },
226         { "Thailand", "66", "001" },
227         { "Togo", "228", "00" },
228         { "Tonga", "676", "00" },
229         { "Trinidad & Tobago", "868", "011" },
230         { "Tunisia", "216", "00" },
231         { "Turkey", "90", "00" },
232         { "Turkmenistan", "993", "810" },
233         { "Turks & Caicos", "649", "011" },
234         { "Tuvalu", "688", "00" },
235         { "Uganda", "256", "000" },
236         { "Ukraine", "380", "810" },
237         { "United Arab Emirates", "971", "00" },
238         { "United Kingdom", "44", "00" },
239         { "Uruguay", "598", "00" },
240         { "USA", "1", "011" },
241         { "US Virgin Islands", "340", "011" },
242         { "Uzbekistan", "998", "810" },
243         { "Vanuatu", "678", "00" },
244         { "Vatican City", "39", "00" },
245         { "Venezuela", "58", "00" },
246         { "Vietnam", "84", "00" },
247         { "Wake Island", "808", "00" },
248         { "Wallis & Futuna", "681", "19" },
249         { "Western Samoa", "685", "00" },
250         { "Yemen", "967", "00" },
251         { "Yugoslavia", "381", "99" },
252         { "Zambia", "260", "00" },
253         { "Zimbabwe", "263", "00" }
254 }