Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Name

Description

1

VRS_URL

URL of a local machine. example, https: //192.168.1.101 *

2

LOCAL_MACHINE_IP

Local machine IP since it is a non-HA deployment. example 192.168.1.101 *

3

KC_HOSTNAME

Keycloak hostname where keycloak is hosted. e.g 192.168.1.101*

4

TZ

Time Zone. e.g Asia/Karachi

5

TRUST_STORE_PATH

/app/ssl/truststore.jks. [keep it same]

6

TRUST_STORE_PASSWORD

Password for the trust store. [Expertflow464]

7

FINESSE_URL

https: //uccx12-5p.ucce.ipcc:8445

8

DIRECTORY_PATH_TO_MONITOR

The path for archival process to monitor, it should be the same path where sessions are kept. e.g /usr/share/freeswitch/cucmRecording/sessions/

9

ARCHIVED_MEDIA_FILES_EXTENSION

mp4 [keep it same]

10

FILE_EXTENSION

wav [keep it same]

11

NO_OF_DAYS

No of days before which all the files will be archived. If set 2, then except for last 2 days from the date and time of service started or triggered all the files will be archived. 

12

SFTP_HOST

SFTP host IP for archival e.g 192.168.1.106

13

SFTP_PORT

22

14

SFTP_USERNAME

Username of the SFTP server e.g expertflow

15

SFTP_PASSWORD

SFTP password e.g Expertflow464

16

ARCHIVAL_JOB_INTERVAL

It is a duration that tells the service to trigger again. This value is in hours. For example, if set 24 the service would be triggered after 24 hrs to get the desired job done.

17

STEAM_DELETION_JOB_INTERVAL_HRS

Time in hours before which all the stream is to be deleted. e.g 24

18

RETRY_LIMIT

limit to retry in case the connection fails. e.g 2

19

ARCHIVAL_PROCESS_NODE

active

20

NO_OF_DEL_DAYS

No of days before which all the streams will be deleted. If set 2, then except for last 2 days from the date and time of service started or triggered all the files will be deleted. 

21

CISCO_TYPE

Either UCCE or UCCX

22

ACTIVEMQ_BROKER_URL

Connection URL to Consumer as a Broker e.gtcp://192.168.1.101:61616

23

ACTIVEMQ_URL

Connection URL for ActiveMQ tcp://192.168.1.101:61616?broker.persistent=true&broker.schedulerSupport=true

24

ACTIVEMQ_USER

UserName for the ActiveMQ service i.e admin

25

ACTIVEMQ_PASSWORD

Password for the ActiveMQ service i.e admin

26

CUCM_APPLICATION_USER_NAME

CUCM User's username that has been created in step 3.

27

CUCM_APPLICATION_USER_PASSWORD

Password for the CUCM Application User.

28

CUCM_IP

IP address where CUCM has been Deployed

29

DEPLOYMENT_PROFILE

Profile that we want to use for backend “CISCO” or “EFSWITCH“

...

  1. Navigate to the recording solution directory and execute the following commands:

    Code Block
    chmod 755 install.sh
    #for UCCX and UCCE run
    ./install-cisco.sh 
    

    Verify all the containers are up and healthy 

  2. Verify if the keycloak container is healthy (docker ps), if it is on restarting, kill  (docker kill keycloak) and remove (docker rm keycloak) the keycloak container then run ./install.sh. Wait for keycloak container to become healthy.

  3. Set up keycloak

  4. Once keycloak is set up for Cisco and for EFCX it is already setup, add the below environment variables accordingly in the recording-solution/docker/config.env file.

Names

For Cisco EFCX

For EFCXCisco

1

KEYCLOAK_REALM_NAME

Realm name from EFCX keycloak

Realm name created in step 4 of keycloak setup

Realm name from EFCX keycloak

2

KEYCLOAK_CLIENT_ID

KeyCloak client id from EFCX keycloak

Keycloak client id from step 6 of keycloak setup

KeyCloak client id from EFCX keycloak

3

KEYCLOAK_CLIENT_SECRET

Add the client secret from EFCX keycloak

keycloak client secret from step 8 of keycloak setupAdd the client secret from EFCX keycloak

4

KEYCLOAK_PERMISSION_GROUP

AGENT_GROUP

AGENT_GROUP

5

EFCX_FQDN (Only for EFCX)

URL of the EFCX

-

URL of the EFCX

  1. Open recording-solution/docker/config.env and update the Database environment variables (Only for EFCX) these variables are builtin in case of UCCE or UCCX

Name

Description

1

DB_DRIVER

Driver on which database is running i.e postgres or mysql drive

2

DB_ENGINE

Engine on which database is running i.e postgres or mysql

3

DB_HOST

Name or ip of the host on which database is active

4

DB_NAME

Name of the database

5

DB_USER

Username for database

6

DB_PASSWORD

Password for the database

  1. To update the self-signed certificates for VRS, get the public authority or domain signed certificate .crt and .key files, name them server.crt and server.key, and replace the files in /recording-solution/config/certificates with these two new files. Names should be the same.

  2.  Run ./install-efcx.sh for EFCX Or run ./install-cisco.sh for Cisco UCCX and UCCE.

  3. Run the following command to ensure all the components are running. 

    Code Block
    # docker ps
  4. Go to https : //VRS-IP/#/login to access the application.

  5. Configure the SIP trunk to enable CUCM to send SIP events to VRS for call recordings. Two sip trunks should be configured in case of HA. (Not for EFCX)

*Nginx service is running on port 443 in case of UCCX or UCCE, and for EFCX it is running on port 444.