]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Fri Jan 9 13:26:53 CST 2009 Paulo Pizarro <paulo DOT pizarro AT gmail DOT com>
authorMichael Jerris <mike@jerris.com>
Wed, 11 Feb 2009 16:52:40 +0000 (16:52 +0000)
committerMichael Jerris <mike@jerris.com>
Wed, 11 Feb 2009 16:52:40 +0000 (16:52 +0000)
  * 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.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11808 d0543943-73ff-0310-b7d9-9358b9ac24b2

libs/sofia-sip/.update
libs/sofia-sip/libsofia-sip-ua/nta/nta.c

index 0f6f2ce1dd02ffc684660f024ded66e64219542a..c18d7365989b1348b3514251edbff98c8017b97c 100644 (file)
@@ -1 +1 @@
-Wed Feb 11 10:52:05 CST 2009
+Wed Feb 11 10:52:32 CST 2009
index eb4c7626e1c8611f2f794095faf2f0e6ec2818b5..f49106eab7b31d6450b5e4d035681f26d9d796a9 100644 (file)
@@ -9027,10 +9027,14 @@ int outgoing_recv(nta_outgoing_t *orq,
       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)