[Freeswitch-users] PAGD 0 digits

Alex alex at thewinelake.com
Tue Jul 31 17:45:00 MSD 2012


Not really. But I discovered that 0 IS a valid value for max digits.
> After the timeout it simply moves on to the next application. Would 
> that not suffice?
> -MC
>
> On Fri, Jul 27, 2012 at 5:01 AM, Alex <alex at thewinelake.com 
> <mailto:alex at thewinelake.com>> wrote:
>
>     If I want to allow someone to enter an empty string of digits, how
>     is it
>     done?
>
>     I've tried various things...
>
>     My latest effort (that still doesn't work!) is
>
>          keypress = session:playAndGetDigits(1, 1, 3, 5000, "*#",
>     what_to_play, "", "\\d{0,1}|\\#|\\*")
>          terminator = session:getVariable("read_terminator_used")
>
>     I note that the minimum value for the first param is 1 - so maybe it
>     can't be done?
>
>     _________________________________________________________________________
>     Professional FreeSWITCH Consulting Services:
>     consulting at freeswitch.org <mailto: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
>     <mailto: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
>
>
>
>
> -- 
> Michael S Collins
> Twitter: @mercutioviz
> http://www.FreeSWITCH.org
> http://www.ClueCon.com
> http://www.OSTAG.org
>
>
>
>
> _________________________________________________________________________
> 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.2196 / Virus Database: 2437/5166 - Release Date: 07/30/12
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120731/01ce522b/attachment.html 


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