Skip to content
Last updated

CDRs can be downloaded from the Sinch Build dashboard. CDRs are in a semicolon separated file that contains the following fields:

Phone-terminated calls

FieldTypeDescription
CallIdstringA unique identifier for a call
UserSpaceIdintInternal identifier
CallTimetimeTime when call was made
ResultstringResult may have one of the following values "ANSWERED" | "BUSY" | "NOANSWER" | "FAILED"
ReasonstringReason may have one of the following values "N/A" | "TIMEOUT" | "CALLERHANGUP" | "CALLEEHANGUP" | "BLOCKED" | "MANAGERHANGUP" | "NOCREDITPARTNER" | "GENERALERROR" | "CANCEL"
DurationintCall time in seconds
AnswerTimetimeTime when call was answered
FromstringCLI displayed on terminating side
TostringTerminating side phone number
AmountdecimalCost of call
CurrencystringCurrency
CustomobjectFree field for partners to use as custom headers
ApplicationKeystringApplication key
UserIdstringUser Id of the user that initiated the call
ToCountryIdstringCountry Id of the "To" number

Phone-originated calls

FieldTypeDescription
CallIdstringA unique identifier for a call
UserSpaceIdintInternal identifier
CallTimetimeTime when call was made
ResultstringResult may have one of the following values "ANSWERED" | "NOANSWER" | "FAILED"
ReasonstringReason may have one of the following values |br| "N/A" | "CANCEL" | "CALLERHANGUP" | "CALLEEHANGUP" | "NOCREDITPARTNER" | "GENERALERROR"
DurationintCall time in seconds
FromstringPhone number of the caller
TostringNumber that the caller has called (Voice DID)
AmountdecimalCost of call
CurrencystringCurrency
CustomobjectFree field for partners to use as custom headers
ApplicationKeystringApplication key

App-app calls

FieldTypeDescription
CallIdstringA unique identifier for a call
UserSpaceIdintInternal identifier
CallTimetimeTime when the call was made
ResultstringResult may be one of the following values "ANSWERED" | "BUSY" | "NOANSWER" | "FAILED"
ReasonstringReason may be one of the following values "N/A" | "TIMEOUT" | "HANGUP" | "CANCEL"
DurationintCall duration in seconds
FromUserIdstringUserId of the caller
ToUserIdstringUserId of the callee
CustomobjectFree field for partners to use as custom header
ApplicationKeystringApplication key

SIP-terminated calls

FieldTypeDescription
CallIdstringA unique identifier for a call
UserSpaceIdintInternal identifier
CallTimetimeTime when the call was made
ResultstringResult may be one of the following values "ANSWERED" | "BUSY" | "NOANSWER" | "FAILED"
ReasonstringReason why the call ended
DurationintCall duration in seconds
FromstringEndpoint that originated the call or CLI to be displayed
TostringEndpoint where the call is terminated
CustomobjectCustom header that was passed in the call
ApplicationKeystringApplication key

The files are generated once every day and will contain the previous days' CDRs. A day spans from 00:00:00 UTC to 23:59:59 UTC. CDRs are written when the call is ended, though there are some edge cases where an app-app call CDR may be delayed in being written, for example, if there is a network failure before the call is ended.