Skip to end of banner
Go to start of banner

ACR

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

The Avaya Contact Recorder (ACR) creates audio files of calls that have occurred on your telephone system.  Providing the ACR recordings are no longer taking place, these recordings can be migrated to VFC using the ACR Import Source.

The ACR Import Source migrates both ACR-only and ACR+15.2 systems using the native ACR API.

Both encrypted and unencrypted ACR recordings can be migrated by the ACR Import Source.


For a general description of Verba Import sources, please refer to Import sources.

Migration Support

The following modalities are supported: Avaya Voice only.


Creating an ACR import source


Follow the steps in ACR before creating a a new Import source:

Step 1 - Open the ACR CRS Admin Page, navigate to System > Licence from the top menu.  Ensure Search and Replay API is Enabled.

Step 2 - Open the ACR CRS Admin Page, navigate to System > Edit Layouts from the top menu.  Click Copy and create a new segment based layout for the migration.  Ensure Call Start Range Start Time is the only field in the left vertical column.  Then click the checkbox and pencil in each of the horizontal column headings, selecting Start Time, Duration, UDFs, INUMs, Agents, Services, Skills and Other Parties from the field chooser popup. 

Step 3 - Open the ACR CRS Admin Page, navigate to System > Manage Users from the top menu.  Click Add User and under roles select May use external APIs and ensure the newly created layout above is ticked in the Search/Replay layout(s) available panel.  In the Access rights over recordings/sessions/devices owned by pane, ensure the new API user has rights to search for recordings to be migrated in the new layout.


Follow the steps in Verba to create a new Import source:

Step 1 - Open the Verba Web interface then select Data > Import Sources from the top menu

Step 2 - Click on the Add New Import Source link on the top right

Step 3 - Complete the configuration according to the requirements in the following table

Configuration Item

Description

NameName your Import Source. This name will identify the source across the system.
TypeSelect ACR
ACR Hostname or IP Address

Mandatory. Name of ACR CRS (Central Replay Server)

ACR Port

Mandatory. Port Number of ACR CRS (Central Replay Server)

TLS Certificate File or ThumbprintOptional certificate file / certificate thumbprint used for the ACR connection.
TLS Key File

Optional file system location where the certificate key is stored.

TLS Key Password

Specify the password for the file that contains the certificate keys.

TLS Trust List

Certificate chain (or Chain of Trust) is made up of a list of certificates that start from a server's certificate and terminate with the root certificate. If your server's certificate is to be trusted, its signature has to be traceable back to its root CA.

ACR API User

Mandatory. ACR user that must be created with API permission before this Import Source is used.

ACR API PasswordMandatory. ACR user password that is set the first time the Import Source is used. N.B. The ACR API user must not have a password set when it is created, instead the import source ACR API Password will be set and used automatically.
ACR Layout NameMandatory. ACR search layout name created before this Import Souce is used.
Lua CDR CustomisationOptional.  Lua script to be executed during VFC CDR creation from ACR call that allows filtering and control of the import.  See elsewhere on this page for more details.
ACR TimezoneMandatory. Set to the timezone of the ACR CRS, in case it is in a different timezone from the ingesting VFC server.
Maximum Recording Length (minutes)

Mandatory.  Maximum length of any single ACR recording to be ingested.  Recordings exceeding the maximum length may not be ingested or an alert generated.

While a larger batch size retrieves more records, it must not exceed the duration of the timeslot available for processing.

Recording Start TimestampMandatory. Start timestamp of the first ACR recording to be migrated.
Recording End TimestampMandatory. Timestamp of the last ACR recording to be migrated.


Step 4 - Click Save to save the settings

Lua CDR Customisation

As historical recordings may include changes in field layout, data anomalies caused by software bugs and ultimately not be required due to organisation unit, embedded Lua scripting has been provided to control the migration process.

For more information about Lua, please refer to https://www.lua.org/docs.html

Use of a Lua script is optional, if not required, the Lua CDR Customisation field should be left empty.  Otherwise, the following template is required:

function compute_cdr(srcValues,dstValues)

package.path = "C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/vcpkg/packages/lua_x64-windows-static/xml2lua161/?.lua"

lib = require "DemoLib"

local xml2lua = require("xml2lua")
local handler = require("xmlhandler.tree")
handler=handler:new()

local parser = xml2lua.parser(handler)

parser:parse(srcValues[2])

local results = handler.root.results
if #results.result > 1 then
results = results.result
end

for i, p in pairs(results) do

local inum = p._attr.inum
dstValues[1] = inum

--local skills = p.field[9][1]
skills = "Unknown"
otherParties = p.field[5][1]
parties = lib.Split(otherParties,",")
numberOfParties = #parties

srcNumber = "Unknown"
dstNumber = "Unknown"

-- <field name="otherparties">0000001(ACRTEST-1), 10000,9999</field>
-- <field name="otherparties">9999</field>

