Call object fields
Calls are represented as JSON objects, which have the following keys:
Field | Type | Description |
---|---|---|
call_id | UUID | Unique call id |
parent_call_id | UUID | This field is present only for some voip protocols. For Avaya H.323 Passive recording, when call is put on hold and then resumed, the new call recording instance is created. This new instance links to the original call via |
interaction_id | UUID | ID of interaction if this call is a part of multi-call interaction. |
tenant_id | UUID | ID of tenant, which this calls is associated to |
is_conference | boolean | If true, then this cal is a conference with more than 2 participants |
recorder_id | UUID | Unique ID of the server, which recorded this call. In multi-site recording setup, this field allows to distinguish calls between locations |
protocol_call_id | string | Unique call id as provided by phone system. For example, for SIP protocol this field is a "Call-Id" header in SIP INVITE message. |
protocol_call_direction | integer | Call direction as provided by phone system. Possible values: 0 - UNKNOWN - A call direction is not provided by phone system, or not supported for this phone system |
call_state | integer | all state:
|
on_demand_state | integer | The state of on-demand recording:
|
record_state | integer | Recording state:
|
voip_protocol | integer | Voip signaling protocol of the call:
|
setup_time | datetime | Date/time when call was initiated. Format is ISO8601 with timezone, for example |
connect_time | datetime | Date/time when call was answered. Format is ISO8601 with timezone. |
disconnect_time | datetime | Date/time when call was disconnected. Format is ISO8601 with timezone. |
from_ip to_ip |
string | Ip-address of caller/called party. Format is |
from_port to_port |
integer | Ip port of caller/called party |
from_mac to_mac |
string | Mac-address of caller/called party. Format is |
from_number to_number from_name to_name from_id to_id |
string | Number/name/id of caller/called party. This value is provided by phone system. For SIP protocol these values are extracted from the "From" and "To" headers of SIP INVITE message. Example of SIP INVITE mesage:
In this case:
Note, for SIP protocol, the values of these fields may be extracted from SIP headers "Remote-Party-ID" and "P-Asserted-Identity". Example of SIP message:
In this case:
|
transferred_from_number transferred_from_name transferred_from_id |
string | Number/name/id of phone, from which the call was transferred. This value depends on voip signaling protocol. For example, for Cisco Skinny protocol these fields are the same as "Last Redirecting Party Name/Number" |
transferred_to_number transferred_to_name transferred_to_id |
string | Number/name/id of phone, to which the call was transferred. This value depends on voip signaling protocol. |
agent_id agent_name |
string | For Avaya TSAPI protocol these fields are id and name of agent. |
broadworks_user_id broadworks_group_id broadworks_sp_id |
string | Broadworks-specifid Ids for SIPREC protocol |
metaswitch_user metaswitch_group metaswitch_system |
string | Metaswitch-specifid Ids for SIPREC protocol |
cisco_nearend_guid cisco_farend_guid |
string | Cisco near-end and far-end GUIDs for Cisco Built-in-Bridge recording |
cisco_nearend_refci cisco_farend_refci |
string | Cisco near-end and far-end REFCI values for Cisco Built-in-Bridge recording |
cisco_phone_ip | string | IP-address of Cisco phone for Cisco Built-in-Bridge recording |
cisco_nearend_partition cisco_farend_partition |
string | Cisco near-end and far-end partition info for Cisco Built-in-Bridge recording |
participants | list | A list of call participants. See object Participant. Normally, there are only two participants of each call. But for a conference call it may be more than 2 participants. |
files | list | A list of audio files. See object File. Normally, only one audio file exists per call instance. But in some cases it may be multiple audio files per call:
|
\