[Freeswitch-users] PAGD 0 digits

Alex alex at thewinelake.com
Fri Jul 27 16:01:39 MSD 2012


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?



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