[svn-commits] alecdavis: trunk r374478 - in /trunk: ./ main/dsp.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Thu Oct 4 15:08:27 CDT 2012
Author: alecdavis
Date: Thu Oct 4 15:08:22 2012
New Revision: 374478
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=374478
Log:
dsp.c fix incorrect DTMF Digit_Duration.
it's always short by 'hits_to_begin*DTMF_GSIZE', or 25.5ms if hitstobegin=2
(issue ASTERISK-16003)
Tested by: alecdavis
alecdavis (license 585)
Review https://reviewboard.asterisk.org/r/2145/
........
Merged revisions 374475 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........
Merged revisions 374476 from http://svn.asterisk.org/svn/asterisk/branches/10
........
Merged revisions 374477 from http://svn.asterisk.org/svn/asterisk/branches/11
Modified:
trunk/ (props changed)
trunk/main/dsp.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-11-merged' - no diff available.
Modified: trunk/main/dsp.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/dsp.c?view=diff&rev=374478&r1=374477&r2=374478
==============================================================================
--- trunk/main/dsp.c (original)
+++ trunk/main/dsp.c Thu Oct 4 15:08:22 2012
@@ -816,6 +816,7 @@
s->td.dtmf.hits++;
if (s->td.dtmf.hits == s->td.dtmf.hits_to_begin) {
store_digit(s, hit);
+ s->digitlen[s->current_digits - 1] = s->td.dtmf.hits_to_begin * DTMF_GSIZE;
s->td.dtmf.current_hit = hit;
s->td.dtmf.misses = 0;
}
More information about the svn-commits
mailing list