Breadcrumbs

Updating AgentDesk Environment Variables for CX Voice


Disclaimer

  • Assuming that the deployed Media Server instance has self-signed certificates. In that case, the certificates should be added manually in the browser using https://<Media-Server-IP>:<PORT, before trying to log in and connect to the Media Server.

To update the CX env variables for CX Voice Configuration,

  • On the CX deployment machine, navigate to the following path, 

    vi <cx-install-dir>/kubernetes/helm-values/cx-agent-desk-custom-values.yaml
    
  • Update the following config to true in case the Media Server environment is to be enabled in the unified-agent environment variables. If the MRD associated with the CX_VOICE channel type is changed, it must be updated in the configs as well.

    JavaScript
        "isCxVoiceEnabled":"<boolean>", // to be set to `true`, if system is being used with the Media Server 
    
  • Update the following Sip.js config variables added in the unified-agent config map,

    JavaScript
    "SIP_SOCKET_URL": "<wss://Media-Server-IP-addr:7443>",
    "SIP_URI": "<Media Server Domain/IP>",
    "EXT_STATIC": "<Encrypted Static Password Set For Media Server Extensions>",
    "ENABLE_SIP_LOGS": "<SIP_LOGS>" // to be set to true if sip.js logs are required
    

Disclaimer

  • From the CX-4.3 release, the encrypted Extension Password will be required. The credentials need to be shared with the CX team and they will provide the encrypted values to be added to the deployment.

  • For CX4.3 and onwards, the following configs are added to the unified-agent config map,

    JavaScript
    "STATIC_QUEUE_TRANSFER_DN": "<Static DN to transfer Queue Calls>", // pre-configured DN on EF-Switch
    "AUTO_CALL_ANSWER_TIMER": "<Timer to Auto Accept the Outbound Call>" // in seconds
    
  • The minimum value for AUTO_CALL_ANSWER_TIMER should be 2 seconds.  

  • If the MRD associated with the CX_VOICE channel type is changed, it must be updated in the following env variable.

    JavaScript
    "CX_VOICE_MRD":"<MRD associated with CX_VOICE channel type>"
    
  • For CX4.5.2 and onwards, the following configs are added to the unified-agent config map.

    JavaScript
    "SIP_MONITORING_DN": "<Static DN for SM>", // Pre-configured DN for initiating SM request
    
  • For CX4.6 and onwards, the following configs are added to the unified-agent config map.

    JavaScript
    "Enable_Voice_Events_For_CRM": "<boolean>", // to expose Voice events via Sip.js for third party applications
    
  • For CX4.8 and onwards the following configs are added in the unified agent environment variables.

    JavaScript
    "SIP_EXTERNAL_DN":"<Static DN for External>", // Pre-configured DN for external number dialing
    
  • Save the file and run the following sequence of commands in the <cx-install-dir>/kubernetes directory:

helm upgrade --install --namespace expertflow   --set global.efCxReleaseName="ef-cx"  cx-agent-desk  --debug --values helm-values/cx-agent-desk-custom-values.yaml expertflow/agent-desk
  • Log out of your voice agents and reload Agent Desk.