-
Notifications
You must be signed in to change notification settings - Fork 315
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with Monitoring Agent Chats Using Amazon Connect Streams API #919
Comments
Hi, did you load ChatJS as well? |
hi @seiyako Yes, I have added the Chat_js streams as well, My whole functionality works perfect in normal cases but errors occure while monitoring |
Hi @seiyako
|
Instead of checking if the agent connection status is 'silent_monitor', I would use the connection.isSilentMonitor() API. This is what we use in the CCP and is more reliable than checking the connection status. |
@SaqibOctave have you tried the api mentioned above? |
Hi,
I'm developing a custom supervisor dashboard using the Amazon Connect Streams API. The dashboard is designed to enable supervisors to monitor voice calls and chat interactions of agents. While the voice call monitoring and barge-in functionalities are working perfectly, I'm encountering an issue when trying to monitor chat sessions.
contact.getAgentConnection().getMediaController()
According to the documentation, getMediaController() should return the chatController promise for chat monitoring. However, when I attempt to monitor an agent's chat session, I receive the following error:
Media Controller is no longer available for this connection.
I'm not sure why this error is occurring. The voice monitoring works as expected, but chat monitoring fails with this error. Has anyone else encountered this issue or know what might be causing it? Any insights or suggestions on how to resolve this would be greatly appreciated.
The text was updated successfully, but these errors were encountered: