Skip to main content
Skip table of contents

Cisco Outbound Connector Kubernetes Deployment Guide

The purpose of this document is to provide deployment steps for Cisco Outbound connector of Expertflow CX solution. 

Run All Commands in cim-solution/kubernetes Directory

Before you begin, verify

Redis Setup

  • After installing Redis, enable and start it:

    CODE
    systemctl enable redis
    systemctl enable redis-server
    systemctl start redis
    systemctl start redis-server
  • Run the following command, but replace PASSWORD with your desired Redis password:

    CODE
    sed -i '/# requirepass/c\requirepass PASSWORD' /etc/redis/redis.conf
  • Run the following commands:

    CODE
    sed -i '/protected-mode/c\protected-mode no' /etc/redis/redis.conf
    sed -i '/bind 127.0.0.1 -::1/c\# bind 127.0.0.1 -::1' /etc/redis/redis.conf
    sed -i '/bind 127.0.0.1 ::1/c\# bind 127.0.0.1 ::1' /etc/redis/redis.conf
  • Restart Redis:

    CODE
    systemctl restart redis
    systemctl restart redis-server

Create Namespace

Create the namespace using the command.

BASH
kubectl create namespace cisco-voice

Image Pull secret

  1. For cisco-voice namespace, use the following command:

BASH
kubectl apply -f pre-deployment/registryCredits/ef-imagePullSecret-cisco-voice.yaml

Update the FQDN

Decide the FQDN to be used in your solution and change the <FQDN> in the below-given command to your actual FQDN

BASH
sed -i 's/devops[0-9]*.ef.com/<FQDN>/g' cisco-voice/Ingresses/nginx/* cisco-voice/ConfigMaps/*

Set ConfigMap fields

  1. Open the Cisco Outbound Connector ConfigMap with

    CODE
    vi cisco-voice/ConfigMaps/ef-cisco-outbound-connector-cm.yml
    image-20240503-135741.png
  2. Change the values as follows:

    1. CISCO_FQDN: The address of the Cisco deployment.

    2. CISCO_USERNAME: The admin username of the Cisco deployment.

    3. CISCO_PASS: The admin password of the Cisco deployment.

    4. CISCO_TYPE: CCX or CCE, depending on the Cisco deployment.

    5. CX_FQDN: The address of EF CX. https://FQDN

    6. DB_IP: The server IP address of the Cisco database.

    7. DB_NAME: The name of the Cisco database where the dialinglist(CCX) or Dialer_Detail(CCE) tables are located.

    8. DB_PASS: The password of the Cisco database.

    9. DB_PORT: The port of the Cisco database. For CCX the default is 1504. For CCE the default is 1433.

    10. DB_USERNAME: The username of the Cisco database.

    11. LOG_LEVEL: The amount of detail in the logs. Default is INFO, and for more detailed logs the value should be DEBUG.

    12. REDIS_DB: The index of the Redis cache where call IDs will be stored. Can be a number from 0 through 16.

    13. REDIS_HOST: The server IP address of the Redis cache.

    14. REDIS_PASS: The password of the Redis cache.

    15. REDIS_PORT: The port of the Redis cache. The default is 6379.

    16. REDIS_DELAY: The time in minutes the connector will wait between checking call results for the call IDs stored in the Redis cache.

    17. SERVICE_ID: Service Identifier for the connector set in the EF CX channel settings.

  3. Apply the configurations using

    CODE
    kubectl apply -f cisco-voice/ConfigMaps/ef-cisco-outbound-connector-cm.yml

Start the Cisco Outbound Connector service

Create a service for the Cisco Outbound Connector:

CODE
kubectl apply -f cisco-voice/Services/ef-cisco-outbound-connector-service.yml

Services must be created before Deployments

Create the Cisco Outbound Connector Deployment

Apply the Deployment manifest for the Cisco Outbound Connector:

CODE
kubectl apply -f cisco-voice/Deployments/ef-cisco-outbound-connector-deployment.yaml

Set the Cisco Outbound Connector Ingress

You need to apply the Ingress route for the Cisco Outbound Connector:

BASH
kubectl apply -f cisco-voice/Ingresses/nginx/ef-cisco-outbound-connector-ingress.yml

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.