I am hosting an Amazon Connect CCP iframe in a webpage. How can I programmatically intercept an outbound call in the browser and terminate the contact if certain conditions on the webpage are not met?
We have tried hooking into various events documented in https://github.com/amazon-connect/amazon-connect-streams/blob/master/Documentation.md to no avail.
thanks
.