[Freeswitch-users] PAGD 0 digits
Michael Collins
msc at freeswitch.org
Tue Jul 31 18:49:20 MSD 2012
I must confess: I do not know how to enter no digits without using the
timeout...
-MC
On Tue, Jul 31, 2012 at 6:45 AM, Alex <alex at thewinelake.com> wrote:
> 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> 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?
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120731/3c2eecd9/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list