Hi Gonzalo, I tried changing to digits = session:playAndGetDigits( 1, 1, 3, 3000, "[#*]", "phrase:admin_menu", "phrase:invalid_input", "[1-6]" ) Freeswitch still returns 92 for if I pressed 9 the first time and the 2 for the second time. I hope to fix this or else I would have to replace this function with line-by-line lua script to reproduce this feature. JB On Fri, Nov 7, 2008 at 7:57 PM, Gonzalo Servat <gservat@gmail.com> wrote:
On Fri, Nov 7, 2008 at 9:44 AM, Juan Backson <juanbackson@gmail.com> wrote:
Hi Gonzalo,
Here is the lua code I am using
digits = session:playAndGetDigits(1, 1, 3, 3000, #*, phrase:admin_menu, phrase:invalid_input, 1|2|3|4|5|6)
Try with:
digits = session:playAndGetDigits( 1, 1, 3, 3000, "[#*]", "phrase:admin_menu", "phrase:invalid_input", "[1-6]" )
- Gonzalo
_______________________________________________ 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