<?xml version="1.0"?>
<!DOCTYPE rfc SYSTEM "rfc2629.dtd" [
  <!ENTITY rfc2119 PUBLIC '' 'http://xml.resource.org/public/rfc/bibxml/reference.RFC.2119.xml'>
  <!ENTITY rfc3261 PUBLIC '' 'http://xml.resource.org/public/rfc/bibxml/reference.RFC.3261.xml'>
  <!ENTITY rfc3515 PUBLIC '' 'http://xml.resource.org/public/rfc/bibxml/reference.RFC.3515.xml'>
  <!ENTITY rfc4488 PUBLIC '' 'http://xml.resource.org/public/rfc/bibxml/reference.RFC.4488.xml'>
  <!ENTITY rfc4538 PUBLIC '' 'http://xml.resource.org/public/rfc/bibxml/reference.RFC.4538.xml'>
  <!ENTITY rfc5589 PUBLIC '' 'http://xml.resource.org/public/rfc/bibxml/reference.RFC.5589.xml'>
  <!ENTITY rfc5627 PUBLIC '' 'http://xml.resource.org/public/rfc/bibxml/reference.RFC.5627.xml'>
  <!ENTITY rfc6665 PUBLIC '' 'http://xml.resource.org/public/rfc/bibxml/reference.RFC.6665.xml'>
]>

<?rfc toc="yes" ?>
<?rfc compact="yes" ?>
<?rfc subcompact="no" ?>
<?rfc sortrefs="yes" ?>
<?rfc strict="yes" ?>
<?rfc comments="yes" ?>
<?rfc inline="yes" ?>
<?rfc symrefs="yes" ?>

<rfc ipr="trust200902"  category="std" updates="3515" docName="draft-sparks-sipcore-refer-clarifications-01">

<front>

<title abbrev="Refer Clarifications">
Clarifications for the use of REFER with RFC6665
</title>

<author initials="R." surname="Sparks" fullname="Robert Sparks" >
 <organization>Oracle</organization>
 <address>
 <postal>
 <street>7460 Warren Parkway</street>
 <street>Suite 300</street>
 <city>Frisco</city>
 <region>Texas</region>
 <code>75034</code>
 <country>US</country>
 </postal>
 <email>RjS@nostrum.com</email>
 </address>
</author>

    <author fullname="Adam Roach" initials="A. B." surname="Roach">
      <organization>Mozilla</organization>
      <address>
        <postal>
          <street></street>
          <city>Dallas</city>
          <region>TX</region>
          <code></code>
          <country>US</country>
        </postal>
        <phone>+1 650 903 0800 x863</phone>
        <email>adam@nostrum.com</email>
      </address>
    </author>

<date day="21" month="July" year="2014"/>

<abstract>
<t>
An accepted SIP REFER method creates an implicit subscription using the SIP-Specific Event
Notification Framework. That framework was revised by RFC6665. This document highlights
the implications of the requirement changes in RFC6665, and updates the definition of
the REFER method, RFC3515, to clarify and disambiguate the impact of those changes.
</t>
</abstract>

</front>

<middle>
<section anchor="conventions" title="Conventions and Definitions" >
<t>
        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 <xref target= "RFC2119"/>.
</t>
</section>

<section anchor="intro" title="Introduction">
<t>
An accepted SIP REFER method creates an implicit subscription using the SIP-Specific Event
Notification Framework. That framework was revised by <xref target="RFC6665"/>. This document highlights
the implications of the requirement changes in RFC6665, and updates <xref target="RFC3515"/> to 
clarify and disambiguate the impact of those changes.
</t><t>
</t>
</section>

<section anchor="GRUU" title="Use of GRUU is mandatory">
<t>
Section 4.5.1 of <xref target="RFC6665"/> makes GRUU <xref target="RFC5627"/> mandatory
to implement and use as the local target in the subscription
created by the REFER request. 
</t><t>
A user agent constructing any REFER that can result in an implicit subscription
MUST populate its Contact header field with a GRUU. 
</t><t>
  As RFC6665 details, this is necessary to ensure that NOTIFY requests sent in
  the implicitly created subscription arrive at this user agent without
  creating a second usage inside an existing dialog.  Using the "norefersub"
  option tag <xref target="RFC4488"/> 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.
</t>

</section>

<section anchor="dialog-sharing" title="Dialog reuse is prohibited">
<t>
As a direct consequence of requiring the use of GRUU, and the requirements in
section 4.5.2 of RFC6665, sending a REFER that might result in an additional
dialog usage within any existing dialog is prohibited.
</t><t>
A user agent constructing a REFER request MUST built it as an out-of-dialog message as defined in <xref target="RFC3261"/>.
Thus, the REFER request will have no tag parameter in its To: header field. 
</t><t>
A user agent wishing to identify an existing dialog (such as for call transfer as defined in <xref target="RFC5589"/> MUST use the "Target-Dialog" extension defined in <xref target="RFC4538"/> to do so.
</t>
<t>
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), the REFER request MAY be sent within an existing dialog. Such a REFER will be constructed with its Contact header field populated with the dialog's Local URI as specified in section 12 of <xref target="RFC3261"/>.
</t>
</section>

<section title="Security Considerations">
<t>
This document introduces no new security considerations directly. The updated considerations in <xref target="RFC6665"/> apply to the implicit subscription created by an accepted REFER request.
</t>
</section>

<section title="IANA Considerations">
<t>
This document has no actions for IANA.
</t>
</section>

<!--
<section title="Acknowledgements">
<t>
</t>
</section>
-->

<!--
<section title="Changelog">

<t>RFC Editor - please remove this section when formatting this document as an RFC.</t>

<section title="00 to 01">
<t><list style="numbers">
<t>Stuff</t> 
</list></t>
</section>
</section>
-->

</middle>
<back>

<references title="Normative References">
&rfc2119;
&rfc3261;
&rfc3515;
&rfc4538;
&rfc5627;
&rfc6665;
</references>

<references title="Informative References">
&rfc4488;
&rfc5589;
</references>

</back>
	
</rfc>
