提交 90297aa7 authored 作者: Anthony Minessale's avatar Anthony Minessale

update

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3213 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 da76d932
......@@ -1932,7 +1932,8 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess
if ((time(NULL) - start) > (time_t)timelimit_sec) {
to++;
break;
idx = IDX_CANCEL;
goto notready;
}
switch_yield(1000);
}
......@@ -1978,7 +1979,8 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess
check_channel_status(peer_channels, peer_sessions, and_argc, &idx, file, key)) {
if ((to = (uint8_t)((time(NULL) - start) >= (time_t)timelimit_sec))) {
break;
idx = IDX_CANCEL;
goto notready;
}
if (session && or_argc == 1 && and_argc == 1) { /* when there is only 1 channel to call and bridge */
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论