Re: [sipcore] Feature-Caps: Feature indications in 18x and 200

Christer Holmberg <christer.holmberg@ericsson.com> Mon, 07 November 2011 19:00 UTC

Return-Path: <christer.holmberg@ericsson.com>
X-Original-To: sipcore@ietfa.amsl.com
Delivered-To: sipcore@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1C32811E808E for <sipcore@ietfa.amsl.com>; Mon, 7 Nov 2011 11:00:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.325
X-Spam-Level:
X-Spam-Status: No, score=-6.325 tagged_above=-999 required=5 tests=[AWL=0.274, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id G9OiIlBFivGD for <sipcore@ietfa.amsl.com>; Mon, 7 Nov 2011 11:00:13 -0800 (PST)
Received: from mailgw9.se.ericsson.net (mailgw9.se.ericsson.net [193.180.251.57]) by ietfa.amsl.com (Postfix) with ESMTP id DC8CF21F8B45 for <sipcore@ietf.org>; Mon, 7 Nov 2011 11:00:12 -0800 (PST)
X-AuditID: c1b4fb39-b7b3eae00000252a-ec-4eb82abb51b3
Received: from esessmw0184.eemea.ericsson.se (Unknown_Domain [153.88.253.125]) by mailgw9.se.ericsson.net (Symantec Mail Security) with SMTP id 46.0C.09514.BBA28BE4; Mon, 7 Nov 2011 20:00:12 +0100 (CET)
Received: from ESESSCMS0356.eemea.ericsson.se ([169.254.1.57]) by esessmw0184.eemea.ericsson.se ([10.2.3.53]) with mapi; Mon, 7 Nov 2011 20:00:11 +0100
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: 'Paul Kyzivat' <pkyzivat@alum.mit.edu>, "sipcore@ietf.org" <sipcore@ietf.org>
Date: Mon, 07 Nov 2011 20:00:10 +0100
Thread-Topic: [sipcore] Feature-Caps: Feature indications in 18x and 200
Thread-Index: AcydfJpmGm8VUqHHSNmXQhCTzJnrXQAAUsIg
Message-ID: <7F2072F1E0DE894DA4B517B93C6A05852235789608@ESESSCMS0356.eemea.ericsson.se>
References: <7F2072F1E0DE894DA4B517B93C6A05852235962788@ESESSCMS0356.eemea.ericsson.se> <BBF5DDFE515C3946BC18D733B20DAD23067A5B@XMB105ADS.rim.net> <7F2072F1E0DE894DA4B517B93C6A058522357173BF@ESESSCMS0356.eemea.ericsson.se> <89FD9FEC-0A17-4C3A-B337-8D87F6D617FE@acmepacket.com>, <EDC0A1AE77C57744B664A310A0B23AE22186A5D4@FRMRSSXCHMBSC3.dc-m.alcatel-lucent.com> <7F2072F1E0DE894DA4B517B93C6A058522357173C3@ESESSCMS0356.eemea.ericsson.se> <C768D365-B06F-4451-A6ED-35AE0CCFB40B@acmepacket.com> <7F2072F1E0DE894DA4B517B93C6A05852235963132@ESESSCMS0356.eemea.ericsson.se> <4EB825E3.6060902@alum.mit.edu>
In-Reply-To: <4EB825E3.6060902@alum.mit.edu>
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==
Subject: Re: [sipcore] Feature-Caps: Feature indications in 18x and 200
X-BeenThere: sipcore@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: SIP Core Working Group <sipcore.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/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: Mon, 07 Nov 2011 19:00:14 -0000

Hi, 

>>>> If an entity receives different values in responses associated with 
>>>> the same dialog, an error case has occured (as the sender should not 
>>>> send different values for the same dialog).
>>>>
>>>> So, we can either say that the first response with Feature-Caps is 
>>>> taken as definitive, or we can say that the Feature-Caps in 2xx is 
>>>> taken as definitive, because for a given dialog they should always 
>>>> be the same.
>>>
>>> Right, so I agree with Keith that the 2xx should win.
>
> I generally have some discomfort with specifying the behavior of a recipient upon receiving 
> invalid input. Doing so tacitly gives the sender permission to send in this way, because the behavior is defined. 
> If we are to define how this case is handled we might as well make it valid behavior.

Correct. As you say, if this happens, the sender does something wrong, so no matter what we specify for the receiver, 
I don't think we can ensure that the sender and receiver will have a common understanding.

The same applies for Info Packages, and for that we don't specify any receiver procedures for such error case either.

> So at least I would prefer to have the behavior in this case be non-normative.
>
> The reason for sending multiple times can be to get it there asap and still ensure it gets 
> there when the provisionals are unreliable. But its worth considering what to do when the 
> value is send in a *reliable* provisional.

The text currently says that the header field has to be sent in a reliable response, but of course we can allow it also
in unreliable responses - as long as it is sent at least in one reliable response.

> The text below talks about a single transaction. But it seems the intent is to establish 
> state the lasts for the duration of a dialog (or a registration).
>
> ISTM that it should probably be ok to change the value for a dialog via a reliable request 
> or response withing the dialog. (And for a registration via a registration update.) That 
> would cover the 3pcc cases.

Correct, and based on your earlier comments I have suggested text for that in another 
thread ([sipcore] Feature-Caps: Feature indication in target refresh request).

The text we are discussing now only covers multiple responses for a single transaction.

> While obscure, IMO that would mean that after establishing a value with a reliable provisional, you should then be
> able to change it in another reliable provisional or the 2xx. (And maybe in an UPDATE.)

The text I've suggested states that the change must be done using a target refresh request.

If you want to discuss that, let's do it in the other thread :)

Regards,

Christer



> So, I have done some additions (<addition>) to the suggested text:
>
> 	"An entity can include the same Feature-Caps
> 	header field value in multiple responses (18x/2xx)
> 	for the same INVITE/re-INVITE transaction, but for a
> 	given dialog the entity MUST use the same Feature-Caps
> 	header field value (if included) in all responses for
> 	the same transaction. In addition, if an entity includes
> 	a Feature-Caps header field in a 18x response, for the
> 	given dialog it MUST include the header field in all
> 	subsequent 18x responses, and the 2xx response, for the
> 	same transaction.<addition>  If an entity, for a given dialog,
>        receives different Feature-Caps header field values in
> 	responses to the same transaction (this would not happen in
> 	normal operations), it MUST use the latest header field
> 	values as the valid one.</addition>"
>
> Regards,
>
> Christer
> _______________________________________________
> sipcore mailing list
> sipcore@ietf.org
> https://www.ietf.org/mailman/listinfo/sipcore
>

_______________________________________________
sipcore mailing list
sipcore@ietf.org
https://www.ietf.org/mailman/listinfo/sipcore