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.
This is not as hard as you think when using min/max :) and your data is predictable :)

Also in ivr menus humans don't generally guess whats the next menu so if len(dtmf) > 1: drop ...

I play with this in our test environment not in our production and it works :)

2011/10/24 Steven Ayre <steveayre@gmail.com>
Yes, how do you plan the difference between the user dialling 2 and it being duplicated and them pressing 2 twice in quick succession?

Steve on iPhone

On 24 Oct 2011, at 16:28, Hynek Cihlar <hynek.cihlar@gmail.com> wrote:

Btw, how do u handle duplicates? Short time interval? If so, how short?

Sent from my mobile device

On Oct 24, 2011, at 17:26, Antonio Teixeira <eagle.antonio@gmail.com> wrote:

Yes but i can deal with duplicated digits since the scripts will detected double digits :)
Let's say i can survive with that :)

2011/10/24 Steven Ayre <steveayre@gmail.com>
"use RFC2833 and in band at the same time trying to catch any missing tones"

That's likely to cause you even more problems (duplicate digits).

Steve on iPhone


On 24 Oct 2011, at 16:07, Antonio Teixeira <eagle.antonio@gmail.com> wrote:

> use RFC2833 and in band at the same time trying to catch any missing tones


FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org