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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南