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

FreeSWITCH SVN mikej at freeswitch.org
Thu Feb 12 13:07:50 PST 2009


Author: mikej
Date: Thu Feb 12 15:07:50 2009
New Revision: 11941

Log:
Wed Feb 11 14:51:48 CST 2009  Pekka Pessi <first.last at nokia.com>
  * nua_i_network_changed: use NUTAG_DETECT_NETWORK_UPDATES() preference



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

Modified: freeswitch/trunk/libs/sofia-sip/.update
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/.update	(original)
+++ freeswitch/trunk/libs/sofia-sip/.update	Thu Feb 12 15:07:50 2009
@@ -1 +1 @@
-Thu Feb 12 15:07:01 CST 2009
+Thu Feb 12 15:07:42 CST 2009

Modified: freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua/nua_register.c
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua/nua_register.c	(original)
+++ freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua/nua_register.c	Thu Feb 12 15:07:50 2009
@@ -1232,7 +1232,9 @@
 void nua_network_changed_cb(nua_t *nua, su_root_t *root)
 {
 
-  uint32_t nw_updates = NUA_NW_DETECT_TRY_FULL;
+  uint32_t nw_updates;
+
+  nw_updates = nua->nua_prefs->ngp_detect_network_updates;
 
   switch (nw_updates) {
   case NUA_NW_DETECT_ONLY_INFO:



More information about the Freeswitch-svn mailing list