7647
PROPOSED STANDARD
Clarifications for the Use of REFER with RFC 6665
Authors: R. Sparks, A.B. Roach
Date: September 2015
Area: art
Working Group: sipcore
Stream: IETF
Updates:
RFC 3515
Abstract
The SIP REFER method relies on the SIP-Specific Event Notification framework. That framework was revised by RFC 6665. This document highlights the implications of the requirement changes in RFC 6665, and updates the definition of the REFER method described in RFC 3515 to clarify and disambiguate the impact of those changes.
RFC 7647
PROPOSED STANDARD
Internet Engineering Task Force (IETF) R. Sparks
Request for Comments: 7647 Oracle
Updates: <a href="./rfc3515">3515</a> A.B. Roach
Category: Standards Track Mozilla
ISSN: 2070-1721 September 2015
<span class="h1">Clarifications for the Use of REFER with <a href="./rfc6665">RFC 6665</a></span>
Abstract
The SIP REFER method relies on the SIP-Specific Event Notification
framework. That framework was revised by <a href="./rfc6665">RFC 6665</a>. This document
highlights the implications of the requirement changes in <a href="./rfc6665">RFC 6665</a>,
and updates the definition of the REFER method described in <a href="./rfc3515">RFC 3515</a>
to clarify and disambiguate the impact of those changes.
Status of This Memo
This is an Internet Standards Track document.
This document is a product of the Internet Engineering Task Force
(IETF). It represents the consensus of the IETF community. It has
received public review and has been approved for publication by the
Internet Engineering Steering Group (IESG). Further information on
Internet Standards is available in <a href="./rfc5741#section-2">Section 2 of RFC 5741</a>.
Information about the current status of this document, any errata,
and how to provide feedback on it may be obtained at
<a href="https://www.rfc-editor.org/info/rfc7647">http://www.rfc-editor.org/info/rfc7647</a>.
Copyright Notice
Copyright (c) 2015 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a> and the IETF Trust's Legal
Provisions Relating to IETF Documents
(<a href="http://trustee.ietf.org/license-info">http://trustee.ietf.org/license-info</a>) in effect on the date of
publication of this document. Please review these documents
carefully, as they describe your rights and restrictions with respect
to this document. Code Components extracted from this document must
include Simplified BSD License text as described in Section 4.e of
the Trust Legal Provisions and are provided without warranty as
described in the Simplified BSD License.
<span class="grey">Sparks & Roach Standards Track [Page 1]</span>
<span id="page-2" ></span>
<span class="grey"><a href="./rfc7647">RFC 7647</a> Refer Clarifications September 2015</span>
Table of Contents
<a href="#section-1">1</a>. Introduction . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-2">2</a>
<a href="#section-2">2</a>. Conventions Used in This Document . . . . . . . . . . . . . . <a href="#page-2">2</a>
<a href="#section-3">3</a>. Use of GRUU Is Mandatory . . . . . . . . . . . . . . . . . . <a href="#page-3">3</a>
<a href="#section-4">4</a>. Dialog Reuse Is Prohibited . . . . . . . . . . . . . . . . . <a href="#page-3">3</a>
<a href="#section-5">5</a>. The 202 Response Code Is Deprecated . . . . . . . . . . . . . <a href="#page-4">4</a>
<a href="#section-6">6</a>. Security Considerations . . . . . . . . . . . . . . . . . . . <a href="#page-4">4</a>
<a href="#section-7">7</a>. References . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-4">4</a>
<a href="#section-7.1">7.1</a>. Normative References . . . . . . . . . . . . . . . . . . <a href="#page-4">4</a>
<a href="#section-7.2">7.2</a>. Informative References . . . . . . . . . . . . . . . . . <a href="#page-5">5</a>
Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-6">6</a>
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-6">6</a>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
The SIP REFER method relies on the SIP-Specific Event Notification
framework. That framework was revised by [<a href="./rfc6665" title=""SIP-Specific Event Notification"">RFC6665</a>]. This document
highlights the implications of the requirement changes in <a href="./rfc6665">RFC 6665</a>,
and updates [<a href="./rfc3515" title=""The Session Initiation Protocol (SIP) Refer Method"">RFC3515</a>] to clarify and disambiguate the impact of those
changes.
Accepting a REFER request (without invoking extensions) results in an
implicit SIP-Events subscription. If that REFER was part of an
existing dialog, the implicit subscription creates a new, problematic
dialog usage within that dialog [<a href="./rfc5057" title=""Multiple Dialog Usages in the Session Initiation Protocol"">RFC5057</a>]. The "norefersub"
extension defined in [<a href="./rfc4488" title=""Suppression of Session Initiation Protocol (SIP) REFER Method Implicit Subscription"">RFC4488</a>] asks to suppress this implicit
subscription, but cannot prevent its creation.
There are implementations in some known specialized environments
(such as 3GPP) that use out-of-signaling agreements to ensure that
in-dialog REFER requests using the <a href="./rfc4488">RFC 4488</a> extension do not create a
new subscription inside that dialog. In the 3GPP environment, the
behavior is based on capabilities advertised using media feature
tags. That mechanism does not, however, prevent additional dialog
usages when interoperating with implementations that do not support
the mechanism. The extensions in [<a href="./rfc7614" title=""Explicit Subscriptions for the REFER Method"">RFC7614</a>] provide a standardized
mechanism that allows avoiding any additional dialog usage.
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. Conventions Used in This Document</span>
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
document are to be interpreted as described in [<a href="./rfc2119" title=""Key words for use in RFCs to Indicate Requirement Levels"">RFC2119</a>].
<span class="grey">Sparks & Roach Standards Track [Page 2]</span>
<span id="page-3" ></span>
<span class="grey"><a href="./rfc7647">RFC 7647</a> Refer Clarifications September 2015</span>
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. Use of GRUU Is Mandatory</span>
<a href="./rfc6665#section-4.5.1">Section 4.5.1 of [RFC6665]</a> makes GRUU [<a href="./rfc5627" title=""Obtaining and Using Globally Routable User Agent URIs (GRUUs) in the Session Initiation Protocol (SIP)"">RFC5627</a>] mandatory for
notifiers to implement and use as the local target in the
subscription created by the REFER request.
A user agent (UA) accepting a REFER that creates a subscription MUST
populate its Contact header field with a GRUU.
A UA that might possibly become a notifier (e.g., by accepting a
REFER request that creates a subscription) needs to include a GRUU in
the Contact header field of dialog-forming and target-refresh methods
(such as INVITE) [<a href="./rfc7621" title=""A Clarification on the Use of Globally Routable User Agent URIs (GRUUs) in the SIP Event Notification Framework"">RFC7621</a>]. This ensures that out-of-dialog REFER
requests corresponding to any resulting INVITE dialogs arrive at this
UA. Extensions can relax this requirement by defining a REFER
request that cannot create an implicit subscription, thus not causing
the accepting UA to become an <a href="./rfc6665">RFC 6665</a> notifier in the context of
this dialog. [<a href="./rfc7614" title=""Explicit Subscriptions for the REFER Method"">RFC7614</a>] is an example of such an extension.
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. Dialog Reuse Is Prohibited</span>
If a peer in an existing dialog has provided a GRUU as its Contact,
sending a REFER that might result in an additional dialog usage
within that dialog is prohibited. This is a direct consequence of
[<a href="./rfc6665" title=""SIP-Specific Event Notification"">RFC6665</a>] requiring the use of GRUU and the requirements in
<a href="#section-4.5.2">Section 4.5.2</a> of that document.
A user agent constructing a REFER request that could result in an
implicit subscription in a dialog MUST build it as an out-of-dialog
message as defined in [<a href="./rfc3261" title=""SIP: Session Initiation Protocol"">RFC3261</a>], unless the remote endpoint is an
older implementation of <a href="./rfc3515">RFC 3515</a> that has not been updated to conform
to <a href="./rfc6665">RFC 6665</a> (as determined by the absence of a GRUU in the remote
target). Thus, the REFER request will have no tag parameter in its
To: header field.
Using the "norefersub" option tag [<a href="./rfc4488" title=""Suppression of Session Initiation Protocol (SIP) REFER Method Implicit Subscription"">RFC4488</a>] does not change this
requirement, even if used in a "Require" header field. Even if the
recipient supports the "norefersub" mechanism, and accepts the
request with the option tag in the "Require" header field, it is
allowed to return a "Refer-Sub" header field with a value of "true"
in the response, and create an implicit subscription.
A user agent wishing to identify an existing dialog (such as for call
transfer as defined in [<a href="./rfc5589" title=""Session Initiation Protocol (SIP) Call Control - Transfer"">RFC5589</a>]) MUST use the "Target-Dialog"
extension defined in [<a href="./rfc4538" title=""Request Authorization through Dialog Identification in the Session Initiation Protocol (SIP)"">RFC4538</a>] to do so, and user agents accepting
REFER MUST be able to process that extension in requests they
receive.
<span class="grey">Sparks & Roach Standards Track [Page 3]</span>
<span id="page-4" ></span>
<span class="grey"><a href="./rfc7647">RFC 7647</a> Refer Clarifications September 2015</span>
If a user agent can be certain that no implicit subscription will be
created as a result of sending a REFER request (such as by requiring
an extension that disallows any such subscription [<a href="./rfc7614" title=""Explicit Subscriptions for the REFER Method"">RFC7614</a>]), the
REFER request MAY be sent within an existing dialog (whether or not
the remote target is a GRUU). Such a REFER will be constructed with
its Contact header field populated with the dialog's local URI as
specified in <a href="./rfc3261#section-12">Section 12 of [RFC3261]</a>.
As described in <a href="./rfc6665#section-4.5.2">Section 4.5.2 of [RFC6665]</a>, there are cases where a
user agent may fall back to sharing existing dialogs for backwards-
compatibility purposes. This applies to a REFER only when the peer
has not provided a GRUU as its Contact in the existing dialog (i.e.,
when the peer is an implementation of <a href="./rfc3515">RFC 3515</a> that has not been
updated to conform with <a href="./rfc6665">RFC 6665</a>).
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. The 202 Response Code Is Deprecated</span>
<a href="./rfc6665#section-8.3.1">Section 8.3.1 of [RFC6665]</a> requires that elements not send a 202
response code to a subscribe request, but use the 200 response code
instead. Any 202 response codes received to a subscribe request are
treated as 200s. These changes also apply to REFER. Specifically,
an element accepting a REFER request MUST NOT reply with a 202
response code and MUST treat any 202 responses received as identical
to a 200 response. Wherever [<a href="./rfc3515" title=""The Session Initiation Protocol (SIP) Refer Method"">RFC3515</a>] requires sending a 202
response code, a 200 response code MUST be sent instead.
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. Security Considerations</span>
This document introduces no new security considerations directly.
The updated considerations in [<a href="./rfc6665" title=""SIP-Specific Event Notification"">RFC6665</a>] apply to the implicit
subscription created by an accepted REFER request.
<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>. References</span>
<span class="h3"><a class="selflink" id="section-7.1" href="#section-7.1">7.1</a>. Normative References</span>
[<a id="ref-RFC2119">RFC2119</a>] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", <a href="https://www.rfc-editor.org/bcp/bcp14">BCP 14</a>, <a href="./rfc2119">RFC 2119</a>,
DOI 10.17487/RFC2119, March 1997,
<<a href="https://www.rfc-editor.org/info/rfc2119">http://www.rfc-editor.org/info/rfc2119</a>>.
[<a id="ref-RFC3261">RFC3261</a>] Rosenberg, J., Schulzrinne, H., Camarillo, G., Johnston,
A., Peterson, J., Sparks, R., Handley, M., and
E. Schooler, "SIP: Session Initiation Protocol", <a href="./rfc3261">RFC 3261</a>,
DOI 10.17487/RFC3261, June 2002,
<<a href="https://www.rfc-editor.org/info/rfc3261">http://www.rfc-editor.org/info/rfc3261</a>>.
<span class="grey">Sparks & Roach Standards Track [Page 4]</span>
<span id="page-5" ></span>
<span class="grey"><a href="./rfc7647">RFC 7647</a> Refer Clarifications September 2015</span>
[<a id="ref-RFC3515">RFC3515</a>] Sparks, R., "The Session Initiation Protocol (SIP) Refer
Method", <a href="./rfc3515">RFC 3515</a>, DOI 10.17487/RFC3515, April 2003,
<<a href="https://www.rfc-editor.org/info/rfc3515">http://www.rfc-editor.org/info/rfc3515</a>>.
[<a id="ref-RFC4538">RFC4538</a>] Rosenberg, J., "Request Authorization through Dialog
Identification in the Session Initiation Protocol (SIP)",
<a href="./rfc4538">RFC 4538</a>, DOI 10.17487/RFC4538, June 2006,
<<a href="https://www.rfc-editor.org/info/rfc4538">http://www.rfc-editor.org/info/rfc4538</a>>.
[<a id="ref-RFC5627">RFC5627</a>] Rosenberg, J., "Obtaining and Using Globally Routable User
Agent URIs (GRUUs) in the Session Initiation Protocol
(SIP)", <a href="./rfc5627">RFC 5627</a>, DOI 10.17487/RFC5627, October 2009,
<<a href="https://www.rfc-editor.org/info/rfc5627">http://www.rfc-editor.org/info/rfc5627</a>>.
[<a id="ref-RFC6665">RFC6665</a>] Roach, A.B., "SIP-Specific Event Notification", <a href="./rfc6665">RFC 6665</a>,
DOI 10.17487/RFC6665, July 2012,
<<a href="https://www.rfc-editor.org/info/rfc6665">http://www.rfc-editor.org/info/rfc6665</a>>.
[<a id="ref-RFC7621">RFC7621</a>] Roach, A.B., "A Clarification on the Use of Globally
Routable User Agent URIs (GRUUs) in the SIP Event
Notification Framework", <a href="./rfc7621">RFC 7621</a>, DOI 10.17487/RFC7621,
August 2015, <<a href="https://www.rfc-editor.org/info/rfc7621">http://www.rfc-editor.org/info/rfc7621</a>>.
<span class="h3"><a class="selflink" id="section-7.2" href="#section-7.2">7.2</a>. Informative References</span>
[<a id="ref-RFC4488">RFC4488</a>] Levin, O., "Suppression of Session Initiation Protocol
(SIP) REFER Method Implicit Subscription", <a href="./rfc4488">RFC 4488</a>,
DOI 10.17487/RFC4488, May 2006,
<<a href="https://www.rfc-editor.org/info/rfc4488">http://www.rfc-editor.org/info/rfc4488</a>>.
[<a id="ref-RFC5057">RFC5057</a>] Sparks, R., "Multiple Dialog Usages in the Session
Initiation Protocol", <a href="./rfc5057">RFC 5057</a>, DOI 10.17487/RFC5057,
November 2007, <<a href="https://www.rfc-editor.org/info/rfc5057">http://www.rfc-editor.org/info/rfc5057</a>>.
[<a id="ref-RFC5589">RFC5589</a>] Sparks, R., Johnston, A., Ed., and D. Petrie, "Session
Initiation Protocol (SIP) Call Control - Transfer",
<a href="https://www.rfc-editor.org/bcp/bcp149">BCP 149</a>, <a href="./rfc5589">RFC 5589</a>, DOI 10.17487/RFC5589, June 2009,
<<a href="https://www.rfc-editor.org/info/rfc5589">http://www.rfc-editor.org/info/rfc5589</a>>.
[<a id="ref-RFC7614">RFC7614</a>] Sparks, R., "Explicit Subscriptions for the REFER Method",
<a href="./rfc7614">RFC 7614</a>, DOI 10.17487/RFC7614, August 2015,
<<a href="https://www.rfc-editor.org/info/rfc7614">http://www.rfc-editor.org/info/rfc7614</a>>.
<span class="grey">Sparks & Roach Standards Track [Page 5]</span>
<span id="page-6" ></span>
<span class="grey"><a href="./rfc7647">RFC 7647</a> Refer Clarifications September 2015</span>
Acknowledgements
Christer Holmberg provided the formulation for the final paragraph of
the introduction. Christer Holmberg and Ivo Sedlacek provided
detailed comments during working group discussion of the document.
Authors' Addresses
Robert Sparks
Oracle
7460 Warren Parkway
Suite 300
Frisco, Texas 75034
United States
Email: [email protected]
Adam Roach
Mozilla
Dallas, TX
United States
Phone: +1 650 903 0800 x863
Email: [email protected]
Sparks & Roach Standards Track [Page 6]
Annotations
Select text to annotate