[asterisk-commits] alecdavis: branch 10 r374476 - in /branches/10: ./ main/dsp.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Oct 4 15:05:18 CDT 2012
Author: alecdavis
Date: Thu Oct 4 15:05:14 2012
New Revision: 374476
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=374476
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
Modified:
branches/10/ (props changed)
branches/10/main/dsp.c
Propchange: branches/10/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.
Modified: branches/10/main/dsp.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/main/dsp.c?view=diff&rev=374476&r1=374475&r2=374476
==============================================================================
--- branches/10/main/dsp.c (original)
+++ branches/10/main/dsp.c Thu Oct 4 15:05:14 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 asterisk-commits
mailing list