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 réponses
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
répondu il y a un an
  • 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
répondu il y a un an
  • Thank you for your answer but can it work in Lambda?

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions