[Freeswitch-users] regex help

Michael Collins msc at freeswitch.org
Tue Aug 23 04:21:11 MSD 2011


Did you figure this one out yet? How do you do an empty string? Just have
the caller press # without dialing any digits?

-MC

On Sat, Aug 20, 2011 at 7:40 AM, babak yakhchali <babak.freeswitch at gmail.com
> wrote:

> Hi
> How can I use playandgetdigits to get 0 or 8 numbers? I mean it should be
> an empty string or 8digits long.
> I tried this
> play_and_get_digits 0 8 3 7000 # file1 file2  number ^$|^d{{8}}$
> but it's not passing empty strings
> thanx
>
>
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110822/d9662a2b/attachment.html 


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