MiaRec. Architecture for SIPREC recording



Similar documents
BroadSoft Partner Configuration Guide

Data Collection and Analysis: Get End-to-End Security with Cisco Connected Analytics for Network Deployment

Contents. Getting Set Up Contents 2

Recording & Evaluation mobile and fixed platforms for every business. Screen Recording. Integrated Management Platform. Workforce Optimization

AND Recorder 5.4. Overview. Benefits. Datenblatt

MiaRec. Cisco Built-in-Bridge Recording Interface Configuration Guide. Revision 1.1 ( )

BeBanjo Infrastructure and Security Overview

Feature and Technical

EarthLink Business SIP Trunking. NEC SV8300 IP PBX Customer Configuration Guide

Powerful Management of Financial Big Data

Deployment Topologies

Crystal Live Lite. Overview. Main functions and features

Conformance of Avaya Aura Workforce Optimization Quality Monitoring Recording Solution with the PCI Data Security Standard

Mirantis OpenStack Express: Security White Paper

Qfiniti Enterprise and VoIP for Avaya. Qfiniti Enterprise and VoIP. An etalk Technical White Paper

Need for Signaling and Call Control

Service Level Agreement for Windows Azure operated by 21Vianet

Apigee Gateway Specifications

StreamServe Persuasion SP5 StreamStudio

Network setup and troubleshooting

IP PBX using SIP. Voice over Internet Protocol

CNS-208 Citrix NetScaler 10 Essentials for ACE Migration

How To Encrypt Data On A Network With Cisco Storage Media Encryption (Sme) For Disk And Tape (Smine)

LifeSize Transit Deployment Guide June 2011

This presentation covers virtual application shared services supplied with IBM Workload Deployer version 3.1.

FileMaker Server 14. Custom Web Publishing Guide

MiaRec. Cisco Built-in-Bridge Recording Interface Configuration Guide. Revision 1.2 ( )

w h i t e p a p e r The Sytel Path to Non-Stop Productivity

Cisco Enterprise Content Delivery System (ECDS)

CISCO UNIFIED COMMUNICATIONS MANAGER

Configuring Security Features of Session Recording

for Lync Interaction Recording

Serving Media with NGINX Plus

LifeSize UVC Multipoint Deployment Guide

OrecX Oreka Total Recorder Application Notes

FileMaker Server 13. Custom Web Publishing with XML

District of Columbia Courts Attachment 1 Video Conference Bridge Infrastructure Equipment Performance Specification

FileMaker Server 15. Custom Web Publishing Guide

Easy-to-Use Easy-to-Install Easy on the Budget

Explain how to prepare the hardware and other resources necessary to install SQL Server. Install SQL Server. Manage and configure SQL Server.

nexvortex SIP Trunking Implementation & Planning Guide V1.5

Global Network. Whitepaper. September Page 1 of 9

Crystal Live. Overview. Interaction Recording and Monitoring Solution to Data Mining and Performance Management

EarthLink Business SIP Trunking. ININ IC3 IP PBX Customer Configuration Guide

Application Note Multiple SIParator Distribution

Cisco Unified Workforce Optimization for Cisco Unified Contact Center Express 10.5

Cisco TelePresence MCU MSE 8510

An Introduction to VoIP Protocols

Disaster Recovery White Paper

VoIP Bandwidth Considerations - design decisions

Fragmented MPEG-4 Technology Overview

Building and Deploying Enterprise M2M Applications with Axeda Platform

EarthLink Business SIP Trunking. Switchvox SMB 5.5 & Adtran SIP Proxy Implementation Guide

Cisco Active Network Abstraction Gateway High Availability Solution

EarthLink Business SIP Trunking. Toshiba IPedge Customer Configuration Guide

Formación en Tecnologías Avanzadas

How To. Instreamer to Exstreamer connection. Project Name: Document Type: Document Revision: Instreamer to Exstreamer connection. How To 1.

Networking Topology For Your System

FileMaker Server 13. Custom Web Publishing with PHP

Maintaining a Microsoft SQL Server 2008 Database

Using DNS SRV to Provide High Availability Scenarios

Network Simulation Traffic, Paths and Impairment

SIP Trunking Quick Reference Document

Palladion Enterprise SOLUTION BRIEF. Overview

Web Analytics Understand your web visitors without web logs or page tags and keep all your data inside your firewall.

Creating Web Farms with Linux (Linux High Availability and Scalability)

Cisco TelePresence MCU 4500 Series

