[svn-commits] sruffell: tools/trunk r7162 - /tools/trunk/zonedata.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Sep 21 11:22:16 CDT 2009


Author: sruffell
Date: Mon Sep 21 11:22:11 2009
New Revision: 7162

URL: http://svn.asterisk.org/svn-view/dahdi?view=rev&rev=7162
Log:
zonedata: Add tone definitions for Panama.

(closes issue #14832)
Reported by: jlduran
Patch by: jldruan

Modified:
    tools/trunk/zonedata.c

Modified: tools/trunk/zonedata.c
URL: http://svn.asterisk.org/svn-view/dahdi/tools/trunk/zonedata.c?view=diff&rev=7162&r1=7161&r2=7162
==============================================================================
--- tools/trunk/zonedata.c (original)
+++ tools/trunk/zonedata.c Mon Sep 21 11:22:11 2009
@@ -954,5 +954,30 @@
 		.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 }
 };




More information about the svn-commits mailing list