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

FreeSWITCH SVN mikej at freeswitch.org
Wed Feb 11 09:18:14 PST 2009


Author: mikej
Date: Wed Feb 11 11:18:14 2009
New Revision: 11854

Log:
Wed Jan 28 12:07:53 CST 2009  Pekka Pessi <first.last at nokia.com>
  * outbound.c: make outbound timer deferrable
  



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

Modified: freeswitch/trunk/libs/sofia-sip/.update
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/.update	(original)
+++ freeswitch/trunk/libs/sofia-sip/.update	Wed Feb 11 11:18:14 2009
@@ -1 +1 @@
-Wed Feb 11 11:17:39 CST 2009
+Wed Feb 11 11:18:06 CST 2009

Modified: freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua/outbound.c
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua/outbound.c	(original)
+++ freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua/outbound.c	Wed Feb 11 11:18:14 2009
@@ -684,9 +684,11 @@
   if (ob->ob_keepalive.timer)
     su_timer_destroy(ob->ob_keepalive.timer), ob->ob_keepalive.timer = NULL;
 
-  if (interval)
+  if (interval) {
     ob->ob_keepalive.timer =
       su_timer_create(su_root_task(ob->ob_root), interval);
+    su_timer_deferrable(ob->ob_keepalive.timer, 1);
+  }
 
   ob->ob_keepalive.interval = interval;
 



More information about the Freeswitch-svn mailing list