[asterisk-dev] [Code Review]: dsp.c: dtmf_detect, Fix multiple issues when no-interdigit delay is present.

Alec Davis reviewboard at asterisk.org
Fri Aug 31 21:36:57 CDT 2012



> On Aug. 31, 2012, 4:59 p.m., rmudgett wrote:
> > trunk/main/dsp.c, line 761
> > <https://reviewboard.asterisk.org/r/2085/diff/3/?file=31117#file31117line761>
> >
> >     Clearing misses not necessary.  We no longer are in the DRC case.

agreed. fixed


> On Aug. 31, 2012, 4:59 p.m., rmudgett wrote:
> > trunk/main/dsp.c, line 766
> > <https://reviewboard.asterisk.org/r/2085/diff/3/?file=31117#file31117line766>
> >
> >     Typo: wiithout

done


> On Aug. 31, 2012, 4:59 p.m., rmudgett wrote:
> > trunk/main/dsp.c, line 780
> > <https://reviewboard.asterisk.org/r/2085/diff/3/?file=31117#file31117line780>
> >
> >     Clearing misses not necessary.  We no longer are in the DRC case.

done


> On Aug. 31, 2012, 4:59 p.m., rmudgett wrote:
> > trunk/main/dsp.c, line 789
> > <https://reviewboard.asterisk.org/r/2085/diff/3/?file=31117#file31117line789>
> >
> >     Clearing misses not necessary.  We no longer are in the DRC case.

done


> On Aug. 31, 2012, 4:59 p.m., rmudgett wrote:
> > trunk/main/dsp.c, line 800
> > <https://reviewboard.asterisk.org/r/2085/diff/3/?file=31117#file31117line800>
> >
> >     I think this is a stray asterisk:
> >     DRC * and then

it's trying to say "see optional note *".

changed to *(1) 


- Alec


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/2085/#review6995
-----------------------------------------------------------


On Aug. 31, 2012, 6:11 p.m., Alec Davis wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/2085/
> -----------------------------------------------------------
> 
> (Updated Aug. 31, 2012, 6:11 p.m.)
> 
> 
> Review request for Asterisk Developers.
> 
> 
> Summary
> -------
> 
> Document DTMF events for different sequences.
> 
> * Fix extra hit required when new DIGIT is sent without any interdigit delay.
> * Fix when DTMF_HITS_TO_BEGIN = 2, and no interdigit gap, that BEGIN is posted. 
> * Fix situation where a flakey detect, would clear the current_hit (indicating an END), which may not have been the case.
> 
> 
> Diffs
> -----
> 
>   trunk/main/dsp.c 371689 
> 
> Diff: https://reviewboard.asterisk.org/r/2085/diff
> 
> 
> Testing
> -------
> 
> On production box for 24 hours. 888 digit's now received.
> 
> The change here doesn't affect normal tone on/tone off, it changes the case when no interdigit pause is received between 2 digits, now the 2 digit has the same detect time as if there had been an interdigit pause before hand.
> 
> 
> Thanks,
> 
> Alec
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20120901/d33daffb/attachment.htm>


More information about the asterisk-dev mailing list