mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-13 07:45:26 +00:00
Phrases: Allow phrase with no pattern to be processed
This commit is contained in:
parent
67111b0770
commit
0bfddcfd0f
@ -194,6 +194,10 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_phrase_macro_event(switch_core_sessio
|
||||
field_expanded = field_expanded_alloc;
|
||||
}
|
||||
|
||||
if (!pattern) {
|
||||
pattern = ".*";
|
||||
}
|
||||
|
||||
if (pattern) {
|
||||
switch_regex_t *re = NULL;
|
||||
int proceed = 0, ovector[100];
|
||||
|
Loading…
x
Reference in New Issue
Block a user