Re: [sipcore] composition or just indirection (was: location-conveyance-03 just submitted)
"James M. Polk" <jmpolk@cisco.com> Tue, 20 July 2010 01:56 UTC
Return-Path: <jmpolk@cisco.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 9360D3A6BD9 for <sipcore@core3.amsl.com>; Mon, 19 Jul 2010 18:56:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.634
X-Spam-Level:
X-Spam-Status: No, score=-9.634 tagged_above=-999 required=5 tests=[AWL=-0.431, BAYES_00=-2.599, MIME_QP_LONG_LINE=1.396, RCVD_IN_DNSWL_HI=-8]
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 io7sk3ZHwAOr for <sipcore@core3.amsl.com>; Mon, 19 Jul 2010 18:56:01 -0700 (PDT)
Received: from sj-iport-2.cisco.com (sj-iport-2.cisco.com [171.71.176.71]) by core3.amsl.com (Postfix) with ESMTP id 9423C3A6BD3 for <sipcore@ietf.org>; Mon, 19 Jul 2010 18:56:01 -0700 (PDT)
Authentication-Results: sj-iport-2.cisco.com; dkim=neutral (message not signed) header.i=none
Received: from sj-core-3.cisco.com ([171.68.223.137]) by sj-iport-2.cisco.com with ESMTP; 20 Jul 2010 01:23:09 +0000
Received: from jmpolk-wxp01.cisco.com (rcdn-jmpolk-8714.cisco.com [10.99.80.21]) by sj-core-3.cisco.com (8.13.8/8.14.3) with ESMTP id o6K1N8PU005489; Tue, 20 Jul 2010 01:23:08 GMT
Message-Id: <201007200123.o6K1N8PU005489@sj-core-3.cisco.com>
X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9
Date: Mon, 19 Jul 2010 20:23:07 -0500
To: "Richard L. Barnes" <rbarnes@bbn.com>, "Peterson, Jon" <jon.peterson@neustar.biz>
From: "James M. Polk" <jmpolk@cisco.com>
In-Reply-To: <605CEAA0-91F5-4860-A2B6-7E1BAFD3D847@bbn.com>
References: <C86A11BF.41D5D%jon.peterson@neustar.biz> <605CEAA0-91F5-4860-A2B6-7E1BAFD3D847@bbn.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"; format="flowed"
Content-Transfer-Encoding: quoted-printable
Cc: Roger Marshall <RMarshall@telecomsys.com>, "sipcore@ietf.org" <sipcore@ietf.org>, "Thomson, Martin" <Martin.Thomson@andrew.com>
Subject: Re: [sipcore] composition or just indirection (was: location-conveyance-03 just submitted)
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, 20 Jul 2010 01:56:03 -0000
Richard Let's not forget the cost of having more than one document in terms of additive bytes in the request. Adding another <geopriv> or <device> element is not that much more data, whereas adding a second or third PIDF would be a lot more. James At 04:44 PM 7/19/2010, Richard L. Barnes wrote: >While it's correct to say that one presence >document describes a single entity, it's not >necessarily true that multiple presence >documents describe multiple >entities. Regardless of how we define the >entity in the session that is the target (IIRC, >earlier versions said something like "the UAC >that initiated the dialogue"), it seems >plausible that different entities processing a >SIP message might have different ideas as to the >location of the target. In this case, it would >seem plausible to have multiple location objects >in a single message, all of which have the >semantic that they're describing the location of >the target (however the target is coupled to the session). > >Speaking more practically, if we accept the >assertion that multiple location values will be >necessary (whether in a single document or not), >then it seems much cleaner to have them in >separate presence documents, with separate CID >URIs. I don't really see any reason for any of >this to call for more than one Geolocation >header, since you can just add more URIs. > > > >On Jul 19, 2010, at 5:29 PM, Peterson, Jon wrote: > >> >>Im sure were all going to have to discuss >>this a bit in Maastricht, but there are a >>couple basic points here I think we need to tee >>up. I certainly didnt mean to suggest that a >>request can only include a single location >>(i.e., that any contributing piece of location >>information designates the same place, just >>with varying degrees of accuracy or timeliness >>or something). Rather, I believe a presence >>document describes a single entity multiple >>locations come about because various devices >>and services associated with that single entity >>may attribute various locations to the entity. >> >>Getting back to fundamentals, we dont need a >>Geolocation header in order to carry location >>in SIP. There are MIME bodies for that >>(including Content-Indirection bodies for LbyR, >>or perhaps Content-Location as you suggest), >>and we can include seventeen different location >>objects if we want to, regardless of whether >>there are zero or one or fifteen Geolocation >>headers. We dont need a location conveyance >>specification or a Geolocation header to enable >>that, SIP has always been able to do it, and >>youll still be able to add random MIME bodies >>that contain location information even if there >>is a Geolocation header which does not point to >>them. So what does the Geolocation header and >>location conveyance specification buy us? >> >>Ive always naively thought that the >>Geolocation header provides a coupling between >>this particular SIP session and an entity whose >>location is designated by a PIDF document. The >>entity is the geopriv Target, and is probably >>(though not necessarily) related to the party >>identified by the classic From header field of >>the SIP request. The Geolocation header tells >>us that for the purposes of the SIP session >>being negotiated, the location of this Target >>is somehow relevant... the boldest >>interpretation would be that this Targets >>location should be considered the source of the >>request. Just attaching location-aware MIME >>bodies without the Geolocation header to SIP >>requests doesnt convey the same semantics >>those bodies could mean anything, and >>presumably the receiving application would sort through them at its discretion. >> >>Where I get confused is when I start trying to >>understand what it would mean semantically for >>a SIP session to be coupled with more than one >>Target. Again, I can imagine hypothetically a >>SIP request containing unsorted MIME bodies >>that talk about different Targets to assist >>some specific application that knows how to >>reconcile them, but here I mean using the >>Geolocation header to couple a SIP request with >>location information about different Targets. >>Is there actually a use case/requirement for >>that? If not, and we only want to couple a SIP >>request with one Target, then I fail to see why >>composing location information about the same >>Target into a single PIDF body would be a >>problem. Having location information about the >>same entity fail to be organized in one body >>through RFC4479 wouldnt make sense, anyway. >> >>I think if we understand the semantics by which >>the Geolocation header couples PIDF with a >>SIP session, then well better understand all >>of this. If the Geolocation header only exists >>to notify lazy intermediaries that there are >>location-sensitive bodies in the request or >>somewhere out on the net, without implying >>anything about the Target or the relationship >>of those locations to the SIP request, then >>this whole specification is probably more >>trouble than its worth it really wouldnt >>provide much incremental value above the basic >>ability of SIP to carry all sorts of bodies, >>including location bodies. If there are, >>however, more binding semantics here, then we >>probably wont be able to agree on the need for >>solitary or multiple Geolocation headers until >>we agree on what those semantics are. >> >>Jon Peterson >>NeuStar, Inc. >> >> >>On 7/18/10 7:25 PM, "Thomson, Martin" >><<Martin.Thomson@andrew.htm>Martin.Thomson@andrew.com> wrote: >> >>Hi Jon, >> >>I admit a fair degree of sympathy for Rogers >>suggestion. After all, the ability to include >>multiple location values in the same SIP >>request is a feature that has existed for many >>years. A number of implementations have come >>to rely on this mechanism; people are building >>and have built solutions based on earlier >>draft, fully aware of the risks in implementing an internet draft. >> >>At some point, it might be necessary to swallow >>any discomfort and recognize that the >>consequences of an imperfect solution are less >>than the consequences of a change of the nature you suggest. >> >>Altering perspective might offer a solution. >> >>The idea that there are multiple items that are >>composited might be counterproductive. In this >>world-view, you have to reconcile a number of >>perspectives. In this, you are absolutely >>correct: doing that at two layers is >>bad. Composition is a hard problem >>already. Moving it into SIP only complicates it further. >> >>The alternative is to imagine a single logical >>resource that represents the location of the >>Target. A location by value is a >>representation of this resource: a >>snapshot. Location by reference offers a means >>for any entity to identify and acquire a view >>of the resource, independent of that >>snapshot. The authority for the resource might >>offer the same representation, or it could >>offer one better suited to the recipient. The >>representation might be updated, it might be >>altered based on an authorization policy, or >>something else (language >>preferences). Regardless of how it is >>represented, it is still the same resource. >> >>In simple terms, you state that the request can >>only include a single _location_. When a >>location value and reference are both included, >>they represent the _same_ location. >> >>This is why I suggested that Content-Location >>be borrowed. In HTTP, Content-Location says - >>if you want to know where this resource really >>lives, here is where you can find it. >> >>Now this might be sheer sophistry, but it might >>offer a way out. The composition problems are left out of SIP. >> >>I can write up a more detailed strawman, but >>for now, I'll just include an example: >> >> INVITE sips:<bob@biloxi.example.htm>bob@biloxi.example.com SIP/2.0 >> Via: SIPS/2.0/TLS pc33.atlanta.example.com;branch=z9hG4bK74bf9 >> Max-Forwards: 70 >> To: Bob <sips:<bob@biloxi.example.htm>bob@biloxi.example.com> >> From: Alice >> <sips:<alice@atlanta.example.htm>alice@atlanta.example.com>;tag=9fxced76sl >> Call-ID: >> <3848276298220188511@atlanta.example.htm>3848276298220188511@atlanta.example.com >> Geolocation: >> <cid:<target123@atlanta.example.htm>target123@atlanta.example.com> >> ;routing-allowed=no >> Supported: geolocation >> Accept: application/sdp, application/pidf+xml >> CSeq: 31862 INVITE >> Contact: <sips:<alice@atlanta.example.htm>alice@atlanta.example.com> >> Content-Type: multipart/mixed; boundary=boundary1 >> Content-Length: ... >> >> --boundary1 >> Content-Type: application/sdp >> >> ...SDP goes here >> >> --boundary1 >> Content-Type: application/pidf+xml >> Content-ID: >> <<target123@atlanta.example.htm>target123@atlanta.example.com> >> Content-Location: >> pres:<alice@example.htm>alice@example.com?location/XJhbXM6eG1sOm5zOnBpZ >> >> <?xml version="1.0"?> >> ...PIDF-LO document >> --boundary1-- >> >> >>--Martin >> >>---- Original Message ---- >>From: Peterson, Jon >>[<mailto:jon.peterson@neustar.biz>mailto:jon.peterson@neustar.biz] >>Sent: Friday, 16 July 2010 4:54 PM >>To: Roger Marshall; Thomson, Martin; James M. >>Polk; <sipcore@ietf.htm>sipcore@ietf.org >>Subject: Re: [sipcore] location-conveyance-03 just submitted >> >> >>In the corner case (and I do think it is a >>corner case) where multiple entities are >>contributing different location information to >>a single SIP request, I think we face a >>fundamental architecture choice in this >>mechanism: either it is SIPs job to sort out >>how we understand those different locations, or >>it is PIDFs job. Traditionally, PIDFs >>understanding of different sources of presence >>that provide potentially contradictory >>information relies on the presence data model >>(RFC4479), which is designed to reconcile >>conditions like the one where my mobile phone >>thinks I am available but my desktop thinks Im >>offline. The presence data model moreover >>differentiates between users, services and >>devices in a way that is useful and apparently >>applicable to location information. I am not >>eager to try to replicate this in SIP headers, >>including by inserting multiple such headers, >>putting in markup that tries to explain the >>source of location information in SIP >>headers, and so on. SIPs job should be to >>convey the location object fundamentally, the >>further we diverge from conveyance and enter >>into the realm of integration, the less comfortable I get. >> >>I understand that the subsequent use case where >>there are different sources of location >>information, some of which are LbrV and some of >>which are LbyR, looks like a hairy one. This >>is, however, a corner case of a corner case. I >>really do not feel comfortable justifying the >>allowance of multiple location headers in SIP >>pointing to different presence objects (as >>opposed to following the presence data model) >>to carry the 0, 1 or 2 different locations due >>to a corner case of a corner case. As I said in >>my previous mail to Martin, Im not really sure >>I even understand the requirements for an >>intermediary to evaluate and reject LbyR, nor >>what the best way is for presence from these >>dynamic sources to be composed. If we were to >>investigate the right way for presence from >>those source to be composed, it might very well >>be that it is the responsibility of the >>compositor to insert an LbyR into the SIP >>request (into the Geolocation header), and to >>poll and compose a coherent PIDF document from >>its dynamic and static sources that is >>probably the approach that most closely >>parallels the traditional approaches to >>presence. But we havent even begun to explore >>this yet. No one insisting that there will be >>empty PIDF documents just containing >>references to external PIDF documents or >>something. Something along those lines is one >>approach of many that we would consider if we >>tried to figure out how to address this in >>PIDF. The question we need to decide, as I said >>above, is the architecture one is SIPs job >>to convey PIDF documents, or to compose them? >> >>Jon Peterson >>NeuStar, Inc. >> >> >> >>_______________________________________________ >>sipcore mailing list >><mailto:sipcore@ietf.org>sipcore@ietf.org >>https://www.ietf.org/mailman/listinfo/sipcore
- [sipcore] location-conveyance-03 just submitted James M. Polk
- Re: [sipcore] location-conveyance-03 just submitt… Thomson, Martin
- Re: [sipcore] location-conveyance-03 just submitt… James M. Polk
- Re: [sipcore] location-conveyance-03 just submitt… Winterbottom, James
- Re: [sipcore] location-conveyance-03 just submitt… Thomson, Martin
- Re: [sipcore] location-conveyance-03 just submitt… James M. Polk
- Re: [sipcore] location-conveyance-03 just submitt… Francois Menard
- Re: [sipcore] location-conveyance-03 just submitt… Thomson, Martin
- Re: [sipcore] location-conveyance-03 just submitt… Peterson, Jon
- Re: [sipcore] location-conveyance-03 just submitt… Thomson, Martin
- Re: [sipcore] location-conveyance-03 just submitt… Francois Menard
- Re: [sipcore] location-conveyance-03 just submitt… Roger Marshall
- Re: [sipcore] location-conveyance-03 just submitt… Winterbottom, James
- Re: [sipcore] location-conveyance-03 just submitt… Peterson, Jon
- [sipcore] composition or just indirection (was: l… Thomson, Martin
- Re: [sipcore] composition or just indirection (wa… Peterson, Jon
- Re: [sipcore] composition or just indirection (wa… Richard L. Barnes
- Re: [sipcore] composition or just indirection (wa… Peterson, Jon
- Re: [sipcore] composition or just indirection (wa… Richard L. Barnes
- Re: [sipcore] composition or just indirection (wa… James M. Polk
- Re: [sipcore] composition or just indirection (wa… James M. Polk
- Re: [sipcore] composition or just indirection (wa… Peterson, Jon
- Re: [sipcore] composition or just indirection (wa… Thomson, Martin
- Re: [sipcore] composition or just indirection (wa… Thomson, Martin
- Re: [sipcore] composition or just indirection (wa… Hannes Tschofenig
- Re: [sipcore] location-conveyance-03 just submitt… Elwell, John
- Re: [sipcore] composition or just indirection Paul Kyzivat
- Re: [sipcore] composition or just indirection Thomson, Martin
- Re: [sipcore] composition or just indirection (wa… Thomson, Martin
- Re: [sipcore] composition or just indirection Paul Kyzivat
- Re: [sipcore] location-conveyance-03 just submitt… James M. Polk
- Re: [sipcore] location-conveyance-03 just submitt… James M. Polk
- Re: [sipcore] location-conveyance-03 just submitt… James M. Polk
- Re: [sipcore] location-conveyance-03 just submitt… James M. Polk
- Re: [sipcore] location-conveyance-03 just submitt… James M. Polk
- Re: [sipcore] location-conveyance-03 just submitt… James M. Polk
- Re: [sipcore] composition or just indirection James M. Polk
- Re: [sipcore] location-conveyance-03 just submitt… Elwell, John
- Re: [sipcore] location-conveyance-03 just submitt… Thomson, Martin
- Re: [sipcore] location-conveyance-03 just submitt… Thomson, Martin
- Re: [sipcore] composition or just indirection Thomson, Martin
- Re: [sipcore] location-conveyance-03 just submitt… Brian Rosen
- Re: [sipcore] location-conveyance-03 just submitt… Richard L. Barnes
- Re: [sipcore] composition or just indirection Thomson, Martin