summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2009-09-21 16:22:11 +0000
committerShaun Ruffell <sruffell@digium.com>2009-09-21 16:22:11 +0000
commita69dd9c53a18aec739c46e6e92fb80f526217f1d (patch)
tree1b7dc1639e650c6edb5fa9670dab04c093d3d8af
parent9378b6fa7b4bc4a9e29e378cdb9bdf1a5d7a8083 (diff)
zonedata: Add tone definitions for Panama.
(closes issue #14832) Reported by: jlduran Patch by: jldruan git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@7162 a0bf4364-ded3-4de4-8d8a-66a801d63aff
-rw-r--r--zonedata.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/zonedata.c b/zonedata.c
index 53761a1..fd62f04 100644
--- a/zonedata.c
+++ b/zonedata.c
@@ -954,5 +954,30 @@ struct tone_zone builtin_zones[] =
.mfr1_level = -10,
.mfr2_level = -8,
},
+ {
+ .zone = 42,
+ .country = "pa",
+ .description = "Panama",
+ .ringcadence = { 2000, 4000 },
+ .tones = {
+ /* Reference: http://www.itu.int/ITU-T/inr/forms/files/tones-0203.pdf */
+ { ZT_TONE_DIALTONE, "425" },
+ { ZT_TONE_BUSY, "425/320,0/320" },
+ { ZT_TONE_RINGTONE, "425/1200,0/4650" },
+ { ZT_TONE_CONGESTION, "425/320,0/320" },
+ { ZT_TONE_CALLWAIT, "425/180,0/180,425/180" },
+ /* RECALL DIAL TONE - not specified */
+ { ZT_TONE_DIALRECALL, "!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,425" },
+ /* RECORD TONE - not specified */
+ { ZT_TONE_RECORDTONE, "1400/500,0/15000" },
+ { ZT_TONE_INFO, "!950/330,!1400/330,!1800/330,0" },
+ /* STUTTER TONE - not specified */
+ { ZT_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" },
+ },
+ .dtmf_high_level = -9,
+ .dtmf_low_level = -11,
+ .mfr1_level = -7,
+ .mfr2_level = -8,
+ },
{ .zone = -1 }
};