1 Answer
- Newest
- Most votes
- Most comments
0
You can use Stream API (custom CCP) to end the contact normally so Disconnect flow can be activated.
connection.destroy()
https://github.com/amazon-connect/amazon-connect-streams/blob/master/Documentation.md
answered a year ago
Relevant content
- asked 10 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
Thank you for your input. I decided to follow this approach as it seems that there is no other way.
I send a custom message (wanted it to be an json payload, but I can't get it to work with boto3 and json) to the agent. My custom CCP then checks all messages in the onMessage event and and triggers connection.destroy().