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

FreeSWITCH SVN mikej at freeswitch.org
Tue Apr 7 13:53:42 PDT 2009


Author: mikej
Date: Tue Apr  7 15:53:42 2009
New Revision: 12941

Log:
temporary hack to ignore retry-after so we can avoid segfault (SFSIP-134)

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	Tue Apr  7 15:53:42 2009
@@ -1195,7 +1195,7 @@
     }
   }
 
-  if (500 <= status && status < 600 &&
+  if (0 && 500 <= status && status < 600 &&
       sip->sip_retry_after &&
       sip->sip_retry_after->af_delta < 32) {
     su_timer_t *timer;
@@ -1219,6 +1219,7 @@
     nua_client_report(cr, 100, phrase, NULL, orq, NULL);
     nta_outgoing_destroy(orq);
     cr->cr_status = 0, cr->cr_phrase = NULL;
+
     return 1;
   }
 



More information about the Freeswitch-svn mailing list