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

fix backwards call in mod_loopback

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11288 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 0e4a051e
......@@ -610,14 +610,14 @@ static switch_status_t channel_receive_message(switch_core_session_t *session, s
case SWITCH_MESSAGE_INDICATE_ANSWER:
if (tech_pvt->other_channel) {
if (switch_test_flag(tech_pvt, TFLAG_OUTBOUND)) {
switch_channel_answer(tech_pvt->other_channel);
switch_channel_mark_answered(tech_pvt->other_channel);
}
}
break;
case SWITCH_MESSAGE_INDICATE_PROGRESS:
if (tech_pvt->other_channel) {
if (switch_test_flag(tech_pvt, TFLAG_OUTBOUND)) {
switch_channel_pre_answer(tech_pvt->other_channel);
switch_channel_mark_pre_answered(tech_pvt->other_channel);
}
}
break;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论