These Application Notes describe the configuration steps required for Sonus Session Border Controller (SBC) to interoperate with the SIP recording server (NICE server) using SIP trunks. Sonus SBC is a robust solution that integrates security, call control, Quality of Service, advanced media services and switching, all within a compact platform. The SBC functionality is compliance tested utilizing a SIP trunk to NICE recorder.
The objective of this document is to describe the procedure to be followed during IOT of SBC with NICE recorder. This includes identifying the test environment, tools required for testing, network topology, test points, risks involved in testing and scope of the testing.
The interoperability compliance testing focuses on verifying inbound and outbound call flows between Sonus SBC and the NICE recorder using TCP.
This is a technical document intended for telecommunication engineers with the purpose of configuring both the Sonus SBC and the third-party product. Navigating the third-party as well as the Sonus SBC Command Line Interface (CLI) is required. Understanding the basic concepts of TCP/UDP, IP/Routing and SIP/RTP are also required to complete the configuration and any necessary troubleshooting.
Session recording is a capability which can be utilized for various purposes: to comply with regulation, to monitor quality of service of representatives and to store call information for quality analysis. Sonus SBC currently supports proprietary SIP recording interfaces like NICE and MCT. This feature aims to support IETF standard SIP recording interfaces, namely SIPREC (SIP recording).
As per SIPREC architecture, SBC acts as Session Recording Client (SRC) and acts as RTP translator. The NICE recorder acts as a Session Recording Server (SRS). As a SRC, SBC initiates SIP recording session (RS) towards Session Recording server (SRS).
The following equipment and software are used for SIPREC configuration.
The following reference configuration shows connectivity between the NICE recorder and the Sonus SBC.
For any questions regarding this document or the content herein, please contact your maintenance and support provider.
This section provides a look at the NICE recorder configuration used during compliance testing. The NICE recorder is typically configured for customers by NICE. The screen shots and partial configuration shown below, supplied by NICE, are provided only for reference.
This section describes NICE components.
• CAPIC (CAPI Gate Interaction Correlator): A NICE component that correlates and combines the data of calls from different switches. The CAPIC is located on the same machine as the Interactions Center.
• NICE Interactions Center: The NICE Interactions Center receives the call status, monitors call events, and stores them in its database for other system functions such as queries, reports, etc. and uses them when interaction-based recordings are implemented to determine whether to record a call.
• NICE VoIP Logger: A Logger that was set up for Active Recording and is used in an Active VoIP Recording environment. The NICE VoIP recording solution enables customers to effectively capture, evaluate, analyze and improve multimedia interactions taking place on an IP network. It provides VoIP recording solutions to customers that are deploying IP telephony networks, enabling them to enhance customer experience management over converging networks. Once the VoIP audio is recorded, it can be saved, archived, queried, and played back as easily as analog or digital recorded audio.
• Voice Recording SIP Proxy (VRSP): The VRSP functions as a SIP Proxy. It is used to set up SIP-based calls between the SBC and the NICE VoIP Logger. It is recommended to deploy VRSP redundancy in order to guarantee recording.
All configuration of VRSP, CAPIC, NICE Interaction center and CAPIC is done by NICE.
The interaction between the Sonus SBC and the NICE recorder is described below.
• The SBC receives an incoming call and queries PSX for route.
• The SBC sends an INVITE to the VRSP.
• The VRSP sends the SBC a 200 OK SIP response with the Logger’s SDP.
• The SBC routes the RTP streams to the Logger and recording starts.
• The VRSP sends a START message to the CAPIC (via the CTI Driver). The START message contains the UDI and UCID for the call.
• The CTI server (AES/TSAPI) sends an ESTABLISHED event to the CAPIC (via the CTI Driver). The ESTABLISHED event contains the DN, UCID and other call details (e.g., Call ID, participants, etc.).
• The CAPIC correlates the calls received from the VRSP and CTI server. The correlation is performed based on the UCID in both calls.
• The CAPIC sends the Interactions Center the correlated interaction, including the relevant UDI and DN received from the VRSP and the CTI server.
Currently, NICE recorder supports three redundancy methods:
SBC can use the SIP session timer method to detect that a SRS recording session failed. SRC may use non supported SIP methods to detect failures by accepting “Non implemented” response.
Currently, we support the Active/Standby with fail over model.
For enabling NICE recorder for recording:
Step 1: STOP CTI services (yellow icon in the system tray with CTI letters > right-click > StopNICE Integrations Dispatch service).
Step 2: Remove all log file under D:\Program Files\NICE Systems\CTI\Log (skip the files, which are in use).
Step 3: START CTI services (yellow icon in the system tray with CTI letters > right-click > StopNICE Integrations Dispatch service).
After 3 minutes initiate a call now call should be recorded
Ensure 'TCPConnectionClientCAPI.dll, TCPServerAPI.dll' files are present at D:\Program Files\NICE Systems\CTI\ in Nice server (present by default) for recording on TCP.
To play back recorded message.
This section provides a look into the Sonus SBC configuration used during compliance testing. The Sonus SBC is typically configured for customers by Sonus Networks. The screen shots and partial configuration shown below, supplied by Sonus Networks, is provided only for reference. Other configurations are possible.
SIPREC features normally use PSX/EPSX for routing. We must make a separate TG with separate zone and sipSigport and attach that to egress IP interface group. This sip trunk is toward NICE recorder.
In PSX, we must configure RECORDER PROFILE and CALL RECORDING CRITERIA along with Basic call configuration. Below are the additional/ special configuration fields required apart from Basic PSX configuration.
Apart from Basic configuration, the following configuration is required.
1. Recorder Profile: Provide NICE recorder, primary and secondary IPV4 or IPV6 address and port (5060). Also, mention the NICE TG name. The name of NICE TG created in SBC and PSX should be the same, otherwise recording would not be initiated toward NICE. Transport type must be set to TCP.
2. Call Recording Criteria: Provide call criteria for recording which you wish to record, like calling number, called number, ingress and egress TG, SBC name, the leg you want to record, either ingress or egress. Recorder type should be “SIPRec”. Enable the criteria. When a call is made, it shall be recorded if it falls under criteria.
All recorder information is known to SBC via PSX/EPSX.
set addressContext default ipInterfaceGroup LIF1 ipInterface pkt_a_v4v6 ceName BF026 portName pkt0 ipAddress 10.7.17.51 prefix 16 altIpAddress fd00:10:6b21:2007::17:51 altPrefix 48 set addressContext default ipInterfaceGroup LIF1 ipInterface pkt_a_v4v6 mode inService state enabled set addressContext default ipInterfaceGroup LIF2 ipInterface pkt_b_v4v6 ceName BF026 portName pkt1 ipAddress 10.7.18.60 prefix 16 altIpAddress fd00:10:6b21:2007::18:60 altPrefix 48 set addressContext default ipInterfaceGroup LIF2 ipInterface pkt_b_v4v6 mode inService state enabled commit
set addressContext default zone ZONE1 sipSigPort 3 ipAddressV4 10.7.17.51 portNumber 5060 transportProtocolsAllowed sip-udp,sip-tcp ipAddressV6 fd00:10:6b21:2007::17:51 ipInterfaceGroupName LIF1 set addressContext default zone ZONE1 sipSigPort 3 mode inService state enabled set addressContext default zone ZONE2 sipSigPort 5 ipAddressV4 10.7.18.60 portNumber 5060 transportProtocolsAllowed sip-udp,sip-tcp ipAddressV6 fd00:10:6b21:2007::18:60 ipInterfaceGroupName LIF2 set addressContext default zone ZONE2 sipSigPort 5 mode inService state enabled commit
set addressContext default zone NICE_ZONE id 10 sipSigPort 12 state enabled ipAddressV4 10.7.18.62 ipAddressV6 fd00:10:6b21:2007::18:62 portNumber 5060 transportProtocolsAllowed sip-udp,sip-tcp ipInterfaceGroupName LIF2 siprec enable commit
1. Use the following commands to configure the SIP Trunk Group on SBC.
set addressContext default zone ZONE1 sipTrunkGroup PER47639s_INT_TG media mediaIpInterfaceGroupName LIF1 set addressContext default zone ZONE1 sipTrunkGroup PER47639s_INT_TG ingressIpPrefix 10.54.80.200 32 set addressContext default zone ZONE1 sipTrunkGroup PER47639s_INT_TG state enabled mode inService set addressContext default zone ZONE1 sipTrunkGroup PER47639s_INT_TG media recordable enable set addressContext default zone ZONE2 sipTrunkGroup PER47639s_EXT_TG media mediaIpInterfaceGroupName LIF2 set addressContext default zone ZONE2 sipTrunkGroup PER47639s_EXT_TG ingressIpPrefix 10.54.80.200 32 set addressContext default zone ZONE2 sipTrunkGroup PER47639s_EXT_TG state enabled mode inService set addressContext default zone ZONE2 sipTrunkGroup PER47639s_EXT_TG media recordable enable commit
2. Configure Trunk Group on PSX (Same names must be given to TG as above in PSX).
3.Use the following commands to configure the SIP Trunk Group for NICE RECORDER on SBC.
set addressContext default zone NICE_ZONE sipTrunkGroup PER47639s_NICE_TG media mediaIpInterfaceGroupName LIF2 set addressContext default zone NICE_ZONE sipTrunkGroup PER47639s_NICE_TG ingressIpPrefix 10.54.80.7 32 set addressContext default zone NICE_ZONE sipTrunkGroup PER47639s_NICE_TG state enabled mode inService commit
4. Configure Trunk Group on PSX for NICE RECORDER (Same names must be given to TG as above in PSX).
set addressContext default staticRoute 10.54.80.200 32 10.7.1.1 LIF1 pkt_a_v4v6 preference 100 set addressContext default staticRoute 10.54.80.200 32 10.7.1.1 LIF2 pkt_b_v4v6 preference 100 set addressContext default staticRoute 10.54.80.7 32 10.7.1.1 LIF2 pkt_b_v4v6 preference 100 set addressContext default staticRoute 10.54.80.8 32 10.7.1.1 LIF2 pkt_b_v4v6 preference 100 commit
This section provides the tests that are performed to verify configuration of the NICE recorder as SIPREC server and the Sonus SBC.
The following table lists a summary of the cases tested.
This Application Notes describe the configuration steps required for Sonus SBC to successfully interoperate with SIPRec server - NICE recorder. All feature and service test cases have been completed and passed with the exceptions/observations noted in Section Phase III- Inter op testing.