Revision as of 01:01, June 13, 2018 by Valentip (talk | contribs) (Deployments)
Jump to: navigation, search

Configuring GWS

Web Services and Applications (formerly Workspace Web Edition & Web Services) is a set of REST APIs and user interfaces that provide a web-based client interface to access Genesys services. Web Services and Applications (GWS) supports SIP Cluster with some limitations.

Identification

To identify if the environment is a SIP Cluster, GWS checks if the CloudCluster connections have the server-role setting as 5. Once identified, a GET ../api/v2/genesys-environments/{id}?fields=* will return the clusterMode flag enabled in the response and the Employee login can be used as the agent login.

"voiceEnvironments": [
{
  "backupAddress": "%backup_address%",
  "backupDbid": 371,
  "backupPort": "5001",
  "backupServerName": "SIPS_B",
  "backupSipPort": "5060",
  "clusterMode": true,
  "connectionProtocol": "addp",
  "id": "53ef36a3-e10d-45cc-82dd-16db9a600fb1",
  ...
  "tserverConnections": [
  {
    "backupAddress": "%backup_address%",
    "backupDbid": 371,
    "backupPort": "5001",
    "backupServerName": "SIPS_B",
    "backupSipPort": "5060",
    "connectionProtocol": "addp",
    "genesysEnvironmentId": "2ad2a3b5-5f8a-47b0-b196-7465b959416e",
    "id": "6e35d741-db06-4eae-a95f-743c5ef4fe83",
    ...
  }]
}
...
}
...

Once the SIP Cluster environment is identified, the Employee login is used as the agent login. The useEmployeeIdAsAgentLoginForSIPCluster option in the application.yaml file must be set to true. This setting enables the employee ID to be used as the agent login. The StartContactCenterSession call will use the employee ID as the login ID.

Deployments

In a SIP Cluster deployment, WWE is the agent-facing UI and Genesys Softphone is the software SIP Endpoint. There are two possible deployments that GWS supports for SIP Cluster:

  • Standalone mode
  • Connector mode

Standalone Mode Deployment

In a Standalone deployment, WWE and Softphone run side-by-side in the same data center. The settings for the Softphone including REGISTER URI (including DN), are shipped with binaries in a configuration file. [Val asks: what does it mean "including DN"?]

Connector Mode Deployment

In a Connector deployment, WWE configures and controls Softphone during runtime. The settings for Softphone is identical in all instances and the configuration is centralized in the configuration environment (including DN).

Provisioning

To support SIP Cluster in GWS, the following items have to be provisioned.

Person
  • For Standalone Mode, the defaultPlace is not required for hot seating.
  • For Connector Mode, the defaultPlace is required for hot seating.

The Employee ID is used as the AttrAgentID in TAgentLogin requests when the useEmployeeIdAsAgentLoginForSIPClusteroption is set to true in application.yaml file.

The Extension DN configuration is configured by the SIP Cluster switch.

Place The Extension DN must be configured.

The Agent Login configuration is not required as the T-Library call flow is not modified.

GWS Connection to 4-node 2-DC SIP Cluster

Gws sipcluster dc configuration.png

All GWS API nodes in one DC connects to:

  • one SIP Cluster node
  • one Stat Server
  • CS Proxy

All connections have locations parameter specified in the Application Parameters section of the Advanced tab:

  • locations=/APS3

See See Multiple Data Center Deployment for more information on configuring multiple DCs. for more information on configuring multiple DCs.

SIP Access Point Configuration

Ensure the following items are configured:

  • All SIP traffic to SIP Cluster should be sent to one geo-aware SRV FQDN address, e.g.,sipcluster.abc.com.
  • The SIP Cluster access point SRV FQDN is configured in the VoIP Service DN of type sip-outbound-proxy as a value of the external-contact parameter in the TServer section
  • SIP Cluster sends this FQDN as its contact in the outgoing SIP messages. e.g., Record-Route: sipcluster.abc.com
  • All SIP clients of the SIP Cluster must support SRV FQDN and should be able to resolve SIP Cluster access point SRV FQDN
    • RM, SBC, Softphones
  • DNS should be configured to resolve SRV FQDN to SIP Cluster access point closest to the requestor
  • SIP Cluster access point may be SIP Proxy, or SBC, or both.

WWE Provisioning for Softphone

Configure Genesys Softphone with the following patterns, privilege.sipendpoint.XXX:

  • privilege.sipendpoint.can-use
  • privilege.sipendpoint.can-change-microphone-volume

Control Parameters

Softphone Control Parameter
  • sipendpoint.uri: http[s]://localhost:<softphone-listening-port>

Ensure that the protocol is aligned with the GWS browser connection protocol (http or https).

SIP Configuration Parameters
  • sipendpoint.sip-server-address: SRV FQDN pointing at the SIP Cluster SIP access point, e.g., sipcluster.abc.com
  • sipendpoint.transport-protocol: udp/tcp/tls
Softphone Specific Parameters Based on the pattern: .<domain>.<section>.<setting>, all parameters in this category are automatically sent to the Softphone. The Softphone overwrites local configuration file settings with the values received from the connector:
  • sipendpoint.policy.device.use_headset=1
  • sipendpoint.policy.device.headset_name=*
Comments or questions about this documentation? Contact us for support!