Segment and Node in api : phone/call_history/:calllogid

While using the API to analyze the CallLog Path, I discovered that during direct transfers, a total of five records are generated. However, the Segment/Node encoding rules for these five records differ from what is documented in the Developer guide.

Scenario: PhoneA ----Call → PhoneB -----DirectTransfer—> PhoneC

The Data Responsed like:
Event ------------- Result ---------- Segment — Node — OperatorExtNumber
incoming --------- answered ----- 1 ------------- 1 ------- PhoneB
direct_trasfer ---- connected ----- 2 ------------- 0
direct_trasfer ---- connected ----- 2 ------------- 1
incoming --------- answered ------ 3 ------------- 0
incoming --------- answered ------ 3 ------------- 1 ------ PhoneC

Question 1: Why is there no Segment 0?
Question 2: Why does Segment 1 not have Node 0, but Segments 2 and 3 do?
Question 3: How should the data for 2-0, 2-1, 3-0, 3-1 (Segment-Node) be interpreted? We only performed the Direct_Transfer action, but there are four records.

Hi @Albert3
Thanks for reaching out to us and welcome to the Zoom developer community!
Sorry for the late reply here. I was able to talk to our internal team and they informed me that Segment is the sequence of the log, node is whether this is the sequence within segment.

Hi @elisa.zoom
I would like to ask the following questions:

  1. According to the Developer API documentation, both Segment and Node are encoded starting from 0. However, why does Segment 1 not appear to be encoded starting from 0?
  2. What do the data for Node 0 and Node 1 in Segment 2 represent?

Hey @Albert3
I am sharing this feedback internally so I can update you on why Segment does not appear to be starting from 0
For your second question, the value of node 0 and 1 in segment 2 represent the order of the events within that segment

It’s counter intuitive but the reason there are many entries is that for each party in the organization the segments on the call are unique. So you making the direct transfers has a segment for your number dialing the direct transfer number, the direct transfer number receiving that call, the direct transfer number taking your call and the last one connecting the first person you were talking to the person you transferred the call to

1 Like

hi @Albert3
I was able to look further into this.
Would you be able to share the entire request body you are getting when calling the phone/call_history/calllogid endpoint and include the tracking id of the request (found in the response headers) so we can look further into this issue please

Hi @kslowpes ! Thank you for the explanation. I understand that a single action can generate multiple records, which addresses Question 3. However, Questions 1 and 2 remain unresolved. What I’m curious about is that the official documentation states that both Segments and Nodes are indexed starting from 0, but that doesn’t seem to be the case in reality. Does this mean that certain data is being omitted in the API response? Why is there no Segment 0? And why does Segment 1 not contain Node 0?

Hi @elisa.zoom

WEB_77654f5f81f1da00bd81db9375395889

{
“id”: “20250516-13c98ef6-9598-48aa-a464-3ef6315bcd8e”,
“direction”: “inbound”,
“international”: false,
“department”: “IMD”,
“duration”: 8,
“call_id”: “7504850334967768434”,
“connect_type”: “”,
“call_type”: “general”,
“caller_name”: “0920383276”,
“caller_did_number”: “0920383276”,
“caller_number_type”: “byop”,
“callee_ext_id”: “hCPU50jSSZ21G-ja0x3asQ”,
“callee_name”: “KW-IMD-Albert”,
“callee_email”: “albert.tj@keyence.com.tw”,
“callee_did_number”: “+886912352685”,
“callee_ext_number”: “2535”,
“callee_ext_type”: “user”,
“callee_number_type”: “zoom_pstn”,
“callee_device_type”: “Yealink SIP-T43U 108.86.3.8 44:db:d2:8c:0f:4e”,
“callee_country_iso_code”: “TW”,
“callee_country_code”: “886”,
“start_time”: “2025-05-16T01:32:19Z”,
“answer_time”: “2025-05-16T01:32:21Z”,
“end_time”: “2025-05-16T01:32:40Z”,
“call_path”: [
{
“id”: “20250516-e4eb9165-0f6e-4d2d-a276-f57d30fbdd23”,
“direction”: “inbound”,
“international”: false,
“department”: “IMD”,
“event”: “incoming”,
“result”: “answered”,
“node”: 1,
“segment”: 1,
“call_id”: “7504850334967768434”,
“connect_type”: “”,
“call_type”: “general”,
“caller_name”: “0920383276”,
“caller_did_number”: “0920383276”,
“caller_number_type”: “byop”,
“callee_ext_id”: “hCPU50jSSZ21G-ja0x3asQ”,
“callee_name”: “KW-IMD-Albert”,
“callee_email”: “albert.tj@keyence.com.tw”,
“callee_did_number”: “+886912352685”,
“callee_ext_number”: “2535”,
“callee_ext_type”: “user”,
“callee_number_type”: “zoom_pstn”,
“callee_device_type”: “Yealink SIP-T43U 108.86.3.8 44:db:d2:8c:0f:4e”,
“callee_country_iso_code”: “TW”,
“callee_country_code”: “886”,
“start_time”: “2025-05-16T01:32:19Z”,
“answer_time”: “2025-05-16T01:32:21Z”,
“end_time”: “2025-05-16T01:32:29Z”,
“is_node”: 1,
“device_private_ip”: “10.69.64.33”,
“talk_time”: 8,
“hold_time”: 4,
“wait_time”: 3
},
{
“id”: “20250516-44264371-2b0e-48e4-b045-e235189a72b2”,
“direction”: “outbound”,
“international”: false,
“department”: “IMD”,
“event”: “direct_transfer”,
“result”: “connected”,
“node”: 0,
“segment”: 2,
“call_id”: “7504850334967768434_1”,
“connect_type”: “internal”,
“call_type”: “general”,
“caller_ext_id”: “hCPU50jSSZ21G-ja0x3asQ”,
“caller_name”: “KW-IMD-Albert”,
“caller_email”: “albert.tj@keyence.com.tw”,
“caller_ext_number”: “2535”,
“caller_ext_type”: “user”,
“callee_ext_id”: “zXIhi3xJRDKEn-jF8Srf_w”,
“callee_name”: “KW-IMD-Elaine”,
“callee_email”: “elaine@keyence.com.tw”,
“callee_ext_number”: “2111”,
“callee_ext_type”: “user”,
“start_time”: “2025-05-16T01:32:29Z”,
“answer_time”: “2025-05-16T01:32:33Z”,
“end_time”: “2025-05-16T01:32:40Z”,
“is_node”: 1,
“talk_time”: 7,
“hold_time”: 0,
“wait_time”: 5
},
{
“id”: “20250516-fd8376b6-afe5-4ba1-aa6e-c470b258f345”,
“direction”: “outbound”,
“international”: false,
“department”: “IMD”,
“event”: “direct_transfer”,
“result”: “connected”,
“node”: 1,
“segment”: 2,
“call_id”: “7504850334967768434_1”,
“connect_type”: “internal”,
“call_type”: “general”,
“caller_ext_id”: “hCPU50jSSZ21G-ja0x3asQ”,
“caller_name”: “KW-IMD-Albert”,
“caller_email”: “albert.tj@keyence.com.tw”,
“caller_ext_number”: “2535”,
“caller_ext_type”: “user”,
“callee_ext_id”: “zXIhi3xJRDKEn-jF8Srf_w”,
“callee_name”: “KW-IMD-Elaine”,
“callee_email”: “elaine@keyence.com.tw”,
“callee_ext_number”: “2111”,
“callee_ext_type”: “user”,
“start_time”: “2025-05-16T01:32:29Z”,
“answer_time”: “2025-05-16T01:32:33Z”,
“end_time”: “2025-05-16T01:32:40Z”,
“is_node”: 1,
“talk_time”: 7,
“hold_time”: 0,
“wait_time”: 5
},
{
“id”: “20250516-0b1ddd05-98b0-4c83-b778-fcd859520507”,
“direction”: “inbound”,
“international”: false,
“department”: “IMD”,
“event”: “incoming”,
“result”: “answered”,
“node”: 0,
“segment”: 3,
“call_id”: “7504850334967768434_1”,
“connect_type”: “”,
“call_type”: “general”,
“caller_name”: “0920383276”,
“caller_did_number”: “0920383276”,
“caller_number_type”: “byop”,
“callee_ext_id”: “zXIhi3xJRDKEn-jF8Srf_w”,
“callee_name”: “KW-IMD-Elaine”,
“callee_email”: “elaine@keyence.com.tw”,
“callee_ext_number”: “2111”,
“callee_ext_type”: “user”,
“callee_device_type”: “Yealink SIP-T43U 108.86.3.8 44:db:d2:8c:0f:c2”,
“start_time”: “2025-05-16T01:32:32Z”,
“answer_time”: “2025-05-16T01:32:33Z”,
“end_time”: “2025-05-16T01:32:40Z”,
“is_node”: 1,
“device_private_ip”: “10.69.64.34”,
“talk_time”: 7,
“hold_time”: 0,
“wait_time”: 2
},
{
“id”: “20250516-18966204-913e-4280-b296-d881934011a1”,
“direction”: “inbound”,
“international”: false,
“department”: “IMD”,
“event”: “incoming”,
“result”: “answered”,
“node”: 1,
“segment”: 3,
“call_id”: “7504850334967768434_1”,
“connect_type”: “”,
“call_type”: “general”,
“caller_name”: “0920383276”,
“caller_did_number”: “0920383276”,
“caller_number_type”: “byop”,
“callee_ext_id”: “zXIhi3xJRDKEn-jF8Srf_w”,
“callee_name”: “KW-IMD-Elaine”,
“callee_email”: “elaine@keyence.com.tw”,
“callee_ext_number”: “2111”,
“callee_ext_type”: “user”,
“callee_device_type”: “Yealink SIP-T43U 108.86.3.8 44:db:d2:8c:0f:c2”,
“start_time”: “2025-05-16T01:32:32Z”,
“answer_time”: “2025-05-16T01:32:33Z”,
“end_time”: “2025-05-16T01:32:40Z”,
“is_node”: 1,
“device_private_ip”: “10.69.64.34”,
“talk_time”: 7,
“hold_time”: 0,
“wait_time”: 2
}
]
}

