mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-14 21:38:34 +00:00
Phrases: Allow phrase with no pattern to be processed
This commit is contained in:
1 parent
67111b0770
commit
0bfddcfd0f
1 file changed
+4
@@ -194,6 +194,10 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_phrase_macro_event(switch_core_sessio
|
|||||||
field_expanded = field_expanded_alloc;
|
field_expanded = field_expanded_alloc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!pattern) {
|
||||||
|
pattern = ".*";
|
||||||
|
}
|
||||||
|
|
||||||
if (pattern) {
|
if (pattern) {
|
||||||
switch_regex_t *re = NULL;
|
switch_regex_t *re = NULL;
|
||||||
int proceed = 0, ovector[100];
|
int proceed = 0, ovector[100];
|
||||||
|
|||||||
Reference in new issue
Block a user