Are there any callbacks if the agent has not logged in into CCP in Amazon Connect Streams
I'm looking to show a message in the browser if the agent is not logged in to the softphone. I have tried looking Amazon Connect Streams. I couldn’t find any callback to achieve that.
I understand that you are looking for Amazon Connect Streams function which can provide information on whether agent is logged into the softphone or not.
As per Connect Streams documentation, agent.getState(). obtains agent's current AgentState object indicating their availability state type. It provides agents’s current availability based on AgentStateType enumeration as follows:
- AgentStateType.INIT: The agent state hasn't been initialized yet.
- AgentStateType.ROUTABLE: The agent is in a state where they can be routed contacts.
- AgentStateType.NOT_ROUTABLE: The agent is in a state where they cannot be routed contacts.
- AgentStateType.OFFLINE: The agent is offline
For your use case, you can check for AgentStateType.OFFLINE, indicating that agent is not logged in.
I hope this answers your question. If you have further queries, please let us know.
is there a way to get All the Real Time Agent Statuses in AWS Connect?asked 5 months ago
Error using the AWS Connect Streams API to create an outbound call leg for initiating a transfer: "QuotaExceededException: Cannot dial third party destination: The agent is at maximum capacity."asked 2 months ago
The screen does not show up in AppStream 2.0asked 6 days ago
Quick Connect Transfers Failing in Amazon Connectasked 4 months ago
Amazon Connect CCP - Softphone call failed, WebRTC issue, Red screen of deathasked 5 months ago
Is there any limit to the number or age of events logged in CloudFormation event history?Accepted Answerasked 8 months ago
Permanently set agent status to availableAccepted Answerasked 2 years ago
Are there any callbacks if the agent has not logged in into CCP in Amazon Connect Streamsasked 3 months ago
Do you have any control for the Agent Statuses without Control Contact Panel Api?Accepted Answerasked 2 years ago
Transferring the Amazon connect contact while waiting for the Agent in the Queueasked a month ago