Re: [sipcore] About RFC3911(Join header)'s potential error: //Join header in REFER?

Paul Kyzivat <pkyzivat@cisco.com> Wed, 13 October 2010 12:34 UTC

Return-Path: <pkyzivat@cisco.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 6A14F3A6A05 for <sipcore@core3.amsl.com>; Wed, 13 Oct 2010 05:34:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -109.894
X-Spam-Level:
X-Spam-Status: No, score=-109.894 tagged_above=-999 required=5 tests=[AWL=-0.495, BAYES_00=-2.599, J_CHICKENPOX_63=0.6, J_CHICKENPOX_73=0.6, RCVD_IN_DNSWL_HI=-8, 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 CbT7eMAM4JuG for <sipcore@core3.amsl.com>; Wed, 13 Oct 2010 05:34:17 -0700 (PDT)
Received: from rtp-iport-1.cisco.com (rtp-iport-1.cisco.com [64.102.122.148]) by core3.amsl.com (Postfix) with ESMTP id 232B23A68ED for <sipcore@ietf.org>; Wed, 13 Oct 2010 05:34:17 -0700 (PDT)
Authentication-Results: rtp-iport-1.cisco.com; dkim=neutral (message not signed) header.i=none
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AvsEABZEtUxAZnwM/2dsb2JhbAChTHGeB5xshUgEikGDAw
X-IronPort-AV: E=Sophos;i="4.57,325,1283731200"; d="scan'208";a="169978852"
Received: from rtp-core-1.cisco.com ([64.102.124.12]) by rtp-iport-1.cisco.com with ESMTP; 13 Oct 2010 12:35:33 +0000
Received: from [161.44.174.118] (dhcp-161-44-174-118.cisco.com [161.44.174.118]) by rtp-core-1.cisco.com (8.13.8/8.14.3) with ESMTP id o9DCZXHr009396 for <sipcore@ietf.org>; Wed, 13 Oct 2010 12:35:33 GMT
Message-ID: <4CB5A795.1000809@cisco.com>
Date: Wed, 13 Oct 2010 08:35:33 -0400
From: Paul Kyzivat <pkyzivat@cisco.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: sipcore@ietf.org
References: <OFCA036CC4.B32F19B9-ON482577BB.00295E76-482577BB.002CE9FF@zte.com.cn>
In-Reply-To: <OFCA036CC4.B32F19B9-ON482577BB.00295E76-482577BB.002CE9FF@zte.com.cn>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Subject: Re: [sipcore] About RFC3911(Join header)'s potential error: //Join header in REFER?
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: Wed, 13 Oct 2010 12:34:19 -0000

Gao,

Some of us have talked from time to time about issues with REFER.
(I think Dale wrote a draft about it once.)

Specifically, there is an element of "do what I mean" to it that 
requires the recipient to be psychic about what is intended.

E.g. I can send a REFER ... method=FOO to you. You may have no clue what 
method FOO is. Should you just construct a generic FOO method and send 
it? Or I could send an embedded header that says "Supported:BAR", when 
in fact you don't know about option BAR.

Hence the latitude for the referred UA to pick and choose what it wants 
to honor. At least that way it can have some assurance that it 
understands how to process the resulting request. But of course that 
means the referring party doesn't know if the request followed its 
intentions.

I don't have a good answer for that. Something that comes to mind is for 
a copy of the resulting request to be sent to the referring UA as part 
of the refer subscription. But it would be difficult to make good use of 
that.

	Thanks,
	Paul

On 10/13/2010 4:08 AM, gao.yang2@zte.com.cn wrote:
>
>
>  > As far as I know, there are no explicit restrictions.
>  >
>  > One could, however, ask whether it's allowed to include headers that
>  > are not to be used in the triggered INVITE, but in later associated
> requests.
>
> RFC3261 section 19.1.5
>
> An implementation MUST include any provided transport, maddr, ttl, or
> user parameter in the Request-URI of the formed request. If the URI
> contains a method parameter, its value MUST be used as the method of
> the request. The method parameter MUST NOT be placed in the
> Request-URI. Unknown URI parameters MUST be placed in the message's
> Request-URI.
>
> An implementation SHOULD treat the presence of any headers or body
> parts in the URI as a desire to include them in the message, and
> choose to honor the request on a per-component basis.
>
> An implementation SHOULD NOT honor these obviously dangerous header
> fields: From, Call-ID, CSeq, Via, and Record-Route.
>
>  From the above text, it seams that the rules for embedded headers is
> not as emphatic as transport, maddr, ttl and user parameter. So, I
> suggest that one specific embedded headers could have a specific usage
> guidelines, especially these headers with dangerous header fields.
>
> I'd like to point out that I am not going to say that people's
> understanding of embedded headers(for pure audio usage) is not correct.
>
>  > You CAN also embed SDP information.
>
> Are there any defined rules for such embedded SDP information? If there
> are, could you show me.
>
> Thanks,
>
> Gao
>
> --------------------------------------------------------
> ZTE  Information  Security  Notice:  The  information  contained  in  this  mail  is  solely  property  of  the  sender's  organization.  This  mail  communication  is  confidential.  Recipients  named  above  are  obligated  to  maintain  secrecy  and  are  not  permitted  to  disclose  the  contents  of  this  communication  to  others.
> This  email  and  any  files  transmitted  with  it  are  confidential  and  intended  solely  for  the  use  of  the  individual  or  entity  to  whom  they  are  addressed.  If  you  have  received  this  email  in  error  please  notify  the  originator  of  the  message.  Any  views  expressed  in  this  message  are  those  of  the  individual  sender.
> This  message  has  been  scanned  for  viruses  and  Spam  by  ZTE  Anti-Spam  system.
>
>
>
> _______________________________________________
> sipcore mailing list
> sipcore@ietf.org
> https://www.ietf.org/mailman/listinfo/sipcore