ietf-corpus

rfc-7647

Clarifications for the Use of REFER with RFC 6665

R. Sparks, A.B. Roach
date2015-09 streamIETF areaart wgsipcore statusPROPOSED STANDARD pages6 canonicalhttps://www.rfc-editor.org/rfc/rfc7647 doi10.17487/RFC7647
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.

updates

Extracted elements (14)

design-rationale §4

Dialog reuse for REFER is prohibited because accepting a REFER within an existing dialog creates a new, problematic multiple dialog usage (per RFC 5057). The norefersub extension (RFC 4488) cannot prevent implicit subscription creation even if accepted with Require, so dialog reuse must be avoided at the sender.

sip

design-rationale §3

GRUU is made mandatory for REFER-created subscriptions because RFC 6665 requires notifiers to use GRUUs, and accepting a REFER implicitly makes the UA an RFC 6665 notifier. Without a GRUU, out-of-dialog REFER requests for a resulting dialog may not reach the correct UA.

sip

design-rationale §5

The 202 response code is deprecated for REFER because RFC 6665 Section 8.3.1 already deprecated it for SUBSCRIBE; since REFER creates an implicit subscription, the same deprecation applies consistently.

sip

interoperability-note §4

Backwards compatibility with older RFC 3515 implementations that have not adopted RFC 6665 is handled by checking whether the remote target contains a GRUU: absence of a GRUU indicates a legacy peer, and in-dialog REFER may be used as a fallback.

sip

interoperability-note §1

Certain specialized environments (e.g., 3GPP) use out-of-signaling agreements and media feature tags to suppress implicit subscriptions for in-dialog REFER with RFC 4488, but this does not prevent additional dialog usages when interoperating with non-supporting implementations; RFC 7614 provides a standardized alternative.

sip

interoperability-note §4

Using the norefersub option tag (RFC 4488) does not relax the out-of-dialog requirement for REFER, even if placed in a Require header field, because the recipient is still allowed to return Refer-Sub: true and create an implicit subscription.

sip

normative-requirement §3 MUST

A UA accepting a REFER that creates a subscription MUST populate its Contact header field with a GRUU. This is a direct consequence of RFC 6665 Section 4.5.1 making GRUU mandatory for notifiers.

sip

normative-requirement §4 MUST

A UA constructing a REFER request that could result in an implicit subscription in a dialog MUST build it as an out-of-dialog message (no tag parameter in the To header field), unless the remote endpoint is an older RFC 3515 implementation without a GRUU in its remote target.

sip

normative-requirement §3 MUST

A UA that might possibly become a notifier (e.g., by accepting a REFER that creates a subscription) needs to include a GRUU in the Contact header field of dialog-forming and target-refresh methods such as INVITE, per RFC 7621.

sip

normative-requirement §4 MUST

A UA wishing to identify an existing dialog (e.g., for call transfer per RFC 5589) MUST use the Target-Dialog extension defined in RFC 4538, and UAs accepting REFER MUST be able to process that extension.

sip

normative-requirement §5 MUST NOT

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 RFC 3515 requires sending a 202, a 200 MUST be sent instead.

sip

normative-requirement §4 MUST NOT

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, as required by RFC 6665 Section 4.5.2.

sip

normative-requirement §4 MAY

If a UA can be certain that no implicit subscription will be created (e.g., by requiring an extension such as RFC 7614), the REFER request MAY be sent within an existing dialog regardless of whether the remote target is a GRUU.

sip

security-consideration §6

RFC 7647 introduces no new security considerations directly. The updated security considerations in RFC 6665 apply to the implicit subscription created by an accepted REFER request.

sip, security