Re: [sipcore] #41: Why does only "mp" have a value?

Mary Barnes <mary.ietf.barnes@gmail.com> Tue, 12 October 2010 22:40 UTC

Return-Path: <mary.ietf.barnes@gmail.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 BF1FA3A6AC4 for <sipcore@core3.amsl.com>; Tue, 12 Oct 2010 15:40:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.493
X-Spam-Level:
X-Spam-Status: No, score=-102.493 tagged_above=-999 required=5 tests=[AWL=0.106, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
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 XFxHmdzcluPp for <sipcore@core3.amsl.com>; Tue, 12 Oct 2010 15:40:10 -0700 (PDT)
Received: from mail-gy0-f172.google.com (mail-gy0-f172.google.com [209.85.160.172]) by core3.amsl.com (Postfix) with ESMTP id 3D06A3A6AB3 for <sipcore@ietf.org>; Tue, 12 Oct 2010 15:40:08 -0700 (PDT)
Received: by gyc15 with SMTP id 15so1092990gyc.31 for <sipcore@ietf.org>; Tue, 12 Oct 2010 15:41:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Eh7xaQJhb6Ugb9y70ai4xCIbGYayPlQv+lOTRvOx3gI=; b=pfkZfzp10a/nGFid0KfqURHUY0GbxEBwn0HDpqDFhpAG4+55lrWuIgAO4xovu6QxGj 3HsG1fwz+IfTQrtvnogkKHybaRli1ZS1mfbS22wkVrpIMLRlLY2dImokxYgI590qN8uB ArDndM6hOe4dcPKo/+IDACSWFj3DMXit7O/Tk=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=JgEOGkDAPM1+bqkZToX8W9phJz13alNe0K7mlIR0onAwVLGa3b7hNnoZO0lF04u6Oy BpXDSg6UI+Ki8bQ0Ew1X2iZfxrUhnjwbvdFV/bMdTCLGzh/NmG2fODMz6Br4GtUieaQ3 8ep4xp5QPOHTs+A0JIM0ctW9VJPjxVqiuu0XU=
MIME-Version: 1.0
Received: by 10.236.108.139 with SMTP id q11mr16245372yhg.32.1286923277221; Tue, 12 Oct 2010 15:41:17 -0700 (PDT)
Received: by 10.236.108.172 with HTTP; Tue, 12 Oct 2010 15:41:17 -0700 (PDT)
In-Reply-To: <4EC292DB-2BC5-4538-9ABC-219E32217201@acmepacket.com>
References: <061.2e221aa118698f4371250faae119a59b@tools.ietf.org> <4EC292DB-2BC5-4538-9ABC-219E32217201@acmepacket.com>
Date: Tue, 12 Oct 2010 17:41:17 -0500
Message-ID: <AANLkTinNQHYptApCL1LCFVkU_C80cqVBurRoazfi-=hN@mail.gmail.com>
From: Mary Barnes <mary.ietf.barnes@gmail.com>
To: Hadriel Kaplan <HKaplan@acmepacket.com>
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: quoted-printable
Cc: "worley@alum.mit.edu" <worley@alum.mit.edu>, "sipcore@ietf.org" <sipcore@ietf.org>
Subject: Re: [sipcore] #41: Why does only "mp" have a value?
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, 12 Oct 2010 22:40:20 -0000

I don't see  what adding another level in the case of mp buys you.  In
the example (and the usual rule) is that you find the entry with "rc"
and you know that the "origin" (as Dale calls it) is the entry just
prior - that's why you don't need an additional index for "rc".   I
don't see that you would mistake this for Carol since the entry prior
to the last entry labeled "rc" does not have a tag and thus you go up
to the parent to find the original target of the request for that
branch.

However, I can see that it could facilitate things to add an index for
the "rc"  just so you can more easily find the entry.  Does anyone
have a problem with that.

Mary.

On Tue, Aug 31, 2010 at 7:50 PM, Hadriel Kaplan <HKaplan@acmepacket.com> wrote:
>
> Uh oh... I think your example shows another problem too.
>
> Suppose atlanta proxy gets a request for Bob as you show, and for Bob it internally has 2 potential routes.  It tries the first, and gets diverted to Carol, as in your example... but Carol fails.  So the atlanta proxy recurses the failure and tries the second route, which is still for *Bob*.  The UAS will get this:
> History-Info: <sip:bob@example.com>;index=1
> History-Info: <sip:bob@example.com>;index=1.1
> History-Info: <sip:carol@example.com>;index=1.2;mp=1.1
> History-Info: <sip:carol@192.0.2.3>;index=1.3;rc
> History-Info: <sip:robert@ssp.net>;index=1.4
> History-Info: <sip:user@192.168.1.1>;index=1.4.1;rc
>
> If you receive that as a UAS, you don't know whether it was diverted to Carol and then reached you as being for Carol, or whether it's back to being for Bob.
> Ugh.
>
> It's a hack, but perhaps a diversion/"mp" should cause a new sub-level.  Like this:
> History-Info: <sip:bob@example.com>;index=1
> History-Info: <sip:bob@example.com>;index=1.1
> History-Info: <sip:carol@example.com>;index=1.1.1;mp=1.1
> History-Info: <sip:carol@192.0.2.3>;index=1.1.2;rc
> History-Info: <sip:robert@ssp.net>;index=1.2
> History-Info: <sip:user@192.168.1.1>;index=1.2.1;rc
>
>
> -hadriel
>
>
> On Aug 31, 2010, at 2:28 PM, sipcore issue tracker wrote:
>
>> #41: Why does only "mp" have a value?
>> ---------------------------------+------------------------------------------
>> Reporter:  worley@…             |       Owner:
>>     Type:  enhancement          |      Status:  new
>> Priority:  critical             |   Milestone:  milestone1
>> Component:  rfc4244bis           |     Version:
>> Severity:  In WG Last Call      |    Keywords:
>> ---------------------------------+------------------------------------------
>> There seems to be no reason to restrict the "mp-value", the information
>> regarding the predecessor request-URI to a newer request-URI, to only "mp"
>> mappings.  In particular, if a redirect server implements an "rc" mapping,
>> it could be difficult for the UAS to determine why it received the
>> request:
>>
>> {{{
>>    Alice   atlanta.example.com  biloxi.example.com   Carol
>>    |                |                |                |
>>    |   INVITE sip:bob@example.com    |                |
>>    |--------------->|                |                |
>>    | History-Info: <sip:bob@example.com>;index=1      |
>>    |                |                |                |
>>    |                |   INVITE sip:bob@example.com    |
>>    |                |--------------->|                |
>>    | History-Info: <sip:bob@example.com>;index=1      |
>>    | History-Info: <sip:bob@example.com>;index=1.1    |
>>    |                |                |                |
>>    |                |   300          |                |
>>    |                |   Contact: <sip:carol@example.com>;mp
>>    | History-Info: <sip:bob@example.com>;index=1      |
>>    | History-Info: <sip:bob@example.com>;index=1.1    |
>>    |                |<---------------|                |
>>    |                |                |                |
>>    |                |   INVITE sip:carol@example.com
>>    |                |--------------->|                |
>>    | History-Info: <sip:bob@example.com>;index=1      |
>>    | History-Info: <sip:bob@example.com>;index=1.1    |
>>    | History-Info: <sip:carol@example.com>;index=1.2;mp=1.1
>>    |                |                |                |
>>    |                |   300          |                |
>>    |                |   Contact: <sip:carol@192.0.2.3>;rc
>>    | History-Info: <sip:bob@example.com>;index=1      |
>>    | History-Info: <sip:bob@example.com>;index=1.1    |
>>    | History-Info: <sip:carol@example.com>;index=1.2;mp=1.1
>>    |                |<---------------|                |
>>    |                |                |                |
>>    |                |   INVITE sip:carol@192.0.2.3    |
>>    |                |-------------------------------->|
>>    | History-Info: <sip:bob@example.com>;index=1      |
>>    | History-Info: <sip:bob@example.com>;index=1.1    |
>>    | History-Info: <sip:carol@example.com>;index=1.2;mp=1.1
>>    | History-Info: <sip:carol@192.0.2.3>;index=1.3;rc |
>>    |                |                |                |
>> }}}
>>
>> (In this case, Carol might know to look for sip:carol@example.com and
>> trace its origin, but if we add a further retargeting and registration
>> lookup cycle for a different user in the middle, we can defeat that
>> strategy.)
>>
>> It would seem useful to allow the "rc" parameter to have a value as well.
>> And given that some 3xx Contacts will have neither "mp" or "rc", but the
>> "origin" value would still be useful for a UAS to see, it seems desirable
>> to split off the "origin" value to another parameter which would be
>> applied regardless of whether "mp" or "rc" applies.
>>
>> --
>> Ticket URL: <http://trac.tools.ietf.org/wg/sipcore/trac/ticket/41>
>> sipcore <http://tools.ietf.org/sipcore/>
>>
>> _______________________________________________
>> 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
>