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 login and connect to Media Server.

To update the CIM env variables for CX Voice Configuration,

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

    vi <cim-install-dir>/kubernetes/cim/ConfigMaps/ef-unified-agent-configmap.yaml
    
  • Update the following config to true in case the Media Server environment is enabled. if the MRD associated with the CISCO_CC 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.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
    
  • Save the file and run the following sequence of commands in the <cim-install-dir>/kubernetes/cim directory:

k delete -f ConfigMaps/ef-unified-agent-configmap.yaml
k delete -f Deployments/ef-unified-agent-deployment.yaml
k apply -f ConfigMaps/ef-unified-agent-configmap.yaml
k apply -f Deployments/ef-unified-agent-deployment.yaml
  • Log out of your voice agents and reload Agent Desk.