summaryrefslogtreecommitdiff
path: root/zonedata.c
diff options
context:
space:
mode:
authorrussell <russell@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-04-15 22:48:56 +0000
committerrussell <russell@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-04-15 22:48:56 +0000
commitca085ed203b2a760feb3aaafaae1d5615f5564e7 (patch)
tree0c7a35d8f035ecd8540735748b009f81933e196f /zonedata.c
parentecd85f1c6681116ebd86ef139c5768f7586f12ea (diff)
add zonedata for Thailand (issue #6971)
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1002 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'zonedata.c')
-rw-r--r--zonedata.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/zonedata.c b/zonedata.c
index 1994b2d..5e5c4af 100644
--- a/zonedata.c
+++ b/zonedata.c
@@ -560,5 +560,23 @@ struct tone_zone builtin_zones[] =
{ ZT_TONE_STUTTER, "450+425" },
},
},
+ { 36, "th", "Thailand", { 1000, 4000 },
+ {
+ /* Reference: http://www.itu.int/ITU-T/inr/forms/files/tones-0203.pdf */
+ { ZT_TONE_DIALTONE, "400*50" },
+ { ZT_TONE_BUSY, "400/500,0/500" },
+ { ZT_TONE_RINGTONE, "400/1000,0/4000" },
+ { ZT_TONE_CONGESTION, "400/300,0/300" },
+ { ZT_TONE_CALLWAIT, "1000/400,10000/400,1000/400" },
+ /* DIALRECALL - not specified - use special dial tone instead. */
+ { ZT_TONE_DIALRECALL, "400*50/400,0/100,400*50/400,0/100" },
+ /* RECORDTONE - not specified */
+ { ZT_TONE_RECORDTONE, "1400/500,0/15000" },
+ /* INFO - specified as an announcement - use tones instead. */
+ { ZT_TONE_INFO, "950/330,1400/330,1800/330" },
+ /* STUTTER - not specified */
+ { ZT_TONE_STUTTER, "!400/200,!0/200,!400/600,!0/200,!400/200,!0/200,!400/600,!0/200,!400/200,!0/200,!400/600,!0/200,!400/200,!0/200,!400/600,!0/200,400" },
+ },
+ },
{ -1 }
};