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
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@freeswitch.org
-- Meet us a ClueCon! http://www.cluecon.com
_______________________________________________
Freeswitch-dev mailing list
Freeswitch-dev@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org