How to integrate Amazon Connect Stream API with Lambda

0

I want to make an API call to receive an incoming call with Amazon Connect Streams Apis by passing contactID since SDK doesn't provide this API. I'm very new in this role because there's not much documents or workshops about its for beginner/intermediate level.

However, I have a look and learn from Amazon Connect for customizing CCP workshop. I can customize CCP withamazon-connect-streams by creating a js script and sourcing it within the index.html file. But it is a client side only library and not working at all in Lambda so I still don't understand :( . Can someone please help? how to set up to make an API call from Amazon Connect Stream API in Lambda?

I really appreciate if someone could help.

userp
已提问 1 年前701 查看次数
2 回答
0

Using Lambda you can use StartOutboundVoiceContact API to make outbound call

https://docs.aws.amazon.com/connect/latest/APIReference/API_StartOutboundVoiceContact.html

AWS
Vikas P
已回答 1 年前
  • Thank you so much. I already made an outbound call with this API and it's working! but I want to receive an inbound call and I can't find any solution properly to integrate in my Lambda function.

0

Hello, you can make use of contact.accept() as mentioned in out document [1] to accept incoming calls using Amazon Connect Streams Api’s.

You can download the library (npm i amazon-connect-streams) available at npmjs.com or navigate to [2] for more information.

[1] https://github.com/amazon-connect/amazon-connect-streams/blob/master/Documentation.md

[2] https://www.npmjs.com/package/amazon-connect-streams

Ashwin
已回答 1 年前
  • Thank you for your answer but can it work in Lambda?

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

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

回答问题的准则