Screen Recording Configuration and Deployment Guide for EFCX
Pre-Requisite
Voice Recording Solution should be deployed on a Server.
An SFTP server is required which is same as where VRS is deployed.
This SFTP server must be configured for the root user.
Deployment of Screen Recording Service
For screen recording service follow the following sections:
A) SFTP server configuration
Configure SFTP on VRS server on root user.
Note the SFTP root password.
Note the SFTP IP Address.
B) Agent Computer
Download the Screen Recording executable file from here.
Download file.
Make a Folder named as 'Service' in C:\ and place both files in it.
Open the command prompt and add following environment variables from Table given in step 5.
To add variables use 'setx “<Environment Variable>” <Value>' from the following Table.
Environment Variables | Value |
---|---|
AGENT_HOST | localhost |
SFTP_IP | The IP address of the SFTP server, which is the same as the one where VRS is deployed |
SFTP_ROOT_PASSWORD | Password of the SFTP Server |
Once done, close the command prompt and reopen. Verify that environment variables are saved by running the following command:
echo %<Environment Variable>%
Open PowerShell as Administrator and run the following commands on any path:
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
Set-ExecutionPolicy Unrestricted -Scope CurrentUser
A message will appear. Write yes and press enter.
In PowerShell navigate to C:\Service\ and then run .\config.ps1
Go to the C Drive where the Service folder is located, and manually run
Controller.exe
by double-clicking it.Open the Browser and access this URL http://localhost:8000 . A page would open indicating that service is running fine.
Since the screen recording is not being integrated with agent desktop so we have to call the start and stop API manually.
To call the API manually, we have to pass the DNIS and dialogId to the API.
a. Start screen Recording URL: http://localhost:8000/start?DNIS=1234&dialogId=1234
b. Stop screen recording URL: http://localhost:8000/stop?DNIS=1234&dialogId=1234Login to the efcx in the browser, then make a call to the agent. Open the console and look for id example “
576570e79ca04f10acd6d3181afd9345
“
here is the pictureOnce you copied the id then Open the Start screen recording url in the browser and add the copy id as the dialogId as below.
http://localhost:8000/start?DNIS=1234&dialogId=576570e79ca04f10acd6d3181afd9345Once the call ends the open the stop screen recording url in the browser with the same dialogId
http://localhost:8000/stop?DNIS=1234&dialogId=576570e79ca04f10acd6d3181afd9345And the recording will be saved
Once the recording is stopped then the file will be transfered to the SFTP server, a folder named screen_recording will automatically be created in the root directory
Access the server via SSH and log in to the SFTP server.
Go to the
/screen_recording
Directory on the SFTP server and Verify if your recording is being saved.Download and Play the video manually.
https://<SFTP_IP>:<PORT>/vrs/recording/screen/<filename.extension>
Login to the VRS Application and Verify that screen recording is being saved. (front end yet to be made)