Re: [sipcore] RFC 3261: 305 Use Proxy

Paul Kyzivat <pkyzivat@alum.mit.edu> Mon, 09 December 2013 20:46 UTC

Return-Path: <pkyzivat@alum.mit.edu>
X-Original-To: sipcore@ietfa.amsl.com
Delivered-To: sipcore@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 66D5E1AE528 for <sipcore@ietfa.amsl.com>; Mon, 9 Dec 2013 12:46:36 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.235
X-Spam-Level:
X-Spam-Status: No, score=-1.235 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_SOFTFAIL=0.665] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JmVcKKHAqF2T for <sipcore@ietfa.amsl.com>; Mon, 9 Dec 2013 12:46:34 -0800 (PST)
Received: from qmta03.westchester.pa.mail.comcast.net (qmta03.westchester.pa.mail.comcast.net [IPv6:2001:558:fe14:43:76:96:62:32]) by ietfa.amsl.com (Postfix) with ESMTP id 14D341AE4F4 for <sipcore@ietf.org>; Mon, 9 Dec 2013 12:46:33 -0800 (PST)
Received: from omta18.westchester.pa.mail.comcast.net ([76.96.62.90]) by qmta03.westchester.pa.mail.comcast.net with comcast id zVpb1m0041wpRvQ53YmVut; Mon, 09 Dec 2013 20:46:29 +0000
Received: from Paul-Kyzivats-MacBook-Pro.local ([50.138.229.164]) by omta18.westchester.pa.mail.comcast.net with comcast id zYmU1m00d3ZTu2S3eYmUVZ; Mon, 09 Dec 2013 20:46:29 +0000
Message-ID: <52A62C24.8010104@alum.mit.edu>
Date: Mon, 09 Dec 2013 15:46:28 -0500
From: Paul Kyzivat <pkyzivat@alum.mit.edu>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:24.0) Gecko/20100101 Thunderbird/24.1.1
MIME-Version: 1.0
To: sipcore@ietf.org
References: <52A36EF3.3040702@alum.mit.edu> <BBF5DDFE515C3946BC18D733B20DAD2338E75169@XMB104ADS.rim.net> <576A8B541C219D4E9CEB1DF8C19C7B881A06D259@MBX08.citservers.local> <576A8B541C219D4E9CEB1DF8C19C7B881A06D2DE@MBX08.citservers.local>
In-Reply-To: <576A8B541C219D4E9CEB1DF8C19C7B881A06D2DE@MBX08.citservers.local>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20121106; t=1386621989; bh=ZyEoSlhHBiU7vigaykDQohiPzrYJR00X/9NjvAeyVlg=; h=Received:Received:Message-ID:Date:From:MIME-Version:To:Subject: Content-Type; b=sIcrTdsWfSBu215bjqyzoKZcPdGPbGbJfU4ZK+JL6w5uvBqbfZtvCrarX9UVI9By6 AgWPgkcqzTdF9wkcg1vPF/lT+hn3avYGZwuMHQ3hnixbDphLnF7a4bKP/YaeOmCszy eUiltvrab9JMqGGbU6v/eXcgMjJU+oQSY61hVlG3pD5zfHJ0xiTRctkAexg24ibpvp Mjb4SR1yAhSYxYXHR08xC2chQ9CX4lkqgGLUUbLvumWIRe9FaaYvAx5r9jj9qGnMW2 KHxYc8aKR1WTnc098YsjnM0hi5D3QtVDW6Uvy7jeaaFBJtk5RxgOFgG0rky4IE1iWq +1U2W4l/Yjvlg==
Subject: Re: [sipcore] RFC 3261: 305 Use Proxy
X-BeenThere: sipcore@ietf.org
X-Mailman-Version: 2.1.15
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: Mon, 09 Dec 2013 20:46:36 -0000

On 12/9/13 11:03 AM, Brett Tate wrote:
> Hi,
>
> I have another 305 question.
>
> RFC 3261 section 19.1.2 indicates that the lr parameter is not applicable to a redirected Contact.
>
> If sipcore decides to allow the 305's Contact to impact the Route, what should occur concerning the lr parameter?
>
> 1) Assume RFC 3261 section 19.1.2 has a bug; lr parameter is optional within a 305's Contact.
>
> 2) Cannot loose route to the 305 Contact location.
>
> 3) The device building the Route based upon the 305's Contact can assume that loose routing is supported and add an lr parameter.
>
> 4) Something else.

I think that table in 3261 is incorrect. The lr param describes the 
capabilities of the resource described by the URI, so some could be 
loose routing and some not.

	Thanks,
	Paul

> Thanks,
> Brett
>
>> -----Original Message-----
>> From: sipcore [mailto:sipcore-bounces@ietf.org] On Behalf Of Brett Tate
>> Sent: Monday, December 09, 2013 7:56 AM
>> To: Andrew Allen; pkyzivat@alum.mit.edu; sipcore@ietf.org
>> Subject: Re: [sipcore] RFC 3261: 305 Use Proxy
>>
>>> 3GPP specifications make use of the 305 Use Proxy response
>>> but don't go into details of how the Contact header is utilised.
>>
>> Sounds like RFC 3261. :)
>>
>> How does 3GPP interpret "305 (Use Proxy) responses MUST only be
>> generated by UASs"?
>>
>> For instance, can proxies and B2BUAs generate 305 responses?  If yes,
>> can it be sent even though the middle box was not the last loose route
>> entry?
>>
>> Because of all the middle boxes and loose routing within 3GPP
>> (including during call setup), which device does 3GPP expect to act
>> upon the 305?  And if the immediate hop prior does not act upon the 305
>> should it proxy the 305 (thus potentially being subsequently bypassed
>> and causing another 305)?
>>
>>> My assumption is that the Route header is used as this is
>>> used to redirect an INVITE request via a different proxy
>>> and so you need to preserve the Request-URI which contains
>>> the address of the destination UA.
>>
>> How does the device acting upon the 305 alter an existing loose route
>> to accommodate the Contact?
>>
>> For instance, let's assume that the original INVITE contained a Route
>> to traverse 3 proxies (first, second, and third) and no additional
>> Route entries were added by middle boxes (to simplify the example).
>> How should each proxy and UAC adjust the Route if they were to act upon
>> the 305?
>>
>> I assume that a 305 with multiple Contact headers does not indicate to
>> traverse multiple proxies.
>>
>>> This behavior also seems to align with the loose
>>> routing concepts of RFC 3261 - i.e. you leave the
>>> Request-URI alone when routing.
>>
>> Loose routing was introduce by RFC 3261.  305 existed within RFC 2543.
>> Based upon your interpretation, it sounds like RFC 2543 devices acting
>> upon a 305 would have sent the INVITE to the Contact location without
>> adding a Route and without altering the Request-URI.
>>
>> This interpretation also appears to complicate the default handling
>> discussed within RFC 3261 section 5.1.1.  More specifically, the 300
>> handling of 305 would result in the other interpretation of the 305
>> (i.e. replace Request-URI).
>>
>> RFC 3261 section 5.1.1:
>>
>> "SIP response codes are extensible. SIP applications are not required
>>   to understand the meaning of all registered response codes, though
>>   such understanding is obviously desirable. However, applications MUST
>>   understand the class of any response code, as indicated by the first
>>   digit, and treat any unrecognized response as being equivalent to the
>>   x00 response code of that class, with the exception that an
>>   unrecognized response MUST NOT be cached. For example, if a client
>>   receives an unrecognized response code of 431, it can safely assume
>>   that there was something wrong with its request and treat the
>>   response as if it had received a 400 (Bad Request) response code."
>> _______________________________________________
>> 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
>