From: Mark Spencer Date: Wed, 28 Apr 2004 14:55:38 +0000 (+0000) Subject: When creating a new DSP, initialize the progress zone just in case X-Git-Tag: 1.0.0-rc1~645 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b18913b338f27c8cdcacb1dd7d84daa12e55b678;p=thirdparty%2Fasterisk.git When creating a new DSP, initialize the progress zone just in case git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2798 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/dsp.c b/dsp.c index dc45309db6..774875212f 100755 --- 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; }