When creating a new DSP, initialize the progress zone just in case
authorMark Spencer <markster@digium.com>
Wed, 28 Apr 2004 14:55:38 +0000 (14:55 +0000)
committerMark Spencer <markster@digium.com>
Wed, 28 Apr 2004 14:55:38 +0000 (14:55 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2798 65c4cc65-6c06-0410-ace0-fbb531ad65f3

dsp.c

diff --git a/dsp.c b/dsp.c
index dc45309..7748752 100755 (executable)
--- a/dsp.c
+++ b/dsp.c
@@ -1633,6 +1633,8 @@ struct ast_dsp *ast_dsp_new(void)
                dsp->busycount = DSP_HISTORY;
                /* Initialize DTMF detector */
                ast_dtmf_detect_init(&dsp->td.dtmf);
+               /* Initialize initial DSP progress detect parameters */
+               ast_dsp_prog_reset(dsp);
        }
        return dsp;
 }