14.12.3 14.12.2 14.12.1 14.12.0 14.11.0 14.10.0 14.9.0 14.8.0 14.7 14.6 14.5 14.4 14.3
14.12.3 14.12.2 14.12.1 14.12.0 14.11.0 14.10.0 14.9.0 14.8.0 14.7 14.6 14.5 14.4 14.3

VRS Upgrade Guide from 14.12.2 to 14.12.3

Upgrade VRS from 14.12.2 to 14.12.3

Follow these steps in order.

This guide covers Cisco (docker-compose-cisco.yml / install-cisco.sh) and EFCX (docker-compose-efcx.yml / install-efcx.sh). Optional steps call out where Cisco and EFCX differ. There is no database schema change for 14.12.3.

Before you start

  • You have SSH/login access to the VRS server

  • You are already on 14.12.2 (or have completed the 14.12.1 → 14.12.2 upgrade). 14.12.2 was a configuration / documentation release — many sites still run 14.12.1 image tags; that is expected. This guide clones the 14.12.3 branch and applies the new tags.

  • If you will enable Email MFA (Step 5), have the prerequisites for your profile ready first:

    • Cisco: choose Gmail/SMTP or Microsoft Exchange Online (Graph), and have the matching MFA_MAIL_IMAGE registry tag (see Step 5a).

    • EFCX: CX otp-manager URL + Unified Admin email channel (Gmail or MS Exchange Online) ready.

Step 1 — Backup your settings

Save a copy of your current settings file so nothing is lost:

Bash
cp recording-solution/docker/config.env ~/config.env.backup

Check the backup exists:

Bash
ls -l ~/config.env.backup

Step 2 — Stop VRS

Cisco:

Bash
cd ~
cd recording-solution
docker compose --env-file docker/config.env -f docker/docker-compose-cisco.yml down

If MFA containers are running, stop them with the MFA profile:

Bash
docker compose --env-file docker/config.env --profile mfa -f docker/docker-compose-cisco.yml down

EFCX:

Bash
cd ~
cd recording-solution
docker compose -f docker/docker-compose-efcx.yml down

Wait until this command finishes.

Step 3 — Get the 14.12.3 files

Go to the directory that contains recording-solution (usually your home directory), keep the old folder as a backup, and clone the 14.12.3 branch:

Bash
cd ~
mv recording-solution recording-solution-14.12.2
git clone -b 14.12.3 https://gitlab.expertflow.com/voice-recording-solution/recording-solution.git

Check that you are on the 14.12.3 branch:

Bash
cd recording-solution
git branch --show-current
cd ..

It should print 14.12.3.

Put your settings back:

Bash
cp ~/config.env.backup recording-solution/docker/config.env

If you use your own SSL certificates, copy them from the old folder:

Bash
cp recording-solution-14.12.2/config/certificates/server.crt recording-solution-14.12.2/config/certificates/server.key recording-solution/config/certificates/

Update config.env with new values from 14.12.3

Restoring ~/config.env.backup keeps your existing site settings, but it also removes the new Email MFA values that ship in the 14.12.3 template. Append only the block for your deployment profile below (Cisco or EFCX — not both). Leave MFA off for now (MFA_IS_ENABLED_2FA=false). Change URLs / mail settings later only if you enable MFA in Step 5.

Bash
# Confirm the new values are not present yet (expected after restore)
grep MFA_IS_ENABLED_2FA recording-solution/docker/config.env || echo "MFA values missing — append your profile block below"

Open the file, go to the end, paste one of the blocks for your profile, then save:

Bash
nano recording-solution/docker/config.env

Cisco — append this block

