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 Risposte
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
con risposta un anno fa
  • 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
con risposta un anno fa
  • Thank you for your answer but can it work in Lambda?

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande