]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Fix recent trunk breakage
authorTilghman Lesher <tilghman@meg.abyt.es>
Thu, 20 Mar 2008 03:14:59 +0000 (03:14 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Thu, 20 Mar 2008 03:14:59 +0000 (03:14 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@110211 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_vpb.cc

index 3e86572861bd21bcb8a67a4b45e069f3ea656b76..be1ed535b4f664e8e7db4060c15b02747c7152fa 100644 (file)
@@ -1633,7 +1633,7 @@ static struct vpb_pvt *mkif(int board, int channel, int mode, int gains, float t
        }
        if (use_ast_dtmfdet) {
                tmp->vad = ast_dsp_new();
-               ast_dsp_set_features(tmp->vad, DSP_FEATURE_DTMF_DETECT);
+               ast_dsp_set_features(tmp->vad, DSP_FEATURE_DIGIT_DETECT);
                ast_dsp_set_digitmode(tmp->vad, DSP_DIGITMODE_DTMF);
                if (relaxdtmf)
                        ast_dsp_set_digitmode(tmp->vad, DSP_DIGITMODE_DTMF|DSP_DIGITMODE_RELAXDTMF);