Git Product home page Git Product logo

ac-recordingapis's Introduction

Amazon Connect recording API's demo

This demo shows how you can leverage Amazon Connect api's to start/stop/pause/resume call recordings when the agent is on call with the customer. These api's come very handy, when accepting PCI/PII type of data from the customers, where agent can manually pause/resume or programatically pause/resume the recording. The sample html page demo's shows both versions.

Usage

Ensure you are under directory "recording-lambda" cd recording-lambda

Run this command to init npm npm init

Run this command to install the latest version aws-sdk and nodejs modules npm install --save aws-sdk

Use sam to build, invoke and deploy the function.

SAM Build:

Ensure you are in the root folder

sam build --use-container

SAM Deploy:

sam deploy template.yaml --s3-bucket REPLACE_ME --stack-name REPLACE_ME --parameter-overrides ParameterKey=CADS3BucketForWebSite,ParameterValue=REPLACE_ME ParameterKey=instanceIdParam,ParameterValue=REPLACE_ME_WITH_AMAZON_CONNECT_INSTANCE_ID ParameterKey=instanceNameParam,ParameterValue=REPLACE_ME_WITH_INSTANCE_ALIAS --capabilities CAPABILITY_IAM

SAM Invoke:

sam local invoke "CADCallRecordingsControlLambdaFunction" -t template.yaml -e events/resume.json --env-vars events/env.json

ac-recordingapis's People

Contributors

amazon-auto avatar clarchoiaws avatar ramprasadsv avatar riderchoi avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ac-recordingapis's Issues

Resource not found when trying to pause a transferred call

When a call is transferred from agent A to agent B, agent B is not able to pause the recording. Pressing the pause button returns an error of: 'Failed to : PAUSE error : Resource not found'. Pressing the Resume, Start and Stop buttons return the same error. It seems to be a problem with the setRecordingStatus() function, but I'm having a hard time finding it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.