I missed a place when this define was changed.
authorJason Parker <jparker@digium.com>
Mon, 31 Mar 2008 22:16:34 +0000 (22:16 +0000)
committerJason Parker <jparker@digium.com>
Mon, 31 Mar 2008 22:16:34 +0000 (22:16 +0000)
(closes issue #12334)
Reported by: ovi
Patches:
      12334-asterisk.patch uploaded by dimas (license 88)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@112071 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_usbradio.c

index 84a2ce2..f7c05a6 100644 (file)
@@ -2282,7 +2282,7 @@ static struct chan_usbradio_pvt *store_config(struct ast_config *cfg, char *ctg)
        o->lastopen = ast_tvnow();      /* don't leave it 0 or tvdiff may wrap */
        o->dsp = ast_dsp_new();
        if (o->dsp) {
-               ast_dsp_set_features(o->dsp, DSP_FEATURE_DTMF_DETECT);
+               ast_dsp_set_features(o->dsp, DSP_FEATURE_DIGIT_DETECT);
                ast_dsp_set_digitmode(o->dsp, DSP_DIGITMODE_DTMF | DSP_DIGITMODE_MUTECONF | DSP_DIGITMODE_RELAXDTMF);
        }