Re: [sipcore] 4244bis: Describing redirections

Shida Schubert <shida@ntt-at.com> Sun, 10 July 2011 11:02 UTC

Return-Path: <shida@ntt-at.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 E4BA921F8580 for <sipcore@ietfa.amsl.com>; Sun, 10 Jul 2011 04:02:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.865
X-Spam-Level:
X-Spam-Status: No, score=-101.865 tagged_above=-999 required=5 tests=[AWL=-0.200, BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334, J_CHICKENPOX_31=0.6, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VkNk+NkdvGHU for <sipcore@ietfa.amsl.com>; Sun, 10 Jul 2011 04:02:07 -0700 (PDT)
Received: from gator465.hostgator.com (gator465.hostgator.com [69.56.174.130]) by ietfa.amsl.com (Postfix) with ESMTP id 1622221F8567 for <sipcore@ietf.org>; Sun, 10 Jul 2011 04:02:06 -0700 (PDT)
Received: from [220.102.214.252] (port=49938 helo=[192.168.11.2]) by gator465.hostgator.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69) (envelope-from <shida@ntt-at.com>) id 1Qfrlz-00086g-Co; Sun, 10 Jul 2011 06:02:03 -0500
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset="us-ascii"
From: Shida Schubert <shida@ntt-at.com>
In-Reply-To: <0B7939B3-4261-4F8E-AC78-81EE5021625E@acmepacket.com>
Date: Sun, 10 Jul 2011 20:02:01 +0900
Content-Transfer-Encoding: quoted-printable
Message-Id: <F1F2CF95-F5AF-4359-8AD2-E3698B91C757@ntt-at.com>
References: <CD5674C3CD99574EBA7432465FC13C1B222B1F571B@DC-US1MBEX4.global.avaya.com> <0B7939B3-4261-4F8E-AC78-81EE5021625E@acmepacket.com>
To: Hadriel Kaplan <HKaplan@acmepacket.com>
X-Mailer: Apple Mail (2.1084)
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - gator465.hostgator.com
X-AntiAbuse: Original Domain - ietf.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - ntt-at.com
X-BWhitelist: no
X-Source:
X-Source-Args:
X-Source-Dir:
X-Source-Sender: flh1ade252.tky.mesh.ad.jp ([192.168.11.2]) [220.102.214.252]:49938
X-Source-Auth: shida@agnada.com
X-Email-Count: 1
X-Source-Cap: c3NoaWRhO3NzaGlkYTtnYXRvcjQ2NS5ob3N0Z2F0b3IuY29t
Cc: "Worley, Dale R (Dale)" <dworley@avaya.com>, "sipcore@ietf.org" <sipcore@ietf.org>
Subject: Re: [sipcore] 4244bis: Describing redirections
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: Sun, 10 Jul 2011 11:02:08 -0000

 +1
 
 In the example you indicated below, the entity receiving the 
3xx will log the Contact in 3xx in H-I and add "rc" as it will 
not know whether it is a different target user from the 
previous R-URI but it knows that Contact URI is different 
from the R-URI that cause the 3xx.  
 
 *Based on the new semantics of "rc" that everybody seems to 
   be in favor of.
 
 Regards
  Shida

On Jul 1, 2011, at 11:55 PM, Hadriel Kaplan wrote:

> 
> That's why I proposed always adding the "rc" param when the req-uri is changed, regardless of how it was changed (except for the case of "mp"), so that the dotted-number pointer can always be there. 
> 
> In other words, don't have "rc", "gr" and "hi" - just "rc" and "mp", where "rc" now means 'req-uri changed'.  Because it doesn't actually matter how the req-uri got changed. (it's not reliably useful info to the UAS)
> 
> -hadriel
> 
> 
> On Jun 30, 2011, at 3:17 PM, Worley, Dale R (Dale) wrote:
> 
>> Here's another unpleasant case:
>> 
>> Suppose sip:A is redirected to sip:B.  The UAS for sip:B returns a 3xx
>> response, with "Contact: sip:C", but *without* an hi-target-param
>> (presumably because the UAS does not support H-I).  We want to be able
>> to document that sip:C was derived from sip:B (as opposed to the
>> default sip:A, which is also true, but gives less information), but we
>> cannot do so because we don't know what hi-target-param would be
>> correct.
>> 
>> The H-I at this point looks like:
>> 
>>   History-Info: <sip:A>;index=1,
>>   		  <sip:B?Reason=SIP%3Bcause%3D302>;index=1.1,
>> 		  <sip:C>;index=1.2;??=1.1
>> 
>> but there is nothing that can be correctly put in place of "??".
>> 
>> Here is one possibility:
>> 
>> Have one H-I parameter solely for carrying the "predecessor" pointer.
>> Let's give it a really short name, like "p".
>> 
>> Have several other H-I parameters that are flags (they have no values)
>> that document *how* the current URI was derived from the URI pointed
>> to by "p".  (If we don't mind the additional bytes, vendors can add
>> further proprietary values, not in replacement of the standard values,
>> but as additional annotations to them.)  The types of redirection that
>> I know of are:
>> 
>> - "rc" ("registered contact") - Conversion of an AOR to its contact via
>> a location service (as described in RFC 3261).
>> 
>> - "mp" ("mapping") - Replacement of a URI by another URI that (either
>> in fact or is typical for this replacement operation) is "a
>> different user", in that the new URI's identity (from a human point
>> of view) is not subsumed in the old URI's identity.
>> 
>> - "gr" ("GRUU") - Replacement of a GRUU by the GRUU's contact value.
>> (Strictly, we can probably omit indicating this as the "gr"
>> situation can be determined by examining the URIs.)
>> 
>> - "hi" ("History-Info compatibility") - This hi-entry was added when
>> the request entered an entity that supports History-Info because the
>> last hi-entry (if any) did not match the Request-URI.
>> 
>> A typical example would be:
>> 
>>  History-Info: <sip:bob@example.com>;index=1;hi
>>  History-Info: <sip:bob@192.0.2.4?Reason=SIP%3Bcause%3D302>;index=1.1;p=1;rc
>>  History-Info: <sip:office@example.com>;index=1.2;p=1;mp
>>  History-Info: <sip:office@192.0.2.5>;index=1.2.1
>> 
>> Alternatively, we could have the "type of redirection" be the values
>> of a single parameter name, or we could append the codes to the
>> "index" value (which would save space).
>> 
>> Dale
>> _______________________________________________
>> 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