if (numberOfParties == 1) then
srcNumber = parties[1]
dstNumber = skills
elseif numberOfParties == 2 then
srcNumber = parties[1]
dstNumber = parties[2]
else
srcNumber = parties[2]
dstNumber = parties[3]
end

dstValues[2] = srcNumber
dstValues[3] = dstNumber

end

return dstValues

end

Import Policy Configuration

Follow the steps below to configure the Data Import action:

Step 1 - In the Verba web interface, navigate to Data > Data Management Policies

Step 2 - Click on the Add New Data Management Policy button at the top-right corner of the page

Step 3 - For the action, select Data Import

Step 4 - Under Available Import Sources, select the Import Source that you created, then click on the Add button just below the text field

Step 5 - Configure the policy details, based on the information that is shown in the configuration items summary table below

Step 6 - Set up how frequently the Import should be run in the Scheduling section

Step 7 - Click on Save


Configuration Parameter Name

Description

Enable Recording RulesSpecifies if all data should be processed in the imported data set or just the records of the recorded users as configured in Verba
Execute Only on Selected Servers

If enabled, a specific server can be chosen that will run this policy

Types of alerts raised by the ACR Import Source

Alert Message

Explanation

Could not parse configuration of sourceProblem with Import Source configuration setting.

Unexpected problem with underlying VFC database/filesystem

Could not connect to database or write file to local disc, check firewall and disc permissions.

Failure to process Call Metadata

Unexpected or unavailable ACR call metadata values.
Failure to communicate with ACRFirewall or network configuration problem.
No more ACR recordings availableBatch start time exceeds the last ACR recording timestamp.
Detected no recorded parties in a recordingNo recording owner found in customer custom metadata.
Failed to retrieve media from ACRMedia unavailable or download interrupted.
Unable to find expected ACR call metadataEither standard or ACR extended call metadata could not be extracted.
Could not obtain time zone offsetsTimezone offsets could not be extracted from the VFC database.

Migration Status Reporting

No report files are generated, however at the end of each batch, a notification alert is raised containing details of recordings migrated from ACR into VFC.

ACR metadata

The system captures the following metadata specific to ACR recordings. These fields are available through the standard and the ACR specific custom metadata template.

Metadata Field

Description

Template

Available

Start DateStart date of the conversationStandardYes
Start TimeStart time on the conversationStandardYes
End DateEnd date of the conversationStandardYes
End TimeEnd time of the conversationStandardYes
DurationLength of the conversationStandardYes
UserName of the recorded userStandardYes
FromSubscriber / Third Party Phone numberStandardYes
From InfoUser / contact nameStandardYes
ToSubscriber / Third Party phone numberStandardYes
To InfoUser / contact nameStandardYes
DirectionDirection of the call from the system perspective, requires configuring internal number/domain patternsStandardYes
Direction (User)Direction of the call from the recorded user perspectiveStandardYes
From (Verba)Verba user name associated with the From NumberStandardYes
To (Verba)Verba user name associated with the To numberStandardYes
LocationHostname of the recording serverStandardYes
End CauseNormal, Hold, Transfer, Conference, Device Change, From Terminated, To TerminatedStandardNo
Audio CodecAudio codec of the recorded streamsStandardNo
Video codecVideo codec of the recorded streamsStandardNo
Platform Call IDUnique conversation identifier received from the recorded platformStandardYes
Silence RatioRatio of silence in the conversationStandardNo
Talkover RatioTalkover ratio of the conversationStandardNo
Longest SilenceLength of the longest silence present in the conversationStandardNo
User ID / Agent IDUser IDStandardYes
From DeviceDevice ID of the calling partyStandardNo
To DeviceDevice ID of the called partyStandardNo
Dialed NumberOriginal dialed numberStandardNo
From IPIP address associated with the calling partyStandardNo
To IPIP address associated with the called partyStandardNo
From Proxy IPIP address of the proxy server associated with the caller partyStandardNo
To Proxy IPIP address of the proxy server associated with the called partyStandardNo
Source PlatformACRStandardYes
Conversation TypeVoiceStandardYes
Forward ReasonForward reason for the conversation (e.g. forwarded, transferred, team call, delegated, etc.) StandardNo
Recording failedIndicates if the recording has failed and the metadata was imported during CDR reconciliationStandardNo
Media LengthLength of the media file related to the conversation in hhh:mm:ss formatStandardNo
Media ErrorShows the media processing errors during recordingStandardNo
Voice QualityOverall voice quality check score for the conversationStandardNo
Record TypeStandardStandardYes
2N SourceIn case of duplicate (2N) recording, records are marked as primary or secondaryStandardNo
UDFsAll standard ACR User Defined FieldsACRYes
AgentsCustomer custom metadataACRYes
ServicesCustomer custom metadataACRYes
SkillsCustomer custom metadataACRYes
Other PartiesCustomer custom metadataACRYes
FingerprintCustomer custom metadataACRYes
  • No labels