提交 7346263d authored 作者: Michael Jerris's avatar Michael Jerris

fix sip session timers on inbound calls when setting from profile param.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8005 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 292138a7
......@@ -326,7 +326,7 @@ static switch_status_t sofia_answer_channel(switch_core_session_t *session)
private_object_t *tech_pvt = (private_object_t *) switch_core_session_get_private(session);
switch_channel_t *channel = switch_core_session_get_channel(session);
switch_status_t status;
uint32_t session_timeout = 0;
uint32_t session_timeout = tech_pvt->profile->session_timeout;
const char *val;
if (switch_test_flag(tech_pvt, TFLAG_ANS) || switch_channel_test_flag(channel, CF_OUTBOUND)) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论