Are there any callbacks if the agent has not logged in into CCP in Amazon Connect Streams

0

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.

질문됨 2년 전410회 조회
1개 답변
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.

AWS
지원 엔지니어
Isha_K
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