summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xzaptel.conf.sample2
-rwxr-xr-xzonedata.c32
2 files changed, 34 insertions, 0 deletions
diff --git a/zaptel.conf.sample b/zaptel.conf.sample
index 6c670b0..b1dea2c 100755
--- a/zaptel.conf.sample
+++ b/zaptel.conf.sample
@@ -139,6 +139,8 @@ loadzone = us
#loadzone=jp
#loadzone=sp
#loadzone=no
+#loadzone=hu
+#loadzone=lt
defaultzone=us
#
# Section for PCI Radio Interface
diff --git a/zonedata.c b/zonedata.c
index f38bd1f..74a519f 100755
--- a/zonedata.c
+++ b/zonedata.c
@@ -299,5 +299,37 @@ struct tone_zone builtin_zones[] =
{ 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 }
};