<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 class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
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 class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
<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 class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex"><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>