diff options
author | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-03-19 22:25:34 +0000 |
---|---|---|
committer | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-03-19 22:25:34 +0000 |
commit | 8c8015552c14c0fdce5dd61416098659fb4f402c (patch) | |
tree | 92d567411c45399c63a2504af296191c91956bb0 /channels/chan_mgcp.c | |
parent | 2c4aac03992077a08b75c4c43f0041778075f951 (diff) |
Rename DSP_FEATURE_DTMF_DETECT, because we are *NOT* only detecting DTMF digits.
This was very misleading.
Early cleanup for issue #11968
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@110161 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_mgcp.c')
-rw-r--r-- | channels/chan_mgcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_mgcp.c b/channels/chan_mgcp.c index 70cf0c4f2..f18dac361 100644 --- a/channels/chan_mgcp.c +++ b/channels/chan_mgcp.c @@ -1511,7 +1511,7 @@ static struct ast_channel *mgcp_new(struct mgcp_subchannel *sub, int state) ast_channel_set_fd(tmp, 0, ast_rtp_fd(sub->rtp)); if (i->dtmfmode & (MGCP_DTMF_INBAND | MGCP_DTMF_HYBRID)) { i->dsp = ast_dsp_new(); - ast_dsp_set_features(i->dsp,DSP_FEATURE_DTMF_DETECT); + ast_dsp_set_features(i->dsp, DSP_FEATURE_DIGIT_DETECT); /* this is to prevent clipping of dtmf tones during dsp processing */ ast_dsp_set_digitmode(i->dsp, DSP_DIGITMODE_NOQUELCH); } else { |