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

Paul Kyzivat <pkyzivat@alum.mit.edu> Mon, 07 November 2011 18:39 UTC

Return-Path: <pkyzivat@alum.mit.edu>
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 0920A11E808E for <sipcore@ietfa.amsl.com>; Mon, 7 Nov 2011 10:39:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.403
X-Spam-Level:
X-Spam-Status: No, score=-2.403 tagged_above=-999 required=5 tests=[AWL=0.196, BAYES_00=-2.599]
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 GuwxUdLB+UC5 for <sipcore@ietfa.amsl.com>; Mon, 7 Nov 2011 10:39:33 -0800 (PST)
Received: from qmta12.westchester.pa.mail.comcast.net (qmta12.westchester.pa.mail.comcast.net [76.96.59.227]) by ietfa.amsl.com (Postfix) with ESMTP id 4734711E8081 for <sipcore@ietf.org>; Mon, 7 Nov 2011 10:39:33 -0800 (PST)
Received: from omta21.westchester.pa.mail.comcast.net ([76.96.62.72]) by qmta12.westchester.pa.mail.comcast.net with comcast id uGvp1h00F1ZXKqc5CJfZFF; Mon, 07 Nov 2011 18:39:33 +0000
Received: from Paul-Kyzivats-MacBook-Pro.local ([24.62.229.5]) by omta21.westchester.pa.mail.comcast.net with comcast id uJfZ1h01007duvL3hJfZvi; Mon, 07 Nov 2011 18:39:33 +0000
Message-ID: <4EB825E3.6060902@alum.mit.edu>
Date: Mon, 07 Nov 2011 13:39:31 -0500
From: Paul Kyzivat <pkyzivat@alum.mit.edu>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1
MIME-Version: 1.0
To: sipcore@ietf.org
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>
In-Reply-To: <7F2072F1E0DE894DA4B517B93C6A05852235963132@ESESSCMS0356.eemea.ericsson.se>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
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 18:39:34 -0000

On 11/7/11 3:25 AM, Christer Holmberg wrote:
> 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.

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 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.

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.)

	Thanks,
	Paul


> 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
>