1 Like

Hey @Albert3
I created a ticket for our Engineering team to look into this (ZSEE-167846 internal ticket number for reference)
I will update you when I have more information

Hi Elisa

Thanks.
I’ll keep tracking it.

Hi @elisa.zoom

Since I need to report back to my supervisor, could you let me know if this survey has a deadline?

Hi @Albert3
Our Engineering team is currently looking at this issue but I do not have an update for you at the moment

1 Like

Also confused here as we try to understand the proper way to parse through call_history events. Should we expect a “Segment 0”, and should we expect a “Node 0” for “Segment 1”?

Hi @Aidan
Thanks for reaching out to us and welcome to the community!
Yes, for each segment, you should expect a node 0

Thanks, I appreciate the reply! I’ve got quite a few things I’d like to ask about the call history API, so you may see more of me.

In a brief sample of our phone data pulled through the call_history API (4,200 calls), I can confirm we are seeing no instances of a segment 0, and no instances of a node 0 for segment 1. We do see node 0 for segments greater than 1.

Happy to provide more info to help debug.

Sure thing! Happy to answer all your questions @Aidan
Would you mind sharing the response body you are seeing here so I can analyze your data and give you a right answer please @Aidan

Sure – character limits force me to split it into two messages, so I’ll include the call_elements object in a separate reply.

