[Freeswitch-users] lua trouble
Michael Collins
msc at freeswitch.org
Mon Jun 18 18:55:32 MSD 2012
>
> The problem is with
> confirmkey = session:playAndGetDigits(0, 1, 1, 1000,
> "#", confPrompt, "", "\\d|\\*")
>
It complains of "Invalid Args" (and doesn't say anything). All it has to
> do is read out the number that it's intending to call, allowing the user
> to change their mind by hitting *.
>
>
You can't have an argument of "0" for the minimum number of digits. See
this page for details on play_and_get_digits args:
http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_play_and_get_digits
-MC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120618/2379ece3/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list