[Freeswitch-users] Issue with playAndGetDigit

Gonzalo Servat gservat at gmail.com
Fri Nov 7 03:57:26 PST 2008


On Fri, Nov 7, 2008 at 9:44 AM, Juan Backson <juanbackson at gmail.com> wrote:

> Hi Gonzalo,
>
>
>
> Here is the lua code I am using
>
>    1.
>    2. 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20081107/5b171128/attachment-0002.html 


More information about the FreeSWITCH-users mailing list