diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2013-05-23 11:13:36 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2013-05-23 11:13:36 +0200 |
commit | 62c50a8046f268246f3365bee51801080eb9c370 (patch) | |
tree | 21b682090d24b88322a10872b8f81a2e9eeca1e2 /src/mgcp/mgcp_protocol.c | |
parent | d7d3bba8d6605e4d7cd5e59020432f83756cfcfe (diff) |
dtmf: Make the on/off time and transmit power configurablerelease/1.3
Make it possible to configure the transmit power. These settings
will be in effect immediately (there is no lock between the two
threads but it is a read only).
Diffstat (limited to 'src/mgcp/mgcp_protocol.c')
-rw-r--r-- | src/mgcp/mgcp_protocol.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mgcp/mgcp_protocol.c b/src/mgcp/mgcp_protocol.c index 4fc6135..d3561d5 100644 --- a/src/mgcp/mgcp_protocol.c +++ b/src/mgcp/mgcp_protocol.c @@ -948,6 +948,10 @@ static void trunk_init(struct mgcp_trunk_config *trunk) trunk->dwnstr_adp_rate = 100; trunk->dwnstr_max_gain = 46; trunk->dwnstr_target_lvl = 20; + + /* dtmf defaults */ + trunk->dtmf_on_off_time = 70; + trunk->dtmf_transmit_pwr = 50; } struct mgcp_config *mgcp_config_alloc(void) |