Bash
# --- Email MFA (optional). Default OFF = no login behavior change ---
# Cisco: profile mfa → cisco-mfa-mail (MFA_MAIL_IMAGE).
MFA_IS_ENABLED_2FA=false
MFA_CHANNEL_2FA=EMAIL
MFA_CHANNEL_SERVICE_IDENTIFIER=noreply@example.com
MFA_OTP_EXPIRY=300
MFA_OTP_MAX_ATTEMPTS=5
OTP_MANAGER_URL=http://otp-manager:3000/
SEND_MESSAGE_URL=http://cisco-mfa-mail:8080/message/send
# Gmail / SMTP (only if MFA_MAIL_IMAGE is email-connector:5.14.0_f-EC-348)
SMTP_HOST=
SMTP_PORT=587
SMTP_USER=
SMTP_PASSWORD=
SMTP_FROM=noreply@example.com
SMTP_TLS=true
# Required for cisco-mfa-mail container
VRS_CISCO_MODE=true
# Set in Step 5a to the Gmail OR Exchange image tag (leave empty until then)
MFA_MAIL_IMAGE=
# MS Exchange Online Graph (only if MFA_MAIL_IMAGE is ms-exchange-email-connector:5.14.0_f-EC-348)
GRAPH_TENANT_ID=
GRAPH_CLIENT_ID=
GRAPH_CLIENT_SECRET=
GRAPH_SCOPE=https://graph.microsoft.com/.default
GRAPH_SENDER=
REDIS_HOST=mfa-redis
REDIS_PORT=6379
REDIS_PASSWORD=
OTP_SALT_ROUNDS=10

EFCX — append this block

EFCX uses CX otp-manager and CCM / Unified Admin for email (Gmail or MS Exchange Online). You do not need Cisco MFA_MAIL_IMAGE, VRS_CISCO_MODE, or local GRAPH_* / SMTP_* for the preferred CX path.

Append only the keys the VRS backend reads. Set the real CX OTP_MANAGER_URL later in Step 5b:

Bash
# --- Email MFA (optional). Default OFF = no login behavior change ---
# EFCX: replace OTP_MANAGER_URL with the CX otp-manager URL in Step 5b.
MFA_IS_ENABLED_2FA=false
MFA_CHANNEL_2FA=EMAIL
MFA_CHANNEL_SERVICE_IDENTIFIER=noreply@example.com
MFA_OTP_EXPIRY=300
MFA_OTP_MAX_ATTEMPTS=5
OTP_MANAGER_URL=http://<cx-host>:<otp-manager-port>/
# Optional: only if you use local compose profile mfa with CCM URL override
# EFCX_SEND_MESSAGE_URL=http://<ccm-host>/message/send

EFCX also — Agent Name dropdown: set ROUTING_ENGINE to the Routing Engine base URL (no /agents). Use the FQDN/APISIX path when it works, or http://<host>:<nodeport> when APISIX authentication requires direct service access. Recreate backend after changing it. Cisco: unused.

Image tags in compose (do not edit manually)

The shipped compose files already use these image tags:

  • front-end → 14.12.3

  • apis → 14.12.3

  • jtapi-connector (Cisco) → 14.12.3

  • archival-process (if used) → stays 14.12.1 unless your project ships a newer archival tag

  • freeswitch-mixer (mixed-session) → stays 14.12.0 — do not change it to 14.12.3

Verify (Cisco example):

Bash
grep -E 'apis:|front-end:|jtapi-connector:|archival-process:|freeswitch-mixer:' recording-solution/docker/docker-compose-cisco.yml

Verify (EFCX example):

Bash
grep -E 'apis:|front-end:|archival-process:' recording-solution/docker/docker-compose-efcx.yml

Confirm Cisco MFA service name in the new compose (should show cisco-mfa-mail):

Bash
grep -E 'cisco-mfa-mail|MFA_MAIL_IMAGE|profile' recording-solution/docker/docker-compose-cisco.yml

If you changed the old compose file (for example, uncommented archival-process or consul, or changed volume paths), make the same changes in the new file:

Bash
# Cisco
diff recording-solution-14.12.2/docker/docker-compose-cisco.yml recording-solution/docker/docker-compose-cisco.yml

# EFCX
diff recording-solution-14.12.2/docker/docker-compose-efcx.yml recording-solution/docker/docker-compose-efcx.yml

Step 4 — Start VRS again

Cisco:

Bash
cd recording-solution
chmod 755 install-cisco.sh
./install-cisco.sh
docker ps

After containers are up, restart jtapi-connector once so the connector picks up the new build:

Bash
docker restart jtapi-connector

EFCX:

Bash
cd recording-solution
chmod 755 install-efcx.sh
./install-efcx.sh
docker ps

install-cisco.sh and install-efcx.sh do not start MFA. Leave MFA off for now. Cisco: if you enable Email MFA in Step 5a, you start local MFA containers (otp-manager, mfa-redis, cisco-mfa-mail) there. EFCX: Step 5b uses CX otp-manager — no Cisco cisco-mfa-mail required.