{
    "id": "{CALL_PATH_ID}",
    "direction": "inbound",
    "international": false,
    "department": "{DEPARTMENT_1}",
    "duration": 26,
    "call_path_id": "{CALL_PATH_ID}",
    "call_id": "{CALL_ID}",
    "connect_type": "external",
    "call_type": "general",
    "hide_caller_id": false,
    "caller_name": "{CALLER_NAME_1}",
    "caller_did_number": "{CALLER_DID_NUMBER_1}",
    "caller_number_type": "external_pstn",
    "caller_country_iso_code": "US",
    "caller_country_code": "1",
    "callee_ext_id": "{CALLEE_EXT_ID_1}",
    "callee_name": "{CALLEE_NAME_1}",
    "callee_did_number": "{CALLEE_DID_NUMBER_1}",
    "callee_ext_number": "{CALLEE_EXT_NUMBER_1}",
    "callee_ext_type": "call_queue",
    "callee_number_type": "zoom_pstn",
    "callee_country_iso_code": "US",
    "callee_country_code": "1",
    "end_to_end": false,
    "site_id": "{SITE_ID_1}",
    "site_name": "{SITE_NAME_1}",
    "start_time": "2025-10-27T22:24:32Z",
    "answer_time": "2025-10-27T22:24:32Z",
    "end_time": "2025-10-27T22:36:29Z",
    "call_path": [
        {
            "id": "{CALL_ELEMENT_ID_1}",
            "direction": "inbound",
            "international": false,
            "department": "{DEPARTMENT_1}",
            "event": "incoming",
            "result": "answered",
            "node": 1,
            "segment": 1,
            "call_path_id": "{CALL_PATH_ID}",
            "call_id": "{CALL_ID}",
            "connect_type": "external",
            "call_type": "general",
            "hide_caller_id": false,
            "caller_name": "{CALLER_NAME_1}",
            "caller_did_number": "{CALLER_DID_NUMBER_1}",
            "caller_number_type": "external_pstn",
            "caller_country_iso_code": "US",
            "caller_country_code": "1",
            "callee_ext_id": "{CALLEE_EXT_ID_1}",
            "callee_name": "{CALLEE_NAME_1}",
            "callee_did_number": "{CALLEE_DID_NUMBER_1}",
            "callee_ext_number": "{CALLEE_EXT_NUMBER_1}",
            "callee_ext_type": "call_queue",
            "callee_number_type": "zoom_pstn",
            "callee_country_iso_code": "US",
            "callee_country_code": "1",
            "end_to_end": false,
            "site_id": "{SITE_ID_1}",
            "site_name": "{SITE_NAME_1}",
            "start_time": "2025-10-27T22:24:32Z",
            "answer_time": "2025-10-27T22:24:37Z",
            "end_time": "2025-10-27T22:24:57Z",
            "is_node": 1,
            "recording_id": "{RECORDING_ID_1}",
            "recording_type": "automatic",
            "talk_time": 21,
            "hold_time": 0,
            "wait_time": 6
        },
        {
            "id": "{CALL_ELEMENT_ID_2}",
            "direction": "inbound",
            "international": false,
            "department": "{DEPARTMENT_2}",
            "event": "ring_to_member",
            "result": "answered",
            "node": 1,
            "segment": 1,
            "call_path_id": "{CALL_PATH_ID}",
            "call_id": "{CALL_ID}",
            "connect_type": "external",
            "call_type": "general",
            "hide_caller_id": false,
            "caller_name": "{CALLER_NAME_1}",
            "caller_did_number": "{CALLER_DID_NUMBER_1}",
            "caller_number_type": "external_pstn",
            "caller_country_iso_code": "US",
            "caller_country_code": "1",
            "callee_ext_id": "{CALLEE_EXT_ID_2}",
            "callee_name": "{CALLEE_NAME_2}",
            "callee_email": "{CALLEE_EMAIL_2}",
            "callee_employee_id": "{CALLEE_EMPLOYEE_ID_2}",
            "callee_ext_number": "{CALLEE_EXT_NUMBER_2}",
            "callee_ext_type": "user",
            "callee_device_type": "ZoomPbxPhone_Windows_Client(6.6.1.15968)",
            "end_to_end": false,
            "site_id": "{SITE_ID_2}",
            "site_name": "{SITE_NAME_2}",
            "group_id": "{GROUP_ID_1}",
            "start_time": "2025-10-27T22:24:32Z",
            "answer_time": "2025-10-27T22:24:37Z",
            "end_time": "2025-10-27T22:24:57Z",
            "operator_ext_number": "{CALLEE_EXT_NUMBER_1}",
            "operator_ext_id": "{CALLEE_EXT_ID_1}",
            "operator_ext_type": "call_queue",
            "operator_name": "{CALLEE_NAME_1}",
            "is_node": 0,
            "device_private_ip": "{DEVICE_PRIVATE_IP_1}",
            "device_public_ip": "{DEVICE_PUBLIC_IP_1}",
            "talk_time": 21,
            "hold_time": 0,
            "wait_time": 5
        },
        {
            "id": "{CALL_ELEMENT_ID_3}",
            "direction": "outbound",
            "international": false,
            "department": "{DEPARTMENT_2}",
            "event": "direct_transfer",
            "result": "succeeded",
            "node": 0,
            "segment": 2,
            "call_path_id": "{CALL_PATH_ID}",
            "call_id": "{CALL_ID}_1",
            "connect_type": "internal",
            "call_type": "general",
            "hide_caller_id": false,
            "caller_ext_id": "{CALLEE_EXT_ID_2}",
            "caller_name": "{CALLEE_NAME_2}",
            "caller_email": "{CALLEE_EMAIL_2}",
            "caller_employee_id": "{CALLEE_EMPLOYEE_ID_2}",
            "caller_ext_number": "{CALLEE_EXT_NUMBER_2}",
            "caller_ext_type": "user",
            "callee_ext_id": "{CALLEE_EXT_ID_3}",
            "callee_name": "{CALLEE_NAME_3}",
            "callee_ext_number": "{CALLEE_EXT_NUMBER_3}",
            "callee_ext_type": "call_queue",
            "end_to_end": false,
            "site_id": "{SITE_ID_2}",
            "site_name": "{SITE_NAME_2}",
            "group_id": "{GROUP_ID_1}",
            "start_time": "2025-10-27T22:24:58Z",
            "end_time": "2025-10-27T22:24:58Z",
            "is_node": 1,
            "talk_time": 0,
            "hold_time": 0,
            "wait_time": 0
        },
        {
            "id": "{CALL_ELEMENT_ID_4}",
            "direction": "outbound",
            "international": false,
            "department": "{DEPARTMENT_2}",
            "event": "direct_transfer",
            "result": "succeeded",
            "node": 1,
            "segment": 2,
            "call_path_id": "{CALL_PATH_ID}",
            "call_id": "{CALL_ID}_1",
            "connect_type": "internal",
            "call_type": "general",
            "hide_caller_id": false,
            "caller_ext_id": "{CALLEE_EXT_ID_2}",
            "caller_name": "{CALLEE_NAME_2}",
            "caller_email": "{CALLEE_EMAIL_2}",
            "caller_employee_id": "{CALLEE_EMPLOYEE_ID_2}",
            "caller_ext_number": "{CALLEE_EXT_NUMBER_2}",
            "caller_ext_type": "user",
            "callee_ext_id": "{CALLEE_EXT_ID_3}",
            "callee_name": "{CALLEE_NAME_3}",
            "callee_ext_number": "{CALLEE_EXT_NUMBER_3}",
            "callee_ext_type": "call_queue",
            "end_to_end": false,
            "site_id": "{SITE_ID_2}",
            "site_name": "{SITE_NAME_2}",
            "group_id": "{GROUP_ID_1}",
            "start_time": "2025-10-27T22:24:58Z",
            "end_time": "2025-10-27T22:24:58Z",
            "is_node": 1,
            "talk_time": 0,
            "hold_time": 0,
            "wait_time": 0
        },
        {
            "id": "{CALL_ELEMENT_ID_5}",
            "direction": "inbound",
            "international": false,
            "department": "{DEPARTMENT_3}",
            "event": "incoming",
            "result": "answered",
            "node": 0,
            "segment": 3,
            "call_path_id": "{CALL_PATH_ID}",
            "call_id": "{CALL_ID}_1",
            "connect_type": "external",
            "call_type": "general",
            "hide_caller_id": false,
            "caller_name": "{CALLER_NAME_1}",
            "caller_did_number": "{CALLER_DID_NUMBER_1}",
            "caller_number_type": "external_pstn",
            "caller_country_iso_code": "US",
            "caller_country_code": "1",
            "callee_ext_id": "{CALLEE_EXT_ID_3}",
            "callee_name": "{CALLEE_NAME_3}",
            "callee_ext_number": "{CALLEE_EXT_NUMBER_3}",
            "callee_ext_type": "call_queue",
            "end_to_end": false,
            "site_id": "{SITE_ID_1}",
            "site_name": "{SITE_NAME_1}",
            "start_time": "2025-10-27T22:24:58Z",
            "answer_time": "2025-10-27T22:24:58Z",
            "end_time": "2025-10-27T22:36:29Z",
            "operator_ext_number": "{CALLEE_EXT_NUMBER_2}",
            "operator_ext_id": "{CALLEE_EXT_ID_2}",
            "operator_ext_type": "user",
            "operator_name": "{CALLEE_NAME_2}",
            "is_node": 1,
            "talk_time": 692,
            "hold_time": 0,
            "wait_time": 0
        },
        {
            "id": "{CALL_ELEMENT_ID_6}",
            "direction": "inbound",
            "international": false,
            "department": "{DEPARTMENT_3}",
            "event": "incoming",
            "result": "answered",
            "node": 1,
            "segment": 3,
            "call_path_id": "{CALL_PATH_ID}",
            "call_id": "{CALL_ID}_1",
            "connect_type": "external",
            "call_type": "general",
            "hide_caller_id": false,
            "caller_name": "{CALLER_NAME_1}",
            "caller_did_number": "{CALLER_DID_NUMBER_1}",
            "caller_number_type": "external_pstn",
            "caller_country_iso_code": "US",
            "caller_country_code": "1",
            "callee_ext_id": "{CALLEE_EXT_ID_3}",
            "callee_name": "{CALLEE_NAME_3}",
            "callee_ext_number": "{CALLEE_EXT_NUMBER_3}",
            "callee_ext_type": "call_queue",
            "end_to_end": false,
            "site_id": "{SITE_ID_1}",
            "site_name": "{SITE_NAME_1}",
            "start_time": "2025-10-27T22:24:58Z",
            "answer_time": "2025-10-27T22:25:01Z",
            "end_time": "2025-10-27T22:36:29Z",
            "operator_ext_number": "{CALLEE_EXT_NUMBER_2}",
            "operator_ext_id": "{CALLEE_EXT_ID_2}",
            "operator_ext_type": "user",
            "operator_name": "{CALLEE_NAME_2}",
            "is_node": 1,
            "talk_time": 688,
            "hold_time": 0,
            "wait_time": 4
        },
        {
            "id": "{CALL_ELEMENT_ID_7}",
            "direction": "inbound",
            "international": false,
            "department": "{DEPARTMENT_3}",
            "event": "ring_to_member",
            "result": "answered",
            "node": 1,
            "segment": 3,
            "call_path_id": "{CALL_PATH_ID}",
            "call_id": "{CALL_ID}_1",
            "connect_type": "external",
            "call_type": "general",
            "hide_caller_id": false,
            "caller_name": "{CALLER_NAME_1}",
            "caller_did_number": "{CALLER_DID_NUMBER_1}",
            "caller_number_type": "external_pstn",
            "caller_country_iso_code": "US",
            "caller_country_code": "1",
            "callee_ext_id": "{CALLEE_EXT_ID_4}",
            "callee_name": "{CALLEE_NAME_4}",
            "callee_email": "{CALLEE_EMAIL_4}",
            "callee_employee_id": "{CALLEE_EMPLOYEE_ID_4}",
            "callee_ext_number": "{CALLEE_EXT_NUMBER_4}",
            "callee_ext_type": "user",
            "callee_device_type": "ZoomPbxPhone_Windows_Client(6.6.5.19369)",
            "end_to_end": false,
            "site_id": "{SITE_ID_1}",
            "site_name": "{SITE_NAME_1}",
            "group_id": "{GROUP_ID_2}",
            "start_time": "2025-10-27T22:24:58Z",
            "answer_time": "2025-10-27T22:25:01Z",
            "end_time": "2025-10-27T22:36:29Z",
            "operator_ext_number": "{CALLEE_EXT_NUMBER_3}",
            "operator_ext_id": "{CALLEE_EXT_ID_3}",
            "operator_ext_type": "call_queue",
            "operator_name": "{CALLEE_NAME_3}",
            "is_node": 0,
            "device_private_ip": "{DEVICE_PRIVATE_IP_2}",
            "device_public_ip": "{DEVICE_PUBLIC_IP_1}",
            "talk_time": 688,
            "hold_time": 0,
            "wait_time": 4
        },
        {
            "id": "{CALL_ELEMENT_ID_8}",
            "direction": "inbound",
            "international": false,
            "event": "ring_to_member",
            "result": "no_answer",
            "node": 1,
            "segment": 3,
            "call_path_id": "{CALL_PATH_ID}",
            "call_id": "{CALL_ID}_1",
            "connect_type": "external",
            "call_type": "general",
            "hide_caller_id": false,
            "caller_name": "{CALLER_NAME_1}",
            "caller_did_number": "{CALLER_DID_NUMBER_1}",
            "caller_number_type": "external_pstn",
            "caller_country_iso_code": "US",
            "caller_country_code": "1",
            "callee_ext_id": "{CALLEE_EXT_ID_5}",
            "callee_name": "{CALLEE_NAME_5}",
            "callee_ext_number": "{CALLEE_EXT_NUMBER_5}",
            "callee_ext_type": "common_area",
            "callee_device_type": "PolyEdge-Edge_E220-UA/8.3.1.0614",
            "end_to_end": false,
            "site_id": "{SITE_ID_1}",
            "site_name": "{SITE_NAME_1}",
            "start_time": "2025-10-27T22:24:58Z",
            "end_time": "2025-10-27T22:25:01Z",
            "result_reason": "answered_by_other",
            "operator_ext_number": "{CALLEE_EXT_NUMBER_3}",
            "operator_ext_id": "{CALLEE_EXT_ID_3}",
            "operator_ext_type": "call_queue",
            "operator_name": "{CALLEE_NAME_3}",
            "is_node": 0,
            "device_private_ip": "{DEVICE_PRIVATE_IP_3}",
            "device_public_ip": "{DEVICE_PUBLIC_IP_1}",
            "talk_time": 0,
            "hold_time": 0,
            "wait_time": 4
        },
        {
            "id": "{CALL_ELEMENT_ID_9}",
            "direction": "inbound",
            "international": false,
            "department": "{DEPARTMENT_3}",
            "event": "ring_to_member",
            "result": "no_answer",
            "node": 1,
            "segment": 3,
            "call_path_id": "{CALL_PATH_ID}",
            "call_id": "{CALL_ID}_1",
            "connect_type": "external",
            "call_type": "general",
            "hide_caller_id": false,
            "caller_name": "{CALLER_NAME_1}",
            "caller_did_number": "{CALLER_DID_NUMBER_1}",
            "caller_number_type": "external_pstn",
            "caller_country_iso_code": "US",
            "caller_country_code": "1",
            "callee_ext_id": "{CALLEE_EXT_ID_6}",
            "callee_name": "{CALLEE_NAME_6}",
            "callee_email": "{CALLEE_EMAIL_6}",
            "callee_employee_id": "{CALLEE_EMPLOYEE_ID_6}",
            "callee_ext_number": "{CALLEE_EXT_NUMBER_6}",
            "callee_ext_type": "user",
            "end_to_end": false,
            "site_id": "{SITE_ID_1}",
            "site_name": "{SITE_NAME_1}",
            "group_id": "{GROUP_ID_2}",
            "start_time": "2025-10-27T22:24:58Z",
            "end_time": "2025-10-27T22:24:58Z",
            "result_reason": "answered_by_other",
            "operator_ext_number": "{CALLEE_EXT_NUMBER_3}",
            "operator_ext_id": "{CALLEE_EXT_ID_3}",
            "operator_ext_type": "call_queue",
            "operator_name": "{CALLEE_NAME_3}",
            "is_node": 0,
            "talk_time": 0,
            "hold_time": 0,
            "wait_time": 0
        },
        {
            "id": "{CALL_ELEMENT_ID_10}",
            "direction": "inbound",
            "international": false,
            "department": "{DEPARTMENT_3}",
            "event": "ring_to_member",
            "result": "no_answer",
            "node": 1,
            "segment": 3,
            "call_path_id": "{CALL_PATH_ID}",
            "call_id": "{CALL_ID}_1",
            "connect_type": "external",
            "call_type": "general",
            "hide_caller_id": false,
            "caller_name": "{CALLER_NAME_1}",
            "caller_did_number": "{CALLER_DID_NUMBER_1}",
            "caller_number_type": "external_pstn",
            "caller_country_iso_code": "US",
            "caller_country_code": "1",
            "callee_ext_id": "{CALLEE_EXT_ID_7}",
            "callee_name": "{CALLEE_NAME_7}",
            "callee_email": "{CALLEE_EMAIL_7}",
            "callee_employee_id": "{CALLEE_EMPLOYEE_ID_7}",
            "callee_ext_number": "{CALLEE_EXT_NUMBER_7}",
            "callee_ext_type": "user",
            "end_to_end": false,
            "site_id": "{SITE_ID_1}",
            "site_name": "{SITE_NAME_1}",
            "group_id": "{GROUP_ID_2}",
            "start_time": "2025-10-27T22:24:58Z",
            "end_time": "2025-10-27T22:24:58Z",
            "result_reason": "answered_by_other",
            "operator_ext_number": "{CALLEE_EXT_NUMBER_3}",
            "operator_ext_id": "{CALLEE_EXT_ID_3}",
            "operator_ext_type": "call_queue",
            "operator_name": "{CALLEE_NAME_3}",
            "is_node": 0,
            "talk_time": 0,
            "hold_time": 0,
            "wait_time": 0
        },
        {
            "id": "{CALL_ELEMENT_ID_11}",
            "direction": "inbound",
            "international": false,
            "department": "{DEPARTMENT_3}",
            "event": "ring_to_member",
            "result": "no_answer",
            "node": 1,
            "segment": 3,
            "call_path_id": "{CALL_PATH_ID}",
            "call_id": "{CALL_ID}_1",
            "connect_type": "external",
            "call_type": "general",
            "hide_caller_id": false,
            "caller_name": "{CALLER_NAME_1}",
            "caller_did_number": "{CALLER_DID_NUMBER_1}",
            "caller_number_type": "external_pstn",
            "caller_country_iso_code": "US",
            "caller_country_code": "1",
            "callee_ext_id": "{CALLEE_EXT_ID_8}",
            "callee_name": "{CALLEE_NAME_8}",
            "callee_email": "{CALLEE_EMAIL_8}",
            "callee_employee_id": "{CALLEE_EMPLOYEE_ID_8}",
            "callee_ext_number": "{CALLEE_EXT_NUMBER_8}",
            "callee_ext_type": "user",
            "end_to_end": false,
            "site_id": "{SITE_ID_1}",
            "site_name": "{SITE_NAME_1}",
            "start_time": "2025-10-27T22:24:58Z",
            "end_time": "2025-10-27T22:24:58Z",
            "result_reason": "answered_by_other",
            "operator_ext_number": "{CALLEE_EXT_NUMBER_3}",
            "operator_ext_id": "{CALLEE_EXT_ID_3}",
            "operator_ext_type": "call_queue",
            "operator_name": "{CALLEE_NAME_3}",
            "is_node": 0,
            "talk_time": 0,
            "hold_time": 0,
            "wait_time": 0
        },
        {
            "id": "{CALL_ELEMENT_ID_12}",
            "direction": "inbound",
            "international": false,
            "event": "ring_to_member",
            "result": "no_answer",
            "node": 1,
            "segment": 3,
            "call_path_id": "{CALL_PATH_ID}",
            "call_id": "{CALL_ID}_1",
            "connect_type": "external",
            "call_type": "general",
            "hide_caller_id": false,
            "caller_name": "{CALLER_NAME_1}",
            "caller_did_number": "{CALLER_DID_NUMBER_1}",
            "caller_number_type": "external_pstn",
            "caller_country_iso_code": "US",
            "caller_country_code": "1",
            "callee_ext_id": "{CALLEE_EXT_ID_9}",
            "callee_name": "{CALLEE_NAME_9}",
            "callee_ext_number": "{CALLEE_EXT_NUMBER_9}",
            "callee_ext_type": "common_area",
            "callee_device_type": "PolyEdge-Edge_E220-UA/8.3.1.0614",
            "end_to_end": false,
            "site_id": "{SITE_ID_1}",
            "site_name": "{SITE_NAME_1}",
            "start_time": "2025-10-27T22:24:58Z",
            "end_time": "2025-10-27T22:25:01Z",
            "result_reason": "answered_by_other",
            "operator_ext_number": "{CALLEE_EXT_NUMBER_3}",
            "operator_ext_id": "{CALLEE_EXT_ID_3}",
            "operator_ext_type": "call_queue",
            "operator_name": "{CALLEE_NAME_3}",
            "is_node": 0,
            "device_private_ip": "{DEVICE_PRIVATE_IP_4}",
            "device_public_ip": "{DEVICE_PUBLIC_IP_1}",
            "talk_time": 0,
            "hold_time": 0,
            "wait_time": 4
        },
        {
            "id": "{CALL_ELEMENT_ID_13}",
            "direction": "inbound",
            "international": false,
            "event": "ring_to_member",
            "result": "no_answer",
            "node": 1,
            "segment": 3,
            "call_path_id": "{CALL_PATH_ID}",
            "call_id": "{CALL_ID}_1",
            "connect_type": "external",
            "call_type": "general",
            "hide_caller_id": false,
            "caller_name": "{CALLER_NAME_1}",
            "caller_did_number": "{CALLER_DID_NUMBER_1}",
            "caller_number_type": "external_pstn",
            "caller_country_iso_code": "US",
            "caller_country_code": "1",
            "callee_ext_id": "{CALLEE_EXT_ID_10}",
            "callee_name": "{CALLEE_NAME_10}",
            "callee_ext_number": "{CALLEE_EXT_NUMBER_10}",
            "callee_ext_type": "common_area",
            "callee_device_type": "PolyEdge-Edge_E220-UA/8.3.1.0614",
            "end_to_end": false,
            "site_id": "{SITE_ID_1}",
            "site_name": "{SITE_NAME_1}",
            "start_time": "2025-10-27T22:24:58Z",
            "end_time": "2025-10-27T22:25:01Z",
            "result_reason": "answered_by_other",
            "operator_ext_number": "{CALLEE_EXT_NUMBER_3}",
            "operator_ext_id": "{CALLEE_EXT_ID_3}",
            "operator_ext_type": "call_queue",
            "operator_name": "{CALLEE_NAME_3}",
            "is_node": 0,
            "device_private_ip": "{DEVICE_PRIVATE_IP_5}",
            "device_public_ip": "{DEVICE_PUBLIC_IP_1}",
            "talk_time": 0,
            "hold_time": 0,
            "wait_time": 4
        }
    ],
    "call_history_uuid": "{CALL_PATH_ID}",
    "call_elements": [
        "..."
    ]
}
1 Like
"call_elements": [
        {
            "direction": "inbound",
            "international": false,
            "department": "{DEPARTMENT_1}",
            "event": "incoming",
            "result": "answered",
            "node": 1,
            "segment": 1,
            "call_id": "{CALL_ID}",
            "connect_type": "external",
            "call_type": "general",
            "hide_caller_id": false,
            "caller_name": "{CALLER_NAME_1}",
            "caller_did_number": "{CALLER_DID_NUMBER_1}",
            "caller_number_type": "external_pstn",
            "caller_country_iso_code": "US",
            "caller_country_code": "1",
            "callee_ext_id": "{CALLEE_EXT_ID_1}",
            "callee_name": "{CALLEE_NAME_1}",
            "callee_did_number": "{CALLEE_DID_NUMBER_1}",
            "callee_ext_number": "{CALLEE_EXT_NUMBER_1}",
            "callee_ext_type": "call_queue",
            "callee_number_type": "zoom_pstn",
            "callee_country_iso_code": "US",
            "callee_country_code": "1",
            "end_to_end": false,
            "site_id": "{SITE_ID_1}",
            "site_name": "{SITE_NAME_1}",
            "start_time": "2025-10-27T22:24:32Z",
            "answer_time": "2025-10-27T22:24:37Z",
            "end_time": "2025-10-27T22:24:57Z",
            "is_node": 1,
            "recording_id": "{RECORDING_ID_1}",
            "recording_type": "automatic",
            "talk_time": 21,
            "hold_time": 0,
            "wait_time": 6,
            "call_element_id": "{CALL_ELEMENT_ID_1}"
        },
        {
            "direction": "inbound",
            "international": false,
            "department": "{DEPARTMENT_2}",
            "event": "ring_to_member",
            "result": "answered",
            "node": 1,
            "segment": 1,
            "call_id": "{CALL_ID}",
            "connect_type": "external",
            "call_type": "general",
            "hide_caller_id": false,
            "caller_name": "{CALLER_NAME_1}",
            "caller_did_number": "{CALLER_DID_NUMBER_1}",
            "caller_number_type": "external_pstn",
            "caller_country_iso_code": "US",
            "caller_country_code": "1",
            "callee_ext_id": "{CALLEE_EXT_ID_2}",
            "callee_name": "{CALLEE_NAME_2}",
            "callee_email": "{CALLEE_EMAIL_2}",
            "callee_employee_id": "{CALLEE_EMPLOYEE_ID_2}",
            "callee_ext_number": "{CALLEE_EXT_NUMBER_2}",
            "callee_ext_type": "user",
            "callee_device_type": "ZoomPbxPhone_Windows_Client(6.6.1.15968)",
            "end_to_end": false,
            "site_id": "{SITE_ID_2}",
            "site_name": "{SITE_NAME_2}",
            "group_id": "{GROUP_ID_1}",
            "start_time": "2025-10-27T22:24:32Z",
            "answer_time": "2025-10-27T22:24:37Z",
            "end_time": "2025-10-27T22:24:57Z",
            "operator_ext_number": "{CALLEE_EXT_NUMBER_1}",
            "operator_ext_id": "{CALLEE_EXT_ID_1}",
            "operator_ext_type": "call_queue",
            "operator_name": "{CALLEE_NAME_1}",
            "is_node": 0,
            "device_private_ip": "{DEVICE_PRIVATE_IP_1}",
            "device_public_ip": "{DEVICE_PUBLIC_IP_1}",
            "talk_time": 21,
            "hold_time": 0,
            "wait_time": 5,
            "call_element_id": "{CALL_ELEMENT_ID_2}"
        },
        {
            "direction": "outbound",
            "international": false,
            "department": "{DEPARTMENT_2}",
            "event": "direct_transfer",
            "result": "succeeded",
            "node": 0,
            "segment": 2,
            "call_id": "{CALL_ID}_1",
            "connect_type": "internal",
            "call_type": "general",
            "hide_caller_id": false,
            "caller_ext_id": "{CALLEE_EXT_ID_2}",
            "caller_name": "{CALLEE_NAME_2}",
            "caller_email": "{CALLEE_EMAIL_2}",
            "caller_employee_id": "{CALLEE_EMPLOYEE_ID_2}",
            "caller_ext_number": "{CALLEE_EXT_NUMBER_2}",
            "caller_ext_type": "user",
            "callee_ext_id": "{CALLEE_EXT_ID_3}",
            "callee_name": "{CALLEE_NAME_3}",
            "callee_ext_number": "{CALLEE_EXT_NUMBER_3}",
            "callee_ext_type": "call_queue",
            "end_to_end": false,
            "site_id": "{SITE_ID_2}",
            "site_name": "{SITE_NAME_2}",
            "group_id": "{GROUP_ID_1}",
            "start_time": "2025-10-27T22:24:58Z",
            "end_time": "2025-10-27T22:24:58Z",
            "is_node": 1,
            "talk_time": 0,
            "hold_time": 0,
            "wait_time": 0,
            "call_element_id": "{CALL_ELEMENT_ID_3}"
        },
        {
            "direction": "outbound",
            "international": false,
            "department": "{DEPARTMENT_2}",
            "event": "direct_transfer",
            "result": "succeeded",
            "node": 1,
            "segment": 2,
            "call_id": "{CALL_ID}_1",
            "connect_type": "internal",
            "call_type": "general",
            "hide_caller_id": false,
            "caller_ext_id": "{CALLEE_EXT_ID_2}",
            "caller_name": "{CALLEE_NAME_2}",
            "caller_email": "{CALLEE_EMAIL_2}",
            "caller_employee_id": "{CALLEE_EMPLOYEE_ID_2}",
            "caller_ext_number": "{CALLEE_EXT_NUMBER_2}",
            "caller_ext_type": "user",
            "callee_ext_id": "{CALLEE_EXT_ID_3}",
            "callee_name": "{CALLEE_NAME_3}",
            "callee_ext_number": "{CALLEE_EXT_NUMBER_3}",
            "callee_ext_type": "call_queue",
            "end_to_end": false,
            "site_id": "{SITE_ID_2}",
            "site_name": "{SITE_NAME_2}",
            "group_id": "{GROUP_ID_1}",
            "start_time": "2025-10-27T22:24:58Z",
            "end_time": "2025-10-27T22:24:58Z",
            "is_node": 1,
            "talk_time": 0,
            "hold_time": 0,
            "wait_time": 0,
            "call_element_id": "{CALL_ELEMENT_ID_4}"
        },
        {
            "direction": "inbound",
            "international": false,
            "department": "{DEPARTMENT_3}",
            "event": "incoming",
            "result": "answered",
            "node": 0,
            "segment": 3,
            "call_id": "{CALL_ID}_1",
            "connect_type": "external",
            "call_type": "general",
            "hide_caller_id": false,
            "caller_name": "{CALLER_NAME_1}",
            "caller_did_number": "{CALLER_DID_NUMBER_1}",
            "caller_number_type": "external_pstn",
            "caller_country_iso_code": "US",
            "caller_country_code": "1",
            "callee_ext_id": "{CALLEE_EXT_ID_3}",
            "callee_name": "{CALLEE_NAME_3}",
            "callee_ext_number": "{CALLEE_EXT_NUMBER_3}",
            "callee_ext_type": "call_queue",
            "end_to_end": false,
            "site_id": "{SITE_ID_1}",
            "site_name": "{SITE_NAME_1}",
            "start_time": "2025-10-27T22:24:58Z",
            "answer_time": "2025-10-27T22:24:58Z",
            "end_time": "2025-10-27T22:36:29Z",
            "operator_ext_number": "{CALLEE_EXT_NUMBER_2}",
            "operator_ext_id": "{CALLEE_EXT_ID_2}",
            "operator_ext_type": "user",
            "operator_name": "{CALLEE_NAME_2}",
            "is_node": 1,
            "talk_time": 692,
            "hold_time": 0,
            "wait_time": 0,
            "call_element_id": "{CALL_ELEMENT_ID_5}"
        },
        {
            "direction": "inbound",
            "international": false,
            "department": "{DEPARTMENT_3}",
            "event": "incoming",
            "result": "answered",
            "node": 1,
            "segment": 3,
            "call_id": "{CALL_ID}_1",
            "connect_type": "external",
            "call_type": "general",
            "hide_caller_id": false,
            "caller_name": "{CALLER_NAME_1}",
            "caller_did_number": "{CALLER_DID_NUMBER_1}",
            "caller_number_type": "external_pstn",
            "caller_country_iso_code": "US",
            "caller_country_code": "1",
            "callee_ext_id": "{CALLEE_EXT_ID_3}",
            "callee_name": "{CALLEE_NAME_3}",
            "callee_ext_number": "{CALLEE_EXT_NUMBER_3}",
            "callee_ext_type": "call_queue",
            "end_to_end": false,
            "site_id": "{SITE_ID_1}",
            "site_name": "{SITE_NAME_1}",
            "start_time": "2025-10-27T22:24:58Z",
            "answer_time": "2025-10-27T22:25:01Z",
            "end_time": "2025-10-27T22:36:29Z",
            "operator_ext_number": "{CALLEE_EXT_NUMBER_2}",
            "operator_ext_id": "{CALLEE_EXT_ID_2}",
            "operator_ext_type": "user",
            "operator_name": "{CALLEE_NAME_2}",
            "is_node": 1,
            "talk_time": 688,
            "hold_time": 0,
            "wait_time": 4,
            "call_element_id": "{CALL_ELEMENT_ID_6}"
        },
        {
            "direction": "inbound",
            "international": false,
            "department": "{DEPARTMENT_3}",
            "event": "ring_to_member",
            "result": "answered",
            "node": 1,
            "segment": 3,
            "call_id": "{CALL_ID}_1",
            "connect_type": "external",
            "call_type": "general",
            "hide_caller_id": false,
            "caller_name": "{CALLER_NAME_1}",
            "caller_did_number": "{CALLER_DID_NUMBER_1}",
            "caller_number_type": "external_pstn",
            "caller_country_iso_code": "US",
            "caller_country_code": "1",
            "callee_ext_id": "{CALLEE_EXT_ID_4}",
            "callee_name": "{CALLEE_NAME_4}",
            "callee_email": "{CALLEE_EMAIL_4}",
            "callee_employee_id": "{CALLEE_EMPLOYEE_ID_4}",
            "callee_ext_number": "{CALLEE_EXT_NUMBER_4}",
            "callee_ext_type": "user",
            "callee_device_type": "ZoomPbxPhone_Windows_Client(6.6.5.19369)",
            "end_to_end": false,
            "site_id": "{SITE_ID_1}",
            "site_name": "{SITE_NAME_1}",
            "group_id": "{GROUP_ID_2}",
            "start_time": "2025-10-27T22:24:58Z",
            "answer_time": "2025-10-27T22:25:01Z",
            "end_time": "2025-10-27T22:36:29Z",
            "operator_ext_number": "{CALLEE_EXT_NUMBER_3}",
            "operator_ext_id": "{CALLEE_EXT_ID_3}",
            "operator_ext_type": "call_queue",
            "operator_name": "{CALLEE_NAME_3}",
            "is_node": 0,
            "device_private_ip": "{DEVICE_PRIVATE_IP_2}",
            "device_public_ip": "{DEVICE_PUBLIC_IP_1}",
            "talk_time": 688,
            "hold_time": 0,
            "wait_time": 4,
            "call_element_id": "{CALL_ELEMENT_ID_7}"
        },
        {
            "direction": "inbound",
            "international": false,
            "event": "ring_to_member",
            "result": "no_answer",
            "node": 1,
            "segment": 3,
            "call_id": "{CALL_ID}_1",
            "connect_type": "external",
            "call_type": "general",
            "hide_caller_id": false,
            "caller_name": "{CALLER_NAME_1}",
            "caller_did_number": "{CALLER_DID_NUMBER_1}",
            "caller_number_type": "external_pstn",
            "caller_country_iso_code": "US",
            "caller_country_code": "1",
            "callee_ext_id": "{CALLEE_EXT_ID_5}",
            "callee_name": "{CALLEE_NAME_5}",
            "callee_ext_number": "{CALLEE_EXT_NUMBER_5}",
            "callee_ext_type": "common_area",
            "callee_device_type": "PolyEdge-Edge_E220-UA/8.3.1.0614",
            "end_to_end": false,
            "site_id": "{SITE_ID_1}",
            "site_name": "{SITE_NAME_1}",
            "start_time": "2025-10-27T22:24:58Z",
            "end_time": "2025-10-27T22:25:01Z",
            "result_reason": "answered_by_other",
            "operator_ext_number": "{CALLEE_EXT_NUMBER_3}",
            "operator_ext_id": "{CALLEE_EXT_ID_3}",
            "operator_ext_type": "call_queue",
            "operator_name": "{CALLEE_NAME_3}",
            "is_node": 0,
            "device_private_ip": "{DEVICE_PRIVATE_IP_3}",
            "device_public_ip": "{DEVICE_PUBLIC_IP_1}",
            "talk_time": 0,
            "hold_time": 0,
            "wait_time": 4,
            "call_element_id": "{CALL_ELEMENT_ID_8}"
        },
        {
            "direction": "inbound",
            "international": false,
            "department": "{DEPARTMENT_3}",
            "event": "ring_to_member",
            "result": "no_answer",
            "node": 1,
            "segment": 3,
            "call_id": "{CALL_ID}_1",
            "connect_type": "external",
            "call_type": "general",
            "hide_caller_id": false,
            "caller_name": "{CALLER_NAME_1}",
            "caller_did_number": "{CALLER_DID_NUMBER_1}",
            "caller_number_type": "external_pstn",
            "caller_country_iso_code": "US",
            "caller_country_code": "1",
            "callee_ext_id": "{CALLEE_EXT_ID_6}",
            "callee_name": "{CALLEE_NAME_6}",
            "callee_email": "{CALLEE_EMAIL_6}",
            "callee_employee_id": "{CALLEE_EMPLOYEE_ID_6}",
            "callee_ext_number": "{CALLEE_EXT_NUMBER_6}",
            "callee_ext_type": "user",
            "end_to_end": false,
            "site_id": "{SITE_ID_1}",
            "site_name": "{SITE_NAME_1}",
            "group_id": "{GROUP_ID_2}",
            "start_time": "2025-10-27T22:24:58Z",
            "end_time": "2025-10-27T22:24:58Z",
            "result_reason": "answered_by_other",
            "operator_ext_number": "{CALLEE_EXT_NUMBER_3}",
            "operator_ext_id": "{CALLEE_EXT_ID_3}",
            "operator_ext_type": "call_queue",
            "operator_name": "{CALLEE_NAME_3}",
            "is_node": 0,
            "talk_time": 0,
            "hold_time": 0,
            "wait_time": 0,
            "call_element_id": "{CALL_ELEMENT_ID_9}"
        },
        {
            "direction": "inbound",
            "international": false,
            "department": "{DEPARTMENT_3}",
            "event": "ring_to_member",
            "result": "no_answer",
            "node": 1,
            "segment": 3,
            "call_id": "{CALL_ID}_1",
            "connect_type": "external",
            "call_type": "general",
            "hide_caller_id": false,
            "caller_name": "{CALLER_NAME_1}",
            "caller_did_number": "{CALLER_DID_NUMBER_1}",
            "caller_number_type": "external_pstn",
            "caller_country_iso_code": "US",
            "caller_country_code": "1",
            "callee_ext_id": "{CALLEE_EXT_ID_7}",
            "callee_name": "{CALLEE_NAME_7}",
            "callee_email": "{CALLEE_EMAIL_7}",
            "callee_employee_id": "{CALLEE_EMPLOYEE_ID_7}",
            "callee_ext_number": "{CALLEE_EXT_NUMBER_7}",
            "callee_ext_type": "user",
            "end_to_end": false,
            "site_id": "{SITE_ID_1}",
            "site_name": "{SITE_NAME_1}",
            "group_id": "{GROUP_ID_2}",
            "start_time": "2025-10-27T22:24:58Z",
            "end_time": "2025-10-27T22:24:58Z",
            "result_reason": "answered_by_other",
            "operator_ext_number": "{CALLEE_EXT_NUMBER_3}",
            "operator_ext_id": "{CALLEE_EXT_ID_3}",
            "operator_ext_type": "call_queue",
            "operator_name": "{CALLEE_NAME_3}",
            "is_node": 0,
            "talk_time": 0,
            "hold_time": 0,
            "wait_time": 0,
            "call_element_id": "{CALL_ELEMENT_ID_10}"
        },
        {
            "direction": "inbound",
            "international": false,
            "department": "{DEPARTMENT_3}",
            "event": "ring_to_member",
            "result": "no_answer",
            "node": 1,
            "segment": 3,
            "call_id": "{CALL_ID}_1",
            "connect_type": "external",
            "call_type": "general",
            "hide_caller_id": false,
            "caller_name": "{CALLER_NAME_1}",
            "caller_did_number": "{CALLER_DID_NUMBER_1}",
            "caller_number_type": "external_pstn",
            "caller_country_iso_code": "US",
            "caller_country_code": "1",
            "callee_ext_id": "{CALLEE_EXT_ID_8}",
            "callee_name": "{CALLEE_NAME_8}",
            "callee_email": "{CALLEE_EMAIL_8}",
            "callee_employee_id": "{CALLEE_EMPLOYEE_ID_8}",
            "callee_ext_number": "{CALLEE_EXT_NUMBER_8}",
            "callee_ext_type": "user",
            "end_to_end": false,
            "site_id": "{SITE_ID_1}",
            "site_name": "{SITE_NAME_1}",
            "start_time": "2025-10-27T22:24:58Z",
            "end_time": "2025-10-27T22:24:58Z",
            "result_reason": "answered_by_other",
            "operator_ext_number": "{CALLEE_EXT_NUMBER_3}",
            "operator_ext_id": "{CALLEE_EXT_ID_3}",
            "operator_ext_type": "call_queue",
            "operator_name": "{CALLEE_NAME_3}",
            "is_node": 0,
            "talk_time": 0,
            "hold_time": 0,
            "wait_time": 0,
            "call_element_id": "{CALL_ELEMENT_ID_11}"
        },
        {
            "direction": "inbound",
            "international": false,
            "event": "ring_to_member",
            "result": "no_answer",
            "node": 1,
            "segment": 3,
            "call_id": "{CALL_ID}_1",
            "connect_type": "external",
            "call_type": "general",
            "hide_caller_id": false,
            "caller_name": "{CALLER_NAME_1}",
            "caller_did_number": "{CALLER_DID_NUMBER_1}",
            "caller_number_type": "external_pstn",
            "caller_country_iso_code": "US",
            "caller_country_code": "1",
            "callee_ext_id": "{CALLEE_EXT_ID_9}",
            "callee_name": "{CALLEE_NAME_9}",
            "callee_ext_number": "{CALLEE_EXT_NUMBER_9}",
            "callee_ext_type": "common_area",
            "callee_device_type": "PolyEdge-Edge_E220-UA/8.3.1.0614",
            "end_to_end": false,
            "site_id": "{SITE_ID_1}",
            "site_name": "{SITE_NAME_1}",
            "start_time": "2025-10-27T22:24:58Z",
            "end_time": "2025-10-27T22:25:01Z",
            "result_reason": "answered_by_other",
            "operator_ext_number": "{CALLEE_EXT_NUMBER_3}",
            "operator_ext_id": "{CALLEE_EXT_ID_3}",
            "operator_ext_type": "call_queue",
            "operator_name": "{CALLEE_NAME_3}",
            "is_node": 0,
            "device_private_ip": "{DEVICE_PRIVATE_IP_4}",
            "device_public_ip": "{DEVICE_PUBLIC_IP_1}",
            "talk_time": 0,
            "hold_time": 0,
            "wait_time": 4,
            "call_element_id": "{CALL_ELEMENT_ID_12}"
        },
        {
            "direction": "inbound",
            "international": false,
            "event": "ring_to_member",
            "result": "no_answer",
            "node": 1,
            "segment": 3,
            "call_id": "{CALL_ID}_1",
            "connect_type": "external",
            "call_type": "general",
            "hide_caller_id": false,
            "caller_name": "{CALLER_NAME_1}",
            "caller_did_number": "{CALLER_DID_NUMBER_1}",
            "caller_number_type": "external_pstn",
            "caller_country_iso_code": "US",
            "caller_country_code": "1",
            "callee_ext_id": "{CALLEE_EXT_ID_10}",
            "callee_name": "{CALLEE_NAME_10}",
            "callee_ext_number": "{CALLEE_EXT_NUMBER_10}",
            "callee_ext_type": "common_area",
            "callee_device_type": "PolyEdge-Edge_E220-UA/8.3.1.0614",
            "end_to_end": false,
            "site_id": "{SITE_ID_1}",
            "site_name": "{SITE_NAME_1}",
            "start_time": "2025-10-27T22:24:58Z",
            "end_time": "2025-10-27T22:25:01Z",
            "result_reason": "answered_by_other",
            "operator_ext_number": "{CALLEE_EXT_NUMBER_3}",
            "operator_ext_id": "{CALLEE_EXT_ID_3}",
            "operator_ext_type": "call_queue",
            "operator_name": "{CALLEE_NAME_3}",
            "is_node": 0,
            "device_private_ip": "{DEVICE_PRIVATE_IP_5}",
            "device_public_ip": "{DEVICE_PUBLIC_IP_1}",
            "talk_time": 0,
            "hold_time": 0,
            "wait_time": 4,
            "call_element_id": "{CALL_ELEMENT_ID_13}"
        }
    ]
