Class CallRecord
Represents the detailed record of a voice call, including status, timing, pricing, and endpoint information.
public class CallRecord
- Inheritance
-
CallRecord
- Inherited Members
Properties
ConversationUuid
The unique identifier for the conversation this call is part of.
[JsonProperty("conversation_uuid")]
public string ConversationUuid { get; set; }
Property Value
Direction
The direction of the call: "outbound" or "inbound".
[JsonProperty("direction")]
public string Direction { get; set; }
Property Value
Duration
The time elapsed for the call in seconds. Only present when status is "completed".
[JsonProperty("duration")]
public string Duration { get; set; }
Property Value
EndTime
The time the call ended in the format YYYY-MM-DD HH:MM:SS. Only present when status is "completed".
[JsonProperty("end_time")]
public DateTime? EndTime { get; set; }
Property Value
From
The endpoint the call originated from.
[JsonProperty("from")]
public CallEndpoint From { get; set; }
Property Value
Links
HAL links for navigating to this call resource.
[JsonProperty("_links")]
public HALLinks Links { get; set; }
Property Value
Network
The Mobile Country Code Mobile Network Code (MCCMNC) for the carrier network used to make this call. Only present when status is "completed".
[JsonProperty("network")]
public string Network { get; set; }
Property Value
Price
The total price charged for this call. Only present when status is "completed".
[JsonProperty("price")]
public string Price { get; set; }
Property Value
Rate
The price per minute for this call. Only present when status is "completed".
[JsonProperty("rate")]
public string Rate { get; set; }
Property Value
RecordingUrl
The URL to download a call or conversation recording from.
[JsonProperty("recording_url")]
public string RecordingUrl { get; set; }
Property Value
StartTime
The time the call started in the format YYYY-MM-DD HH:MM:SS. Only present when status is "completed".
[JsonProperty("start_time")]
public DateTime? StartTime { get; set; }
Property Value
Status
The status of the call: started, ringing, answered, machine, timeout, completed, busy, cancelled, failed, rejected, or unanswered.
[JsonProperty("status")]
public string Status { get; set; }
Property Value
To
The destination endpoint the call was connected to (phone, SIP, WebSocket, or VBC extension).
[JsonProperty("to")]
public CallEndpoint To { get; set; }
Property Value
Uuid
The unique identifier (UUID) for this call leg.
[JsonProperty("uuid")]
public string Uuid { get; set; }