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
feita há um mês106 visualizações
1 Resposta
1
Resposta aceita

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
respondido há um mês

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas