Re: [Sip] Possible semantic confusion w/ bodies in subscribes

Adam Roach <adam@nostrum.com> Wed, 02 July 2008 17:50 UTC

Return-Path: <sip-bounces@ietf.org>
X-Original-To: sip-archive@optimus.ietf.org
Delivered-To: ietfarch-sip-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 320573A695C; Wed, 2 Jul 2008 10:50:54 -0700 (PDT)
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 4B3693A6879 for <sip@core3.amsl.com>; Wed, 2 Jul 2008 10:50:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, SPF_PASS=-0.001]
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 IPVRdO2QXVrs for <sip@core3.amsl.com>; Wed, 2 Jul 2008 10:50:52 -0700 (PDT)
Received: from nostrum.com (unknown [IPv6:2001:470:1f03:267::2]) by core3.amsl.com (Postfix) with ESMTP id 607833A695C for <sip@ietf.org>; Wed, 2 Jul 2008 10:50:50 -0700 (PDT)
Received: from dn3-231.estacado.net (vicuna-alt.estacado.net [75.53.54.121]) (authenticated bits=0) by nostrum.com (8.14.2/8.14.1) with ESMTP id m62HosOC069919 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 2 Jul 2008 12:50:54 -0500 (CDT) (envelope-from adam@nostrum.com)
Message-ID: <486BC00B.1000700@nostrum.com>
Date: Wed, 02 Jul 2008 12:51:07 -0500
From: Adam Roach <adam@nostrum.com>
User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421)
MIME-Version: 1.0
To: Robert Sparks <rjsparks@nostrum.com>
References: <4E79ABB2-D399-4507-991D-6AB9660A3AC8@nostrum.com>
In-Reply-To: <4E79ABB2-D399-4507-991D-6AB9660A3AC8@nostrum.com>
Received-SPF: pass (nostrum.com: 75.53.54.121 is authenticated by a trusted mechanism)
X-Virus-Scanned: ClamAV 0.93.1/7619/Wed Jul 2 12:29:59 2008 on shaman.nostrum.com
X-Virus-Status: Clean
Cc: "SIP@ietf.org List" <sip@ietf.org>, Adam Roach <adam@estacado.net>
Subject: Re: [Sip] Possible semantic confusion w/ bodies in subscribes
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-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>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Sender: sip-bounces@ietf.org
Errors-To: sip-bounces@ietf.org

On 6/30/08 1:15 PM, Robert Sparks wrote:
> All (but particularly Jari and Adam) :
>
> What does the body of a request mean if you get a SUBSCRIBE to the 
> "xcap-diff" event, and that subscribe
> contains a Require: recipient-list-subscribe ?
>
> I think we may have created some ambiguity here. If I'm wrong and it's 
> clear, where is it captured in the documents? 

This line of questioning actually touches on two different issues -- 
disambiguation between the bodies of ad-hoc subscriptions and XCAP diff 
subscriptions, and conveying XCAP diff subscriptions in ad-hoc lists. In 
response to Robert's query, I'm proposing a set of actions to address 
both cases.

   1. The draft-ietf-sipping-uri-services document (which forms the
      basis for the ad-hoc SUBSCRIBE list usage Robert is referring to
      above) includes a Content-Disposition field that must be set to
      "recipient-list" for the various ad-hoc list uses. This should be
      sufficient to disambiguate between ad-hoc list usage and XCAP diff
      subscriptions.

          * For the purpose of clarity (and, coincidentally, to address
            an IESG comment), we will be updating the definition of the 
            "recipient-list" content disposition to read: "The body
            contains a list of URIs to which URI-List Services are to be
            applied."

          * For additional clarity and some level of consistency, I
            would *STRONGLY* recommend that the XCAP diff event package
            define a "Content-Disposition" field specific to its use of
            the "application/resource-lists+xml" MIME type.

   2. Although this answer ("use Content-Disposition") addresses the
      ambiguity that Robert had been worried about, it doesn't address
      the implied question about how one combines ad-hoc list usage with
      XCAP diff subscriptions. In fact, this can be generalized to:
      "when using ad-hoc list subscriptions, how does one convey the
      information that would usually go in the SUBSCRIBE bodies?" This
      is something we didn't actually consider in
      draft-ietf-sip-uri-list-subscribe. To address this issue, I have
      put together a proposal for conveying this information in ad-hoc
      list subscriptions:

       
      <http://www.ietf.org/internet-drafts/draft-roach-sip-list-subscribe-bodies-00.txt>

Comments on the proposed solutions -- and the draft in particular -- are 
appreciated.

/a
_______________________________________________
Sip mailing list  https://www.ietf.org/mailman/listinfo/sip
This list is for NEW development of the core SIP Protocol
Use sip-implementors@cs.columbia.edu for questions on current sip
Use sipping@ietf.org for new developments on the application of sip