Re: [sipcore] Reason as a parameter rather than an escaped header

Hadriel Kaplan <HKaplan@acmepacket.com> Thu, 25 November 2010 11:56 UTC

Return-Path: <HKaplan@acmepacket.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 B0DF128C0F6 for <sipcore@core3.amsl.com>; Thu, 25 Nov 2010 03:56:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.103
X-Spam-Level:
X-Spam-Status: No, score=-2.103 tagged_above=-999 required=5 tests=[AWL=0.496, BAYES_00=-2.599]
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 POQi9EIsLAJF for <sipcore@core3.amsl.com>; Thu, 25 Nov 2010 03:56:04 -0800 (PST)
Received: from etmail.acmepacket.com (etmail.acmepacket.com [216.41.24.6]) by core3.amsl.com (Postfix) with ESMTP id B98B528C0D8 for <sipcore@ietf.org>; Thu, 25 Nov 2010 03:56:04 -0800 (PST)
Received: from mail.acmepacket.com (216.41.24.7) by etmail.acmepacket.com (216.41.24.6) with Microsoft SMTP Server (TLS) id 8.2.254.0; Thu, 25 Nov 2010 06:57:05 -0500
Received: from mailbox1.acmepacket.com ([216.41.24.12]) by mail ([127.0.0.1]) with mapi; Thu, 25 Nov 2010 06:57:02 -0500
From: Hadriel Kaplan <HKaplan@acmepacket.com>
To: Paul Kyzivat <pkyzivat@cisco.com>
Date: Thu, 25 Nov 2010 06:57:01 -0500
Thread-Topic: [sipcore] Reason as a parameter rather than an escaped header
Thread-Index: AcuMl99FA/lF6V1FR3y5kQR+r7oSCA==
Message-ID: <3A8FC9BC-3112-492A-87C2-3B5290A2D36D@acmepacket.com>
References: <CD5674C3CD99574EBA7432465FC13C1B2202288A06@DC-US1MBEX4.global.avaya.com> <4CDC04F2.3010701@cisco.com> <AANLkTi=utzFcqg_QTfurdB0WKK8MRAny8Pb8CEE=s60L@mail.gmail.com> <4CEC570D.8080700@cisco.com>
In-Reply-To: <4CEC570D.8080700@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "Worley, Dale R (Dale)" <dworley@avaya.com>, "sipcore@ietf.org" <sipcore@ietf.org>
Subject: Re: [sipcore] Reason as a parameter rather than an escaped header
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: Thu, 25 Nov 2010 11:56:05 -0000

On Nov 23, 2010, at 7:06 PM, Paul Kyzivat wrote:

> But my remaining concern is about the rules in 4244bis regarding how and 
> when Reason headers are included in the H-I entries. It still seems to 
> me that the text only talks about including them due to a response 
> having been received. Where is the language that discusses adding a 
> reason when retargeting is performed for some reason unrelated to a 
> response?
> 
> While I think one can argue that a server doing such retargeting can 
> imagine having sent the request to a virtual redirect server and then 
> processing the response from it, ISTM that would then call for adding 
> H-I entries for those steps.

Right, that's the main piece to figure out first.  We already agreed that 4244bis tells proxies to create H-I entries for internal retargeting decisions.  What's not clear is what internal H-I entries have to be created, and whether the embedded Reason header value of the *SIP* type can be used for such cases.

For example, suppose Alice called Bob, and proxy-1 internally diverts it to Charlie because it knows Bob is busy, *without* having to send the INVITE to Bob and getting a 486 response.

Is it legit for the H-I look like this:
History-Info: <sip:bob@example.com?Reason=SIP%3Bcause%3D486>;index=1
History-Info: <sip:charlie@example.com>;index=1.1;mp=1
History-Info: <sip:charlie@192.1.2.3>;index=1.1.1;rc=1.1

Or does it have to look like this:
History-Info: <sip:bob@example.com>;index=1
History-Info: <sip:bob@127.0.0.1?Reason=SIP%3Bcause%3D486>;index=1.1
History-Info: <sip:charlie@example.com>;index=1.2;mp=1
History-Info: <sip:charlie@192.1.2.3>;index=1.2.1;rc=1.2

Or does it have to do something like this:
History-Info: <sip:bob@example.com?Reason=Internal%3Bcause%3D486>;index=1
History-Info: <sip:charlie@example.com>;index=1.1;mp=1
History-Info: <sip:charlie@192.1.2.3>;index=1.1.1;rc=1.1

-hadriel