Error using the AWS Connect Streams API to create an outbound call leg for initiating a transfer: "QuotaExceededException: Cannot dial third party destination: The agent is at maximum capacity."

0

We're trying to transfer a customer using the Amazon Connect Streams API.

When an agent is already connected to a customer, and we use the phone UI, we are able to create an outbound call leg to a phone number. We can then join the call and leave the call to complete the transfer.

However, when we run the AWS Connect Streams code below we get the QuoteExceededError. We checked out Routing Profile and everything looks ok there. Is there something we need to change in the code or in the routing profile to allow for an outbound call leg with an already connected agent via the Streams API?

agent.connect(connect.Endpoint.byPhoneNumber(phoneNumber), { success: function() { }, failure: function(err) { } });

Error: QuotaExceededException: Cannot dial third party destination: The agent is at maximum capacity."

已提問 2 年前檢視次數 903 次
1 個回答
0

To add an outbound leg to a connected call you need to use contact.addConnection() - see https://github.com/amazon-connect/amazon-connect-streams/blob/master/Documentation.md#contactaddconnection

AWS
已回答 2 年前
profile pictureAWS
專家
已審閱 1 年前

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

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

回答問題指南