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.

2 Antworten
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
beantwortet vor einem Jahr
  • 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
beantwortet vor einem Jahr
  • Thank you for your answer but can it work in Lambda?

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