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 3e86572..be1ed53 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);