Package com.bytedesk.call.cdr
Class CallCdrEntity
java.lang.Object
com.bytedesk.core.base.BaseEntity
com.bytedesk.call.cdr.CallCdrEntity
- All Implemented Interfaces:
Serializable
FreeSwitch通话详单表 (CDR)
Call call detail record entity
Stores detailed information about voice calls processed by Call
Database Table: bytedesk_call_cdr
Purpose: Records call metadata, timing information, and call quality metrics
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String
Account code for billing purposesprivate ZonedDateTime
Call answer timestamp when connection is establishedprivate Integer
Billable duration in secondsprivate String
Caller's display nameprivate String
Caller's phone numberprivate String
Call dialplan contextprivate String
Destination phone numberprivate String
Call direction (inbound/outbound)private Integer
Total call duration in secondsprivate ZonedDateTime
Call end timestampprivate String
Reason for call terminationprivate String
Additional call information stored as JSONprivate String
Audio codec used for receiving audioprivate String
Path to call recording fileprivate String
SIP hangup disposition informationprivate ZonedDateTime
Call start timestampprivate String
Audio codec used for sending audio -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet call status descriptionGet formatted call durationboolean
Check if the call was successfulMethods inherited from class com.bytedesk.core.base.BaseEntity
getCreatedAtString, getUpdatedAtString
-
Field Details
-
callerIdName
Caller's display name -
callerIdNumber
Caller's phone number -
destinationNumber
Destination phone number -
context
Call dialplan context -
startStamp
Call start timestamp -
answerStamp
Call answer timestamp when connection is established -
endStamp
Call end timestamp -
duration
Total call duration in seconds -
billsec
Billable duration in seconds -
hangupCause
Reason for call termination -
accountcode
Account code for billing purposes -
readCodec
Audio codec used for receiving audio -
writeCodec
Audio codec used for sending audio -
sipHangupDisposition
SIP hangup disposition information -
recordFile
Path to call recording file -
direction
Call direction (inbound/outbound) -
json
Additional call information stored as JSON
-
-
Constructor Details
-
CallCdrEntity
public CallCdrEntity()
-
-
Method Details
-
getCallStatusDescription
Get call status description -
isSuccessfulCall
public boolean isSuccessfulCall()Check if the call was successful -
getFormattedDuration
Get formatted call duration
-