[Freeswitch-svn] [commit] r13064 - freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua

FreeSWITCH SVN mikej at freeswitch.org
Thu Apr 16 12:08:31 PDT 2009


Author: mikej
Date: Thu Apr 16 14:08:31 2009
New Revision: 13064

Log:
revert temporary hack

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

Modified: freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua/nua_client.c
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua/nua_client.c	(original)
+++ freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua/nua_client.c	Thu Apr 16 14:08:31 2009
@@ -1154,7 +1154,7 @@
   if (status == 423) {
     unsigned my_expires = 0;
 
-    if (cr->cr_sip && cr->cr_sip->sip_expires)
+    if (cr->cr_sip->sip_expires)
       my_expires = cr->cr_sip->sip_expires->ex_delta;
 
     if (sip->sip_min_expires &&
@@ -1209,8 +1209,7 @@
     }
   }
 
-  if (500 <= status && status < 600 &&
-	  cr->cr_sip &&
+  if (0 && 500 <= status && status < 600 &&
       sip->sip_retry_after &&
       sip->sip_retry_after->af_delta < 32) {
     su_timer_t *timer;



More information about the Freeswitch-svn mailing list