CX Voice Upgrade Guide

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 outbound dialer tag in the docker-compose.yml file, and run/start this Docker image.

    # Outbound Dialer: rtc/outbound-dialer
    tag: 5.10.0
    
  4. Save and exit the file by pressing Esc, entering:wq, and pressing Enter.

  5. docker compose up -d
    

freeswitch scripts

  1. Clone the Media Server scripts repository.

    git clone -b  5.10.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.10.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.10.0. The file should look like this:

    version: "3.8"
    services:
      voice-connector:
        image: gitimages.expertflow.com/freeswitch/ecx_generic_connector:5.10.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