Skip to content

patrickhannah/chime-sipmediaapplication-samples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PSTN dial-in for Amazon Chime SDK with Amazon Chime SIP Media Application

GitHub stars GitHub contributors

Making it easy to add PSTN dialin capabilities to your Amazon Chime SDK Meeting using SIP Media Application

On this Page

Overview

Amazon Chime SIP Media Application (SMA) provides PSTN calling support for the Amazon Chime SDK, a feature that enables developers to offer phone numbers and customized interactive voice response (IVR) with their application so that participants can dial-in and dial-out to Chime SDK meetings using a regular telephone.

Architecture

Setup

1. Prerequisites

2. Lambda deployment

Zip you lambda function.

zip function.zip ./src/index.js -j

Configure AWS Command Line Interface.

aws configure

Create S3 bucket to upload the lambda code

aws s3api create-bucket --bucket source-us-east-1-<accountid> --region us-east-1

Package local artifacts

aws cloudformation package --template-file ./infrastructre/deployment-template.yaml --s3-bucket source-us-east-1-<accountid> --force-upload --output-template-file packaged.yaml

Deploy the lambda

⚠️ use --parameter-overrides BucketNamePrefixParameter= TableNameParameter= FunctionNameParameter= to overried default values

aws cloudformation deploy --template-file packaged.yaml --stack-name SIPMediaAppSample --region us-east-1 --capabilities CAPABILITY_IAM

3. Copy audio files to S3 bucket

⚠️ You can find the bucket name from AWS S3 Console

aws s3 cp ./resources/ s3://<bucketName>/ --recursive --exclude "*" --include "*.wav" --no-guess-mime-type --content-type="audio/wav" 

4. Setup SIP Media Application

Security

See CONTRIBUTING for more information.

License

This library is licensed under the MIT-0 License. See the LICENSE file.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published