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
posta un mese fa105 visualizzazioni
1 Risposta
1
Risposta accettata

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
con risposta un mese fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande