<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19154">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>If you played old arcade games, so my record of type
as fast as possible</FONT></DIV>
<DIV><FONT size=2>2 times the same key was 9ms...maybe consider a double under
20ms ? :)</FONT></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=hynek.cihlar@gmail.com href="mailto:hynek.cihlar@gmail.com">Hynek
Cihlar</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=freeswitch-users@lists.freeswitch.org
href="mailto:freeswitch-users@lists.freeswitch.org">FreeSWITCH Users Help</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, October 24, 2011 12:55
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Freeswitch-users] DTMF
Problems</DIV>
<DIV><BR></DIV>
<DIV>Will you disclose to the community your optimal time interval for which
it is safe to consider the succeeding DTMF entry a duplicate? ;-)</DIV><BR
clear=all>Hynek<BR><BR><BR><BR>
<DIV class=gmail_quote>On Mon, Oct 24, 2011 at 6:07 PM, Antonio Teixeira <SPAN
dir=ltr><<A
href="mailto:eagle.antonio@gmail.com">eagle.antonio@gmail.com</A>></SPAN>
wrote:<BR>
<BLOCKQUOTE
style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>Well guys it depends on your application , generally
i solve this with regexp , a buffer and a way to clear the buffer of
invalid/duplicated data I'm extending it to support with min delay between
keys.<BR>This is not as hard as you think when using min/max :) and your
data is predictable :)<BR><BR>Also in ivr menus humans don't generally guess
whats the next menu so if len(dtmf) > 1: drop ... <BR><BR>I play with
this in our test environment not in our production and it works :)
<DIV>
<DIV></DIV>
<DIV class=h5><BR><BR>
<DIV class=gmail_quote>2011/10/24 Steven Ayre <SPAN dir=ltr><<A
href="mailto:steveayre@gmail.com"
target=_blank>steveayre@gmail.com</A>></SPAN><BR>
<BLOCKQUOTE
style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>
<DIV bgcolor="#FFFFFF">
<DIV>Yes, how do you plan the difference between the user dialling 2 and
it being duplicated and them pressing 2 twice in quick succession?</DIV>
<DIV><BR></DIV>
<DIV>Steve on iPhone</DIV>
<DIV>
<DIV></DIV>
<DIV>
<DIV><BR>On 24 Oct 2011, at 16:28, Hynek Cihlar <<A
href="mailto:hynek.cihlar@gmail.com"
target=_blank>hynek.cihlar@gmail.com</A>> wrote:<BR><BR></DIV>
<DIV></DIV>
<BLOCKQUOTE type="cite">
<DIV>
<DIV>Btw, how do u handle duplicates? Short time interval? If so, how
short?<BR><BR>Sent from my mobile device</DIV>
<DIV><BR>On Oct 24, 2011, at 17:26, Antonio Teixeira <<A
href="mailto:eagle.antonio@gmail.com"
target=_blank>eagle.antonio@gmail.com</A>> wrote:<BR><BR></DIV>
<DIV></DIV>
<BLOCKQUOTE type="cite">
<DIV>Yes but i can deal with duplicated digits since the scripts will
detected double digits :)<BR>Let's say i can survive with that
:)<BR><BR>
<DIV class=gmail_quote>2011/10/24 Steven Ayre <SPAN dir=ltr><<A
href="mailto:steveayre@gmail.com" target=_blank></A><A
href="mailto:steveayre@gmail.com"
target=_blank>steveayre@gmail.com</A>></SPAN><BR>
<BLOCKQUOTE
style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>
<DIV>"use RFC2833 and in band at the same time trying to catch any
missing tones"<BR><BR></DIV>That's likely to cause you even more
problems (duplicate digits).<BR><BR>Steve on iPhone<BR>
<DIV><BR><BR>On 24 Oct 2011, at 16:07, Antonio Teixeira <<A
href="mailto:eagle.antonio@gmail.com" target=_blank></A><A
href="mailto:eagle.antonio@gmail.com"
target=_blank>eagle.antonio@gmail.com</A>> wrote:<BR><BR>> use
RFC2833 and in band at the same time trying to catch any missing
tones<BR><BR><BR></DIV>FreeSWITCH-users mailing list<BR><A
href="mailto:FreeSWITCH-users@lists.freeswitch.org"
target=_blank></A><A
href="mailto:FreeSWITCH-users@lists.freeswitch.org"
target=_blank>FreeSWITCH-users@lists.freeswitch.org</A><BR><A
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target=_blank></A><A
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target=_blank>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A><BR>UNSUBSCRIBE:<A
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target=_blank></A><A
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target=_blank>http://lists.freeswitch.org/mailman/options/freeswitch-users</A><BR><A
href="http://www.freeswitch.org" target=_blank></A><A
href="http://www.freeswitch.org"
target=_blank>http://www.freeswitch.org</A><BR></BLOCKQUOTE></DIV><BR></DIV></BLOCKQUOTE>
<BLOCKQUOTE type="cite">
<DIV><SPAN></SPAN><BR><SPAN>FreeSWITCH-users mailing
list</SPAN><BR><SPAN><A
href="mailto:FreeSWITCH-users@lists.freeswitch.org"
target=_blank>FreeSWITCH-users@lists.freeswitch.org</A></SPAN><BR><SPAN><A
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target=_blank>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A></SPAN><BR><SPAN>UNSUBSCRIBE:<A
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target=_blank>http://lists.freeswitch.org/mailman/options/freeswitch-users</A></SPAN><BR><SPAN><A
href="http://www.freeswitch.org"
target=_blank>http://www.freeswitch.org</A></SPAN><BR></DIV></BLOCKQUOTE></DIV></BLOCKQUOTE>
<BLOCKQUOTE type="cite">
<DIV><SPAN></SPAN><BR><SPAN>FreeSWITCH-users mailing
list</SPAN><BR><SPAN><A
href="mailto:FreeSWITCH-users@lists.freeswitch.org"
target=_blank>FreeSWITCH-users@lists.freeswitch.org</A></SPAN><BR><SPAN><A
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target=_blank>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A></SPAN><BR><SPAN>UNSUBSCRIBE:<A
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target=_blank>http://lists.freeswitch.org/mailman/options/freeswitch-users</A></SPAN><BR><SPAN><A
href="http://www.freeswitch.org"
target=_blank>http://www.freeswitch.org</A></SPAN><BR></DIV></BLOCKQUOTE></DIV></DIV></DIV><BR><BR>FreeSWITCH-users
mailing list<BR><A href="mailto:FreeSWITCH-users@lists.freeswitch.org"
target=_blank>FreeSWITCH-users@lists.freeswitch.org</A><BR><A
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target=_blank>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A><BR>UNSUBSCRIBE:<A
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target=_blank>http://lists.freeswitch.org/mailman/options/freeswitch-users</A><BR><A
href="http://www.freeswitch.org"
target=_blank>http://www.freeswitch.org</A><BR><BR></BLOCKQUOTE></DIV><BR></DIV></DIV><BR><BR>FreeSWITCH-users
mailing list<BR><A
href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</A><BR><A
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target=_blank>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A><BR>UNSUBSCRIBE:<A
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target=_blank>http://lists.freeswitch.org/mailman/options/freeswitch-users</A><BR><A
href="http://www.freeswitch.org"
target=_blank>http://www.freeswitch.org</A><BR><BR></BLOCKQUOTE></DIV><BR>
<P>
<HR>
<P></P><BR>FreeSWITCH-users mailing
list<BR>FreeSWITCH-users@lists.freeswitch.org<BR>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<BR>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<BR>http://www.freeswitch.org<BR></BLOCKQUOTE></BODY></HTML>