[Pkg-voip-commits] [dahdi-tools] 24/285: zonedata: Add support for Costa Rica.

tzafrir at debian.org tzafrir at debian.org
Thu Jul 7 19:18:21 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 29a06509ece1ccb41f1e26b4083a91421082d88b
Author: Shaun Ruffell <sruffell at digium.com>
Date:   Tue May 24 15:14:25 2011 +0000

    zonedata: Add support for Costa Rica.
    
    Add in the costa Rica zonedata.
    
    (closes issue #19069)
    Reported by: desafiocostarica
    
    Signed-off-by: Shaun Ruffell <sruffell at digium.com>
    
    git-svn-id: http://svn.astersk.org/svn/dahdi/tools/trunk@9919 17933a7a-c749-41c5-a318-cba88f637d49
---
 zonedata.c | 27 ++++++++++++++++++++++++++-
 1 file changed, 26 insertions(+), 1 deletion(-)

diff --git a/zonedata.c b/zonedata.c
index 0ef4e0a..6ee238f 100644
--- a/zonedata.c
+++ b/zonedata.c
@@ -996,11 +996,36 @@ struct tone_zone builtin_zones[] =
 			{ 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 = 44,
+		.country = "cr",
+		.description = "Costa Rica",
+		.ringcadence = { 1203, 4797 },
+		.tones = {
+			/* Reference: http://www.itu.int/ITU-T/inr/forms/files/tones-0203.pdf [^] */
+			{ DAHDI_TONE_DIALTONE, "450" },
+			{ DAHDI_TONE_BUSY, "450/330,0/330" },
+			{ DAHDI_TONE_RINGTONE, "450/1203,0/4900" },
+			{ DAHDI_TONE_CONGESTION, "450/330,0/330" },
+			{ DAHDI_TONE_CALLWAIT, "450/150,0/150,450/150,450/8000" },
+			/* RECALL DIAL TONE - not specified */
+			{ DAHDI_TONE_DIALRECALL, "!450/100,!0/100,!450/100,!0/100,!450/100,!0/100,450" },
+			/* RECORD TONE - not specified */
+			{ DAHDI_TONE_RECORDTONE, "1400/500,0/15000" },
+			{ DAHDI_TONE_INFO, "!950/330,!1400/330,!1800/330,0" },
+			/* STUTTER TONE - not specified */
+			{ 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" },
+		},
+		.dtmf_high_level = -9,
+		.dtmf_low_level = -11,
+		.mfr1_level = -7,
+		.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