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@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@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.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@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@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.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@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
Version: 2012.0.2196 / Virus Database: 2437/5166 - Release Date: 07/30/12