summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtonezone.c2
-rwxr-xr-xzaptel.h1
-rwxr-xr-xzonedata.c15
3 files changed, 13 insertions, 5 deletions
diff --git a/tonezone.c b/tonezone.c
index 853ece4..f70f9f4 100755
--- a/tonezone.c
+++ b/tonezone.c
@@ -176,6 +176,8 @@ char *tone_zone_tone_name(int id)
return "Custom 2";
case ZT_TONE_INFO:
return "Special Information";
+ case ZT_TONE_STUTTER:
+ return "Stutter Dialtone";
default:
snprintf(tmp, sizeof(tmp), "Unknown tone %d", id);
return tmp;
diff --git a/zaptel.h b/zaptel.h
index 4c32376..b579e2a 100755
--- a/zaptel.h
+++ b/zaptel.h
@@ -569,6 +569,7 @@ char dialstr[ZT_MAX_DTMF_BUF];
#define ZT_TONE_INFO 7
#define ZT_TONE_CUST1 8
#define ZT_TONE_CUST2 9
+#define ZT_TONE_STUTTER 10
#define ZT_TONE_MAX 16
#define ZT_MAX_CADENCE 16
diff --git a/zonedata.c b/zonedata.c
index 49ddf90..a04dbbc 100755
--- a/zonedata.c
+++ b/zonedata.c
@@ -35,7 +35,8 @@ struct tone_zone builtin_zones[] =
{ ZT_TONE_CALLWAIT, "440/300,0/10000" },
{ ZT_TONE_DIALRECALL, "!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,350+440" },
{ ZT_TONE_RECORDTONE, "1400/500,0/15000" },
- { ZT_TONE_INFO, "!950/330,!1400/330,!1800/330,0" } }
+ { ZT_TONE_INFO, "!950/330,!1400/330,!1800/330,0" },
+ { ZT_TONE_STUTTER, "!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,350+440" } },
},
{ 1, "au", "Australia", { 400, 200, 400, 2000 },
{
@@ -48,7 +49,8 @@ struct tone_zone builtin_zones[] =
{ ZT_TONE_CALLWAIT, "425/100,0/100,525/100,0/4700" },
{ ZT_TONE_DIALRECALL, "!425+25/100!0/100,!425+25/100,!0/100,!425+25/100,!0/100,425+25" },
{ ZT_TONE_RECORDTONE, "1400/425,0/14525" },
- { ZT_TONE_INFO, "400/2500,0/500" } }
+ { ZT_TONE_INFO, "400/2500,0/500" },
+ { ZT_TONE_STUTTER, "!425+25/100!0/100,!425+25/100,!0/100,!425+25/100,!0/100,!425+25/100!0/100,!425+25/100,!0/100,!425+25/100,!0/100,425+25" } },
},
{ 2, "fr", "France", { 1500, 3500 },
{
@@ -64,7 +66,8 @@ struct tone_zone builtin_zones[] =
{ ZT_TONE_DIALRECALL, "!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,350+440" },
/* XXX I'm making up the record tone XXX */
{ ZT_TONE_RECORDTONE, "1400/500,0/15000" },
- { ZT_TONE_INFO, "!950/330,!1400/330,!1800/330,0" } }
+ { ZT_TONE_INFO, "!950/330,!1400/330,!1800/330,0" },
+ { ZT_TONE_STUTTER, "!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,350+440" } },
},
{ 3, "nl", "Netherlands", { 1000, 4000 },
{
@@ -79,7 +82,8 @@ struct tone_zone builtin_zones[] =
{ ZT_TONE_DIALRECALL, "425/500,0/50" },
/* XXX I'm making up the record tone XXX */
{ ZT_TONE_RECORDTONE, "1400/500,0/15000" },
- { ZT_TONE_INFO, "!950/330,!1400/330,!1800/330,0" } }
+ { ZT_TONE_INFO, "!950/330,!1400/330,!1800/330,0" },
+ { ZT_TONE_STUTTER, "425/500,0/50" } },
},
{ 4, "uk", "United Kingdom", { 400, 200, 400, 2000 },
{
@@ -91,7 +95,8 @@ struct tone_zone builtin_zones[] =
{ ZT_TONE_DIALRECALL, "350+440" },
/* Not sure about the RECORDTONE */
{ ZT_TONE_RECORDTONE, "1400/500,0/10000" },
- { ZT_TONE_INFO, "950/330,1400/330,1800/330,0" } }
+ { ZT_TONE_INFO, "950/330,1400/330,1800/330,0" },
+ { ZT_TONE_STUTTER, "350+440" } },
},
{ -1 }