Ending a Call in Amazon Connect via API SDK

0

I'm currently working with Amazon Connect and exploring its capabilities through the API SDK. I have a specific use case where an outbound call is fully managed by a bot, not by a human agent. Given the automated nature of the call, I'm looking for a way to programmatically end the call using the SDK when certain conditions are met.

I've gone through the documentation but couldn't find a direct method or function for this specific action. Has anyone here tried to achieve this or knows if it's possible? Any guidance or references would be greatly appreciated.

Thank you in advance!

Domu
gefragt vor 10 Monaten275 Aufrufe
1 Antwort
1

You can use StopContact API which will ends the specified contact. This call does not work for voice contacts that use the following initiation methods:

  • DISCONNECT
  • TRANSFER
  • QUEUE_TRANSFER

Chat and task contacts, however, can be terminated in any state, regardless of initiation method.

AWS
beantwortet vor 9 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen