5.12.0 5.11.0 5.10.0 5.9.0 5.8.0 5.7.0 5.6.0 5.5.0 5.4.0 5.3.0 5.2.0 5.1.0 5.0 4.10 4.9 4.8 4.7 4.6 4.5.3 4.5.2 4.5.1 4.5 4.4 4.3
5.12.0 5.11.0 5.10.0 5.9.0 5.8.0 5.7.0 5.6.0 5.5.0 5.4.0 5.3.0 5.2.0 5.1.0 5.0 4.10 4.9 4.8 4.7 4.6 4.5.3 4.5.2 4.5.1 4.5 4.4 4.3

CX Voice Upgrade Guide

freeswitch scripts

  1. Clone the Media Server scripts repository.

    git clone -b  5.12.0 https://efcx:RecRpsuH34yqp56YRFUb@gitlab.expertflow.com/rtc/freeswitch-scripts.git
    
  2. Navigate to the cloned repository:

    cd freeswitch-scripts
    
  3. Move the .lua script files to the Media Server scripts folder:

    mv *.lua /usr/share/freeswitch/scripts
    
  4. Assign read-write permissions to the ivr_prompts and scripts folders:

    chmod 777 -R /usr/share/freeswitch/sounds/ivr_prompts
    chmod 777 -R /usr/share/freeswitch/scripts
    
  5. Open vcApi.lua (the main Voice Connector API file used to connect the call to Agent Desk):

    vi /usr/share/freeswitch/scripts/vcApi.lua
    
  6. Search for fsIp and replace fsIp = '192.168.1.161' with your actual Media Server public IP.

  7. Save and exit the file by pressing Esc, entering:wq, and pressing Enter.


Voice Connector

The Voice Connector is deployed as a Docker image. Update it to tag 5.12.0 as follows.

  1. Navigate to the existing Voice Connector directory:

    cd voice-connector
    
  2. Open the Docker Compose file:

    vi docker-compose.yml
    
  3. Update the image tag to 5.12.0. The file should look like this:

    version: "3.8"
    services:
      voice-connector:
        image: gitimages.expertflow.com/freeswitch/ecx_generic_connector:5.12.0
        deploy:
          resources:
            limits:
              memory: 1024m
            reservations:
              memory: 256m
        container_name: unified-voice-connector
        ports:
          - 8115:8080
        env_file:
          - ./env.txt
        command: ["java", "-Xms256m", "-Xmx1024m", "-XX:+UseG1GC", "-XX:MinHeapFreeRatio=10", "-XX:MaxHeapFreeRatio=30", "-jar", "/app/ecx_generic_connector.jar"]
        restart: always
    
  4. Save and exit the file by pressing Esc, entering:wq, and pressing Enter.

  5. Start the updated container:

    docker compose up -d --build
    

Outbound Dialer

Changes required:

  1. Navigate to the existing outbound-dialer directory:

    cd outbound-dialer
    
  2. Open the Docker Compose file:

    vi docker-compose.yml
    
  3. Update the Variables in docker-variables.env and outbound dialer tag in the docker-compose.yml file, and run/start this Docker image.

    # Outbound Dialer: rtc/outbound-dialer
    tag: 5.12.0
    
    #variables
    FQDN:http://<CX VM IP>
    GOVERNOR_ENDPOINT=<CAMPAIGN-Backend NodePort>
    ROUTING_ENGINE_ENDPOINT=<Routing engine NodePort>
    
  4. Save and exit the file by pressing Esc, entering:wq, and pressing Enter.

  5. docker compose up -d
    

apis (backend)

Changes required:

  1. Navigate to the existing outbound-dialer directory:

    cd recording-solution
    
  2. Open the docker-compose-efcx file:

    vi docker/docker-compose-efcx.yml
    
    #change tag
      vrs-apis:
         image: gitlab.expertflow.com:9242/voice-recording-solution/apis:14.9.0
         
    #add new variable in the docker/config.env file
      CONVERSATION_MANAGER=http://efcx_machineIP:Conversation_Manager_Nodeport e.g. (http://80.241.213.235:31201)
    
  3. #run script

    ./install-efcx.sh