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_ss7.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_ss7.c')
-rw-r--r-- | src/mgcp_ss7.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mgcp_ss7.c b/src/mgcp_ss7.c index c4a1d34..6604545 100644 --- a/src/mgcp_ss7.c +++ b/src/mgcp_ss7.c @@ -510,6 +510,11 @@ static void allocate_endp(struct mgcp_ss7 *ss7, struct mgcp_endpoint *endp) ManObj_C_AMR_MODE_REQUEST, 2, 0); MtnSaSetManObject(mgw_port, ChannelType_PORT, ManObj_C_VOICE_VAD_CNG, endp->tcfg->vad_enabled, 0); + MtnSaSetManObject(mgw_port, ChannelType_PORT, + ManObj_G_DTMF_ON_OFF_TIME, endp->tcfg->dtmf_on_off_time, 0); + MtnSaSetManObject(mgw_port, ChannelType_PORT, + ManObj_G_DTMF_TRANSMIT_POWER, endp->tcfg->dtmf_transmit_pwr, 0); + update_mute_status(mgw_port, endp->conn_mode); |