[Pkg-voip-commits] [dahdi-tools] 05/285: tonezone: Add Macao, China to tone zone data

tzafrir at debian.org tzafrir at debian.org
Thu Jul 7 19:18:18 UTC 2016


This is an automated email from the git hooks/post-receive script.

tzafrir pushed a commit to branch master
in repository dahdi-tools.

commit 1462933a0dd27375ebf49aeecc3200b02fae6354
Author: Russ Meyerriecks <rmeyerriecks at digium.com>
Date:   Wed Sep 8 22:15:22 2010 +0000

    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)
    
    git-svn-id: http://svn.astersk.org/svn/dahdi/tools/trunk@9313 17933a7a-c749-41c5-a318-cba88f637d49
---
 zonedata.c | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/zonedata.c b/zonedata.c
index d15f276..0ef4e0a 100644
--- a/zonedata.c
+++ b/zonedata.c
@@ -979,5 +979,28 @@ struct tone_zone builtin_zones[] =
 		.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 }
 };

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/dahdi-tools.git



More information about the Pkg-voip-commits mailing list