Wait until install finishes. In docker ps you should see containers such as:

  • frontend — tag 14.12.3

  • backend — tag 14.12.3 (container name is backend on both Cisco and EFCX)

  • mixer (Cisco) — still on tag 14.12.0

  • keycloak (Cisco)

  • jtapi-connector (Cisco) — tag 14.12.3

  • archival-process (if enabled)

Do not expect otp-manager / cisco-mfa-mail here unless you later start --profile mfa.

Step 5 — Email MFA (optional)

Skip this entire step for a normal upgrade. With MFA_IS_ENABLED_2FA=false (default), login behavior is unchanged and you do not start the mfa compose profile.

Continue only if you want Email MFA on standalone VRS login (username/password). Finesse / CC User / gadget login does not use this OTP path.

Prerequisites (required before enabling MFA)

Have these ready before turning MFA on. Without them, Step 5a / 5b cannot be completed.

Applies to both profiles

  • Email MFA applies only to standalone VRS login (not Finesse / gadget).

  • Each user who will use MFA needs a mailbox that can receive OTP (Keycloak attribute customerChannelIdentifier = recipient email).

  • For validate to succeed, Keycloak channelServiceIdentifier (per user, or the env default used at enroll) must match the send service identifier (MFA_CHANNEL_SERVICE_IDENTIFIER / channel SI). Mismatch often shows as No active verification code / OTP_NOT_FOUND.

  • OTP is completed with POST /vrs/validate-otp and body field otpToValidate (UI does this). Putting OTP on /vrs/login does not complete MFA.

Cisco — choose one mail path

Path

MFA_MAIL_IMAGE source

Environment keys

Gmail / SMTP

gitlab.expertflow.com:9242/cim/email-connector:5.14.0_f-EC-348

SMTP_*, MFA_CHANNEL_SERVICE_IDENTIFIER (= From / SI)

MS Exchange Online (Graph)

gitlab.expertflow.com:9242/cim/ms-exchange-email-connector:5.14.0_f-EC-348

GRAPH_TENANT_ID, GRAPH_CLIENT_ID, GRAPH_CLIENT_SECRET (Secret Value, not Secret ID), GRAPH_SCOPE, GRAPH_SENDER (or SI), MFA_CHANNEL_SERVICE_IDENTIFIER

Cisco — required before Step 5a

Path

Item

What is required

Gmail / SMTP

Mailbox

A Gmail (or other SMTP) account that can send OTP mail

Gmail / SMTP

Password

For Gmail: a Google App Password (normal Gmail password will not work)

Gmail / SMTP

SMTP host

Example: smtp.gmail.com

Gmail / SMTP

SMTP port

587 with TLS enabled

Gmail / SMTP

From / Service Identifier

Same address for SMTP_FROM and MFA_CHANNEL_SERVICE_IDENTIFIER

Gmail / SMTP

Network

VRS host can reach the SMTP server

MS Exchange Online (Graph)

Mailbox

Licensed Microsoft 365 / Exchange Online mailbox used as the sender

MS Exchange Online (Graph)

Entra app

App registration in the same tenant as the mailbox

MS Exchange Online (Graph)

Permission

Application permission Mail.Send with admin consent

MS Exchange Online (Graph)

Tenant ID

Directory (tenant) ID → GRAPH_TENANT_ID

MS Exchange Online (Graph)

Client ID

Application (client) ID → GRAPH_CLIENT_ID

MS Exchange Online (Graph)

Client secret

Secret Value (not Secret ID) → GRAPH_CLIENT_SECRET

MS Exchange Online (Graph)

Sender / Service Identifier

Same mailbox for GRAPH_SENDER and MFA_CHANNEL_SERVICE_IDENTIFIER

MS Exchange Online (Graph)

Network

VRS host can reach login.microsoftonline.com and graph.microsoft.com

Both Cisco paths

Registry

VRS host can pull the MFA_MAIL_IMAGE tag

Both Cisco paths

otp-manager URLs

Keep OTP_MANAGER_URL=http://otp-manager:3000/ and SEND_MESSAGE_URL=http://cisco-mfa-mail:8080/message/send

EFCX — required before Step 5b

Item

What is required

otp-manager

CX otp-manager URL reachable from the VRS backend container → OTP_MANAGER_URL

Email channel (Gmail)

Unified Admin email connector + channel using IMAP-SMTP — see IMAP-SMTP based Email Configuration Guide

Email channel (Exchange)

Unified Admin MS Exchange Online connector + channel — see MS Exchange Online Email Connector Setup Guide

