Re: [sipcore] draft-ietf-sipcore-keep - Peter's comments

Christer Holmberg <christer.holmberg@ericsson.com> Tue, 03 August 2010 16:15 UTC

Return-Path: <christer.holmberg@ericsson.com>
X-Original-To: sipcore@core3.amsl.com
Delivered-To: sipcore@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B16F03A6A8C for <sipcore@core3.amsl.com>; Tue, 3 Aug 2010 09:15:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.611
X-Spam-Level:
X-Spam-Status: No, score=-3.611 tagged_above=-999 required=5 tests=[AWL=-1.012, BAYES_00=-2.599]
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 x3IUx1nqP2+p for <sipcore@core3.amsl.com>; Tue, 3 Aug 2010 09:15:39 -0700 (PDT)
Received: from mailgw9.se.ericsson.net (mailgw9.se.ericsson.net [193.180.251.57]) by core3.amsl.com (Postfix) with ESMTP id 432BE3A6A91 for <sipcore@ietf.org>; Tue, 3 Aug 2010 09:15:25 -0700 (PDT)
X-AuditID: c1b4fb39-b7b91ae000001aef-c6-4c5840b95da4
Received: from esessmw0184.eemea.ericsson.se (Unknown_Domain [153.88.253.125]) by mailgw9.se.ericsson.net (Symantec Mail Security) with SMTP id 14.D5.06895.9B0485C4; Tue, 3 Aug 2010 18:15:53 +0200 (CEST)
Received: from ESESSCMS0356.eemea.ericsson.se ([169.254.1.104]) by esessmw0184.eemea.ericsson.se ([153.88.115.81]) with mapi; Tue, 3 Aug 2010 18:15:52 +0200
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Paul Kyzivat <pkyzivat@cisco.com>
Date: Tue, 03 Aug 2010 18:13:51 +0200
Thread-Topic: [sipcore] draft-ietf-sipcore-keep - Peter's comments
Thread-Index: AcszJp40oaBqAaYQRaGtI58aqtvhfwAAD7QT
Message-ID: <7F2072F1E0DE894DA4B517B93C6A05850B5C40@ESESSCMS0356.eemea.ericsson.se>
References: <7F2072F1E0DE894DA4B517B93C6A05850B5C23@ESESSCMS0356.eemea.ericsson.se> <7F2072F1E0DE894DA4B517B93C6A05850CA572@ESESSCMS0356.eemea.ericsson.se>, <4C5821D6.6030907@cisco.com> <7F2072F1E0DE894DA4B517B93C6A05850B5C3B@ESESSCMS0356.eemea.ericsson.se>, <4C583887.8030700@cisco.com> <7F2072F1E0DE894DA4B517B93C6A05850B5C3E@ESESSCMS0356.eemea.ericsson.se>, <4C583FD3.6060901@cisco.com>
In-Reply-To: <4C583FD3.6060901@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Brightmail-Tracker: AAAAAA==
Cc: SIPCORE <sipcore@ietf.org>, Peter Musgrave <peter.musgrave@magorcorp.com>
Subject: Re: [sipcore] draft-ietf-sipcore-keep - Peter's comments
X-BeenThere: sipcore@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SIP Core Working Group <sipcore.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sipcore>, <mailto:sipcore-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sipcore>
List-Post: <mailto:sipcore@ietf.org>
List-Help: <mailto:sipcore-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sipcore>, <mailto:sipcore-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Aug 2010 16:15:40 -0000

Hi,

>This text seems ok to me, though I haven't evaluated it in the context
>of the draft as a whole. We'll see how it all comes together.

Sure. I will put together a new version as soon as we seem to have a common view on the principles. It is then easier to do the editorial stuff once we have everything on the table.

Regards,

Christer


Christer Holmberg wrote:
> Hi,
>
>>>>>>> I have read draft-ietf-sipcore-keep in detail for the first time.
>>>>>>>
>>>>>>> I have one questions and some Nits.
>>>>>>>
>>>>>>> Question: 7.3 Should the TRYING (not shown) from P1 to Alice have
>>>>>>> keep=30 in it? What if the 200 OK takes e.g. longer than 30sec and the
>>>>>>> NAT pinhole closes?
>>>>>> It is true that the flow only shows the 200 OK, but the text
>>>>>> in section 4.4 responses in general.
>>>>>>
>>>>>> I guess we could add some text that points out that the keep
>>>>>> value should be sent as soon as possible, as it may take a
>>>>>> while before the final response is sent.
>>>>> What about the following new text in section 4.4.
>>>>>
>>>>>       "In the case of an INVITE request, if a SIP entity sends or forwards multiple responses (provisional and final) associated with the
>>>>>       request, and it indicates willingness to receive keep-alives, it only needs to insert a "keep" parameter value in one of the responses. The
>>>>>       SIP entity SHOULD indicate the willingess to receive keep-alives as soon as possible."
>>>> You really need to consider reliable and unreliable provisionals separately.
>>>>
>>>> Either restrict to reliable responses (provisional or final), or else
>>>> allow in unreliable provisionals preceding a reliable response. (Which
>>>> might get it going sooner.)
>>>>
>>>> As we have seen with o/a, allowing in unreliable provisionals introduces
>>>> complications, especially when changing values are used.
>>> You are right. I was thinking about that, but must have forgot when I put the text together...
>>>
>>> The text should say that the parameter needs to be inserted in at least one response that is sent reliably. I see no reason to forbid to, in addition, also include it in unreliable responses.
>>>
>>> So, something like:
>>>
>>>        "In the case of an INVITE request, if a SIP entity sends or forwards multiple responses (provisional and final) associated with the
>>>        request, and it indicates willingness to receive keep-alives, it only needs to insert a "keep" parameter value in one response that is sent
>>>        reliably. The SIP entity MAY insert the parameter value also in other responses (relaible and unreliable) associated with the request.
>>>       The SIP entity SHOULD indicate the willingess to receive keep-alives as soon as possible."
>> You have to be very careful with the wording here.
>> (Speaking after bad experience with o/a.) The above doesn't say that the
>> value must be the same if sent more than once, or what should happen if
>> it is not the same. How about:
>>
>> "A SIP entity receiving an initial INVITE request and wishing to
>> indicate a willingness to receive keep-alives, MUST insert a "keep"
>> parameter value in one reliable response to the INVITE. The SIP entity
>> MAY insert an identical "keep" parameter value in other responses to the
>> same INVITE. The SIP entity MUST NOT insert "keep" parameters with
>> differing values in responses to a single INVITE. The SIP entity SHOULD
>> indicate the willingness to receive keep-alives as soon as possible."
>
> Looks good. I did some editorial changes, to allign with the style in the rest of the documents. I also changed the text a little, to make sure it doesn't look like an INVITE response is the only way of indicating willingess to receive keep-alives.
>
> Also, I removed "initial", because the negotion could take place in a target refresh re-INVITE (assuming no negotiation has taken place before that).
>
> How about:
>
> "When a SIP entity indicates willingness to receive keep-alives in a response to an INVITE request, it MUST insert a "keep" parameter in one reliable response to the INVITE.
> The SIP entity MAY insert an identical "keep" parameter value in other responses to the same INVITE. The SIP entity MUST NOT insert "keep" parameters with
> differing values in responses to a single INVITE. The SIP entity SHOULD indicate the willingness to receive keep-alives as soon as possible."
>
> Regards,
>
> Christer