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_misdn.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_misdn.c')
-rw-r--r-- | channels/chan_misdn.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/channels/chan_misdn.c b/channels/chan_misdn.c index 1a5d671e1..b09c11e94 100644 --- a/channels/chan_misdn.c +++ b/channels/chan_misdn.c @@ -2154,9 +2154,9 @@ static int read_config(struct chan_list *ch, int orig) ch->dsp = ast_dsp_new(); if (ch->dsp) { if (ch->faxdetect) - ast_dsp_set_features(ch->dsp, DSP_FEATURE_DTMF_DETECT | DSP_FEATURE_FAX_DETECT); + ast_dsp_set_features(ch->dsp, DSP_FEATURE_DIGIT_DETECT | DSP_FEATURE_FAX_DETECT); else - ast_dsp_set_features(ch->dsp, DSP_FEATURE_DTMF_DETECT ); + ast_dsp_set_features(ch->dsp, DSP_FEATURE_DIGIT_DETECT ); } if (!ch->trans) ch->trans = ast_translator_build_path(AST_FORMAT_SLINEAR, AST_FORMAT_ALAW); @@ -5492,7 +5492,7 @@ static int misdn_set_opt_exec(struct ast_channel *chan, void *data) if (!ch->dsp) ch->dsp = ast_dsp_new(); if (ch->dsp) - ast_dsp_set_features(ch->dsp, DSP_FEATURE_DTMF_DETECT | DSP_FEATURE_FAX_DETECT); + ast_dsp_set_features(ch->dsp, DSP_FEATURE_DIGIT_DETECT | DSP_FEATURE_FAX_DETECT); if (!ch->trans) ch->trans = ast_translator_build_path(AST_FORMAT_SLINEAR, AST_FORMAT_ALAW); } |