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
This commit is contained in:
parent
751c24f73b
commit
c2f5696a8a
|
@ -1 +1 @@
|
|||
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)
|
||||
|
|
Loading…
Reference in New Issue