diff options
author | kpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2007-12-14 23:47:31 +0000 |
---|---|---|
committer | kpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2007-12-14 23:47:31 +0000 |
commit | e82cf68ec969ba027f671b27261442b54b5f8737 (patch) | |
tree | 4a8a03d12bd400e69f53b7fce7f3075a41a407c2 /tonezone.h | |
parent | ef2eddaeb8ac4e25b283081911a36a642ce5f157 (diff) |
(merging dtmf-twister branch plus a few fixes)
move DTMF/MF generation into tonezone.c (libtonezone) so that it can happen at runtime instead of compile time; this allows for DTMF/MF to be different on a zone-by-zone basis without requiring a recompile of Zaptel
set DTMF 'twist' for Brazil (zone 'br') to 2dB
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3490 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'tonezone.h')
-rw-r--r-- | tonezone.h | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -41,11 +41,16 @@ struct tone_zone_sound { }; struct tone_zone { - int zone; /* Zone number */ + int zone; /* Zone number */ char country[10]; /* Country code */ - char description[40]; /* Description */ + char description[40]; /* Description */ int ringcadence[ZT_MAX_CADENCE]; /* Ring cadence */ struct tone_zone_sound tones[ZT_TONE_MAX]; + int dtmf_high_level; /* Power level of high frequency component + of DTMF, expressed in dBm0. */ + int dtmf_low_level; /* Power level of low frequency component + of DTMF, expressed in dBm0. */ + int mf_level; /* Power level of MF, expressed in dBm0. */ }; extern struct tone_zone builtin_zones[]; |