Making it easy to add PSTN dialin capabilities to your Amazon Chime SDK Meeting using SIP Media Application
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.
- Install AWS Command Line Interface
- Clone the repo
- Get permission to Amazon Chime Administration Console
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
⚠️ 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"
- Follow Amazon Chime Admin guide to create SIP Media Application and SIP Rule
See CONTRIBUTING for more information.
This library is licensed under the MIT-0 License. See the LICENSE file.