Class CallCdrEntity

java.lang.Object
com.bytedesk.core.base.BaseEntity
com.bytedesk.call.cdr.CallCdrEntity
All Implemented Interfaces:
Serializable

@Entity public class CallCdrEntity extends BaseEntity
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 Details

    • callerIdName

      private String callerIdName
      Caller's display name
    • callerIdNumber

      private String callerIdNumber
      Caller's phone number
    • destinationNumber

      private String destinationNumber
      Destination phone number
    • context

      private String context
      Call dialplan context
    • startStamp

      private ZonedDateTime startStamp
      Call start timestamp
    • answerStamp

      private ZonedDateTime answerStamp
      Call answer timestamp when connection is established
    • endStamp

      private ZonedDateTime endStamp
      Call end timestamp
    • duration

      private Integer duration
      Total call duration in seconds
    • billsec

      private Integer billsec
      Billable duration in seconds
    • hangupCause

      private String hangupCause
      Reason for call termination
    • accountcode

      private String accountcode
      Account code for billing purposes
    • readCodec

      private String readCodec
      Audio codec used for receiving audio
    • writeCodec

      private String writeCodec
      Audio codec used for sending audio
    • sipHangupDisposition

      private String sipHangupDisposition
      SIP hangup disposition information
    • recordFile

      private String recordFile
      Path to call recording file
    • direction

      private String direction
      Call direction (inbound/outbound)
    • json

      private String json
      Additional call information stored as JSON
  • Constructor Details

    • CallCdrEntity

      public CallCdrEntity()
  • Method Details

    • getCallStatusDescription

      public String getCallStatusDescription()
      Get call status description
    • isSuccessfulCall

      public boolean isSuccessfulCall()
      Check if the call was successful
    • getFormattedDuration

      public String getFormattedDuration()
      Get formatted call duration