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

FreeSWITCH SVN mikej at freeswitch.org
Tue Dec 16 12:47:19 PST 2008


Author: mikej
Date: Tue Dec 16 15:47:18 2008
New Revision: 10827

Log:
Wed Nov 26 12:58:40 CST 2008  Pekka Pessi <first.last at nokia.com>
  * nua_session.c: changing session expiration time to follow spirit (not only letter) of RFC 4028
  
  Change suggested 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	Tue Dec 16 15:47:18 2008
@@ -1 +1 @@
-Tue Dec 16 14:33:26 CST 2008
+Tue Dec 16 14:46:55 CST 2008

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	Tue Dec 16 15:47:18 2008
@@ -4412,7 +4412,7 @@
        interval is RECOMMENDED. */
     unsigned interval = t->interval;
 
-    interval -= 32 > interval / 6 ? interval / 3 : 32 + interval / 3;
+    interval -= 32 > interval / 3 ? interval / 3 : 32;
 
     nua_dialog_usage_set_refresh_range(du, interval, interval);
     t->timer_set = 1;



More information about the Freeswitch-svn mailing list