Push notifications via GMS to HTTP server
Chat solution allows you to request push (in other words, unsolicited) notifications through Genesys Mobile Server (GMS) to an HTTP server even when a customer-facing chat web application (Chat Widget) is communicating with GMS via "Chat API Version 2" instead of "Chat API Version 2 with CometD".
To enable this functionality, do the following:
| Application | Instructions |
|---|---|
| GMS | |
| Chat Server Introduced in version 8.5.305.XX(TBD) |
|
| Customer-facing chat web application |
|
Additional notes
- If push notifications are enabled, Chat Server tries to find the GMS node in the GMS cluster (specified by "GCTI_GMS_NodeGroup") and to associate the node for further notifications (until the node is disconnected). If no GMS is available (in other words, registered in Chat Server), Chat Server attempts to find a node from the cluster the next time an activity is generated in the chat session or upon chat session restoration in HA mode.
- Notifications are not resent during a delivery failure either between GMS and HTTP server, or between Chat Server and GMS. The following log messages are provided:
- In GMS: "Dbg 09900 [com.genesyslab.PCT.invoker.default] DC Chat Server Persistent Listener: Event 17 was not (GMS is not running in full mode or incompatible Chat Server version) pushed for delivery to customhttp for device..."
- In Chat Server: "Trc 59758 push-flex: could not send notification - no gms node found in group=..."
Sample configuration for custom HTTP notifications in GMS
[chat] enable_notification_mode=true push_notification_include_payload=true [push] customhttp.message=dummy message customhttp.url=http://<hostname>:<port> debug.customhttp.message=dummy message debug.customhttp.url=http://<hostname>:<port> pushEnabled=customhttp
Comments or questions about this documentation? Contact us for support!