Service Identifier

Channel service identifier → MFA_CHANNEL_SERVICE_IDENTIFIER (must match Keycloak SI at verify)

Mail working

Confirm CX can already send mail on that channel before enabling MFA

Do not set MFA_IS_ENABLED_2FA=true until the items above are available and mail delivery is verified. Leaving MFA off is a valid completed upgrade.

Change only the keys listed below in the MFA block you appended in Step 3. Do not paste the whole MFA block again.

5a — Cisco: enable Email MFA

  1. Set MFA_MAIL_IMAGE to the Gmail or Exchange image tag from the table above (5.14.0_f-EC-348).

  2. Fill either SMTP or Graph (not both required). Keep MFA_IS_ENABLED_2FA=false until the stack is up.

Gmail / SMTP example:

Bash
MFA_MAIL_IMAGE=gitlab.expertflow.com:9242/cim/email-connector:5.14.0_f-EC-348
MFA_CHANNEL_SERVICE_IDENTIFIER=<your-from-address>
OTP_MANAGER_URL=http://otp-manager:3000/
SEND_MESSAGE_URL=http://cisco-mfa-mail:8080/message/send
VRS_CISCO_MODE=true
SMTP_HOST=<smtp-server>
SMTP_PORT=587
SMTP_USER=<smtp-user>
SMTP_PASSWORD=<smtp-password-or-app-password>
SMTP_FROM=<your-from-address>
SMTP_TLS=true
# leave MFA_IS_ENABLED_2FA=false until otp-manager / cisco-mfa-mail are up

MS Exchange Online (Graph) example:

Bash
MFA_MAIL_IMAGE=gitlab.expertflow.com:9242/cim/ms-exchange-email-connector:5.14.0_f-EC-348
MFA_CHANNEL_SERVICE_IDENTIFIER=<licensed-sender-mailbox e.g. vrs-otp@yourdomain>
OTP_MANAGER_URL=http://otp-manager:3000/
SEND_MESSAGE_URL=http://cisco-mfa-mail:8080/message/send
VRS_CISCO_MODE=true
GRAPH_TENANT_ID=<entra-tenant-id>
GRAPH_CLIENT_ID=<app-client-id>
GRAPH_CLIENT_SECRET=<app-secret-VALUE-not-secret-id>
GRAPH_SCOPE=https://graph.microsoft.com/.default
GRAPH_SENDER=<same-as-MFA_CHANNEL_SERVICE_IDENTIFIER>
# leave MFA_IS_ENABLED_2FA=false until otp-manager / cisco-mfa-mail are up

Entra app needs Mail.Send (application) for OTP send. Use the Secret Value; using the Secret ID causes AADSTS7000215.

  1. Start the MFA stack (otp-manager 5.5.0 + mfa-redis + cisco-mfa-mail):

Bash
cd recording-solution
docker compose --env-file docker/config.env --profile mfa -f docker/docker-compose-cisco.yml up -d
docker ps | grep -E 'otp-manager|mfa-redis|cisco-mfa-mail'

Confirm image and mode:

Bash
docker inspect cisco-mfa-mail --format '{{.Config.Image}}'
docker logs cisco-mfa-mail --tail 50 | grep -iE 'VRS_CISCO_MODE|Graph|/message/send|SMTP|sent'

You should see Cisco mode startup and successful send lines after a test login challenge (Exchange: Graph send / Gmail: SMTP send).

  1. When those three containers are healthy, change only this key in docker/config.env:

Bash
MFA_IS_ENABLED_2FA=true
Bash
cd recording-solution
docker compose --env-file docker/config.env -f docker/docker-compose-cisco.yml up -d --force-recreate backend

5b — EFCX: enable Email MFA

EFCX uses CX otp-manager and CCM. Configure email in Unified Admin first (Gmail / IMAP-SMTP or MS Exchange Online).

Common MFA guides

Gmail / IMAP-SMTP

MS Exchange Online (Graph)

On VRS, MFA on/off is always from docker/config.env (Step 3). The CX guides above are for EFCX Unified Admin email delivery only. Cisco uses local cisco-mfa-mail + MFA_MAIL_IMAGE (5a) — no Unified Admin.

  1. In Unified Admin, configure the email connector and at least one email channel (Gmail or MS Exchange Online Graph with SI such as vrs-otp@…).

  2. Confirm CX otp-manager is running and note the URL reachable from the VRS backend.

  3. Change only these keys in the EFCX MFA block from Step 3 (keep MFA_IS_ENABLED_2FA=false until mail works):

