(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
| Parameter | Type | Description |
|---|---|---|
type | Integer | Event ID (30012). |
sn | String | Serial number of your phone system. |
msg | Object (Call details) | Details of the call. |
Call details
| Parameter | Type | Description |
|---|---|---|
call_id | String | Unique ID of the call. |
time_start | String | Time the call was made or received. |
call_from | String | Caller number. |
call_to | String | Callee number. |
call_duration | Integer | Seconds from the call starting to ending. |
talk_duration | Integer | Seconds from the call being answered to ending. |
src_trunk_name | String | Trunk the call was received on. |
dst_trunk_name | String | Trunk the call was sent out on. |
pin_code | String | Trunk PIN code. |
status | String | ANSWERED (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). |
type | String | Call type: internal, inbound or outbound. |
recording | String | File name of the call recording. |
recording_path | String | Path of the call recording file. |
did_number | String | Number the caller dialed. |
did_name | String | Name associated with the DID number. |
agent_ring_time | Integer | Seconds between the call entering a queue and an agent answering. |
uid | String | Unique ID of the CDR. |
call_note_id | String | Unique ID of the call note. |
enb_call_note | Integer | Whether the call note can be edited: 0 = no, any other value = yes. |
is_display | Integer | Whether 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
}
}