Re: [Sip] Possible bug in "Non-INVITE Client Transaction" - 17.1.2.2

Dean Willis <dean.willis@softarmor.com> Fri, 08 April 2011 04:11 UTC

Return-Path: <dean.willis@softarmor.com>
X-Original-To: sip@core3.amsl.com
Delivered-To: sip@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 2ACEF3A6A36 for <sip@core3.amsl.com>; Thu, 7 Apr 2011 21:11:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -103.369
X-Spam-Level:
X-Spam-Status: No, score=-103.369 tagged_above=-999 required=5 tests=[AWL=-0.070, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_LOW=-1, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xuLipPjJJ84w for <sip@core3.amsl.com>; Thu, 7 Apr 2011 21:11:41 -0700 (PDT)
Received: from mail-yi0-f44.google.com (mail-yi0-f44.google.com [209.85.218.44]) by core3.amsl.com (Postfix) with ESMTP id 0919C3A6784 for <sip@ietf.org>; Thu, 7 Apr 2011 21:11:40 -0700 (PDT)
Received: by yic13 with SMTP id 13so1540223yic.31 for <sip@ietf.org>; Thu, 07 Apr 2011 21:13:24 -0700 (PDT)
Received: by 10.236.106.198 with SMTP id m46mr2048036yhg.191.1302236004696; Thu, 07 Apr 2011 21:13:24 -0700 (PDT)
Received: from [192.168.2.126] (cpe-66-25-14-128.tx.res.rr.com [66.25.14.128]) by mx.google.com with ESMTPS id p3sm1081982yhp.89.2011.04.07.21.13.22 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 07 Apr 2011 21:13:23 -0700 (PDT)
References: <BANLkTimgohzMAtinJutHfeDRETduGzjZvg@mail.gmail.com>
In-Reply-To: <BANLkTimgohzMAtinJutHfeDRETduGzjZvg@mail.gmail.com>
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset="iso-8859-1"
Message-Id: <4CE3ABC5-E50D-4EA9-B8C1-09991BC00E0A@softarmor.com>
Content-Transfer-Encoding: quoted-printable
From: Dean Willis <dean.willis@softarmor.com>
Date: Thu, 07 Apr 2011 23:13:21 -0500
To: Iñaki Baz Castillo <ibc@aliax.net>
X-Mailer: Apple Mail (2.1084)
Cc: sip@ietf.org
Subject: Re: [Sip] Possible bug in "Non-INVITE Client Transaction" - 17.1.2.2
X-BeenThere: sip@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Session Initiation Protocol <sip.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sip>, <mailto:sip-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sip>
List-Post: <mailto:sip@ietf.org>
List-Help: <mailto:sip-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sip>, <mailto:sip-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Apr 2011 04:11:42 -0000

On Apr 6, 2011, at 11:36 AM, Iñaki Baz Castillo wrote:

...

> IMHO the text should say:
> 
>   If timer E fires while still in this state,
>   the timer is reset, but this time with a value of MIN(2*TIMER_E, T2).
> 
> And remove the line about "When the timer fires again, it is reset to
> a MIN(4*T1, T2)
> 
> So we get:
> 
> Timer E:
> - Initially => T1 = 0.5s
> - Fires    => MIN(2*TIMER_E, T2) = 1s
> - Fires    => MIN(2*TIMER_E, T2) = 2s
> - Fires    => MIN(2*TIMER_E, T2) = 4s
> - Fires    => MIN(2*TIMER_E, T2) = 4s
> 
> Am I wrong? Thanks a lot.
> 

I think you're right that the spec is written incorrectly. I believe it should describe that the multiplier on T1 doubles with each reset. This is not clear in the existing text. So for example, if 8*T1 < T2, then the third reset is 8*T1, and if 16*T1 < T2, then the 4th reset is 16*T2

Otherwise said, MIN(2^N*T1,T2) where N is the repetition iterator.

> 
> PS: Sorry for the cross-posting, I don't know which maillist is better
> to report it.

sipcore@ietf.org would probably be the right place.

--
Dean