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
asked a month ago95 views
1 Answer
1
Accepted Answer

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
answered a month ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions