Users send 10,000 outbound, 7,500 inbound text messages, they receive inbound calls for a total of 11,100 inbound minutes and the make outbound calls for a total of 22,200 outbound minutes all within the US. Using business calling the company provides a business phone number, for all 100 employees. The company uses 10,000 toll free dial in minutes per month for their meetings. ![]() There are three types of users in this group, one that hosts daily meetings, one that occasionally (1-3 days per month) hosts meetings and users who do not schedule or host meetings. Play the account number back to the caller from the S3 bucket and hang-up.Consider a company of 100 employees that needs a solution which will allow users to communicate with internal and external colleagues.Using the From: parameter (Caller ID) in the NEW_INBOUND_CALL payload, fetch the associated account ID.When the transferred call arrives on a phone number associated with the emulatorSMA, it will perform the following steps: ![]() The Calling Number of the call to the emulator is the original calling number. The incoming call is then transferred to the phone number corresponding to the caller’s selection (‘1’ – salesPhoneNumber or ‘2’ – supportPhoneNumber.wav file is stored in an S3 bucket that will be accessed by the emulatorSMA Lambda function. The DynamoDB update then triggers the createWav Lambda function to create a wav file of the account ID using the Amazon Polly text to speech service.The entered account ID will be stored in DynamoDB.If the Caller ID has no associated account ID, the caller will be asked to enter their account ID using their keypad.If the Caller ID has an associated account, it plays a prompt and requests the caller to key in ‘1’ for sales or ‘2’ for support.Uses the From: parameter (Caller ID) in the NEW_INBOUND_CALL payload to fetch the associated account ID from a DynamoDB table.Answers the call and plays a welcome prompt.When the PSTN caller hangs up, the PSTN Audio service invokes the Lambda function with a HANGUP event, and the Lambda function deletes the attendee. Once the AWS SDK returns a MeetingId and AttendeeId, the Lambda function returns an action to join the call to the Amazon Chime SDK Meeting (LEG-B).Ī Real-time Transport Protocol (RTP) session is established between the caller from the public switched telephone network (PSTN) and the Amazon Chime Media service. The Lambda function uses the AWS SDK to create an Amazon Chime SDK meeting and a meeting attendee. The PSTN Audio service invokes the Lambda function with the DTMF digits input. The PSTN Audio service answers the call, plays an audio prompt, and collects DTMF digits input by the caller. The Lambda function returns a list of actions, including PlayAudioAndGetDigits, which instructs the PSTN Audio service to answer the call, play an audio file to the caller, and collect the DTMF digits entered by the caller. ![]() ![]() The PSTN audio service fetches the associated SIP media application and invokes the associated Lambda function with a NEW_INBOUND_CALL event (LEG-A). The Amazon Chime SDK PSTN audio service receives a call to a phone number that is provisioned in a SIP rule.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |