[Freeswitch-svn] [commit] r11771 - in freeswitch/trunk/libs/sofia-sip: . libsofia-sip-ua/nua

FreeSWITCH SVN mikej at freeswitch.org
Wed Feb 11 08:12:35 PST 2009


Author: mikej
Date: Wed Feb 11 10:12:35 2009
New Revision: 11771

Log:
Mon Jan  5 06:31:12 CST 2009  Pekka Pessi <first.last at 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.



Modified:
   freeswitch/trunk/libs/sofia-sip/.update
   freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua/nua_session.c

Modified: freeswitch/trunk/libs/sofia-sip/.update
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/.update	(original)
+++ freeswitch/trunk/libs/sofia-sip/.update	Wed Feb 11 10:12:35 2009
@@ -1 +1 @@
-Wed Feb 11 10:11:23 CST 2009
+Wed Feb 11 10:12:26 CST 2009

Modified: freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua/nua_session.c
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua/nua_session.c	(original)
+++ freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua/nua_session.c	Wed Feb 11 10:12:35 2009
@@ -4428,10 +4428,9 @@
     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)



More information about the Freeswitch-svn mailing list