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
已提问 9 个月前275 查看次数
1 回答
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
已回答 9 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则