Phrases: Allow phrase with no pattern to be processed

上级 67111b07
......@@ -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];
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论