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.”

Using call detail records in the Amazon Chime SDK PTSN audio service

Focus mode
Using call detail records in the Amazon Chime SDK PTSN audio service - Amazon Chime SDK

Amazon Chime SDK administrators can configure Amazon Chime SDK Voice Connectors to store call detail records (CDRs). For more information about configuring Amazon Chime SDK Voice Connectors to store CDRs, see Managing global settings in Amazon Chime SDK in the Amazon Chime SDK Administration Guide.

Once you enable CDRs, after each call the SIP media application sends the records to a folder named Amazon-Chime-SMADRs in your S3 bucket.

The following table lists the attributes of a CDR, and shows their proper formatting. The records contain all the fields listed here for all calls.

Value Description

"AwsAccountId":"AWS-account-ID"

The AWS account ID associated with the SIP media application that initiated the PSTN usage

"TransactionId":"transaction-ID"

The transaction ID of the call

"CallId":"SIP-media-application-call-ID"

The call ID of the participant for the associated usage

"VoiceConnectorId":"voice-connector-ID"

Amazon Chime SDK Voice Connector ID UUID

"Status":"status"

Status of the call (Completed, Failed)

"BillableDurationSeconds":"billable-duration-in-seconds"

Billable duration of the call in seconds

"SchemaVersion":"schema-version"

The CDR schema version

"SourcePhoneNumber":"12075550155"

E.164 origination phone number

"SourcePhoneNumberName":"North Campus Reception" The name assigned to the source phone number

"DestinationPhoneNumber":"13605551214"

E.164 destination phone number

"DestinationPhoneNumberName":"South Campus Reception" The name assigned to the destination phone number

"UsageType":"usage-type"

Usage details of the line item in the Price List API

"ServiceCode":"service-code"

The code of the service in the Price List API

"Direction":"direction"

Direction of the call, Outbound or Inbound

"TimeStampEpochSeconds":"start-time-epochseconds"

The timestamp of the record in epoch/Unix timestamp format

"Region":"AWS-region"

AWS Region for the Amazon Chime SDK Voice Connector

"SipRuleId":"sip-rule-id"

The ID of the sip rule that is triggered when a call reaches the PSTN audio service

"SipApplicationId":"sip-application-id"

The ID of the SIP application that handles a call

"CallLegTriggerType":"trigger-type"

The type of event that triggered a call

"BillableVoiceFocusSeconds":"billable-voice-focus-in-seconds"

The billable amount of Voice Focus usage, in seconds

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.