提交 b0fc1d8f authored 作者: Georgiewskiy Yuriy's avatar Georgiewskiy Yuriy

fix small interoperability issues if remote endpoint send progress twice

上级 c3cbb3df
fix small interoperability issues if remote endpoint send progress twice
make sure dtmfinband gets initialized
make gk-identifier and gk-interface settings optional (documentation sayed that about gk-identifier already)
fix race condition on destroying signaling thread in h323 library
......
......@@ -1138,8 +1138,7 @@ bool FSH323Connection::OnAlerting(const H323SignalPDU &alertingPDU, const PStrin
{
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG,"======>PFSH323Connection::OnAlerting user = %s [%p]\n",(const char *)user,this);
unsigned pi;
switch_status_t status = switch_channel_mark_ring_ready(m_fsChannel);
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG,"----------->OnAlerting return = %d\n",status);
switch_channel_mark_ring_ready(m_fsChannel);
if (!alertingPDU.GetQ931().GetProgressIndicator(pi))
pi = 0;
......@@ -1151,7 +1150,7 @@ bool FSH323Connection::OnAlerting(const H323SignalPDU &alertingPDU, const PStrin
m_ChannelProgress = true;
}
}
return ( status == SWITCH_STATUS_SUCCESS);
return H323Connection::OnAlerting(alertingPDU,user);
}
void FSH323Connection::AnsweringCall(AnswerCallResponse response)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论