Skip to content

(30012) Call end details notification

Last updated: 2026-10-19

When a call ends, your Dromlik phone system sends the call detail record (CDR) to your application.

Event ID: 30012

See Configure webhooks to subscribe to events.

Report parameters

ParameterTypeDescription
typeIntegerEvent ID (30012).
snStringSerial number of your phone system.
msgObject (Call details)Details of the call.

Call details

ParameterTypeDescription
call_idStringUnique ID of the call.
time_startStringTime the call was made or received.
call_fromStringCaller number.
call_toStringCallee number.
call_durationIntegerSeconds from the call starting to ending.
talk_durationIntegerSeconds from the call being answered to ending.
src_trunk_nameStringTrunk the call was received on.
dst_trunk_nameStringTrunk the call was sent out on.
pin_codeStringTrunk PIN code.
statusStringANSWERED (callee answered), NO ANSWER (callee didn't answer), BUSY (callee was busy), VOICEMAIL (callee didn't answer and a voicemail was left), ABANDONED (caller hung up before an answer).
typeStringCall type: internal, inbound or outbound.
recordingStringFile name of the call recording.
recording_pathStringPath of the call recording file.
did_numberStringNumber the caller dialed.
did_nameStringName associated with the DID number.
agent_ring_timeIntegerSeconds between the call entering a queue and an agent answering.
uidStringUnique ID of the CDR.
call_note_idStringUnique ID of the call note.
enb_call_noteIntegerWhether the call note can be edited: 0 = no, any other value = yes.
is_displayIntegerWhether the CDR shows in the user's call log: 0 = no, 1 = yes.

Report example

Extension 1002 calls extension 1000.

{
  "type": 30012,
  "sn": "3631A2124XXX",
  "msg": {
    "call_id": "1780625997.105",
    "time_start": "2026-06-05 10:19:57",
    "call_from": "1002",
    "call_to": "1000",
    "call_duration": 15,
    "talk_duration": 10,
    "src_trunk_name": "",
    "dst_trunk_name": "",
    "pin_code": "",
    "status": "ANSWERED",
    "type": "Internal",
    "recording": "",
    "recording_path": "",
    "did_number": "",
    "did_name": "",
    "agent_ring_time": 0,
    "uid": "202606051019574F506",
    "call_note_id": "20260605101957-AACE5",
    "enb_call_note": 2,
    "is_display": 1
  }
}