1 Answer
- Newest
- Most votes
- Most comments
0
Hello,
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.
Relevant content
- Accepted Answerasked 3 months ago
- AWS OFFICIALUpdated 2 years ago
- How do I raise the priority of agent to agent or agent to queue transferred calls in Amazon Connect?AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago