How to subscribe to incoming/outgoing message events?
See original GitHub issueI’ve read the documentation and cheat sheet a few times and searched the issues here, and am not seeing an explanation of how to subscribe to incoming/outgoing message events for CCP.
I do see this kind of thing in the dev console:
[2019-12-30T00:32:28.824Z] [INFO]: ContactId-a52e3078-48be-486c-bacf-938e04af6716: Subscribed successfully to eventName: INCOMING_MESSAGE
I am able to hook into this kind of functionality on the sample chat UI, and assumed there would be something similar in the CCP JavaScript?
Issue Analytics
- State:
- Created 4 years ago
- Comments:12 (2 by maintainers)
Top Results From Across the Web
Team Messaging events - RingCentral Developers
In order to subscribe to an outgoing event, your application must have the "Webhook Subscription" scope associated with it.
Read more >SUBSCRIBE-NOTIFY Passthrough - Cisco
The SUBSCRIBE-NOTIFY passthrough framework can only pass through events when there is a one-to-one association between the incoming request and the outgoing ......
Read more >Subscribing to Session Events : OnixS .NET FIX Engine
The following table describes the meaning of all events exposed by the T:FIXForge.NET.FIX. ... WriteLine("Incoming session-level message: {0}", e.
Read more >Voice SDK Call Message Events | Twilio
Once a Call is active, your server-side must set up a subscription to a Call's messages by making a POST request to the...
Read more >How to alert when Event hub incoming and outgoing ...
Currently, the only way we can tell is to periodically pull up the chart of incoming and outgoing messages for all our event...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Well I figured out one aspect of the issue. I had to include amazon-connect-chat.js from the
amazon-connect-chat.js
project in my page. If this is in the documentation somewhere, I’m not seeing it…Now I can get past that
Cannot read property 'setGlobalConfig' of undefined
error, but am seeing other problems still and am so far unable to tie into the onMessage events for a chat session, nor send messages programmatically, on a consistent basis.PR #207 addresses the last part of my issue, so closing this, thank you.