[Asterisk-cvs] zaptel zaptel.conf.sample, 1.15, 1.16 zonedata.c, 1.25, 1.26

markster at lists.digium.com markster at lists.digium.com
Thu Dec 9 01:38:25 CST 2004


Update of /usr/cvsroot/zaptel
In directory mongoose.digium.com:/tmp/cvs-serv6706

Modified Files:
	zaptel.conf.sample zonedata.c 
Log Message:
Add Hungary and Lithuania (bug #2992)


Index: zaptel.conf.sample
===================================================================
RCS file: /usr/cvsroot/zaptel/zaptel.conf.sample,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- zaptel.conf.sample	4 Nov 2004 20:04:53 -0000	1.15
+++ zaptel.conf.sample	9 Dec 2004 06:35:59 -0000	1.16
@@ -139,6 +139,8 @@
 #loadzone=jp
 #loadzone=sp
 #loadzone=no
+#loadzone=hu
+#loadzone=lt
 defaultzone=us
 #
 # Section for PCI Radio Interface 

Index: zonedata.c
===================================================================
RCS file: /usr/cvsroot/zaptel/zonedata.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- zonedata.c	19 Nov 2004 03:33:22 -0000	1.25
+++ zonedata.c	9 Dec 2004 06:35:59 -0000	1.26
@@ -299,5 +299,37 @@
 		{ ZT_TONE_INFO, "950/330,1400/330,1800/330" },
 		{ ZT_TONE_STUTTER, "350+440" } },
 	},
+	{ 21, "hu", "Hungary", { 1000, 4000 },
+	{
+		/* Reference: http://www.itu.int/ITU-T/inr/forms/files/tones-0203.pdf */
+		{ ZT_TONE_DIALTONE, "425" },
+		{ ZT_TONE_BUSY, "425/300,0/300" },
+		{ ZT_TONE_RINGTONE, "425/1250,0/3750" },
+		{ ZT_TONE_CONGESTION, "425/300,0/300" },
+		{ ZT_TONE_CALLWAIT, "425/40,0/1960" },
+		/* DIALRECALL - not specified */
+		{ ZT_TONE_DIALRECALL, "350+440" },
+		/* RECORDTONE - not specified */
+		{ ZT_TONE_RECORDTONE, "425/250,0/250" },
+		{ ZT_TONE_INFO, "!950/330,!1400/330,!1800/330,!0/1000,!950/330,!1400/330,!1800/330,!0/1000,!950/330,!1400/330,!1800/330,!0/1000,0" },
+		/* STUTTER not specified */
+		{ ZT_TONE_STUTTER, "350+440" } },
+	},
+	{ 22, "lt", "Lithuania", { 1000, 4000 },
+	{
+		/* Reference: http://www.itu.int/ITU-T/inr/forms/files/tones-0203.pdf */
+		{ ZT_TONE_DIALTONE, "425" },
+		{ ZT_TONE_BUSY, "425/350,0/350" },
+		{ ZT_TONE_RINGTONE, "425/1000,0/4000" },
+		{ ZT_TONE_CONGESTION, "425/200,0/200" },
+		{ ZT_TONE_CALLWAIT, "425/150,0/150,425/150,0/4000" },
+		/* DIALRECALL - not specified */
+		{ ZT_TONE_DIALRECALL, "!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,350+440" },
+		/* RECORDTONE - not specified */
+		{ ZT_TONE_RECORDTONE, "1400/500,0/15000" },
+		{ ZT_TONE_INFO, "!950/330,!1400/330,!1800/330,!0/1000,!950/330,!1400/330,!1800/330,!0/1000,!950/330,!1400/330,!1800/330,!0/1000,0" },
+		/* STUTTER 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" } },
+	},
 	{ -1 }		
 };




More information about the svn-commits mailing list