[svn-commits] rmeyerriecks: tools/trunk r9313 - /tools/trunk/zonedata.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Sep 8 17:15:26 CDT 2010


Author: rmeyerriecks
Date: Wed Sep  8 17:15:22 2010
New Revision: 9313

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=9313
Log:
tonezone: Add Macao,China to tone zone data

Adding Macao tone zone data according to
http://www.itu.int/ITU-T/inr/forms/files/tones-0203.pdf

(closes issue #17744)
	Reported by: alfredtang
	Patches:
	      zonedata.patch uploaded by alfredtang (license 1094)

Modified:
    tools/trunk/zonedata.c

Modified: tools/trunk/zonedata.c
URL: http://svnview.digium.com/svn/dahdi/tools/trunk/zonedata.c?view=diff&rev=9313&r1=9312&r2=9313
==============================================================================
--- tools/trunk/zonedata.c (original)
+++ tools/trunk/zonedata.c Wed Sep  8 17:15:22 2010
@@ -979,5 +979,28 @@
 		.mfr1_level = -7,
 		.mfr2_level = -8,
 	},
+	{
+		.zone = 43,
+		.country = "mo",
+		.description = "Macao,China",
+		.ringcadence = { 1000, 4000 },
+		.tones = {
+			/* References: http://www.itu.int/ITU-T/inr/forms/files/tones-0203.pdf */
+			{ DAHDI_TONE_DIALTONE, "425" },
+			{ DAHDI_TONE_BUSY, "425/500,0/500" },
+			{ DAHDI_TONE_RINGTONE, "425/1000,0/4000" },
+			{ DAHDI_TONE_CONGESTION, "425/250,0/250" },
+			{ DAHDI_TONE_CALLWAIT, "425/200,0/600" },
+			/* RECORD TONE - not specified */
+			{ DAHDI_TONE_RECORDTONE, "1400/400,0/15000" },
+			{ DAHDI_TONE_INFO, "950/333,1400/333,1800/333,0/1000" },
+			/* STUTTER TONE - not specified */
+			{ 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" },
+	},
+		.dtmf_high_level = -10,
+		.dtmf_low_level = -10,
+		.mfr1_level = -10,
+		.mfr2_level = -8,
+	},
 	{ .zone = -1 }
 };




More information about the svn-commits mailing list