提交 61e9cb99 authored 作者: Anthony Minessale's avatar Anthony Minessale

pass flush indications across to the b leg

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13146 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 5adbb63d
......@@ -702,6 +702,11 @@ static switch_status_t channel_receive_message(switch_core_session_t *session, s
switch_frame_t *frame = (switch_frame_t *) pop;
switch_frame_free(&frame);
}
/* avoid endless loop by not forwarding it when it came from this same place */
if (tech_pvt->other_session && strcmp(msg->_file, __FILE__)) {
/* pass message over to the other leg */
switch_core_session_receive_message(tech_pvt->other_session, msg);
}
}
break;
default:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论