Zeenov Agora High Level Architecture

Identikey Server Performance and Deployment Guide 3.1

Crystal Innovation Solution 16 Moshe Shapira St., Rishon Le-Zion, 75704, Israel Crystal Gears

EarthLink Business SIP Trunking. NEC SV8100 IP PBX Customer Configuration Guide

Secure VidyoConferencing SM TECHNICAL NOTE. Protecting your communications VIDYO

Interwise Connect. Working with Reverse Proxy Version 7.x

Receiving the IP packets Decoding of the packets Digital-to-analog conversion which reproduces the original voice stream

This presentation provides an overview of the architecture of the IBM Workload Deployer product.

MarkLogic Server. Database Replication Guide. MarkLogic 8 February, Copyright 2015 MarkLogic Corporation. All rights reserved.

Who is Watching You? Video Conferencing Security

Implementing a Microsoft SQL Server 2005 Database

SECURITY DOCUMENT. BetterTranslationTechnology

BigConnect v1.x. Software Guide

NET ACCESS VOICE PRIVATE CLOUD

Cisco Wide Area Application Services Optimizes Application Delivery from the Cloud

VoIP and IP Telephony

Industrial Network Security and Connectivity. Tunneling Process Data Securely Through Firewalls. A Solution To OPC - DCOM Connectivity

An Oracle White Paper July Palladion Enterprise: Real-Time Voice over Internet Protocol Monitoring and Troubleshooting

CallRecorder Administrator's Guide

General Pipeline System Setup Information

CTX OVERVIEW. Ucentrik CTX

ilinc Web Conferencing

Course. Overview. Length: 5 Day(s) Published: English. IT Professionals. Level: Type: Method: Delivery. Enroll now (CAL)

From Telephone Nuremberg

Hardware Features Voic message waiting indicator light Voic message retrieval button Volume control Redial Button Flash Button Standard

SIP Proxy. SIP Proxy. Bicom SYSTEMS. SIP Proxy... Advanced Simplicity

Cisco TelePresence MCU MSE 8420

Transcription:

Architecture for SIPREC recording

Table of Contents 1 Overview... 3 2 Architecture... 4 3 Third-party application integration... 6 3.1 REST API... 6 3.2 Direct access to MiaRec resources... 7 4 High availability and automatic failover... 8 5 Specification... 10 2

1 Overview This document describes architecture of the MiaRec call recording solution for SIPREC interface. 3

Telnet MiaRec 2 Architecture The MiaRec call recording solution consists of multiple parts as shown in the following diagram. All these parts may be deployed on a single server in case of small size project (up to 500 concurrently recorded sessions) or distributed over multiple dedicated servers, optionally, with duplication/redundancy. Live monitoring (RTSP) Store call metadata Load configuration DATABASE (call metadata + configuration) End User SIPREC RECORDING SERVICE SOAP API Call event notification (REST API) WEB PORTAL REST API FILE STORAGE (mp3 audio files) Third-party application Recording service The Recording service captures call recordings from phone system via SIPREC interface. It decodes RTP audio data and stores audio in MP3 format on local file system or NAS/SAN. Call metadata is stored in database. The recording service loads configuration from database. Telnet CLI is used for troubleshooting purposes. SOAP API is used for retrieving of real-time information about calls recording and changing of recorder s behavior, for example, trigger on-demand recording, pause/resume recording etc. SOAP API is described in details in a separate document. Recording service supports a real-time notification of web-port about call events (call start, stop, update). RTSP protocol is used for streaming of real-time audio for live monitoring. File storage MP3 audio files are stored either locally or on a network-based storage device or a combination of a local and a network-based storage. In the latter case, the recording service stores audio files on a local disk during the active phase of the call and then automatically moves files to a networkbased storage when the call is completed. This allows to improve disk operations performance and achieve resilience in case of network failure (see chapter High Availability and automatic failover). 4

Database Database is used for storing call metadata and system configuration. Web portal Web portal is used for call recordings access by end-users and system configuration by administrators. Web portal also implements REST API, which may be used by third-party applications for accessing call recordings and configuring of system. 5

