提交 0559cc50 authored 作者: Anthony Minessale's avatar Anthony Minessale 提交者: Brian West

fix att_xfer reported by woody dickson on the mailing list

上级 dfa78985
......@@ -1066,11 +1066,17 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_eavesdrop_session(switch_core_session
switch_core_session_message_t msg = { 0 };
char cid_buf[1024] = "";
switch_caller_profile_t *cp = NULL;
uint32_t sanity = 600;
if (!switch_channel_media_ready(channel)) {
goto end;
}
while(switch_channel_state_change_pending(tchannel)) {
switch_yield(10000);
if (!--sanity) break;
}
if (!switch_channel_media_ready(tchannel)) {
goto end;
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论