Show Call timers in an customized CCP

0

I have embedded the amazon connect streams and built an Custom CCP controls over it. I want to show the call timers on my custom CCP. I have searched and read the documentation of amazon connect streams but haven't found any method which provides me the exact call times. Please mention here is there anything that I miss or I have to write the time function by myself which start the time when my contact is connected and end when I am in ACW state.

S_Ali
질문됨 한 달 전105회 조회
1개 답변
1
수락된 답변

Hello!

You would be required to write a custom code implementation for the aforementioned use-case. Here is some information that would help with the flow:

  1. Subscribe to contact.onConnected() . Please refer to : https://github.com/amazon-connect/amazon-connect-streams/blob/master/Documentation.md#contactonconnected, to know when the contact is connected.
  2. Then start timer (like it can be a variable).
  3. Subscribe to contact.onACW() . Please refer to https://github.com/amazon-connect/amazon-connect-streams/blob/master/Documentation.md#contactonacw to know when the contact is in acw.
  4. Reset the timer to 0.

Hope this helps.

Cheers

AWS
답변함 한 달 전

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

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

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

관련 콘텐츠