Configure the Voicemail Service

From Genesys Documentation
Revision as of 19:23, June 30, 2021 by Corinne.hicks@genesys.com (talk | contribs) (Published)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
This topic is part of the manual Voice Microservices Private Edition Guide for version Current of Voice Microservices.

Learn how to configure the Voicemail Service.

Override Helm chart values

For general information about overriding Helm chart values, see Overriding Helm Chart values in the Genesys Engage Cloud Private Edition Guide.

To assist you, Genesys provides override values for Voice Microservices in the Values.yaml file. If you need to change the default configuration, you must modify the Values file. The following section describes some common changes to these values.

Overriding values.yaml for the Voicemail Service

Common changes:
#Configure the GWS Base URL
context:
...
  envs:
    ...
    gwsBaseUrl: <GWS URL> # sample URL https://<GWS_HOST>/auth/v3
    ...
You can override the Voicemail Service values for the following parameters based on what kind of storage you're using. For PV and PVCs, use the following example:
#Blob Storage to be disabled and no value for mounts and volumes
  blobStorage:
    general:
      mode: 'k8s | csi'
      enabled: false
    mounts:
    volumes:
 
context:
...
  envs:
    ...
    storageInterface: "FileSystem"
    voicemailHome: "/storage/data"
    ...
For Azure Blob storage, use the following examples.

Azure Blob storage with the CSI driver:

  1. Store the Azure Blob storage account access keys into Key Vault with a key-value pair:
    • key=<storage account name>
    • value=<primary access key>
  2. Create a CSI driver from the Key Vault into the Kubernetes cluster with the name "keyvault-voice-voicemail-storage-csi-secrets".
  3. Do the following changes in values.yaml:
    #Blob Storage is enabled
      blobStorage:
        general:
          mode: 'k8s | csi' # Secrets needs to mounted via K8s or CSI driver
          enabled: true
        mounts:
          - name: voicemail-secrets
            readOnly: true
            mountPath: "/opt/genesys/katana/voicemail/secret"
        volumes:
          - name: voicemail-secrets
            csi:
              driver: secrets-store.csi.k8s.io
              readOnly: true
              volumeAttributes:
                secretProviderClass: keyvault-voice-voicemail-storage-csi-secrets
     
     
    context:
    ...
      envs:
        ...
        storageInterface: "AzureBlob"
        voicemailHome: ""
        ...

Azure Blob storage with a Kubernetes secret:

  1. Create a K8s secret cluster with the name "voicemail-storage-secrets" having a key-value pair:
    • key=<storage account name>
    • value=<primary access key>
  2. Do the following changes in values.yaml
    #Blob Storage is enabled
      blobStorage:
        general:
          mode: 'k8s | csi' # Secrets needs to mounted via K8s or CSI driver
          enabled: true
        mounts:
          - name: voicemail-secrets
            readOnly: true
            mountPath: "/opt/genesys/katana/voicemail/secret"
        volumes:
          - name: voicemail-secrets
             
    secret:
              secretName: voicemail-storage-secrets
     
     
    context:
    ...
      envs:
        ...
        storageInterface: "AzureBlob"
        voicemailHome: ""
        ...

You can now run the Helm install to deploy a Voicemail Service.

Comments or questions about this documentation? Contact us for support!