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
已提問 1 個月前檢視次數 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
已回答 1 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南