提交 89f838e0 authored 作者: Mike Jerris's avatar Mike Jerris

Merge pull request #230 in FS/freeswitch from bugfix/FS-7405 to master

* commit 'a4ef9d6b':
  FS-7405: if all is required don't pass if total ne pass
......@@ -370,6 +370,12 @@ static int parse_exten(switch_core_session_t *session, switch_caller_profile_t *
if ((all && !fail) || (!all && pass)) {
anti_action = SWITCH_FALSE;
}
if (all && total != pass) {
proceed = 1;
pass = 0;
fail++;
anti_action = SWITCH_TRUE;
}
}
switch_safe_free(field_expanded);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论