1 Like

Hi @Aidan
Thanks for your patience here.
I am putting together some info to post a blog about this, since it is a recurring question I get in the forum. But in the meantime, I wanted to share this with you:

  • Segments define sequential call legs.
  • Segment 1 is always the initial leg of the call (no segment 0)
  • Nodes define parallel attempts within those legs.
  • Segment 1 is always node 1.
  • Later segments commonly contain multiple nodes.
    Let me know if this helps and stay tuned for the additional content I will put out

Found another example for a related question. Do you need a full response body, or can I just provide a call_history_uuid? Not sure if you have access to log data or if I need to spend some time anonymizing our logs for public viewing.

I have an instance with the following path:

  1. (Segment 1, Node 1) A caller initially reaches a call queue after hours
  2. (Segment 1, Node 2) They overflow to an auto receptionist
  3. (Segment 1, Node 2) They make a selection
  4. (Segment 1, Node 3) They get forwarded to another auto receptionist
  5. (Segment 1, Node 4) They get forwarded to a Zoom number

In this instance, I’m looking to report on the phone call between the original caller and the final recipient (who called, who answered, duration, etc.). Unfortunately, the call_elements[].caller_name value gets dropped in the final node, and the caller_number_type changes from external_pstn to zoom_pstn. The caller_did_number, caller_country_iso_code, andcaller_country_coderemain the same.

Is this expected behavior? I would love to have the caller’s name available in that final node.

1 Like