[Freeswitch-dev] Lua session:playAndGetDigits regex
Robert Clayton
rjcajax at gmail.com
Fri Mar 27 10:55:32 PDT 2009
Brian,
Tried that as below.
agent_id = session:playAndGetDigits(1, 3, 2, 10000,'#',
'c:/DictationProject/audio/Validating.wav', '', '(\*|\d{4})');
errors with:
2009-03-27 13:43:51 [ERR] switch_regex.c:184 switch_regex_match_partial()
Regular Expression Error expression[(*|d{4})] error[nothing to repeat]
location[1]
Note the escape characters are not represented in the error message. Which
if stripped by FS would create the error message "nothing to repeat".
Sorry if the two emails were "basically" the same. I was not sure how to
make my point more clear. So I attempted to be more succinct.
Bob
On Fri, Mar 27, 2009 at 11:10 AM, Brian West <brian at freeswitch.org> wrote:
> in short? You basically repeated the exact same thing in the previous
> email!
>
> (\*|\d{4})
>
> * or any 4 digit number you can change that if you like.
>
> /b
>
>
> On Mar 27, 2009, at 10:03 AM, Robert Clayton wrote:
>
> >
> > In short
>
> Brian West
> brian at freeswitch.org
>
> -- Meet us a ClueCon! http://www.cluecon.com
>
>
>
>
> _______________________________________________
> Freeswitch-dev mailing list
> Freeswitch-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090327/2e46fc19/attachment.html
More information about the Freeswitch-dev
mailing list