3 Third-party application integration 3.1 REST API MiaRec REST API is a single point of entry to all resources of MiaRec platform. A third-party client application communicates with MiaRec REST API to retrieve resources (for example, calls or users) and create/update/delete resources (for example, create a new user, delete call, pause/resume recording etc). The client application sends HTTP requests to MiaRec API. The HTTP response data is encoded in JSON format. Recorder Service Client Application HTTP Request HTTP Response MiaRec Web Services API Database (configuration, call history) File storage Example of request: GET https://<host:port>/api/v2/users/<user-id> Example of response: { } "user": { "id": "JohnSmith", "first_name": "John", "last_name": "Smith", group_id : Group1 } REST API is described in details in a separate document. 6

Telnet MiaRec 3.2 Direct access to MiaRec resources Besides REST API, MiaRec supports direct integration with third-party applications. The thirdparty application may have direct access to database, file storage and SOAP API of recording service. Such option allows tighter integration with MiaRec and better performance in some cases, like complex database search queries. At the same time, such integration option has one significant drawback: maintenance of such system is more challenging. When MiaRec database structure changes with new software release, an update of third-party application may be required too. This issue doesn t occur with REST API because the latter is relatively stable and doesn t change very often. Store call metadata Load configuration DATABASE (call metadata + configuration) MiaRec Admin UI SIPREC RECORDING SERVICE SOAP API Call event notification (REST API) WEB PORTAL Third-party application Web UI FILE STORAGE (mp3 audio files) End User SOAP API Call event notification (REST API) 7

4 High availability and automatic failover High availability and automatic failover for SIPREC interface is based on two technologies: 1) DNS SRV 2) MiaRec call replication Master 1 Master 2 MiaRec Recorder DB Web Storage Two-way replication MiaRec Recorder DB Web Storage BroadWorks Load-balancing and/or failover (DNS SRV based) More than 2 masters supported BroadWorks platform supports DNS SRV records for SIPREC interface. This allows building of the following configurations: Multiple recording servers and split SIPREC traffic between them (load balancing) Multiple recording servers with automatic failover from a primary server to a secondary one. A combination of above two variants. MiaRec supports automatic call replication between two or more recording servers. Audio file and call metadata is automatically uploaded to replication target server(s) upon call completion or by schedule (for example, at night). Example of DNS SRV records: # _service._proto.name. TTL class SRV priority weight port target. _sip._tcp.example.com. 86400 IN SRV 10 40 5060 miarec1.example.com. _sip._tcp.example.com. 86400 IN SRV 10 30 5060 miarec2.example.com. _sip._tcp.example.com. 86400 IN SRV 10 30 5060 miarec3.example.com. _sip._tcp.example.com. 86400 IN SRV 20 0 5060 miarec4.example.com. The first three records share a priority of 10, so the weight field s value will be used by BroadWorks to determine which recording server to contact. The sum of all three values is 100, so miarec1 will be used 40% of the time. The remaining two hosts miarec2 and miarec3 8

will be used for 30% of requests each. If miarec1 is unavailable, these two remaining servers will share the load equally, since they will each be selected 50% of the time. If all three servers with a priority of 10 are unavailable, the records with the next lowest priority value will be chosen, which is miarec4. This might be a machine in another physical location, presumably not vulnerable to anything that would cause the first three servers to become unavailable. Limitations: The load balancing provided by SRV records is inherently limited, since the information is essentially static. Current load of servers is not taken into account. In case of failover from one server to another, the currently active recordings on the failed server are interrupted. A new recording server will handle only new SIPREC requests. 9

5 Specification Supported codecs G.711 G.722 G.726-32k GSM G.729 Supported recording methods SIPREC (Broadworks, Acme) Port mirroring Cisco BiB Avaya TSAPI+DMCC Supported signaling protocols (for port mirroring) SIP H.323 MGCP Skinny Audio file compression MP3 (with configurable bitrate and quality) o 7.2MB/hour (mixed) o 14.4MB/hour (dual) WAV (uncompressed) o 57.6MB/hour (mixed) o 115.2MB/hour (dual) Audio mixing dual (each party is stored in separate audio channel of stereo file) mixed Audio quality improvements AGC (automatic gain control) PLC (packet loss concealment) Encryption AES 256-bit encryption (for audio files) RSA 2048-bit or 4096-bit (unique pair of asymmetric encryption keys per user and per tenant) PCI Compliance Audio encryption Pause/resume recording Audit log Live monitoring RTSP protocol Integration with thirdparty applications SOAP API REST API Direct access to database Supported platforms CentOS/RedHat (64-bit) Windows (32-bit, 64-bit) Database PostgreSQL 9.3+ 10

Web UI Apache web server Python web scripts Celery (asynchronous task queue) Redis (message broker, cache) 11