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 StringAccount code for billing purposesprivate ZonedDateTimeCall answer timestamp when connection is establishedprivate IntegerBillable duration in secondsprivate StringCaller's display nameprivate StringCaller's phone numberprivate StringCall dialplan contextprivate StringDestination phone numberprivate StringCall direction (inbound/outbound)private IntegerTotal call duration in secondsprivate ZonedDateTimeCall end timestampprivate StringReason for call terminationprivate StringAdditional call information stored as JSONprivate StringAudio codec used for receiving audioprivate StringPath to call recording fileprivate StringSIP hangup disposition informationprivate ZonedDateTimeCall start timestampprivate StringAudio codec used for sending audio -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet call status descriptionGet formatted call durationbooleanCheck 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
-