SIPREC | Ram. Ravindranath |
Internet-Draft | Cisco Systems, Inc. |
Intended status: Standards Track | Parthasarathi. Ravindran |
Expires: September 1, 2015 | Nokia Networks |
Paul. Kyzivat | |
Huawei | |
February 28, 2015 |
Session Initiation Protocol (SIP) Recording Call Flows
Session recording is a critical requirement in many communications environments such as call centers and financial trading. In some of these environments, all calls must be recorded for regulatory, compliance, and consumer protection reasons. Recording of a session is typically performed by sending a copy of a media stream to a recording device. This document lists call flows that has snapshot of metadata sent from SRC to SRS. This is purely an informational document that is written to support the model defined in the metadata draft.
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 September 1, 2015.
Copyright (c) 2015 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.
[I-D.ietf-siprec-metadata] document focuses on the Recording metadata which describes the communication session. The document lists a few examples and shows the snapshots of metadata sent from SRC to SRS. For the sake of simplicity the entire SIP [RFC3261] messages are not shown at various points, instead only a snippets of the SIP/SDP messages and the XML snapshot of metadata is shown.
The terms using in this defined are defined in [I-D.ietf-siprec-metadata]. No new terms/definitions are introduced in this document.
This section describes the metadata model XML instances for different use cases of SIPREC. For the sake of simplicity the complete SIP/SDP snippets are NOT shown here.
The following is a sample call flow that shows the SRC establishing a recording session towards the SRS. The SRC in this example could be part of any one of the architectures described in section 3 of [RFC7245].
For the sake of simplicity, ACKs to RE-INVITES and BYEs are not shown. The subsequent sections describes the snapshot of metadata sent from SRC to SRS for each of the above transactions (F1 ... Fn-1). There may be multiple UPDATES/RE-INVITES mid call to indicates snapshots of different CS changes. Depending on the architecture described in section 3 of [RFC7245] an SRC may be a endpoint or B2BUA or as part of MEDIACTRL or Conference Focus. The subsequent sections in this document tries to list some example metadata snapshots for three major categories.
Note that only those examples for which metadata changes are listed in each category. For some of the call flows the snapshots may be same (like in case of endpoint or B2BUA acting as SRC) and the same is mentioned in the text preceding the example.
The section covers the models mentioned in the architecture document in section 3 of [RFC7245] where an SRC may be a SIP-UA or B2BUA. The SRS here could be a SIP-UA or an entity part of MEDIACTRL architecture described in [RFC6230].
Basic call between two Participants Alice and Bob who are part of one CS. In this use case each participant sends two Media Streams. Media Streams sent by each participant are received all other participants in this use-case. In this example the SRC is a B2BUA in the path between Alice and Bob as described in section 3.1.1 of [RFC7245]. Below is the initial snapshot sent by SRC in the INVITE to SRS that has complete metadata. For the sake of simplicity only snippets of SIP/SDP are shown. The SRCs records the streams of each participant to SRS with out mixing in this example.
Assume a call between two Participants Alice and Bob is established and a RS is created for recording as in example1. This is the continuation of above use-case. One of the participants Bob puts Alice hold and then resumes as part of the same session. The send and recv XML elements of a participant is used to indicate whether a participant is sending not sending a particular media stream whose properties are represented by stream element. SRC sends a snapshot with only the changed XML elements.
During hold
In the above snippet, Alice with participant_id srfBElmCRp2QB23b7Mpk0w== only receives media streams and does not send any media. The same is indicated by the absence of send XML element. Bob(participant_id zSfPoSvdSDCmU3A3TRDxAw==) on the other hand would be sending media but does not receive any media from Alice and so recv XML element is absent in this instance.
During resume
The snapshot now has send and recv XML elements for both Alice and Bob indicating that both are receiving and sending media.
Basic call between two Participants Alice and Bob is connected and SRC(B2BUA as per section 3.1.1 of [RFC7245]) has sent a snapshot as in example 1. Transfer is initiated by one of the participants(Alice). After the transfer is completed, SRC sends a snapshot of the participant changes to SRS. In this transfer scenario, Alice drops out after transfer is completed and Bob and Carol gets connected and recording of media between Bob and Carol is done by SRC. There may be two cases here as described below.
Transfer with in the same session - (.e.g. RE-INVITE based transfer). Participant Alice drops out and Carol is added to the same session. No change to session/group element. A participantsessassoc element indicating that Alice has disassociated from the CS will be present in the snapshot. A new participant XML element representing Carol with mapping to the same RS SDP stream used for mapping earlier Alice's stream is sent in the snapshot. A new sipSessionID XML element that has UUID tuples which corresponds to Bob and Carol is sent in the snapshot from SRC to SRS. Note that one half of the session ID that corresponds to Bob remains same.
Transfer with new session - (.e.g. REFER based transfer). In this case a new session (CS) is created and shall be part of same CS-group (done by SRC).
SRC first sends an optional snapshot indicating disassociation of participant from the old CS. Please note this is a optional message. An SRC may choose to just send a INVITE with a new session element to implicitly indicate that the participants are now part of a different CS with out sending disassociation from the old CS. Also note that the SRC in this example uses the same RS. In case it decides to use a new RS, it will tear down the current RS using normal SIP procedures (BYE) with metadata as in example 4.
Note in the above snapshot the participantsessionassoc element is optional as indicating session XML element with a stop-time implicitly means that all the participants associated with that session have been disassociated.
SRC sends another snapshot to indicate the participant change (due to REFER) and new session information after transfer. In this example it is assumed SRC uses the same Recording Session to continue recording the call. Also note that the sipSessionID XML element in metadata snapshot now indicates Alice and Carol in the (local, remote) uuid pair.
This example shows a snapshot of metadata sent by an SRC at CS disconnect where the participants of CS are Alice and Bob
The section covers the models mentioned in the architecture document in section 3 of [RFC7245] where an SRC may be part of Conference model either as Focus or a participant in Conference. The SRS here could be a SIP UA or an entity part of MEDIACTRL architecture. Note that the disconnect case is not shown since the metadata snapshot will be same as for a non-mixing case.
Basic call between two Participants Alice and Bob who are part of one CS. In this use case each participant sends one Media Streams. Media Streams sent by each participant is received by the other participant. Below is the initial snapshot sent by SRC in the INVITE to SRS that has complete metadata. For the sake of simplicity only snippets of SIP/SDP are shown. The SRCs records the streams of each participant to SRS by mixing in this example. The SRC here is part of conference model described in section 3 of [RFC7245] as a Focus and does mixing. The SRC here is not a participant by itself and hence it does not contribute to streams.
In the above example there are two participants Alice and Bob in the conference. Among other things, SRC sends Session-ID in the metadata snapshot. There are two Session-ID's here, one that corresponds to the SIP session between Alice and Conference Focus and the other for the SIP session between Bob and Conference Focus. One half of both these Session-ID's will have the same value (which is added by the Focus).
Assume a call between two Participants Alice and Bob is established and a RS is created for recording as in example 5. This is the continuation of above use-case. One of the participants Bob puts Alice hold and then resumes as part of the same session. The send and recv XML elements of a participant is used to indicate whether a participant is sending not sending a particular media stream whose properties are represented by stream element. The metadata snapshot looks as below:
During hold
During resume a snapshot shown below will be sent from SRC to SRS
In a conference model, participants can join and drop a session any time during the session. The below shows a snapshot sent from SRC to SRC in these case. Note the SRC here can be a focus or a participant in the conference. In case where the SRC is a participant it may learn the information required for metadata by subscribing to conference event package [RFC4575]. Assume Alice and Bob were in the conference and a third participant Carol joins, then SRC sends the below snapshot with the indication of new participant.
Assume Alice drops after some time from the conference. SRC generates a new snapshot showing Alice disassociating from the session
When a CS is disconnected, SRC sends BYE with a snapshot of metadata having session stop-time and participant dis-associate times. The snapshot looks same as listed in section 3.2.4
The section shows the snapshots of metadata for the cases there a persistent RS exists between SRC and SRS. An SRC here may be SIP UA or a B2BUA or may be part of Conference model either as Focus or a participant in Conference. The SRS here could be a SIP UA or an entity part of MEDIACTRL architecture. Except disconnect case, the snapshot remains same as one of the examples mentioned in previous sections.
In trading floor environments, in order to minimize storage and recording system resources, it may be preferable to mix multiple concurrent calls (Communication Sessions) on different handsets/ speakers on the same turret into a single recording session. This would means media in each CS is mixed and recorded as part of single media stream and multiple such CSs are recording in one Recording Session from a SRC to SRS.
Lets take a example where there are two CS[CS1 and CS2]. Assume mixing is done in each of these CS and both these CS are recorded as part of single RS from a single SRC which is part of both the CS. There are three possibilities here:
The following example shows the first possibility where CS1 and CS2 uses the same Focus for fixing and that Focus is also acting as SRC in each of the CS.
There is no security consideration as it is informational callflow document.
This document has no IANA considerations
Thanks to Ofir Rath, Charles Eckel for their review comments.
[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. |
[I-D.ietf-siprec-metadata] | R, R., Ravindran, P. and P. Kyzivat, "Session Initiation Protocol (SIP) Recording Metadata", Internet-Draft draft-ietf-siprec-metadata-17, February 2015. |
[RFC7245] | Hutton, A., Portman, L., Jain, R. and K. Rehor, "An Architecture for Media Recording Using the Session Initiation Protocol", RFC 7245, May 2014. |
[RFC4575] | Rosenberg, J., Schulzrinne, H. and O. Levin, "A Session Initiation Protocol (SIP) Event Package for Conference State", RFC 4575, August 2006. |
[RFC4353] | Rosenberg, J., "A Framework for Conferencing with the Session Initiation Protocol (SIP)", RFC 4353, February 2006. |
[RFC6230] | Boulton, C., Melanchuk, T. and S. McGlashan, "Media Control Channel Framework", RFC 6230, May 2011. |