Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Receiving an inbound call using the Amazon Chime SDK PSTN audio service

Focus mode
Receiving an inbound call using the Amazon Chime SDK PSTN audio service - Amazon Chime SDK

When a NEW_INCOMING_CALL event occurs, the Audio Service creates a unique TransactionID and unique CallID that persist until the HANGUP event occurs.

You can respond in several ways to a NEW_INCOMING_CALL event. For example:

  • Send PlayAudio or RecordAudio actions and automatically answer the call.

  • Send a Pause action.

  • Send a Hangup action, in which case the call isn’t answered and the customer isn’t charged.

  • Send a CallAndBridge action and add another user to the call.

  • Do nothing, the call attempt times out after 30 seconds.

When a new inbound call is received, the SIP media application invokes an AWS Lambda function with this payload.

{ "SchemaVersion": "1.0", "Sequence": 2, "InvocationEventType": "NEW_INBOUND_CALL" "CallDetails": { "TransactionId": "transaction-id", "AwsAccountId": "aws-account-id", "AwsRegion": "us-east-1", "SipRuleId": "sip-rule-id", "SipApplicationId": "sip-application-id", "Participants": [ { "CallId": "call-id-1", "ParticipantTag": "LEG-A", "To": "+12065551212", "From": "+15105550101", "Direction": "Inbound", "StartTimeInMilliseconds": "159700958834234", "Status": "Connected" } ] } }
PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.