[asterisk-commits] alecdavis: branch 11 r374477 - in /branches/11: ./ main/dsp.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Oct 4 15:06:51 CDT 2012


Author: alecdavis
Date: Thu Oct  4 15:06:45 2012
New Revision: 374477

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=374477
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

Modified:
    branches/11/   (props changed)
    branches/11/main/dsp.c

Propchange: branches/11/
------------------------------------------------------------------------------
Binary property 'branch-10-merged' - no diff available.

Modified: branches/11/main/dsp.c
URL: http://svnview.digium.com/svn/asterisk/branches/11/main/dsp.c?view=diff&rev=374477&r1=374476&r2=374477
==============================================================================
--- branches/11/main/dsp.c (original)
+++ branches/11/main/dsp.c Thu Oct  4 15:06:45 2012
@@ -817,6 +817,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