TOC 
SpeermintD. Hancock
Internet-DraftD. Malas
Intended status: InformationalCableLabs
Expires: June 11, 2011December 8, 2010


SIP Interconnect Guidelines
draft-hancock-dispatch-sip-interconnect-guidelines-00

Abstract

As Session Initiation Protocol (SIP) peering becomes more widely accepted by service providers the need to define an interconnect guideline becomes of greater value. This document takes into consideration the SIP and commonly used SIP extensions, and it defines a fundamental set of requirements for SIP Service Providers (SSPs) to implement within their signaling functions (SFs) or Signaling Path Border Elements (SBEs) for peering.

Status of this Memo

This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.

Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at http://datatracker.ietf.org/drafts/current/.

Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as “work in progress.”

This Internet-Draft will expire on June 11, 2011.

Copyright Notice

Copyright (c) 2010 IETF Trust and the persons identified as the document authors. All rights reserved.

This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (http://trustee.ietf.org/license-info) 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.



Table of Contents

1.  Introduction
    1.1.  Scope
2.  Terminology
    2.1.  Requirements Language
3.  Reference Architecture
4.  General Procedures
    4.1.  Extension Negotiation
    4.2.  Public User Identities
        4.2.1.  Identifying the Called User
        4.2.2.  Identifying the Calling User
    4.3.  Trust Domain and Asserted Identities
    4.4.  IPv4/6 Interworking
    4.5.  Fault Isolation and Recovery
        4.5.1.  Interface Failure Detection
        4.5.2.  Overload Control
        4.5.3.  Session Timer
5.  Call Features
    5.1.  Session Establishment
        5.1.1.  SDP Requirements
        5.1.2.  Basic Call Setup
        5.1.3.  Ringback Tone vs. Early Media
        5.1.4.  Early-Media with Multiple Terminating Endpoints
        5.1.5.  Establishing calls using 3PCC
        5.1.6.  Hold
    5.2.  Calling Name and Number Deliver (with Privacy)
    5.3.  Call Forwarding
        5.3.1.  Detecting Call Forwarding Loops
    5.4.  Call Transfer
        5.4.1.  Call-Transfer Using REFER/Replaces
        5.4.2.  Call-Transfer Using 3PCC
    5.5.  3-way Conference
    5.6.  Auto Recall/Callback
        5.6.1.  Originating SBE Sends INVITE to Target
        5.6.2.  Originating SBE Sends SUBSCRIBE to Target
        5.6.3.  Target Sends NOTIFY to Originating SBE
6.  Security Considerations
7.  Acknowledgements
8.  IANA Considerations
9.  Normative References
§  Authors' Addresses




 TOC 

1.  Introduction

In the SIP Service Provider (SSP) industry every SSP has their own SIP requirements. Whether they defined it themselves or a vendor's equipment capabilities defined it for them, they have one. When two SSPs approach one another to establish a peering relationship, one of the first pieces of information they exchange is their respective SIP requirements or profiles. (For the purposes of this draft, we will call it a SIP profile.) After exchanging SIP profiles, each SSP will likely go back to their lab and spend an extended period of time attempting to comply with the other SSP's SIP profile, either by requesting their vendor to implement or change capabilities, by developing "interworking profiles" for manipulating SIP messages at their SF or SBE, or by arguing defiantly that their approach is correct. While this may seem like a simple and manageable task when establishing a single peering relationship, it can become extremely burdensome as the number of peering relationships increase to four, five, and beyond.

The overwhelming sentiment is that there is a need to establish a minimum set of requirements an SSP can implement within their SF or SBE to peer with any other SSP. While this may seem like an arduous task, there is a belief that a fundamental set of requirements could be established as a baseline guideline to establish peering with any SSP. After the peering is established, the two SSPs may agree on additional SIP parameters or extensions that expand the capabilities for many different purposes. Over time, this document may be extended or updated as necessary to maintain consistency with the widely adopted new use of SIP functionality in the industry.

This document provides an interconnect guideline to address potential SIP interworking issues for peering SIP-based networks.



 TOC 

1.1.  Scope

This document describes the SIP interconnect procedures between two SIP-based networks for both peering SIP Service Providers networks and peering Enterprise networks.

The document focuses on the interworking procedures required to support basic telephone service, including the following capabilities:



Interworking procedures in support of the following capabilities are not addressed:



 TOC 

2.  Terminology



 TOC 

2.1.  Requirements Language

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 RFC 2119 (Bradner, S., “Key words for use in RFCs to Indicate Requirement Levels,” March 1997.) [RFC2119].

This draft also uses terms defined in [RFC5486] (Malas, D. and D. Meyer, “Session Peering for Multimedia Interconnect (SPEERMINT) Terminology,” March 2009.).



 TOC 

3.  Reference Architecture

Figure 1 (Peering Architecture) shows the peering relationship between two SSPs; SSP-A and SSP-B. The Signaling Path Border Element (SBE) serves as the egress/ingress point for SIP signaling into each peers network. The SBE may act as a proxy or a Back-to-Back User Agent (B2BUA). The optional Data Path Border Element (DBE) serves as a media relay at the peering interface for media interworking, topology hiding and IPv4/6 interworking.




                                +------+
                                | DNS, |
                    +---------->| Db,  |<---------+
                    |           | etc  |          |
                    |           +------+          |
                    |                             |
              ------|--------              -------|-------
             /      v        \            /       v       \
            |    +--LUF-+     |          |     +--LUF-+    |
            |    |      |     |          |     |      |    |
            |    |      |     |          |     |      |    |
            |    |      |     |          |     |      |    |
            |    +------+     |          |     +------+    |
            |                 |          |                 |
            |    +--LRF-+     |          |     +--LRF-+    |
            |    |      |     |          |     |      |    |
            |    |      |     |          |     |      |    |
            |    |      |     |          |     |      |    |
            |    +------+     |          |     +------+    |
            |                 |          |                 |
            |                 |          |                 |
            |             +---SF--+  +---SF--+             |
            |             |       |  |       |             |
            |             |  SBE  |  |  SBE  |             |
            | Originating |       |  |       |  Target     |
            |             +---SF--+  +---SF--+             |
            |    SSP          |          |       SSP       |
            |             +---MF--+  +---MF--+             |
            |             |       |  |       |             |
            |             |  DBE  |  |  DBE  |             |
            |             |       |  |       |             |
            |             +---MF--+  +---MF--+             |
             \               /            \               /
              ---------------              ---------------


 Figure 1: Peering Architecture 

This document places requirements on the following two entities in the Peering architecture:

Based on the definition of the SBE in the peering architecture document [I‑D.ietf‑speermint‑architecture] (Malas, D. and J. Livingood, “SPEERMINT Peering Architecture,” November 2010.), it's not entirely correct to make the SBE responsible for meeting all the SIP signaling requirements at the peering interface. For example, the SBE can play the role of a firewall or a SIP proxy that is largely transparent to the SIP messages crossing the interface. In reality, the responsibility for supporting the peering interface belongs to all the SIP entities in the SIP signaling chain, including the SBE plus the SIP proxies and UAs inside the SSP network. Furthermore, when this network is serving as a transit network, the SIP signaling chain can extend beyond this network into another network. To resolve this issue, this document extends the definition of the SBE slightly so that when it is specified as the target entity of a normative requirement on the SIP/SDP peering interface, the SBE represents all the SIP entities in the SIP signaling chain within the SSP network that can affect the SIP/SDP peering interface.

Likewise, the DBE can act as a media relay (performing no media encode/decode) that is transparent to the RTP/RTCP packets exchanged with the peer network. Therefore, this document extends the definition of the DBE so that when it is specified as the target entity of a normative requirement on the RTP/RTCP interface, it represents the media endpoint in the peering network that terminates the RTP/RTCP stream.



 TOC 

4.  General Procedures



 TOC 

4.1.  Extension Negotiation

It is RECOMMENDED that originating SBEs facing other peer networks be configured in such a way that they do not require any SIP extensions to be supported by the other end. The SBE MUST identify all supported SIP extensions in the Supported header field. The SBE MAY support configuration controls to disable certain extensions based on bilateral agreement between peer networks. For example, the SBE could be configured to remove '100rel' from the Supported header field in order to disable the use of reliable provisionable response (PRACK).

Note: Policies that limit or block the use of SIP extensions should be applied with care, since their application tends to disable SIP's native extension negotiation mechanism, and therefore inhibit the deployment of new services.

When sending a dialog-initialing request to a peer network, the SBE MUST identify all supported SIP requests in the Allow header field.



 TOC 

4.2.  Public User Identities

Users are identified at the peering interface by their Public User Identity. An SBE MUST encode Public User Identities as a SIP URI of the telephone-subscriber syntax form of a Tel URI as indicated by the "user=phone" parameter (see Section 19.1.6 of [RFC3261] (Rosenberg, J., Schulzrinne, H., Camarillo, G., Johnston, A., Peterson, J., Sparks, R., Handley, M., and E. Schooler, “SIP: Session Initiation Protocol,” June 2002.)), where the user part of the SIP URI contains a global Tel URI as defined in [RFC3966] (Schulzrinne, H., “The tel URI for Telephone Numbers,” December 2004.).

Example:

sip:+13035551212@example.ssp.com;user=phone



 TOC 

4.2.1.  Identifying the Called User

When sending a dialog-initiating request to a peer network, the SBE MUST :



On receiving a dialog-initiating request from a peer network, the SBE MUST:



 TOC 

4.2.2.  Identifying the Calling User

When sending or receiving a dialog-initiating request, the SBE MUST:



 TOC 

4.3.  Trust Domain and Asserted Identities

In a peering relationship, both originating and terminating networks are in the same trust domain. Therefore, per [RFC3325] (Jennings, C., Peterson, J., and M. Watson, “Private Extensions to the Session Initiation Protocol (SIP) for Asserted Identity within Trusted Networks,” November 2002.), the terminating network MUST trust an originating peer network to populate the P-Asserted-Identity header field in an incoming INVITE request with the Public User Identity of the originating user. Furthermore, the originating network MUST trust the terminating network to honor the privacy wishes of the originator as indicated in the Privacy header field.



 TOC 

4.4.  IPv4/6 Interworking

It is the responsibility of the IPv6 network to perform the IPv4/IPv6 interworking function when interworking with an IPv4 network.



 TOC 

4.5.  Fault Isolation and Recovery



 TOC 

4.5.1.  Interface Failure Detection

An SBE MAY periodically send an OPTIONS request containing a Max-Forwards header field set to a value of '0' to detect the availability of a peer's ingress point. The ping rate is based on bi-lateral agreement (typically every 5 seconds). If the sending SBE fails to receive a response to an OPTIONS request, then it will consider that non-responding ingress point into the peer network to have failed, and will remove it from the available set of ingress points to the peer network. The network that detected the failure should continue to route calls to the peer network over an available alternate ingress point. In the meantime, it will continue to send periodic OPTIONS pings to the failed ingress point in order to detect when it has been restored and is available for service.

Note: A possible enhancement to the OPTIONS ping is to declare a well-known SIP URI in the look-up function (LUF) that could be used to test the health of each ingress SF or SBE in a peer network. For example, SIP INVITE (with no SDP) to sip:999999999@examplessp.com would respond with a 200 OK (again no SDP), followed by a BYE/200 OK.



 TOC 

4.5.2.  Overload Control

SIP does not currently provide an explicit overload control mechanism. However, an SSP may want to impose limits on the number of simultaneous calls, and the incoming call rate it will accept from a peer SSP. On receiving a dialog-initiating request that exceeds such limits, the receiving SBE MUST respond with a 503 (Service Unavailable) response. An SBE receiving a dialog-initiating request from a peer MUST limit the use of the 503 (Service Unavailable) response to reporting overload at the ingress signaling point, and MUST NOT use this response to report overload or other failures internal to the network.

On receiving a 503 (Service Unavailable) response from a peer network, the receiving SBE MUST limit the scope of the response to the call on which it was received (i.e., a 503 response has no affect on the routing of subsequent calls to the peer). Also, the receiving SBE MUST attempt to consume the 503 (Service Unavailable) response from a peer as close to the egress signaling point as possible, and avoid propagating the response back toward the source of the request. Specifically, on receiving a 503 (Service Unavailable) response to a dialog-initiating request that was sent to a peer network, the SBE MUST:



 TOC 

4.5.3.  Session Timer

The SBE SHOULD support Session Timer as defined in [RFC4028] (Donovan, S. and J. Rosenberg, “Session Timers in the Session Initiation Protocol (SIP),” April 2005.).



 TOC 

5.  Call Features



 TOC 

5.1.  Session Establishment



 TOC 

5.1.1.  SDP Requirements

The SBE MUST support the SDP requirements defined in [RFC4566] (Handley, M., Jacobson, V., and C. Perkins, “SDP: Session Description Protocol,” July 2006.). The SBE MUST include only one media (m=) descriptor per desired media stream in an SDP offer to a peer network.

If an SBE receives an SDP offer containing multiple media descriptors, it MUST act on the media descriptors and include all of them in the same order in the response, including non-zero ports and zero ports for the offered media according to its capabilities as specified in [RFC3264] (Rosenberg, J. and H. Schulzrinne, “An Offer/Answer Model with Session Description Protocol (SDP),” June 2002.) An Offer/Answer Model with SDP. The SBE MUST NOT reject an offered session because it offers more media than the SBE can handle.



 TOC 

5.1.2.  Basic Call Setup

This section describes the procedures at the peering interface required to establish a 2-way session for a basic voice call between two users. In this case it is assumed that no originating or terminating features are applied (no call blocking, forwarding, etc.), and that the called line is available to accept the call. Also, this section describes the session establishment procedures when the call is initiated by the originating SIP User Agent itself, and not via a 3rd party in support of features like click-to-call. Two-way call establishment using 3rd Party Call Control (3PCC) procedures is covered in Section 5.1.5 (Establishing calls using 3PCC).

The SBE MUST support the SDP offer/answer procedures specified in [RFC3264] (Rosenberg, J. and H. Schulzrinne, “An Offer/Answer Model with Session Description Protocol (SDP),” June 2002.). The originating SBE MUST include an SDP offer in the initial INVITE. The terminating SBE MUST include an SDP answer in the first reliable response to INVITE (typically the final 200 (OK) response to the INVITE). The terminating SBE MAY also include an SDP body in a non-reliable provisional 18x response to the INVITE. The SDP contained in a non-reliable 18x provisional response can be considered a "preview" of the actual SDP answer to be sent in the 200 (OK) to INVITE. The originating SBE can act on this "preview" SDP to establish an early media session, as described in Section 5.1.3 (Ringback Tone vs. Early Media). The terminating SBE MUST ensure that the "preview" SDP matches the actual SDP answer contained in the 200 (OK) response to INVITE.

Note: an SDP offer/answer exchange occurs within the context of a single dialog. Therefore, the requirement for matching SDPs in the provisional and final responses to INVITE applies only when the provisional and final response are in the same dialog. If the provisional and final response are on different dialogs (say, when the INVITE is forked), the requirement for matching SDPs does not apply.

The SBE MUST always set the SDP mode attribute in the initial offer/answer to "a=sendrecv".

Note: Setting the mode to "a=sendrecv" on the initial SDP offer/answer exchange avoids an additional SDP offer/answer exchange to update the mode to send-receive after the call is answered. This should help mitigate the problem of voice-clipping on answer.

A peered originating and terminating SBE that advertise support for different but overlapping sets of codecs in the SDP offer/answer exchange for a given call MUST negotiate a common codec for the call.



 TOC 

5.1.3.  Ringback Tone vs. Early Media

During the call setup phase, while the originating network is waiting for the terminating network to answer the call, the originating line is either playing local ringback tone to the calling user or connected to a receive-only or bi-directional early-media session with the terminating network. For example, early media can be supplied by the terminating endpoint (e.g., custom ringback tone) while waiting for answer.

During session establishment, an SBE MUST use the following procedures to control whether the originating line applies local ringback tone or establishes an early media session while waiting for the call to be answered:



 TOC 

5.1.4.  Early-Media with Multiple Terminating Endpoints



There are some call scenarios that require media sessions to be established (serially) between the originating user agent and one or more intermediate media endpoints before the call is connected to the final target called user agent. For example, the terminating network can insert a media server in the call to interact with the calling user in some way (e.g., to collect a blocking-override PIN) before offering the call to the called user. Another case occurs when the called user fails to answer within an allotted time and the call is redirected to voice-mail, or forwarded to another user via Call Forwarding Don't Answer (CFDA). These different cases can be combined in the same call.

For each terminating media endpoint that is associated with a call before the call is answered, the terminating network must decide whether to establish an early media session or apply ringback tone at the originating user agent. For example, consider the case where the called user has call blocking with PIN override, and CFDA. First, an early-media session is established with the call-blocking server to collect the PIN, next the originating user agent is instructed to play local ring-back tone while waiting for the called user to answer, and finally an early media session is established with the forward-to party to play custom ringback tone.

[RFC3261] (Rosenberg, J., Schulzrinne, H., Camarillo, G., Johnston, A., Peterson, J., Sparks, R., Handley, M., and E. Schooler, “SIP: Session Initiation Protocol,” June 2002.) mandates that the SDP included unreliable provisional 18x responses to INVITE within the context of a dialog must match the SDP-answer included in the final 200 (OK) response to INVITE. The following sections describe two different mechanisms for supporting multiple terminating media endpoints before answer, within the confines of this requirement.



 TOC 

5.1.4.1.  Forking the INVITE

For each terminating media endpoint that requires an early media session to be established with the originating media endpoint, the terminating SBE MUST signal the attributes of the terminating media endpoint to the originating SBE within the SDP of a 183 (Progressing) response. The terminating SBE MUST ensure that 18x responses containing different SDP copies are not sent within the same dialog. The terminating SBE does this by specifying a different To: tag for each provisional response that contains a unique SDP, as if the INVITE had been sequentially forked.

The originating SBE MUST honor the most recently received 18x response to INVITE, based on the procedures defined in section 5.1.3.



 TOC 

5.1.4.2.  Redirecting the INVITE

As an alternative to sequentially forking the INVITE, the terminating entity can redirect the originating entity to the next endpoint in the series by sending a 302 (Moved Temporarily) response containing a Contact header field that identifies the next endpoint. The resulting INVITE from the originating SBE is sent as a dialog-initiating request, and can therefore establish a new early-media session with the next endpoint in the series. The use of this procedure is based on bilateral agreement between peering operators.

On receiving a 302 (Moved Temporarily) response to an INVITE request, and if this mechanism is enabled based on local policy, the originating SBE MUST send a new dialog-initiating INVITE with a Request-URI set to the value returned in the Contact header field of the 302 (Moved Temporarily) response, as described in [RFC3261] (Rosenberg, J., Schulzrinne, H., Camarillo, G., Johnston, A., Peterson, J., Sparks, R., Handley, M., and E. Schooler, “SIP: Session Initiation Protocol,” June 2002.).



 TOC 

5.1.5.  Establishing calls using 3PCC

Section Section 5.1.2 (Basic Call Setup) describes the procedures that are used to establish basic two-way call when the call is initiated directly by the originating user's endpoint. However, an SSP may support features such as click-to-call, where the call is initiated by a 3rd party such as an Application Server on behalf of the originating user. To support such features, the SBE MUST support the 3PCC procedures described in [RFC3725] (Rosenberg, J., Peterson, J., Schulzrinne, H., and G. Camarillo, “Best Current Practices for Third Party Call Control (3pcc) in the Session Initiation Protocol (SIP),” April 2004.).



 TOC 

5.1.6.  Hold

An SBE that wishes to place a media stream "on hold" MUST offer an updated SDP to its peer network with an attribute of "a=inactive" or "a=sendonly" in the media description block. An SBE that wishes to place a media stream "on hold" MUST NOT set the connection information of the SDP to a null IP address (for example, it MUST NOT set the 'c=' connection line to c=IN IP4 0.0.0.0). An SBE that wants to place a media stream "on hold" SHOULD locally mute the media stream.

An SBE that receives an SDP offer with an attribute of "a=inactive" in the media block MUST place the media stream "on hold", and MUST answer with an updated SDP containing a media attribute of "a=inactive". An SBE that receives an SDP offer with an attribute of "a=inactive" in the media block MUST NOT set the connection data of the answer SDP to c=0.0.0.0. An SBE operating in IPv4 that receives an SDP offer with no directionality attributes but connection data set to c=IN IP4 0.0.0.0 SHOULD place the media stream "on hold".



 TOC 

5.2.  Calling Name and Number Deliver (with Privacy)

An originating SBE MUST provide the calling name and number of the originating user in the P-Asserted-Identity header field of dialog-initiating requests. (The mechanism for obtaining the calling name is out-of-scope of this document.) The calling number is contained in the telephone-subscriber syntax form of the SIP URI, containing an E.164 number as described in section 4.2. The calling name is contained in the display-name component of the P-Asserted-Identity header field.

If the originating user wants to remain anonymous, the originating SBE MUST include a Privacy header field containing the value "id" as specified in [RFC3323] (Peterson, J., “A Privacy Mechanism for the Session Initiation Protocol (SIP),” November 2002.) and [RFC3325] (Jennings, C., Peterson, J., and M. Watson, “Private Extensions to the Session Initiation Protocol (SIP) for Asserted Identity within Trusted Networks,” November 2002.). In addition, the originating SBE SHOULD obscure the identity of the originating user in other header fields as follows:



 TOC 

5.3.  Call Forwarding

If an SSP offers call-forwarding services to its users, then the forwarding SBE MAY remain in the signaling path of the forwarded call in order to support separate billing of forward-from and forward-to legs. This is accomplished by



 TOC 

5.3.1.  Detecting Call Forwarding Loops

A call forwarding loop is defined to be the scenario that occurs when a targeted subscriber for a call forwards the call to another destination. If the forwarded-to destination also has call forwarding configured, the call can forward back (directly or indirectly) to the original targeted subscriber. When a loop is detected, the network that performs the detection rejects the call. An SBE MUST detect call forwarding loops. An SBE MUST support a configurable limit on the number of times an individual call may be subject to forwarding. If the number of forwarding attempts for a single call exceeds this limit, the SBE MUST reject the call.

An SBE SHOULD detect call forwarding loops and limit the number times a call is forwarded by supporting the History-Info header field as defined in [RFC4244] (Barnes, M., “An Extension to the Session Initiation Protocol (SIP) for Request History Information,” November 2005.), and by analyzing the History-Info field entries as described in this section. However, these mechanisms alone may not be sufficient to detect loops when calls are forwarded to networks not supporting these mechanisms. Therefore an SBE MAY support additional loop prevention and forwarding limit detection methods as long as the requirements of forwarding limit restrictions and loop detection are met.

If the SBE supports the prevention of forwarding loops via analysis of the History-Info header field present in the INVITE request then it MUST compare the forward-to address with the set of targeted-to URI (hi-targeted-to-uri) entries from the History-Info header field. If there is a match then a loop has occurred. If no History-Info header field is present then it is not possible to perform loop detection via this mechanism.

If an SBE supports the prevention of forwarding loops by enforcing a maximum number of forwarding attempts, then it MUST calculate the number of forwarding attempts by counting the number of entries in the History-Info header field that were added due to call forwarding (i.e., entries containing a nested Reason header which includes a protocol-cause parameter and a reason-text parameter that indicate the call was forwarded as defined below). If no History-Info header field is present then it is not possible to determine the number of forwarding attempts via this mechanism.

[RFC4458] (Jennings, C., Audet, F., and J. Elwell, “Session Initiation Protocol (SIP) URIs for Applications such as Voicemail and Interactive Voice Response (IVR),” April 2006.) defines the mapping between the forwarding conditions and the coding of the protocol-cause parameter in the Reason header field. An SBE MUST populate the Reason header field with a protocol-cause value of "486" and a reason-text value of "CFBL" when the forwarding condition is Call Forwarding Busy Line (CFBL). The SBE MUST populate the Reason header field with a protocol-cause value of "408" and a reason-text value of "CFDA" when the forwarding condition is Call Forwarding Don't Answer (CFDA). The SBE MUST populate the Reason header field with a protocol-cause value of "302" and a reason-text value of "CFV/SCF" when the forwarding condition is Call Forwarding Variable (CFV) or Selective Call Forwarding (SCF).



 TOC 

5.4.  Call Transfer

A user in a peered call can perform the various forms of call-transfer (e.g., consultive transfer, blind transfer). Call-transfer can be supported in one of two ways; either using the REFER request [RFC3515] (Sparks, R., “The Session Initiation Protocol (SIP) Refer Method,” April 2003.) and Replaces header [RFC3891] (Mahy, R., Biggs, B., and R. Dean, “The Session Initiation Protocol (SIP) "Replaces" Header,” September 2004.), or by manipulating the call legs using 3rd Party Call Control (3PCC) techniques. SBEs that support call transfer MUST support the 3PCC option, and MAY support the REFER/Replaces option. If a network supports both options, then the option that is used when interworking with a specific peer is based on locally configured data that indicates the capabilities of that peer.



 TOC 

5.4.1.  Call-Transfer Using REFER/Replaces

SBEs that support call-transfer using the procedures described in this section MUST support the SIP REFER extension described in [RFC3515] (Sparks, R., “The Session Initiation Protocol (SIP) Refer Method,” April 2003.), and the SIP Replaces extension described in [RFC3891] (Mahy, R., Biggs, B., and R. Dean, “The Session Initiation Protocol (SIP) "Replaces" Header,” September 2004.). Furthermore, [RFC3515] (Sparks, R., “The Session Initiation Protocol (SIP) Refer Method,” April 2003.) requires support of the SIP Event Notification extension described in [RFC3265] (Roach, A., “Session Initiation Protocol (SIP)-Specific Event Notification,” June 2002.).

To describe the basic transfer call-flow, consider the case where user-A in SSP-A is in an active call with user-B in peered SSP-B, and user-A decides to transfer user-B to user-C. User-C could be located anywhere in the global network; for example in SSP-A, SSP-B, another peered network, a non-peering IP network, or the PSTN. Here are the basic steps to complete the transfer using REFER/Replaces:

SBEs SHOULD support receiving a GRUU [RFC5627] (Rosenberg, J., “Obtaining and Using Globally Routable User Agent URIs (GRUUs) in the Session Initiation Protocol (SIP),” October 2009.) in the Refer-To header.



 TOC 

5.4.2.  Call-Transfer Using 3PCC

SBEs that support call-transfer using 3PCC techniques MUST act as a B2BUA, and manipulate the call legs using INVITE and re-INVITE requests. It is RECOMMENDED that such techniques follow the guidance presented in [RFC3725] (Rosenberg, J., Peterson, J., Schulzrinne, H., and G. Camarillo, “Best Current Practices for Third Party Call Control (3pcc) in the Session Initiation Protocol (SIP),” April 2004.).



 TOC 

5.5.  3-way Conference

The media mixing for 3-way conference calls may be performed by the user agent of the conference control party, or by a conference bridge application server in the peer network serving the conference control party. When mixing is done by the user agent, there are no specific requirements placed on the peering interface other than the support of hold as described in section 5.1.6. When conference mixing is performed by a network-based server, users are added to the conference using procedures similar to those described for call transfer in section 5.4.



 TOC 

5.6.  Auto Recall/Callback

When a user invokes AC or AR, and the user targeted by the recall/callback feature belongs to a peer network, the originating SBE first attempts to establish a basic 2-way call with the target user. If the call completes normally (e.g., the target user answers) then the feature is complete. If the terminating SBE responds with an indication that the target user is busy, then the originating SBE subscribes to the dialog-event package as defined in [RFC4235] (Rosenberg, J., Schulzrinne, H., and R. Mahy, “An INVITE-Initiated Dialog Event Package for the Session Initiation Protocol (SIP),” November 2005.) of the target user, as a mechanism to detect when the target user becomes available. When the terminating SBE subsequently notifies the originating SBE that the target user is available, the originating SBE re-attempts to establish a 2-way call to the target user.



 TOC 

5.6.1.  Originating SBE Sends INVITE to Target

When a user invokes an AR or AC call, the originating SBE MUST follow the procedures given for a basic call as described in Section 5.1.2 (Basic Call Setup), and attempt to establish a 2-way call with the target user. In addition, the originating SBE MUST add a Call-Info header field to the INVITE with a purpose of "answer_if_not_busy".

If the originating SBE receives a 200-OK response to INVITE, then the AC/AR feature is considered complete, and the remainder of the call is handled like a normal 2-way call. If the originating SBE receives a 486-Busy-Here or 600-Busy-Everywhere response to the INVITE, then it MUST follow the AC/AR procedures as defined below. If the terminating SBE receives an inbound INVITE with a Call-Info header field declaring purpose= answer_if_not_busy, then the terminating SBE MUST ignore any active Call-Forwarding-Busy-Line (CFBL) service for the target user, not forward the call if the target is busy, and instead handle the call as if CFBL was not active (e.g., offer the call using the call-waiting feature).



 TOC 

5.6.2.  Originating SBE Sends SUBSCRIBE to Target

On receiving a 486-Busy-Here or 600-Busy-Everywhere response to an AC/AR INVITE request, the originating SBE MUST establish a subscription to the dialog event package of the target endpoint, by sending a SUBSCRIBE request containing an Event header field set to "dialog" to the terminating SBE. The originating SBE MUST populate the SUBSCRIBE Request-URI with the URI returned in the Contact header field of the INVITE response, if that URI is a GRUU. Otherwise, the originating SBE MUST populate the Request-URI with the identity of the target callback/recall user.



 TOC 

5.6.3.  Target Sends NOTIFY to Originating SBE

On receiving the SUBSCRIBE to the dialog event package, the terminating SBE MUST notify the originating SBE of the dialog state of the target user endpoint as described in [RFC4235] (Rosenberg, J., Schulzrinne, H., and R. Mahy, “An INVITE-Initiated Dialog Event Package for the Session Initiation Protocol (SIP),” November 2005.). Upon receiving a NOTIFY message of "target is idle", the originating SBE MUST first cancel the dialog-event subscription by sending a SUBSCRIBE message with an Expires header containing the value "0". Once the subscription is cancelled, the originating SBE MUST send a new INVITE request to establish a call with the target user. If the originating SBE receives a 486-Busy-Here or 600-Busy-Everywhere response to the INVITE, then it MUST automatically re-subscribe to the dialog event package of the target user. (Note, a "busy" response could be returned in this case as a result of a race condition, where the target endpoint sends a NOTIFY of "target is idle", and then becomes busy in a new call before the subsequent INVITE is received).



 TOC 

6.  Security Considerations

This draft contains no new security considerations that have not already been defined in SIP and the specified SIP extensions in this draft.



 TOC 

7.  Acknowledgements

The authors of this draft wish to thank Tom Creighton, Jack Burton, Matt Cannon, Robert Diande, Jean-Francois Mule, and Kevin Johns for their contributions to this draft.



 TOC 

8.  IANA Considerations

This draft contains no IANA considerations.



 TOC 

9. Normative References

[I-D.ietf-speermint-architecture] Malas, D. and J. Livingood, “SPEERMINT Peering Architecture,” draft-ietf-speermint-architecture-16 (work in progress), November 2010 (TXT).
[RFC2119] Bradner, S., “Key words for use in RFCs to Indicate Requirement Levels,” BCP 14, RFC 2119, March 1997 (TXT, HTML, XML).
[RFC3261] Rosenberg, J., Schulzrinne, H., Camarillo, G., Johnston, A., Peterson, J., Sparks, R., Handley, M., and E. Schooler, “SIP: Session Initiation Protocol,” RFC 3261, June 2002 (TXT).
[RFC3264] Rosenberg, J. and H. Schulzrinne, “An Offer/Answer Model with Session Description Protocol (SDP),” RFC 3264, June 2002 (TXT).
[RFC3265] Roach, A., “Session Initiation Protocol (SIP)-Specific Event Notification,” RFC 3265, June 2002 (TXT).
[RFC3323] Peterson, J., “A Privacy Mechanism for the Session Initiation Protocol (SIP),” RFC 3323, November 2002 (TXT).
[RFC3325] Jennings, C., Peterson, J., and M. Watson, “Private Extensions to the Session Initiation Protocol (SIP) for Asserted Identity within Trusted Networks,” RFC 3325, November 2002 (TXT).
[RFC3515] Sparks, R., “The Session Initiation Protocol (SIP) Refer Method,” RFC 3515, April 2003 (TXT).
[RFC3725] Rosenberg, J., Peterson, J., Schulzrinne, H., and G. Camarillo, “Best Current Practices for Third Party Call Control (3pcc) in the Session Initiation Protocol (SIP),” BCP 85, RFC 3725, April 2004 (TXT).
[RFC3891] Mahy, R., Biggs, B., and R. Dean, “The Session Initiation Protocol (SIP) "Replaces" Header,” RFC 3891, September 2004 (TXT).
[RFC3966] Schulzrinne, H., “The tel URI for Telephone Numbers,” RFC 3966, December 2004 (TXT).
[RFC4028] Donovan, S. and J. Rosenberg, “Session Timers in the Session Initiation Protocol (SIP),” RFC 4028, April 2005 (TXT).
[RFC4235] Rosenberg, J., Schulzrinne, H., and R. Mahy, “An INVITE-Initiated Dialog Event Package for the Session Initiation Protocol (SIP),” RFC 4235, November 2005 (TXT).
[RFC4244] Barnes, M., “An Extension to the Session Initiation Protocol (SIP) for Request History Information,” RFC 4244, November 2005 (TXT).
[RFC4458] Jennings, C., Audet, F., and J. Elwell, “Session Initiation Protocol (SIP) URIs for Applications such as Voicemail and Interactive Voice Response (IVR),” RFC 4458, April 2006 (TXT).
[RFC4566] Handley, M., Jacobson, V., and C. Perkins, “SDP: Session Description Protocol,” RFC 4566, July 2006 (TXT).
[RFC4694] Yu, J., “Number Portability Parameters for the "tel" URI,” RFC 4694, October 2006 (TXT).
[RFC5486] Malas, D. and D. Meyer, “Session Peering for Multimedia Interconnect (SPEERMINT) Terminology,” RFC 5486, March 2009 (TXT).
[RFC5627] Rosenberg, J., “Obtaining and Using Globally Routable User Agent URIs (GRUUs) in the Session Initiation Protocol (SIP),” RFC 5627, October 2009 (TXT).


 TOC 

Authors' Addresses

  David Hancock
  CableLabs
  858 Coal Creek Circle
  Louisville, CO 80027
  USA
Email:  d.hancock@cablelabs.com
  
  Daryl Malas
  CableLabs
  858 Coal Creek Circle
  Louisville, CO 80027
  USA
Email:  d.malas@cablelabs.com