xpp: README: hwid attribute of the xpd sysfs node
[dahdi/tools.git] / zonedata.c
1 /*
2  * BSD Telephony Of Mexico "Tormenta" Tone Zone Support 2/22/01
3  * 
4  * Working with the "Tormenta ISA" Card 
5  *
6  * Primary Author: Mark Spencer <markster@digium.com>
7  * 
8  * This information from ITU E.180 Supplement 2.
9  * UK information from BT SIN 350 Issue 1.1
10  * Helpful reference: http://www.itu.int/ITU-T/inr/forms/files/tones-0203.pdf
11  */
12
13 /*
14  * See http://www.asterisk.org for more information about
15  * the Asterisk project. Please do not directly contact
16  * any of the maintainers of this project for assistance;
17  * the project provides a web site, mailing lists and IRC
18  * channels for your use.
19  *
20  * This program is free software, distributed under the terms of
21  * the GNU Lesser General Public License Version 2.1 as published
22  * by the Free Software Foundation. See the LICENSE.LGPL file
23  * included with this program for more details.
24  *
25  * In addition, when this program is distributed with Asterisk in
26  * any form that would qualify as a 'combined work' or as a
27  * 'derivative work' (but not mere aggregation), you can redistribute
28  * and/or modify the combination under the terms of the license
29  * provided with that copy of Asterisk, instead of the license
30  * terms granted here.
31  */
32
33 #include "tonezone.h"
34
35 struct tone_zone builtin_zones[] =
36 {
37         { .zone = 0,
38           .country = "us",
39           .description = "United States / North America",
40           .ringcadence = { 2000, 4000 },
41           .tones = {
42                         { DAHDI_TONE_DIALTONE, "350+440" },
43                         { DAHDI_TONE_BUSY, "480+620/500,0/500" },
44                         { DAHDI_TONE_RINGTONE, "440+480/2000,0/4000" },
45                         { DAHDI_TONE_CONGESTION, "480+620/250,0/250" },
46                         { DAHDI_TONE_CALLWAIT, "440/300,0/10000" },
47                         { DAHDI_TONE_DIALRECALL, "!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,350+440" },
48                         { DAHDI_TONE_RECORDTONE, "1400/500,0/15000" },
49                         { DAHDI_TONE_INFO, "!950/330,!1400/330,!1800/330,0" },
50                         { DAHDI_TONE_STUTTER, "!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,350+440" },
51                 },
52           .dtmf_high_level = -10,
53           .dtmf_low_level = -10,
54           .mfr1_level = -10,
55           .mfr2_level = -8,
56         },
57         { .zone = 1,
58           .country = "au",
59           .description = "Australia",
60           .ringcadence = {  400, 200, 400, 2000 },
61           .tones = {
62                                   
63                         { DAHDI_TONE_DIALTONE, "415+440" },
64                         { DAHDI_TONE_BUSY, "425/375,0/375" },
65                         { DAHDI_TONE_RINGTONE, "413+438/400,0/200,413+438/400,0/2000" },
66                         /* The Australian congestion tone is 425Hz, 375ms On, 375ms Off, with the
67                          * second cadence being half the amplitude of the first; so the first cadence
68                          * is approximately -10dB with the second one being -20dB.  Using the update
69                          * ToneZone.c file, this can be accomplished by adding the "@" symbol in front
70                          * of the frequency to reduce amplification, as in the following entry for
71                          * Congestion:
72                          */
73                         { DAHDI_TONE_CONGESTION, "425/375,0/375,425@/375,0/375" },
74                         { DAHDI_TONE_CALLWAIT, "425/100,0/200,425/200,0/4400" },
75                         { DAHDI_TONE_DIALRECALL, "413+428" },
76                         { DAHDI_TONE_RECORDTONE, "!425/1000,!0/15000,425/360,0/15000" },
77                         { DAHDI_TONE_INFO, "425/2500,0/500" },
78                         { DAHDI_TONE_STUTTER, "413+438/100,0/40" },
79                 },
80           .dtmf_high_level = -10,
81           .dtmf_low_level = -10,
82           .mfr1_level = -10,
83           .mfr2_level = -8,
84         },
85         { .zone = 2,
86           .country = "fr",
87           .description = "France",
88           .ringcadence = { 1500, 3500 },
89           .tones = {
90                         /* Reference: http://www.itu.int/ITU-T/inr/forms/files/tones-0203.pdf */
91                         /* Dialtone can also be 440+330 */
92                         { DAHDI_TONE_DIALTONE, "440" },
93                         { DAHDI_TONE_BUSY, "440/500,0/500" },
94                         { DAHDI_TONE_RINGTONE, "440/1500,0/3500" },
95                         /* CONGESTION - not specified */
96                         { DAHDI_TONE_CONGESTION, "440/250,0/250" },
97                         { DAHDI_TONE_CALLWAIT, "440/300,0/10000" },
98                         /* DIALRECALL - not specified */
99                         { DAHDI_TONE_DIALRECALL, "!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,350+440" },
100                         /* RECORDTONE - not specified */
101                         { DAHDI_TONE_RECORDTONE, "1400/500,0/15000" },
102                         { DAHDI_TONE_INFO, "!950/330,!1400/330,!1800/330,0" },
103                         { DAHDI_TONE_STUTTER, "!440/100,!0/100,!440/100,!0/100,!440/100,!0/100,!440/100,!0/100,!440/100,!0/100,!440/100,!0/100,440" },
104                 },
105           .dtmf_high_level = -9,
106           .dtmf_low_level = -11,
107           .mfr1_level = -7,
108           .mfr2_level = -8,
109         },
110         { .zone = 3,
111           .country = "nl",
112           .description = "Netherlands",
113           .ringcadence = { 1000, 4000 },
114           .tones = {
115                         /* Reference: http://www.itu.int/ITU-T/inr/forms/files/tones-0203.pdf */
116                         /* Most of these 425's can also be 450's */
117                         { DAHDI_TONE_DIALTONE, "425" },
118                         { DAHDI_TONE_BUSY, "425/500,0/500" },
119                         { DAHDI_TONE_RINGTONE, "425/1000,0/4000" },
120                         { DAHDI_TONE_CONGESTION, "425/250,0/250" },
121                         { DAHDI_TONE_CALLWAIT, "425/500,0/9500" },
122                         /* DIALRECALL - not specified */
123                         { DAHDI_TONE_DIALRECALL, "!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,425" },
124                         /* RECORDTONE - not specified */
125                         { DAHDI_TONE_RECORDTONE, "1400/500,0/15000" },
126                         { DAHDI_TONE_INFO, "950/330,1400/330,1800/330,0/1000" },
127                         { DAHDI_TONE_STUTTER, "425/500,0/50" },
128                 },
129           .dtmf_high_level = -9,
130           .dtmf_low_level = -11,
131           .mfr1_level = -7,
132           .mfr2_level = -8,
133         },
134         { .zone = 4,
135           .country = "uk",
136           .description = "United Kingdom",
137           .ringcadence = { 400, 200, 400, 2000 },
138           .tones = {
139                         /* From British Telecom SIN350 v1.2 */
140                         { DAHDI_TONE_DIALTONE, "350+440" },
141                         { DAHDI_TONE_BUSY, "400/375,0/375" },
142                         { DAHDI_TONE_RINGTONE, "400+450/400,0/200,400+450/400,0/2000" },
143                         { DAHDI_TONE_CONGESTION, "400/400,0/350,400/225,0/525" },
144                         { DAHDI_TONE_CALLWAIT, "400/100,0/4000" },
145                         { DAHDI_TONE_DIALRECALL, "350+440" },
146                         { DAHDI_TONE_RECORDTONE, "1400/500,0/60000" },
147                         { DAHDI_TONE_INFO, "950/330,0/15,1400/330,0/15,1800/330,0/1000" },
148                         { DAHDI_TONE_STUTTER, "350+440/750,440/750" },
149                 },
150           .dtmf_high_level = -9,
151           .dtmf_low_level = -11,
152           .mfr1_level = -7,
153           .mfr2_level = -8,
154         },
155         { .zone = 5,
156           .country = "fi",
157           .description = "Finland",
158           .ringcadence = { 1000, 4000 },
159           .tones = {
160                         { DAHDI_TONE_DIALTONE, "425" },
161                         { DAHDI_TONE_BUSY, "425/300,0/300" },
162                         { DAHDI_TONE_RINGTONE, "425/1000,0/4000" },
163                         { DAHDI_TONE_CONGESTION, "425/200,0/200" },
164                         { DAHDI_TONE_CALLWAIT, "425/150,0/150,425/150,0/8000" },
165                         { DAHDI_TONE_DIALRECALL, "425/650,0/25" },
166                         { DAHDI_TONE_RECORDTONE, "1400/500,0/15000" },
167                         { DAHDI_TONE_INFO, "950/650,0/325,950/325,0/30,1400/1300,0/2600" },
168                         { DAHDI_TONE_STUTTER, "425/650,0/25" },
169                 },
170           .dtmf_high_level = -9,
171           .dtmf_low_level = -11,
172           .mfr1_level = -7,
173           .mfr2_level = -8,
174         },
175         { .zone = 6,
176           .country = "es",
177           .description = "Spain",
178           .ringcadence = { 1500, 3000},
179           .tones = {
180                         { DAHDI_TONE_DIALTONE, "425" },
181                         { DAHDI_TONE_BUSY, "425/200,0/200" },
182                         { DAHDI_TONE_RINGTONE, "425/1500,0/3000" },
183                         { DAHDI_TONE_CONGESTION, "425/200,0/200,425/200,0/200,425/200,0/600" },
184                         { DAHDI_TONE_CALLWAIT, "425/175,0/175,425/175,0/3500" },
185                         { DAHDI_TONE_DIALRECALL, "!425/200,!0/200,!425/200,!0/200,!425/200,!0/200,425" },
186                         { DAHDI_TONE_RECORDTONE, "1400/500,0/15000" },
187                         { DAHDI_TONE_INFO, "950/330,0/1000" },
188                         { DAHDI_TONE_STUTTER, "425/500,0/50" },
189                 },
190           .dtmf_high_level = -9,
191           .dtmf_low_level = -11,
192           .mfr1_level = -7,
193           .mfr2_level = -8,
194         },
195         { .zone = 7,
196           .country = "jp",
197           .description = "Japan",
198           .ringcadence = { 1000, 2000 },
199           .tones = {
200                         { DAHDI_TONE_DIALTONE, "400" },
201                         { DAHDI_TONE_BUSY, "400/500,0/500" },
202                         { DAHDI_TONE_RINGTONE, "400+15/1000,0/2000" },
203                         { DAHDI_TONE_CONGESTION, "400/500,0/500" },
204                         { DAHDI_TONE_CALLWAIT, "400+16/500,0/8000" },
205                         { DAHDI_TONE_DIALRECALL, "!400/200,!0/200,!400/200,!0/200,!400/200,!0/200,400" },
206                         { DAHDI_TONE_RECORDTONE, "1400/500,0/15000" },
207                         { DAHDI_TONE_INFO, "!950/330,!1400/330,!1800/330,0" },
208                         { DAHDI_TONE_STUTTER, "!400/100,!0/100,!400/100,!0/100,!400/100,!0/100,!400/100,!0/100,!400/100,!0/100,!400/100,!0/100,400" },
209                 },
210           .dtmf_high_level = -7,
211           .dtmf_low_level = -7,
212           .mfr1_level = -7,
213           .mfr2_level = -8,
214         },
215         { .zone = 8,
216           .country = "no",
217           .description = "Norway",
218           .ringcadence = { 1000, 4000 },
219           .tones = {
220                         { DAHDI_TONE_DIALTONE, "425" },
221                         { DAHDI_TONE_BUSY, "425/500,0/500" },
222                         { DAHDI_TONE_RINGTONE, "425/1000,0/4000" },
223                         { DAHDI_TONE_CONGESTION, "425/200,0/200" },
224                         { DAHDI_TONE_CALLWAIT, "425/200,0/600,425/200,0/10000" },
225                         { DAHDI_TONE_DIALRECALL, "470/400,425/400" },
226                         { DAHDI_TONE_RECORDTONE, "1400/400,0/15000" },
227                         { DAHDI_TONE_INFO, "!950/330,!1400/330,!1800/330,!0/1000,!950/330,!1400/330,!1800/330,!0/1000,!950/330,!1400/330,!1800/330,!0/1000,0" },
228                         { DAHDI_TONE_STUTTER, "470/400,425/400" },
229                 },
230           .dtmf_high_level = -10,
231           .dtmf_low_level = -10,
232           .mfr1_level = -10,
233           .mfr2_level = -8,
234         },
235         { .zone = 9,
236           .country =  "at",
237           .description = "Austria",
238           .ringcadence = { 1000, 5000 },
239           .tones = {
240                         /* Reference: http://www.itu.int/ITU-T/inr/forms/files/tones-0203.pdf */
241                         { DAHDI_TONE_DIALTONE, "420" },
242                         { DAHDI_TONE_BUSY, "420/400,0/400" },
243                         { DAHDI_TONE_RINGTONE, "420/1000,0/5000" },
244                         { DAHDI_TONE_CONGESTION, "420/200,0/200" },
245                         { DAHDI_TONE_CALLWAIT, "420/40,0/1960" },
246                         { DAHDI_TONE_DIALRECALL, "420" },
247                         /* RECORDTONE - not specified */
248                         { DAHDI_TONE_RECORDTONE, "1400/80,0/14920" },
249                         { DAHDI_TONE_INFO, "950/330,1450/330,1850/330,0/1000" },
250                         { DAHDI_TONE_STUTTER, "380+420" },
251                 },
252           .dtmf_high_level = -9,
253           .dtmf_low_level = -11,
254           .mfr1_level = -10,
255           .mfr2_level = -8,
256         },
257         { .zone = 10,
258           .country =  "nz",
259           .description = "New Zealand",
260           .ringcadence = { 400, 200, 400, 2000 },
261           .tones = {
262                         { DAHDI_TONE_DIALTONE, "400" },
263                         { DAHDI_TONE_BUSY, "400/500,0/500" },
264                         { DAHDI_TONE_RINGTONE, "400+450/400,0/200,400+450/400,0/2000" },
265                         { DAHDI_TONE_CONGESTION, "400/250,0/250" },
266                         { DAHDI_TONE_CALLWAIT, "400/250,0/250,400/250,0/3250" },
267                         { DAHDI_TONE_DIALRECALL, "!400/100!0/100,!400/100,!0/100,!400/100,!0/100,400" },
268                         { DAHDI_TONE_RECORDTONE, "1400/425,0/15000" },
269                         { DAHDI_TONE_INFO, "400/750,0/100,400/750,0/100,400/750,0/100,400/750,0/400" },
270                         { DAHDI_TONE_STUTTER, "!400/100!0/100,!400/100,!0/100,!400/100,!0/100,!400/100!0/100,!400/100,!0/100,!400/100,!0/100,400" },
271                 },
272           .dtmf_high_level = -11,
273           .dtmf_low_level = -9,
274           .mfr1_level = -7,
275           .mfr2_level = -8,
276         },
277         { .zone = 11,
278           .country = "it",
279           .description = "Italy",
280           .ringcadence = { 1000, 4000 },
281           .tones = {
282                         /* Reference: http://www.itu.int/ITU-T/inr/forms/files/tones-0203.pdf */
283                         { DAHDI_TONE_DIALTONE, "425/200,0/200,425/600,0/1000" },
284                         { DAHDI_TONE_BUSY, "425/500,0/500" },
285                         { DAHDI_TONE_RINGTONE, "425/1000,0/4000" },
286                         { DAHDI_TONE_CONGESTION, "425/200,0/200" },
287                         { DAHDI_TONE_CALLWAIT, "425/400,0/100,425/250,0/100,425/150,0/14000" },
288                         { DAHDI_TONE_DIALRECALL, "470/400,425/400" },
289                         { DAHDI_TONE_RECORDTONE, "1400/400,0/15000" },
290                         { DAHDI_TONE_INFO, "!950/330,!1400/330,!1800/330,!0/1000,!950/330,!1400/330,!1800/330,!0/1000,!950/330,!1400/330,!1800/330,!0/1000,0" },
291                         { DAHDI_TONE_STUTTER, "470/400,425/400" },
292                 },
293           .dtmf_high_level = -9,
294           .dtmf_low_level = -11,
295           .mfr1_level = -10,
296           .mfr2_level = -8,
297         },
298         { .zone = 12,
299           .country = "us-old",
300           .description = "United States Circa 1950 / North America",
301           .ringcadence = { 2000, 4000 },
302           .tones = {
303                         { DAHDI_TONE_DIALTONE, "600*120" },
304                         { DAHDI_TONE_BUSY, "500*100/500,0/500" },
305                         { DAHDI_TONE_RINGTONE, "420*40/2000,0/4000" },
306                         { DAHDI_TONE_CONGESTION, "500*100/250,0/250" },
307                         { DAHDI_TONE_CALLWAIT, "440/300,0/10000" },
308                         { DAHDI_TONE_DIALRECALL, "!600*120/100,!0/100,!600*120/100,!0/100,!600*120/100,!0/100,600*120" },
309                         { DAHDI_TONE_RECORDTONE, "1400/500,0/15000" },
310                         { DAHDI_TONE_INFO, "!950/330,!1400/330,!1800/330,0" },
311                         { DAHDI_TONE_STUTTER, "!600*120/100,!0/100,!600*120/100,!0/100,!600*120/100,!0/100,!600*120/100,!0/100,!600*120/100,!0/100,!600*120/100,!0/100,600*120" },
312                 },
313           .dtmf_high_level = -10,
314           .dtmf_low_level = -10,
315           .mfr1_level = -10,
316           .mfr2_level = -8,
317         },
318         { .zone = 13,
319           .country = "gr",
320           .description = "Greece",
321           .ringcadence = { 1000, 4000 },
322           .tones = {
323                         { DAHDI_TONE_DIALTONE, "425/200,0/300,425/700,0/800" },
324                         { DAHDI_TONE_BUSY, "425/300,0/300" },
325                         { DAHDI_TONE_RINGTONE, "425/1000,0/4000" },
326                         { DAHDI_TONE_CONGESTION, "425/200,0/200" },
327                         { DAHDI_TONE_CALLWAIT, "425/150,0/150,425/150,0/8000" },
328                         { DAHDI_TONE_DIALRECALL, "425/650,0/25" },
329                         { DAHDI_TONE_RECORDTONE, "1400/400,0/15000" },
330                         { DAHDI_TONE_INFO, "!950/330,!1400/330,!1800/330,!0/1000,!950/330,!1400/330,!1800/330,!0/1000,!950/330,!1400/330,!1800/330,!0/1000,0" },
331                         { DAHDI_TONE_STUTTER, "425/650,0/25" },
332                 },
333           .dtmf_high_level = -9,
334           .dtmf_low_level = -11,
335           .mfr1_level = -10,
336           .mfr2_level = -8,
337         },
338         { .zone = 14,
339           .country = "tw",
340           .description = "Taiwan",
341           .ringcadence = { 1000, 4000 },
342           .tones = {
343                         { DAHDI_TONE_DIALTONE, "350+440" },
344                         { DAHDI_TONE_BUSY, "480+620/500,0/500" },
345                         { DAHDI_TONE_RINGTONE, "440+480/1000,0/2000" },
346                         { DAHDI_TONE_CONGESTION, "480+620/250,0/250" },
347                         { DAHDI_TONE_CALLWAIT, "350+440/250,0/250,350+440/250,0/3250" },
348                         { DAHDI_TONE_DIALRECALL, "300/1500,0/500" },
349                         { DAHDI_TONE_RECORDTONE, "1400/500,0/15000" },
350                         { DAHDI_TONE_INFO, "!950/330,!1400/330,!1800/330,0" },
351                         { DAHDI_TONE_STUTTER, "!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,350+440" },
352                 },
353           .dtmf_high_level = -11,
354           .dtmf_low_level = -9,
355           .mfr1_level = -7,
356           .mfr2_level = -8,
357         },
358         { .zone = 15,
359           .country = "cl",
360           .description = "Chile",
361           .ringcadence = { 1000, 3000 },
362           .tones = {
363                         { DAHDI_TONE_DIALTONE, "400" },
364                         { DAHDI_TONE_BUSY, "400/500,0/500" },
365                         { DAHDI_TONE_RINGTONE, "400/1000,0/3000" },
366                         { DAHDI_TONE_CONGESTION, "400/200,0/200" },
367                         { DAHDI_TONE_CALLWAIT, "400/250,0/8750" },
368                         { DAHDI_TONE_DIALRECALL, "!400/100,!0/100,!400/100,!0/100,!400/100,!0/100,400" },
369                         { DAHDI_TONE_RECORDTONE, "1400/500,0/15000" },
370                         { DAHDI_TONE_INFO, "!950/333,!1400/333,!1800/333,0" },
371                         { DAHDI_TONE_STUTTER, "!400/100,!0/100,!400/100,!0/100,!400/100,!0/100,!400/100,!0/100,!400/100,!0/100,!400/100,!0/100,400" },
372                 },
373           .dtmf_high_level = -10,
374           .dtmf_low_level = -10,
375           .mfr1_level = -10,
376           .mfr2_level = -8,
377         },
378         { .zone = 16,
379           .country = "se",
380           .description = "Sweden",
381           .ringcadence = { 1000, 5000 },
382           .tones = {
383                         { DAHDI_TONE_DIALTONE, "425" },
384                         { DAHDI_TONE_BUSY, "425/250,0/250" },
385                         { DAHDI_TONE_RINGTONE, "425/1000,0/5000" },
386                         { DAHDI_TONE_CONGESTION, "425/250,0/750" },
387                         { DAHDI_TONE_CALLWAIT, "425/200,0/500,425/200,0/9100" },
388                         { DAHDI_TONE_DIALRECALL, "!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,425" },
389                         { DAHDI_TONE_RECORDTONE, "1400/500,0/15000" },
390                         { DAHDI_TONE_INFO, "!950/332,!0/24,!1400/332,!0/24,!1800/332,!0/2024,"
391                           "!950/332,!0/24,!1400/332,!0/24,!1800/332,!0/2024,"
392                           "!950/332,!0/24,!1400/332,!0/24,!1800/332,!0/2024,"
393                           "!950/332,!0/24,!1400/332,!0/24,!1800/332,!0/2024,"
394                           "!950/332,!0/24,!1400/332,!0/24,!1800/332,0" },
395                         /*{ DAHDI_TONE_STUTTER, "425/320,0/20" },              Real swedish standard, not used for now */
396                         { DAHDI_TONE_STUTTER, "!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,425" },
397                 },
398           .dtmf_high_level = -9,
399           .dtmf_low_level = -11,
400           .mfr1_level = -7,
401           .mfr2_level = -8,
402         },
403         { .zone = 17,
404           .country = "be",
405           .description = "Belgium",
406           .ringcadence = { 1000, 3000 },
407           .tones = {
408                         /* Reference: http://www.itu.int/ITU-T/inr/forms/files/tones-0203.pdf */
409                         { DAHDI_TONE_DIALTONE, "425" },
410                         { DAHDI_TONE_BUSY, "425/500,0/500" },
411                         { DAHDI_TONE_RINGTONE, "425/1000,0/3000" },
412                         { DAHDI_TONE_CONGESTION, "425/167,0/167" },
413                         { DAHDI_TONE_CALLWAIT, "1400/175,0/175,1400/175,0/3500" },
414                         /* DIALRECALL - not specified */
415                         { DAHDI_TONE_DIALRECALL, "!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,350+440" },
416                         /* RECORDTONE - not specified */
417                         { DAHDI_TONE_RECORDTONE, "1400/500,0/15000" },
418                         { DAHDI_TONE_INFO, "900/330,1400/330,1800/330,0/1000" },
419                         { DAHDI_TONE_STUTTER, "425/1000,0/250" },
420                 },
421           .dtmf_high_level = -9,
422           .dtmf_low_level = -11,
423           .mfr1_level = -10,
424           .mfr2_level = -8,
425         },
426         { .zone = 18,
427           .country = "sg",
428           .description = "Singapore",
429           .ringcadence = { 400, 200, 400, 2000 },
430           .tones = {
431                         /* Reference: http://www.ida.gov.sg/idaweb/doc/download/I397/ida_ts_pstn1_i4r2.pdf */
432                         { DAHDI_TONE_DIALTONE,   "425" },
433                         { DAHDI_TONE_BUSY,       "425/750,0/750" },
434                         { DAHDI_TONE_RINGTONE,   "425*24/400,0/200,425*24/400,0/2000" },
435                         { DAHDI_TONE_CONGESTION, "425/250,0/250" },
436                         { DAHDI_TONE_CALLWAIT,   "425*24/300,0/200,425*24/300,0/3200" },
437                         /* DIALRECALL - not specified - use repeating Holding Tone A,B*/
438                         { DAHDI_TONE_DIALRECALL, "425*24/500,0/500,425/500,0/2500" },
439                         /* RECORDTONE - not specified */
440                         { DAHDI_TONE_RECORDTONE, "1400/500,0/15000" },
441                         { DAHDI_TONE_INFO,       "950/330,1400/330,1800/330,0/1000" },
442                         { DAHDI_TONE_STUTTER,    "!425/200,!0/200,!425/600,!0/200,!425/200,!0/200,!425/600,!0/200,!425/200,!0/200,!425/600,!0/200,!425/200,!0/200,!425/600,!0/200,425" },
443                 },
444           .dtmf_high_level = -11,
445           .dtmf_low_level = -9,
446           .mfr1_level = -7,
447           .mfr2_level = -8,
448         },
449         { .zone = 19,
450           .country = "il",
451           .description = "Israel",
452           .ringcadence = { 1000, 3000 },
453           .tones = {
454                         { DAHDI_TONE_DIALTONE, "414" },
455                         { DAHDI_TONE_BUSY, "414/500,0/500" },
456                         { DAHDI_TONE_RINGTONE, "414/1000,0/3000" },
457                         { DAHDI_TONE_CONGESTION, "414/250,0/250" },
458                         { DAHDI_TONE_CALLWAIT, "414/100,0/100,414/100,0/100,414/600,0/3000" },
459                         { DAHDI_TONE_DIALRECALL, "!414/100,!0/100,!414/100,!0/100,!414/100,!0/100,414" },
460                         { DAHDI_TONE_RECORDTONE, "1400/500,0/15000" },
461                         { DAHDI_TONE_INFO, "1000/330,1400/330,1800/330,0/1000" },
462                         { DAHDI_TONE_STUTTER, "!414/160,!0/160,!414/160,!0/160,!414/160,!0/160,!414/160,!0/160,!414/160,!0/160,!414/160,!0/160,!414/160,!0/160,!414/160,!0/160,!414/160,!0/160,!414/160,!0/160,414" },
463                 },
464           .dtmf_high_level = -10,
465           .dtmf_low_level = -10,
466           .mfr1_level = -10,
467           .mfr2_level = -8,
468         },
469         { .zone = 20,
470           .country = "br",
471           .description = "Brazil",
472           .ringcadence = { 1000, 4000 },
473           .tones = {
474                         { DAHDI_TONE_DIALTONE, "425" },
475                         { DAHDI_TONE_BUSY, "425/250,0/250" },
476                         { DAHDI_TONE_RINGTONE, "425/1000,0/4000" },
477                         { DAHDI_TONE_CONGESTION, "425/250,0/250,425/750,0/250" },
478                         { DAHDI_TONE_CALLWAIT, "425/50,0/1000" },
479                         { DAHDI_TONE_DIALRECALL, "350+440" },
480                         { DAHDI_TONE_RECORDTONE, "425/250,0/250" },
481                         { DAHDI_TONE_INFO, "950/330,1400/330,1800/330" },
482                         { DAHDI_TONE_STUTTER, "350+440" } },
483           .dtmf_high_level = -10,
484           .dtmf_low_level = -12,
485           .mfr1_level = -10,
486           .mfr2_level = -8,
487         },
488         { .zone = 21,
489           .country = "hu",
490           .description = "Hungary",
491           .ringcadence = { 1250, 3750 },
492           .tones = {
493                         /* Reference: http://www.itu.int/ITU-T/inr/forms/files/tones-0203.pdf */
494                         { DAHDI_TONE_DIALTONE, "425" },
495                         { DAHDI_TONE_BUSY, "425/300,0/300" },
496                         { DAHDI_TONE_RINGTONE, "425/1250,0/3750" },
497                         { DAHDI_TONE_CONGESTION, "425/300,0/300" },
498                         { DAHDI_TONE_CALLWAIT, "425/40,0/1960" },
499                         { DAHDI_TONE_DIALRECALL, "425+450" },
500                         /* RECORDTONE - not specified */
501                         { DAHDI_TONE_RECORDTONE, "1400/400,0/15000" },
502                         { DAHDI_TONE_INFO, "!950/330,!1400/330,!1800/330,!0/1000,!950/330,!1400/330,!1800/330,!0/1000,!950/330,!1400/330,!1800/330,!0/1000,0" },
503                         { DAHDI_TONE_STUTTER, "350+375+400" },
504                 },
505           .dtmf_high_level = -9,
506           .dtmf_low_level = -11,
507           .mfr1_level = -10,
508           .mfr2_level = -8,
509         },
510         { .zone = 22,
511           .country = "lt",
512           .description = "Lithuania",
513           .ringcadence = { 1000, 4000 },
514           .tones = {
515                         /* Reference: http://www.itu.int/ITU-T/inr/forms/files/tones-0203.pdf */
516                         { DAHDI_TONE_DIALTONE, "425" },
517                         { DAHDI_TONE_BUSY, "425/350,0/350" },
518                         { DAHDI_TONE_RINGTONE, "425/1000,0/4000" },
519                         { DAHDI_TONE_CONGESTION, "425/200,0/200" },
520                         { DAHDI_TONE_CALLWAIT, "425/150,0/150,425/150,0/4000" },
521                         /* DIALRECALL - not specified */
522                         { DAHDI_TONE_DIALRECALL, "!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,350+440" },
523                         /* RECORDTONE - not specified */
524                         { DAHDI_TONE_RECORDTONE, "1400/500,0/15000" },
525                         { DAHDI_TONE_INFO, "!950/330,!1400/330,!1800/330,!0/1000,!950/330,!1400/330,!1800/330,!0/1000,!950/330,!1400/330,!1800/330,!0/1000,0" },
526                         /* STUTTER not specified */
527                         { DAHDI_TONE_STUTTER, "!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,425" },
528                 },
529           .dtmf_high_level = -9,
530           .dtmf_low_level = -11,
531           .mfr1_level = -10,
532           .mfr2_level = -8,
533         },
534         { .zone = 23,
535           .country = "pl",
536           .description = "Poland",
537           .ringcadence = { 1000, 4000 },
538           .tones = {
539                         /* Reference: http://www.itu.int/ITU-T/inr/forms/files/tones-0203.pdf */
540                         { DAHDI_TONE_DIALTONE, "425" },
541                         { DAHDI_TONE_BUSY, "425/500,0/500" },
542                         { DAHDI_TONE_RINGTONE, "425/1000,0/4000" },
543                         { DAHDI_TONE_CONGESTION, "425/500,0/500" },
544                         { DAHDI_TONE_CALLWAIT, "425/150,0/150,425/150,0/4000" },
545                         /* DIALRECALL - not specified */
546                         { DAHDI_TONE_DIALRECALL, "!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,350+440" },
547                         /* RECORDTONE - not specified */
548                         { DAHDI_TONE_RECORDTONE, "1400/500,0/15000" },
549                         { DAHDI_TONE_INFO, "!950/330,!1400/330,!1800/330,!0/1000,!950/330,!1400/330,!1800/330,!0/1000,!950/330,!1400/330,!1800/330,0" },
550                         /* STUTTER not specified */
551                         { DAHDI_TONE_STUTTER, "!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,425" },
552                 },
553           .dtmf_high_level = -9,
554           .dtmf_low_level = -11,
555           .mfr1_level = -10,
556           .mfr2_level = -8,
557         },
558         { .zone = 24,
559           .country = "za",
560           .description = "South Africa",
561           .ringcadence = { 400, 200, 400, 2000 },
562           .tones = {
563                         { DAHDI_TONE_DIALTONE, "400*33" },
564                         { DAHDI_TONE_BUSY, "400/500,0/500" },
565                         { DAHDI_TONE_RINGTONE, "400*33/400,0/200,400*33/400,0/2000" },
566                         { DAHDI_TONE_CONGESTION, "400/250,0/250" },
567                         { DAHDI_TONE_CALLWAIT, "400*33/250,0/250,400*33/250,0/250,400*33/250,0/250,400*33/250,0/250" },
568                         /* DIALRECALL - not specified */
569                         { DAHDI_TONE_DIALRECALL, "350+440" },
570                         /* RECORDTONE - not specified */
571                         { DAHDI_TONE_RECORDTONE, "1400/500,0/15000" },
572                         { DAHDI_TONE_INFO, "!950/330,!1400/330,!1800/330,!0/1000,!950/330,!1400/330,!1800/330,!0/1000,!950/330,!1400/330,!1800/330,!0/1000,0" },
573                         /* STUTTER not specified */
574                         { DAHDI_TONE_STUTTER, "!400*33/100,!0/100,!400*33/100,!0/100,!400*33/100,!0/100,!400*33/100,!0/100,!400*33/100,!0/100,!400*33/100,!0/100,400*33" },
575                 },
576           .dtmf_high_level = -11,
577           .dtmf_low_level = -13,
578           .mfr1_level = -7,
579           .mfr2_level = -8,
580         },
581         { .zone = 25,
582           .country = "pt",
583           .description = "Portugal",
584           .ringcadence = { 1000, 5000 },
585           .tones = {
586                         { DAHDI_TONE_DIALTONE, "425" },
587                         { DAHDI_TONE_BUSY, "425/500,0/500" },
588                         { DAHDI_TONE_RINGTONE, "425/1000,0/5000" },
589                         { DAHDI_TONE_CONGESTION, "425/200,0/200" },
590                         { DAHDI_TONE_CALLWAIT, "425/200,425/200,425/200,0/5000" },
591                         /* DIALRECALL - not specified */
592                         { DAHDI_TONE_DIALRECALL, "425/1000,0/200" },
593                         /* RECORDTONE - not specified */
594                         { DAHDI_TONE_RECORDTONE, "1400/500,0/15000" },
595                         { DAHDI_TONE_INFO, "950/330,1400/330,1800/330,0/1000" },
596                         /* STUTTER not specified */
597                         { DAHDI_TONE_STUTTER, "!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,425" },
598                 },
599           .dtmf_high_level = -9,
600           .dtmf_low_level = -11,
601           .mfr1_level = -10,
602           .mfr2_level = -8,
603         },
604         { .zone = 26,
605           .country = "ee",
606           .description = "Estonia",
607           .ringcadence = { 1000, 4000 },
608           .tones = {
609                         /* Reference: http://www.itu.int/ITU-T/inr/forms/files/tones-0203.pdf */
610                         { DAHDI_TONE_DIALTONE, "425" },
611                         { DAHDI_TONE_BUSY, "425/300,0/300" },
612                         { DAHDI_TONE_RINGTONE, "425/1000,0/4000" },
613                         { DAHDI_TONE_CONGESTION, "425/200,0/200" },
614                         { DAHDI_TONE_CALLWAIT, "950/650,0/325,950/325,0/30,1400/1300,0/2600" },
615                         /* DIALRECALL - not specified */
616                         { DAHDI_TONE_DIALRECALL, "425/650,0/25" },
617                         /* RECORDTONE - not specified */
618                         { DAHDI_TONE_RECORDTONE, "1400/500,0/15000" },
619                         { DAHDI_TONE_INFO, "950/0,0/325,950/325,0/30,1400/1300,0/2600" },
620                         /* STUTTER not specified */
621                         { DAHDI_TONE_STUTTER, "!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,425" },
622                 },
623           .dtmf_high_level = -9,
624           .dtmf_low_level = -11,
625           .mfr1_level = -10,
626           .mfr2_level = -8,
627         },
628         { .zone = 27,
629           .country = "mx",
630           .description = "Mexico",
631           .ringcadence = { 2000, 4000 },
632           .tones = {
633                         { DAHDI_TONE_DIALTONE, "425" },
634                         { DAHDI_TONE_BUSY, "425/250,0/250" },
635                         { DAHDI_TONE_RINGTONE, "425/1000,0/4000" },
636                         { DAHDI_TONE_CONGESTION, "425/250,0/250" },
637                         { DAHDI_TONE_CALLWAIT, "425/200,0/600,425/200,0/10000" },
638                         { DAHDI_TONE_DIALRECALL, "!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,350+440" },
639                         { DAHDI_TONE_RECORDTONE, "1400/500,0/15000" },
640                         { DAHDI_TONE_INFO, "950/330,0/30,1400/330,0/30,1800/330,0/1000" },
641                         { DAHDI_TONE_STUTTER, "!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,350+440" },
642                 },
643           .dtmf_high_level = -8,
644           .dtmf_low_level = -6,
645           .mfr1_level = -7,
646           .mfr2_level = -8,
647         },
648         { .zone = 28,
649           .country = "in",
650           .description = "India",
651           .ringcadence = { 400, 200, 400, 2000 },
652           .tones = {
653                         /* Reference: http://www.itu.int/ITU-T/inr/forms/files/tones-0203.pdf */
654                         { DAHDI_TONE_DIALTONE, "400*25" },
655                         { DAHDI_TONE_BUSY, "400/750,0/750" },
656                         { DAHDI_TONE_RINGTONE, "400*25/400,0/200,400*25/400,0/2000" },
657                         { DAHDI_TONE_CONGESTION, "400/250,0/250" },
658                         { DAHDI_TONE_CALLWAIT, "400/200,0/100,400/200,0/7500" },
659                         /* DIALRECALL - not specified */
660                         { DAHDI_TONE_DIALRECALL, "!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,350+440" },
661                         /* RECORDTONE - not specified */
662                         { DAHDI_TONE_RECORDTONE, "1400/500,0/15000" },
663                         /* INFO - not specified */
664                         { DAHDI_TONE_INFO, "!950/330,!1400/330,!1800/330,0/1000" },
665                         /* STUTTER - not specified */
666                         { DAHDI_TONE_STUTTER, "!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,350+440" },
667                 },
668           .dtmf_high_level = -10,
669           .dtmf_low_level = -10,
670           .mfr1_level = -10,
671           .mfr2_level = -8,
672         },
673         { .zone = 29,
674           .country = "de",
675           .description = "Germany",
676           .ringcadence = { 1000, 4000 },
677           .tones = {
678                         /* Reference: http://www.itu.int/ITU-T/inr/forms/files/tones-0203.pdf */
679                         { DAHDI_TONE_DIALTONE, "425" },
680                         { DAHDI_TONE_BUSY, "425/480,0/480" },
681                         { DAHDI_TONE_RINGTONE, "425/1000,0/4000" },
682                         { DAHDI_TONE_CONGESTION, "425/240,0/240" },
683                         { DAHDI_TONE_CALLWAIT, "!425/200,!0/200,!425/200,!0/5000,!425/200,!0/200,!425/200,!0/5000,!425/200,!0/200,!425/200,!0/5000,!425/200,!0/200,!425/200,!0/5000,!425/200,!0/200,!425/200,0" },
684                         /* DIALRECALL - not specified */
685                         { DAHDI_TONE_DIALRECALL, "!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,425" },
686                         /* RECORDTONE - not specified */
687                         { DAHDI_TONE_RECORDTONE, "1400/80,0/15000" },
688                         { DAHDI_TONE_INFO, "950/330,1400/330,1800/330,0/1000" },
689                         { DAHDI_TONE_STUTTER, "425+400" },
690                 },
691           .dtmf_high_level = -9,
692           .dtmf_low_level = -11,
693           .mfr1_level = -7,
694           .mfr2_level = -8,
695         },
696         { .zone = 30,
697           .country = "ch",
698           .description = "Switzerland",
699           .ringcadence = { 1000, 4000 },
700           .tones = {
701                         /* Reference: http://www.itu.int/ITU-T/inr/forms/files/tones-0203.pdf */
702                         { DAHDI_TONE_DIALTONE, "425" },
703                         { DAHDI_TONE_BUSY, "425/500,0/500" },
704                         { DAHDI_TONE_RINGTONE, "425/1000,0/4000" },
705                         { DAHDI_TONE_CONGESTION, "425/200,0/200" },
706                         { DAHDI_TONE_CALLWAIT, "425/200,0/200,425/200,0/4000" },
707                         /* DIALRECALL - not specified */
708                         { DAHDI_TONE_DIALRECALL, "!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,425" },
709                         /* RECORDTONE - not specified */
710                         { DAHDI_TONE_RECORDTONE, "1400/80,0/15000" },
711                         { DAHDI_TONE_INFO, "950/330,1400/330,1800/330,0/1000" },
712                         { DAHDI_TONE_STUTTER, "425+340/1100,0/1100" },
713                 },
714           .dtmf_high_level = -10,
715           .dtmf_low_level = -10,
716           .mfr1_level = -10,
717           .mfr2_level = -8,
718         },
719         { .zone = 31,
720           .country = "dk",
721           .description = "Denmark",
722           .ringcadence = { 1000, 4000 },
723           .tones = {
724                         /* Reference: http://www.itu.int/ITU-T/inr/forms/files/tones-0203.pdf */
725                         { DAHDI_TONE_DIALTONE, "425" },
726                         { DAHDI_TONE_BUSY, "425/500,0/500" },
727                         { DAHDI_TONE_RINGTONE, "425/1000,0/4000" },
728                         { DAHDI_TONE_CONGESTION, "425/200,0/200" },
729                         { DAHDI_TONE_CALLWAIT, "!425/200,!0/600,!425/200,!0/3000,!425/200,!0/200,!425/200,0" },
730                         /* DIALRECALL - not specified */
731                         { DAHDI_TONE_DIALRECALL, "!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,425" },
732                         /* RECORDTONE - not specified */
733                         { DAHDI_TONE_RECORDTONE, "1400/80,0/15000" },
734                         { DAHDI_TONE_INFO, "950/330,1400/330,1800/330,0/1000" },
735                         /* STUTTER - not specified */
736                         { DAHDI_TONE_STUTTER, "425/450,0/50" },
737                 },
738           .dtmf_high_level = -9,
739           .dtmf_low_level = -11,
740           .mfr1_level = -10,
741           .mfr2_level = -8,
742         },
743         { .zone = 32,
744           .country = "cz",
745           .description = "Czech Republic",
746           .ringcadence = { 1000, 4000 },
747           .tones = {
748                         /* Reference: http://www.itu.int/ITU-T/inr/forms/files/tones-0203.pdf */
749                         { DAHDI_TONE_DIALTONE, "425/330,0/330,425/660,0/660" },
750                         { DAHDI_TONE_BUSY, "425/330,0/330" },
751                         { DAHDI_TONE_RINGTONE, "425/1000,0/4000" },
752                         { DAHDI_TONE_CONGESTION, "425/165,0/165" },
753                         { DAHDI_TONE_CALLWAIT, "425/330,0/9000" },
754                         /* DIALRECALL - not specified */
755                         { DAHDI_TONE_DIALRECALL, "!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,425/330,0/330,425/660,0/660" },
756                         /* RECORDTONE - not specified */
757                         { DAHDI_TONE_RECORDTONE, "1400/500,0/14000" },
758                         { DAHDI_TONE_INFO, "950/330,0/30,1400/330,0/30,1800/330,0/1000" },
759                         /* STUTTER - not specified */
760                         { DAHDI_TONE_STUTTER, "425/450,0/50" },
761                 },
762           .dtmf_high_level = -9,
763           .dtmf_low_level = -11,
764           .mfr1_level = -10,
765           .mfr2_level = -8,
766         },
767         { .zone = 33,
768           .country = "cn",
769           .description = "China",
770           .ringcadence = { 1000, 4000 },
771           .tones = {
772                         /* Reference: http://www.itu.int/ITU-T/inr/forms/files/tones-0203.pdf */
773                         { DAHDI_TONE_DIALTONE, "450" },
774                         { DAHDI_TONE_BUSY, "450/350,0/350" },
775                         { DAHDI_TONE_RINGTONE, "450/1000,0/4000" },
776                         { DAHDI_TONE_CONGESTION, "450/700,0/700" },
777                         { DAHDI_TONE_CALLWAIT, "450/400,0/4000" },
778                         { DAHDI_TONE_DIALRECALL, "450" },
779                         { DAHDI_TONE_RECORDTONE, "950/400,0/10000" },
780                         { DAHDI_TONE_INFO, "450/100,0/100,450/100,0/100,450/100,0/100,450/400,0/400" },
781                         /* STUTTER - not specified */
782                         { DAHDI_TONE_STUTTER, "450+425" },
783                 },
784           .dtmf_high_level = -11,
785           .dtmf_low_level = -9,
786           .mfr1_level = -7,
787           .mfr2_level = -8,
788         },
789         { .zone = 34,
790           .country = "ar",
791           .description = "Argentina",
792           .ringcadence = { 1000, 4500 },
793           .tones = {
794                         { DAHDI_TONE_DIALTONE, "425" },
795                         { DAHDI_TONE_BUSY, "425/300,0/300" },
796                         { DAHDI_TONE_RINGTONE, "425/1000,0/4500" },
797                         { DAHDI_TONE_CONGESTION, "425/200,0/300" },
798                         { DAHDI_TONE_CALLWAIT, "425/200,0/9000" },
799                         { DAHDI_TONE_DIALRECALL, "!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,425/330,0/330,425/660,0/660" },
800                         { DAHDI_TONE_RECORDTONE, "1400/500,0/14000" },
801                         { DAHDI_TONE_INFO, "425/100,0/100" },
802                         { DAHDI_TONE_STUTTER, "425/450,0/50" },
803                 },
804           .dtmf_high_level = -11,
805           .dtmf_low_level = -9,
806           .mfr1_level = -7,
807           .mfr2_level = -8,
808         },
809         { .zone = 35,
810           .country = "my",
811           .description = "Malaysia",
812           .ringcadence = { 400, 200, 400, 2000 },
813           .tones =   {
814                         { DAHDI_TONE_DIALTONE, "425" },
815                         { DAHDI_TONE_BUSY, "425/500,0/500" },
816                         { DAHDI_TONE_RINGTONE, "425/400,0/200,425/400,0/2000" },
817                         { DAHDI_TONE_CONGESTION, "425/500,0/500" },
818                         { DAHDI_TONE_CALLWAIT, "425/100,0/4000" },
819                         { DAHDI_TONE_DIALRECALL, "350+440" },
820                         { DAHDI_TONE_RECORDTONE, "1400/500,0/60000" },
821                         { DAHDI_TONE_INFO, "950/330,0/15,1400/330,0/15,1800/330,0/1000" },
822                         { DAHDI_TONE_STUTTER, "450+425" },
823                 },
824           .dtmf_high_level = -10,
825           .dtmf_low_level = -10,
826           .mfr1_level = -10,
827           .mfr2_level = -8,
828         },
829         { .zone = 36,
830           .country = "th",
831           .description = "Thailand",
832           .ringcadence = { 1000, 4000 },
833           .tones =        {
834                         /* Reference: http://www.itu.int/ITU-T/inr/forms/files/tones-0203.pdf */
835                         { DAHDI_TONE_DIALTONE,   "400*50" },
836                         { DAHDI_TONE_BUSY,       "400/500,0/500" },
837                         { DAHDI_TONE_RINGTONE,   "400/1000,0/4000" },
838                         { DAHDI_TONE_CONGESTION, "400/300,0/300" },
839                         { DAHDI_TONE_CALLWAIT,   "1000/400,10000/400,1000/400" },
840                         /* DIALRECALL - not specified - use special dial tone instead. */
841                         { DAHDI_TONE_DIALRECALL, "400*50/400,0/100,400*50/400,0/100" },
842                         /* RECORDTONE - not specified */
843                         { DAHDI_TONE_RECORDTONE, "1400/500,0/15000" },
844                         /* INFO - specified as an announcement - use tones instead. */
845                         { DAHDI_TONE_INFO,       "950/330,1400/330,1800/330" },
846                         /* STUTTER - not specified */
847                         { DAHDI_TONE_STUTTER,    "!400/200,!0/200,!400/600,!0/200,!400/200,!0/200,!400/600,!0/200,!400/200,!0/200,!400/600,!0/200,!400/200,!0/200,!400/600,!0/200,400" },
848                 },
849           .dtmf_high_level = -11,
850           .dtmf_low_level = -9,
851           .mfr1_level = -7,
852           .mfr2_level = -8,
853         },
854         { .zone = 37,
855           .country = "bg",
856           .description = "Bulgaria",
857           .ringcadence = { 1000, 4000 },
858           .tones =        {
859                         /* Reference: http://www.itu.int/ITU-T/inr/forms/files/tones-0203.pdf */
860                         { DAHDI_TONE_DIALTONE,   "425" },
861                         { DAHDI_TONE_BUSY,       "425/500,0/500" },
862                         { DAHDI_TONE_RINGTONE,   "425/1000,0/4000" },
863                         { DAHDI_TONE_CONGESTION, "425/250,0/250" },
864                         { DAHDI_TONE_CALLWAIT,   "425/150,0/150,425/150,0/4000" },
865                         { DAHDI_TONE_DIALRECALL, "!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,425" },
866                         { DAHDI_TONE_RECORDTONE, "1400/425,0/15000" },
867                         { DAHDI_TONE_INFO,       "950/330,1400/330,1800/330,0/1000" },
868                         { DAHDI_TONE_STUTTER,    "425/1500,0/100" },
869                 },
870           .dtmf_high_level = -9,
871           .dtmf_low_level = -11,
872           .mfr1_level = -10,
873           .mfr2_level = -8,
874         },
875         { .zone = 38,
876           .country = "ve",
877           .description = "Venezuela",
878           .ringcadence = { 1000, 4000 },
879           .tones =        {
880                         /* Reference: http://www.itu.int/ITU-T/inr/forms/files/tones-0203.pdf */
881                         { DAHDI_TONE_DIALTONE, "425" },
882                         { DAHDI_TONE_BUSY, "425/500,0/500" },
883                         { DAHDI_TONE_RINGTONE, "425/1000,0/4000" },
884                         { DAHDI_TONE_CONGESTION, "425/250,0/250" },
885                         { DAHDI_TONE_CALLWAIT, "400+450/300,0/6000" },
886                         { DAHDI_TONE_DIALRECALL, "425" },
887                         { DAHDI_TONE_RECORDTONE, "1400/500,0/15000" },
888                         { DAHDI_TONE_INFO, "!950/330,!1440/330,!1800/330,0/1000" },
889                         /* STUTTER - not specified */
890                         { DAHDI_TONE_STUTTER, "!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,425" },
891                 },
892           .dtmf_high_level = -7,
893           .dtmf_low_level = -9,
894           .mfr1_level = -7,
895           .mfr2_level = -8,
896         },
897         { .zone = 39,
898           .country = "ph",
899           .description = "Philippines",
900           .ringcadence = { 1000, 4000 },
901           .tones =        {
902                         /* Reference: http://www.itu.int/ITU-T/inr/forms/files/tones-0203.pdf */
903                         { DAHDI_TONE_DIALTONE, "425" },
904                         { DAHDI_TONE_BUSY, "480+620/500,0/500" },
905                         { DAHDI_TONE_RINGTONE, "425+480/1000,0/4000" },
906                         { DAHDI_TONE_CONGESTION, "480+620/250,0/250" },
907                         { DAHDI_TONE_CALLWAIT, "440/300,0/10000" },
908                         /* DIAL RECALL - not specified */
909                         { DAHDI_TONE_DIALRECALL, "!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,350+440" },
910                         /* RECORD TONE - not specified */
911                         { DAHDI_TONE_RECORDTONE, "1400/500,0/15000" },
912                         /* INFO TONE - not specified */
913                         { DAHDI_TONE_INFO, "!950/330,!1400/330,!1800/330,0" },
914                         /* STUTTER TONE - not specified */
915                         { DAHDI_TONE_STUTTER, "!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,350+440" },
916                 },
917           .dtmf_high_level = -10,
918           .dtmf_low_level = -10,
919           .mfr1_level = -10,
920           .mfr2_level = -8,
921         },
922         { .zone = 40,
923           .country = "ru",
924           .description = "Russian Federation",
925           .ringcadence = { 1000, 4000 },
926           .tones = {
927                         /* References:
928                            http://www.minsvyaz.ru/site.shtml?id=1806
929                            http://www.aboutphone.info/lib/gost/45-223-2001.html */
930                         { DAHDI_TONE_DIALTONE, "425" },
931                         { DAHDI_TONE_BUSY, "425/350,0/350" },
932                         { DAHDI_TONE_RINGTONE, "425/1000,0/4000" },
933                         { DAHDI_TONE_CONGESTION, "425/175,0/175" },
934                         { DAHDI_TONE_CALLWAIT, "425/200,0/5000" },
935                         { DAHDI_TONE_RECORDTONE, "1400/400,0/15000" },
936                         { DAHDI_TONE_INFO, "950/330,1440/330,1800/330,0/1000" },
937                         { DAHDI_TONE_STUTTER, "!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,425" },
938                         /* DIALRECALL - not specified */
939                         { DAHDI_TONE_DIALRECALL, "!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,350+440" },
940                 },
941           .dtmf_high_level = -10,
942           .dtmf_low_level = -10,
943           .mfr1_level = -10,
944           .mfr2_level = -8,
945         },
946         {
947                 .zone = 41,
948                 .country = "tr",
949                 .description = "Turkey",
950                 .ringcadence = { 2000, 4000 },
951                 .tones = {
952                         { DAHDI_TONE_DIALTONE,   "450" },
953                         { DAHDI_TONE_BUSY,       "450/500,0/500" },
954                         { DAHDI_TONE_RINGTONE,   "450/2000,0/4000" },
955                         { DAHDI_TONE_CONGESTION, "!450/200,!0/200,!450/200,!0/200,!450/200,!0/200,450/600,0/200" },
956                         { DAHDI_TONE_CALLWAIT,   "450/200,0/600,450/200,0/800" },
957                         /* This should actually be 950+1400+1800, but we only support 2 tones at a time */
958                         { DAHDI_TONE_INFO,       "!950+1400/300,!0/1000,!950+1400/300,!0/1000,!950+1400/1000,0" },
959                         { DAHDI_TONE_STUTTER,    "!450/100,!0/100,!450/100,!0/100,!450/100,!0/100,!450/100,!0/100,!450/100,!0/100,!450/100,!0/100,450" },
960                         /* DIALRECALL - not specified */
961                         { DAHDI_TONE_DIALRECALL, "!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,350+440" },
962                 },
963                 .dtmf_high_level = -10,
964                 .dtmf_low_level = -10,
965                 .mfr1_level = -10,
966                 .mfr2_level = -8,
967         },
968         {
969                 .zone = 42,
970                 .country = "pa",
971                 .description = "Panama",
972                 .ringcadence = { 2000, 4000 },
973                 .tones = {
974                         /* Reference: http://www.itu.int/ITU-T/inr/forms/files/tones-0203.pdf */
975                         { DAHDI_TONE_DIALTONE, "425" },
976                         { DAHDI_TONE_BUSY, "425/320,0/320" },
977                         { DAHDI_TONE_RINGTONE, "425/1200,0/4650" },
978                         { DAHDI_TONE_CONGESTION, "425/320,0/320" },
979                         { DAHDI_TONE_CALLWAIT, "425/180,0/180,425/180" },
980                         /* RECALL DIAL TONE - not specified */
981                         { DAHDI_TONE_DIALRECALL, "!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,425" },
982                         /* RECORD TONE - not specified */
983                         { DAHDI_TONE_RECORDTONE, "1400/500,0/15000" },
984                         { DAHDI_TONE_INFO, "!950/330,!1400/330,!1800/330,0" },
985                         /* STUTTER TONE - not specified */
986                         { DAHDI_TONE_STUTTER, "!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,425" },
987                 },
988                 .dtmf_high_level = -9,
989                 .dtmf_low_level = -11,
990                 .mfr1_level = -7,
991                 .mfr2_level = -8,
992         },
993         {
994                 .zone = 43,
995                 .country = "mo",
996                 .description = "Macao,China",
997                 .ringcadence = { 1000, 4000 },
998                 .tones = {
999                         /* References: http://www.itu.int/ITU-T/inr/forms/files/tones-0203.pdf */
1000                         { DAHDI_TONE_DIALTONE, "425" },
1001                         { DAHDI_TONE_BUSY, "425/500,0/500" },
1002                         { DAHDI_TONE_RINGTONE, "425/1000,0/4000" },
1003                         { DAHDI_TONE_CONGESTION, "425/250,0/250" },
1004                         { DAHDI_TONE_CALLWAIT, "425/200,0/600" },
1005                         /* RECORD TONE - not specified */
1006                         { DAHDI_TONE_RECORDTONE, "1400/400,0/15000" },
1007                         { DAHDI_TONE_INFO, "950/333,1400/333,1800/333,0/1000" },
1008                         /* STUTTER TONE - not specified */
1009                         { DAHDI_TONE_STUTTER, "!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,425" },
1010                         /* DIALRECALL - not specified */
1011                         { DAHDI_TONE_DIALRECALL, "!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,350+440" },
1012                 },
1013                 .dtmf_high_level = -10,
1014                 .dtmf_low_level = -10,
1015                 .mfr1_level = -10,
1016                 .mfr2_level = -8,
1017         },
1018         {
1019                 .zone = 44,
1020                 .country = "cr",
1021                 .description = "Costa Rica",
1022                 .ringcadence = { 1203, 4797 },
1023                 .tones = {
1024                         /* Reference: http://www.itu.int/ITU-T/inr/forms/files/tones-0203.pdf [^] */
1025                         { DAHDI_TONE_DIALTONE, "450" },
1026                         { DAHDI_TONE_BUSY, "450/330,0/330" },
1027                         { DAHDI_TONE_RINGTONE, "450/1203,0/4900" },
1028                         { DAHDI_TONE_CONGESTION, "450/330,0/330" },
1029                         { DAHDI_TONE_CALLWAIT, "450/150,0/150,450/150,450/8000" },
1030                         /* RECALL DIAL TONE - not specified */
1031                         { DAHDI_TONE_DIALRECALL, "!450/100,!0/100,!450/100,!0/100,!450/100,!0/100,450" },
1032                         /* RECORD TONE - not specified */
1033                         { DAHDI_TONE_RECORDTONE, "1400/500,0/15000" },
1034                         { DAHDI_TONE_INFO, "!950/330,!1400/330,!1800/330,0" },
1035                         /* STUTTER TONE - not specified */
1036                         { DAHDI_TONE_STUTTER, "!450/100,!0/100,!450/100,!0/100,!450/100,!0/100,!450/100,!0/100,!450/100,!0/100,!450/100,!0/100,450" },
1037                 },
1038                 .dtmf_high_level = -9,
1039                 .dtmf_low_level = -11,
1040                 .mfr1_level = -7,
1041                 .mfr2_level = -8,
1042         },
1043         {
1044                 .zone = 45,
1045                 .country = "ae",
1046                 .description = "United Arab Emirates",
1047                 .ringcadence = { 1500, 4000 },
1048                 .tones = {
1049                         /* References: http://www.itu.int/ITU-T/inr/forms/files/tones-0203.pdf */
1050                         { DAHDI_TONE_DIALTONE, "350+440" },
1051                         { DAHDI_TONE_BUSY, "400/375,0/375" },
1052                         { DAHDI_TONE_RINGTONE, "400+425/400,0/200,400+425/400,0/2000" },
1053                         { DAHDI_TONE_CONGESTION, "425/400,0/350,425/225,0/525" },
1054                         { DAHDI_TONE_CALLWAIT, "420/40,0/1960" },
1055                         /* RECORD TONE */
1056                         { DAHDI_TONE_RECORDTONE, "1400/80,0/14920" },
1057                         { DAHDI_TONE_INFO, "950/330,1450/330,1850/330,0/1000" },
1058                         /* STUTTER TONE */
1059                         { DAHDI_TONE_STUTTER, "380+420" },
1060                         /* DIALRECALL - not specified */
1061                         { DAHDI_TONE_DIALRECALL, "!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,350+440" },
1062                 },
1063                 .dtmf_high_level = -10,
1064                 .dtmf_low_level = -10,
1065                 .mfr1_level = -10,
1066                 .mfr2_level = -8,
1067         },
1068         { .zone = -1 }
1069 };