[Freeswitch-users] lua trouble

Alex alex at thewinelake.com
Mon Jun 18 20:02:58 MSD 2012


I've changed the 0 to a 1 and it didn't make any difference.
I'm pretty sure it's all to do with trying to use "say" within the lua 
incarnation of playAndGetDigits.

> I think in mod_dptools.c in the play_and_get_digits_function there's 
> some code that does:
>
>     if (min_digits <= 1) {
>         min_digits = 1;
>     }
>
>    My C is rusty and this may be irrelevant though!
>
> -Gabe
>
> On Mon, Jun 18, 2012 at 11:09 AM, Michael Collins <msc at freeswitch.org 
> <mailto:msc at freeswitch.org>> wrote:
>
>     But but but the wiki says! The wiki just CAN'T be wrong! ;)
>     Actually, according to switch_ivr_play_say.c it looks like you can
>     have a min_digits of "0". Still, I'd make the min digits "1"
>     unless there's a compelling reason to want zero digits.
>     -MC
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
> No virus found in this message.
> Checked by AVG - www.avg.com <http://www.avg.com>
> Version: 2012.0.2177 / Virus Database: 2433/5076 - Release Date: 06/17/12
>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120618/747a8da5/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list