Configuring SIPREC
This section defines the information required to configure SIPREC on the Oracle® Enterprise Session Border Controller. It also provides a sample procedure for configuring SIPREC using the Acme Packet Command Line Interface (ACLI).
Session Recording Server (SRS)
The Oracle Communications Interactive Session Recorder’s RSS acts as the SRS in the network. A session-recording-server attribute under the session-router object in the Oracle® Enterprise Session Border Controller ACLI allows you to enable/disable the SRS. This object is the session recording server that receives replicated media and records signaling. Additional parameters for SRS are configured under the session-agent, realm-config, and sip-interface objects. The rules of precedence for which the Oracle® Enterprise Session Border Controller uses these parameters are: session-agent takes precedence over the realm-config, and realm-config takes precedence over sip-interface.
Each SRS is associated with a realm-config. The realm specifies the source interface from which replicated traffic originates. The destination is an IP Port parameter (IP address or hostname with an optional port) that defines the SIP address (request URI) of the actual SRS.
For an additional level of security, Oracle recommends the SRS be configured in its own realm so as to apply a set of access control lists (ACLs) and security for the replicated communication.
Although the Oracle® Enterprise Session Border Controller supports large UDP packets, Oracle recommends the sip-interface associated with the SRS realm, be provisioned with a TCP port.
Session Recording Group
The Oracle® Enterprise Session Border Controller uses the session-recording-group attribute under the session-router object in the ACLI to set high availability (HA) for 3rd party call recorders. Using this object, you can define a collection of one or more SRSs. The Oracle® Enterprise Session Border Controller utilizes SIP’s transport mechanism and keeps track of statistics on each SRS to manage the distribution of traffic and load balancing. (For more information on Oracle® Enterprise Session Border Controller load balancing in session recording groups, see Load Balancing). When multiple SRSs are in a session recording group, the Oracle® Enterprise Session Border Controller uses heuristics to intelligently route the recording dialog to one or more SRSs utilizing the selection strategy.
The simultaneous-recording-servers configuration attribute controls the number of simultaneous SIP dialogs that the Oracle® Enterprise Session Border Controller establishes to the SRSs in the session recording group per communication session. For instance, if a session recording group contains 3 SRSs, and simultaneous-recording-servers is set to 2, the recording agent initiates a SIP INVITE to the next two SRSs based on the session recording group strategy. In this way, duplicative recording sessions are instantiated, allowing for recording redundancy in multiple SRSs or within a session recording group.
Note:
The Oracle® Enterprise Session Border Controller streams media to all SRSs. Each SRS chooses whether or not to ignore the media by returning a recvonly(receive only) media line. This permits an SRS to select specific media to record in the recording session, as well as determine whether or not to record the media.The number of simultaneous recording servers does not dictate the number of recording devices required to be active for a communication session. If two SRSs exist in a session recording group and simultaneous-recording-servers is set to 2, if at least one recording device to any of the servers completes, the recording server is treated as being established.
Load Balancing
The Oracle® Enterprise Session Border Controller supports recording server load balancing across members of a session recording group using the following strategies:
Note:
SRS groups support “round-robin” and “hunt” strategies only.[Round-robin]: The Oracle® Enterprise Session Border Controller remembers the last SRS that was used. Each new recording session selects the next SRS in the session recording group. When simultaneous-recording-servers is greater than 1, the next n recording servers are selected from the session recording group.
[hunt]: The Oracle® Enterprise Session Border Controller successively attempts to contact SRSs in the session recording group until a successful recording dialog is established with the SRS, starting from the first SRS in the session recording group. The Oracle® Enterprise Session Border Controller attempts to contact each SRS in the session reporting group once. When contact is exhausted, the recording device is considered failed. A SIP failure (response greater than 399, timeout or TCP setup failure) causes the Oracle® Enterprise Session Border Controller to attempt the next possible SRS. When simultaneous-recording-servers is greater than 1, the Oracle® Enterprise Session Border Controller attempts to establish n recording devices in a hunting fashion.
Session Recording Group within Logical Remote Entities
Each logical remote entity (session-agent, realm-config and sip-interface) has a session-recording-server attribute.This attribute is a reference to a specific SRS configuration and can be used to specify a session recording group instead. If a session recording group is specified instead of an SRS, the session recording group name must be prefixed with "SRG:" followed by the session recording group name. This distinguishes between an SRS being referenced and a session recording group being referenced.
With SIPREC, if an SRS or session recording group is configured on both the ingress and egress logical remote entities, both the ingress and egress SRS/session recording groups are used. This means that the Oracle® Enterprise Session Border Controller records the media between participants twice (or more) - once for the ingress recorders and once for the egress recorders.
If both the ingress and egress SRS/session recording group are the same, the Oracle® Enterprise Session Border Controller makes an optimization and only records the media once. Even if the ingress session recording group is the same exact set of SRSs as the egress session recording group (but with a different name), the Oracle® Enterprise Session Border Controller replicates media to both destinations. However, if the same set of SRSs has the exact same identifier, the Oracle® Enterprise Session Border Controller sends media to one and not both SRSs.
Selective Recording
SIPREC defines a number of use cases for which the Oracle® Enterprise Session Border Controller can record communication sessions. These use cases include the use of selective based recording. A selective recording is one in which a unique recording server is created per communication session.
Note:
The Oracle® Enterprise Session Border Controller does not support persistent recording.For SRSs using selective recording, recording servers are unique per session recording group. For each selective SRS in a session recording group, during the setup of a new communication session, the recording metadata is the same for each recording device. The SRC initiates a new SIP INVITE to the SRS carrying the metadata for that new recording server. The recording agent terminates the SIP dialog at the time that the recording session ends.
The lifetime of a recording session extends beyond the lifetime of the recorded communication. The SRC (Oracle® Enterprise Session Border Controller) re-uses the recording session ID in the metadata instead of creating a new ID for each recording.
SIPREC Support for SRTP
With the exception noted in the following table, the E-SBC supports SIPREC on all media flows with any combination of SRTP-RTP call legs on ingress and egress for all Acme Packet platforms. The E-SBC also supports SRTP on the interface between the E-SBC and the SIPREC server.
Caller A | Caller B | SRS | Supported or Not Supported |
---|---|---|---|
RTP | RTP | RTP | Supported |
RTP | SRTP | RTP | Supported |
SRTP | RTP | RTP | Supported |
SRTP | SRTP | RTP | Supported |
RTP | RTP | SRTP | Supported |
RTP | SRTP | SRTP | Supported |
SRTP | RTP | SRTP | Supported |
SRTP | SRTP | SRTP | Supported |
- The supported combinations apply to transcoded and non-transcoded calls.
- The supported combinations apply to recording and requires either the disabled mode or the enabled mode.
- The SDES profile that you use for in the media-security-policy configuration must include both the AES_CM_128_HMAC_SHA1_80 and AES_CM_128_HMAC_SHA1_32 ciphers in the crypto-list. Apply this media security policy to each realm where you want SRTP traffic.
High Availability (HA) Support
An Oracle® Enterprise Session Border Controller using SIPREC supports HA in the network. The Oracle® Enterprise Session Border Controller replicates all metadata states between the active and standby Oracle® Enterprise Session Border Controllers. Any recording dialogs in progress do not survive the failover, but all calls in progress are preserved. Additionally, the recording dialogs are replicated as well to the failed over Oracle® Enterprise Session Border Controller so that in-dialog SIP requests continue to function.
Each recorded communication session replicated to a single SRS counts as two calls instead of one. The Oracle® Enterprise Session Border Controller creates two flows between the two participants and two additional flows to the SRS for each of the parent flows.
SIPREC Configuration Procedure
The following configuration example assumes the Oracle® Enterprise Session Border Controller has the session recording license enabled on the Oracle® Enterprise Session Border Controller. Changes to the call session recording configuration for SIPREC are dynamic. Active calls in progress remain unaffected by the configuration changes. New calls, however, utilize the changes after a Save and Activate of the configuration.
The following attributes must be configured:
- session-recording-server
- session-recording-group (for RSS or 3rd party SRS high availability (HA) only) and at least one of the following attributes:
- realm-config
- session-agent
- sip-interface
Configure Session-Recording-Group
The Oracle® Enterprise Session Border Controller (E-SBC) uses the session-recording-group attribute under session-router to define a collection of session recording servers.
- Enable the SIP Session Recording licence. See "Getting Started."
- Configure multiple session recording servers. See "Session-recording-server Attribute."
- Determine the load balancing strategy that you want the E-SBC to use. See "Load Balancing."
In the configuration, you list the session recording servers that you want in the group, select a load balancing strategy, and set the number of simultaneous SIP dialogs.
Session-recording-group Attribute (for HA only)
For environments that required high availability (HA) requirements, configure the session-recording-group attribute.
To configure the session-recording-group attribute and enable HA:
Realm-config Attribute
Use the following procedure to configure the realm-config attribute and enable session recording:
SIPREC Ping
This SIPREC ping is a signal that the Oracle® Enterprise Session Border Controller transmits to the connected SRS requesting a response pertaining to the message type that you specify for the ping-method. It uses the ping-interval to determine how long it should wait before sending another ping to the SRS.
You can check the connectivity by configuring the following parameters:
- Ping method- SIP message or method for which to ping the SRS.
- Ping interval- Amount of time, in seconds, that the Oracle® Enterprise Session Border Controller waits before it pings the SRS in subsequent intervals. For example, if this parameter is set for 60 seconds, the Oracle® Enterprise Session Border Controller pings the SRS every 60 seconds.
Once configured the Oracle® Enterprise Session Border Controller uses this feature to perform SIP-based pinging to determine if the SRS is reachable or not.
Configuring SIPREC Ping on theOracle® Enterprise Session Border Controller.
To configure SIPREC ping on the Oracle® Enterprise Session Border Controller, you use the ping-method and the ping-interval objects under call-recording-server. Use the following procedure to configure SIPREC ping on the Oracle® Enterprise Session Border Controller.
To configure SIPREC ping:
Example SIPREC Ping Configuration
The following is an example of a SIPREC ping configuration.
call-recording-server# show
name SRS1
description session recording server
realm realmA
mode selective
destination 132.43.5.6
port 5060
transport-method DynamicTCP
ping-method OPTIONS
ping-interval 60
In the above example, the Net-Net ESD sends a ping request to the SRS using the OPTIONS value every 60 seconds to determine if the SRS is reachable or not.