提交 c2f5696a authored 作者: Michael Jerris's avatar Michael Jerris

Mon Jan 5 06:31:12 CST 2009 Pekka Pessi <first.last@nokia.com>

  * nua_session.c: default to initiate session refreshes
  
  Use local refresher unless remote end explicitly indicates that it takes
  care of refreshing the session. Bug reported and initial patch by Timo
  Bruhn.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11771 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 751c24f7
Wed Feb 11 10:11:23 CST 2009
Wed Feb 11 10:12:26 CST 2009
......@@ -4428,10 +4428,9 @@ void session_timer_negotiate(struct session_timer *t)
t->refresher = nua_local_refresher;
else if (t->remote.refresher == nua_remote_refresher)
t->refresher = nua_remote_refresher;
else if (t->local.refresher == nua_local_refresher)
t->refresher = nua_local_refresher;
else
t->refresher = nua_remote_refresher;
/* Default to initiate refreshes */
t->refresher = nua_local_refresher;
t->interval = t->remote.expires;
if (t->interval == 0)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论