Bash
MFA_CHANNEL_SERVICE_IDENTIFIER=<email-channel-identifier-from-Unified-Admin>
OTP_MANAGER_URL=http://<cx-host>:<otp-manager-port>/
# leave MFA_IS_ENABLED_2FA=false until otp-manager / CCM email works

You do not need Cisco MFA_MAIL_IMAGE, VRS_CISCO_MODE, or local GRAPH_* for the preferred CX path. CX otp-manager + CCM + ms-email connector handle OTP delivery.

  1. Recreate backend after config changes so it picks up the new env (do not use docker restart alone):

Bash
cd recording-solution
docker compose --env-file docker/config.env -f docker/docker-compose-efcx.yml up -d --force-recreate backend
  1. When mail delivery works, change only this key, then recreate backend again (same command as step 4):

Bash
MFA_IS_ENABLED_2FA=true
Bash
cd recording-solution
docker compose --env-file docker/config.env -f docker/docker-compose-efcx.yml up -d --force-recreate backend

5c — MFA checks

  • MFA_IS_ENABLED_2FA=false: standalone login returns tokens immediately (same as before)

  • MFA_IS_ENABLED_2FA=true: after password success, user gets email enroll (first time) then OTP before tokens; resend works after cooldown; reuse of the same OTP is rejected

  • Finesse / CC User login (Cisco) still works without OTP

  • Cisco: docker logs cisco-mfa-mail shows Graph or SMTP send success after a challenge

  • EFCX: CX ms-email logs show Graph/SMTP send success for the channel SI (CCM delivery-notification 500 can be ignored for OTP)

OTP expiry / attempts (defaults): OTP is valid for 5 minutes (MFA_OTP_EXPIRY=300). After 5 wrong tries (MFA_OTP_MAX_ATTEMPTS=5), validation fails. Resend is available after the UI cooldown.

Wrong or change email: VRS has no “change email” screen after a user is enrolled. Admins fix the recipient in Keycloak.

  1. Keycloak → Users → select the user

  2. Open Attributes

  3. Edit customerChannelIdentifier to the correct email

  4. Save

Step 6 — Open VRS in the browser

Cisco: open https://<your-server-IP>/#/login (example: https://192.168.1.187/#/login).

EFCX: use your FQDN / port 444 URL from the Installation Guide mapping steps.

Login with your usual VRS user, then confirm:

  • Standalone login works (same as before when MFA is left off)

  • Cisco Finesse / CC User login (if used) still works

  • Media Recordings list/search and playback still work

  • On EFCX, Agent Name advanced filter still works when ROUTING_ENGINE is set (FQDN or NodePort as needed for APISIX)

  • Non-admin users cannot open admin menus or reach admin APIs (recording rules, archival settings, audit view, tag writes)

  • If MFA was enabled in Step 5: email OTP challenge works end-to-end (Outlook / Gmail inbox as configured)

What this upgrade gives you

See the Release Notes for the full feature list. From a deploy perspective this upgrade:

  • Moves apis, front-end, and jtapi-connector (Cisco) to image tag 14.12.3

  • Keeps freeswitch-mixer on 14.12.0

  • Hardens admin access control (Keycloak JWT roles on admin APIs and UI)

  • Adds optional Email MFA (default off — no login change unless you enable it in Step 5)

  • Cisco MFA mail: cisco-mfa-mail via MFA_MAIL_IMAGE — Gmail or MS Exchange Online (Graph)

  • EFCX MFA mail: CX otp-manager + CCM + Unified Admin email (Gmail or Exchange)

  • Fixes EFCX Agent Name dropdown with APISIX auth via configurable ROUTING_ENGINE

  • Improves JTAPI Extension Mobility tracking so late EM logins link correctly

  • No database schema change

Rollback

If you must return to 14.12.2 after starting this upgrade:

  1. Stop VRS (docker compose ... down as in Step 2; include --profile mfa if MFA containers were started).

  2. Point the deployment back to the previous files: for example remove or rename the 14.12.3 recording-solution folder and restore recording-solution-14.12.2 (and ~/config.env.backup into docker/config.env if needed).

  3. Start VRS again with your 14.12.2 install script / compose flow.

See also: Release Notes.