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

FreeSWITCH SVN mikej at freeswitch.org
Wed Feb 11 08:52:40 PST 2009


Author: mikej
Date: Wed Feb 11 10:52:40 2009
New Revision: 11808

Log:
Fri Jan  9 13:26:53 CST 2009  Paulo Pizarro <paulo DOT pizarro AT gmail DOT com>
  * nta.c: do not restart timer E when provisional response is received
  
  According to the (informational) RFC 4321 section 1.2 Timer E is not altered
  during the transition to Proceeding.



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

Modified: freeswitch/trunk/libs/sofia-sip/.update
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/.update	(original)
+++ freeswitch/trunk/libs/sofia-sip/.update	Wed Feb 11 10:52:40 2009
@@ -1 +1 @@
-Wed Feb 11 10:52:05 CST 2009
+Wed Feb 11 10:52:32 CST 2009

Modified: freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nta/nta.c
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nta/nta.c	(original)
+++ freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nta/nta.c	Wed Feb 11 10:52:40 2009
@@ -9027,10 +9027,14 @@
       if (status < 200) {
 	/* @RFC3261 17.1.2.1:
 	 * retransmissions continue for unreliable transports,
-	 * but at an interval of T2
-	 */
-	if (!orq->orq_reliable)
-	  outgoing_set_timer(orq, sa->sa_t2);
+	 * but at an interval of T2.
+	 *
+         * @RFC4321 1.2:
+         * Note that Timer E is not altered during the transition
+         * to Proceeding.
+         */
+ 	if (!orq->orq_reliable)
+	  orq->orq_interval = sa->sa_t2;
       }
       else if (!outgoing_complete(orq)) {
 	if (orq->orq_sigcomp_zap && orq->orq_tport && orq->orq_cc)



More information about the Freeswitch-svn mailing list