Genesys CTI User Forum > Genesys-related Development
ChatStateChangeMessage
(1/1)
genesys_kumar:
Hi,
I've below line of code in my customization to listen for WWE events. But i'm specifically looking for events from "ChatStateChangeMessage"
genesys.wwe.service.subscribe(["agent", "interaction", "media", "system"], WweEventHandler, this); - with subscription not receiving messages
from Log:
2022-01-18 14:59:48.158 [TRACE] [[b]WWE.Chat.MediaChatExtension][/b] {
"messageType": "ChatStateChangeMessage",
Any idea pls let me know.
Thanks,
Kumar
hsujdik:
Is your customized page set on interaction-workspace\workspace.web-content and the correct section representing that customization defined on the WWE Cluster application?
Did you load the wwe-service-client-api.js on the webpage before your script?
Also, check on your browser if there are any CORS or security errors calling for your customized page, with the Browser debug/developer tools.
genesys_kumar:
Thanks for the reply.
I'm able to listen to those messages through CometD JS
ccs-cometd-client.js
CcsCometD.Subscribe("/v2/me/chats", CometdEventHandler);
Navigation
[0] Message Index
Go to full version