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

Paul Kyzivat <> Thu, 11 November 2010 14:59 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id EA9043A6970 for <>; Thu, 11 Nov 2010 06:59:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -110.439
X-Spam-Status: No, score=-110.439 tagged_above=-999 required=5 tests=[AWL=0.160, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, USER_IN_WHITELIST=-100]
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id ZB8HWKBtmLG1 for <>; Thu, 11 Nov 2010 06:59:52 -0800 (PST)
Received: from ( []) by (Postfix) with ESMTP id 14E633A6851 for <>; Thu, 11 Nov 2010 06:59:52 -0800 (PST)
Authentication-Results:; dkim=neutral (message not signed) header.i=none
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AvsEADeU20xAaMHG/2dsb2JhbACiRXGlHZtWhUoEhFiGAIML
X-IronPort-AV: E=Sophos;i="4.59,183,1288569600"; d="scan'208";a="215581084"
Received: from ([]) by with ESMTP; 11 Nov 2010 15:00:13 +0000
Received: from [] ( []) by (8.13.8/8.14.3) with ESMTP id oABF04bZ010614; Thu, 11 Nov 2010 15:00:06 GMT
Message-ID: <>
Date: Thu, 11 Nov 2010 23:00:02 +0800
From: Paul Kyzivat <>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv: Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: "Worley, Dale R (Dale)" <>
References: <>
In-Reply-To: <>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Cc: "" <>
Subject: Re: [sipcore] Reason as a parameter rather than an escaped header
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SIP Core Working Group <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Thu, 11 Nov 2010 14:59:53 -0000


On 11/11/2010 5:09 PM, Worley, Dale R (Dale) wrote:

> But it looks like we need to continue this hack for compatibility.  So let us:
> - publicly state this is a hack
> - not repeat the mistake in other cases


>>> The Reason header is intended to tag the Reason why the hi-targeted-to
>>> URI was retargeted and thus it goes with the "old" hi-entry versus the
>>> "new" one.
>> Just stating it that was exposes the problem.
>> The intent of the Reason header is specified in RFC3326.
>> Any use that isn't consistent with that is an abuse.
>> Its intended to indicate why a *request* is being sent.
> Yes, but it quickly mutated into a carrier in responses to provide
> additional information as to why the response was generated.
> Consider:
>     draft-jesske-dispatch-reason-in-responses-02

1 - quickly? The Reason header is old.
2 - did I miss something? what is the status of the jesske draft?
     isn't it still just an individual draft?

>> So then we allow it continue to metastasize, e.g. by defining new Reason
>> values that aren't ever expected to be used in requests, and that
>> wouldn't make any sense if they were?
> That seems likely.  It's probably a good thing.  It's a bit sketchy to use
> the same header to describe why a request was generated and also why
> a response was generated, but it's not going to cause confusion.

I disagree its a good thing.

If we need new response codes we can define them, so we shouldn't in 
general need new response codes to clarify response codes.

Perhaps the Q.850 stuff is a special case since we are there relating 
things from a different and independent namespace. Even then its a bit dicy.

But my point wasn't reasons for requests vs. reasons for responses. It 
was about reasons for requests vs. reasons for H-I entries. And IIUC the 
reasons in Marianne's draft are *not* reasons for responses. They are 
reasons for retargeting, generally without there having been any 
response. They are indeed a reason for a request. And it is a reason for 
the request with the new target, not the reason for the request with the 
old target.