# Call Detail Records

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

## Phone-terminated calls

div
div
table
thead
tr
th
Field
th
Type
th
Description
tbody
tr
td
CallId
td
string
td
A unique identifier for a call
tr
td
UserSpaceId
td
int
td
Internal identifier
tr
td
CallTime
td
time
td
Time when call was made
tr
td
Result
td
string
td
Result may have one of the following values 
"
ANSWERED
"
| 
"
BUSY
"
| 
"
NOANSWER
"
| 
"
FAILED
"
tr
td
Reason
td
string
td
Reason may have one of the following values 
"
N/A
"
| 
"
TIMEOUT
"
| 
"
CALLERHANGUP
"
| 
"
CALLEEHANGUP
"
| 
"
BLOCKED
"
| 
"
MANAGERHANGUP
"
| 
"
NOCREDITPARTNER
"
|
            
"
GENERALERROR
"
| 
"
CANCEL
"
tr
td
Duration
td
int
td
Call time in seconds
tr
td
AnswerTime
td
time
td
Time when call was answered
tr
td
From
td
string
td
CLI displayed on terminating side
tr
td
To
td
string
td
Terminating side phone number
tr
td
Amount
td
decimal
td
Cost of call
tr
td
Currency
td
string
td
Currency
tr
td
Custom
td
object
td
Free field for partners to use as custom headers
tr
td
ApplicationKey
td
string
td
Application key
tr
td
UserId
td
string
td
User Id of the user that initiated the call
tr
td
ToCountryId
td
string
td
Country Id of the 
"
To
"
number
## Phone-originated calls

div
div
table
thead
tr
th
Field
th
Type
th
Description
tbody
tr
td
CallId
td
string
td
A unique identifier for a call
tr
td
UserSpaceId
td
int
td
Internal identifier
tr
td
CallTime
td
time
td
Time when call was made
tr
td
Result
td
string
td
Result may have one of the following values 
"
ANSWERED
"
| 
"
NOANSWER
"
| 
"
FAILED
"
tr
td
Reason
td
string
td
Reason may have one of the following values |br| 
"
N/A
"
| 
"
CANCEL
"
| 
"
CALLERHANGUP
"
| 
"
CALLEEHANGUP
"
| 
"
NOCREDITPARTNER
"
| 
"
GENERALERROR
"
tr
td
Duration
td
int
td
Call time in seconds
tr
td
From
td
string
td
Phone number of the caller
tr
td
To
td
string
td
Number that the caller has called (Voice DID)
tr
td
Amount
td
decimal
td
Cost of call
tr
td
Currency
td
string
td
Currency
tr
td
Custom
td
object
td
Free field for partners to use as custom headers
tr
td
ApplicationKey
td
string
td
Application key
## App-app calls

div
div
table
thead
tr
th
Field
th
Type
th
Description
tbody
tr
td
CallId
td
string
td
A unique identifier for a call
tr
td
UserSpaceId
td
int
td
Internal identifier
tr
td
CallTime
td
time
td
Time when the call was made
tr
td
Result
td
string
td
Result may be one of the following values 
"
ANSWERED
"
| 
"
BUSY
"
| 
"
NOANSWER
"
| 
"
FAILED
"
tr
td
Reason
td
string
td
Reason may be one of the following values 
"
N/A
"
| 
"
TIMEOUT
"
| 
"
HANGUP
"
| 
"
CANCEL
"
tr
td
Duration
td
int
td
Call duration in seconds
tr
td
FromUserId
td
string
td
UserId of the caller
tr
td
ToUserId
td
string
td
UserId of the callee
tr
td
Custom
td
object
td
Free field for partners to use as custom header
tr
td
ApplicationKey
td
string
td
Application key
## SIP-terminated calls

div
div
table
thead
tr
th
Field
th
Type
th
Description
tbody
tr
td
CallId
td
string
td
A unique identifier for a call
tr
td
UserSpaceId
td
int
td
Internal identifier
tr
td
CallTime
td
time
td
Time when the call was made
tr
td
Result
td
string
td
Result may be one of the following values 
"
ANSWERED
"
| 
"
BUSY
"
| 
"
NOANSWER
"
| 
"
FAILED
"
tr
td
Reason
td
string
td
Reason why the call ended
tr
td
Duration
td
int
td
Call duration in seconds
tr
td
From
td
string
td
Endpoint that originated the call or CLI to be displayed
tr
td
To
td
string
td
Endpoint where the call is terminated
tr
td
Custom
td
object
td
Custom header that was passed in the call
tr
td
ApplicationKey
td
string
td
Application 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.