提交 bebf3028 authored 作者: Anthony Minessale's avatar Anthony Minessale

match dmachine instantly when only 1 binding and its a matching regex

上级 cdb4b29a
......@@ -309,7 +309,7 @@ static dm_match_t switch_ivr_dmachine_check_match(switch_ivr_dmachine_t *dmachin
pmatches = 1;
if (r_status == SWITCH_STATUS_SUCCESS) {
if (is_timeout) {
if (is_timeout || (bp == dmachine->realm->binding_list && !bp->next)) {
best = DM_MATCH_EXACT;
exact_bp = bp;
break;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论