Table of Contents

Class CallRecord

Namespace
Vonage.Voice
Assembly
Vonage.dll

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

string

Direction

The direction of the call: "outbound" or "inbound".

[JsonProperty("direction")]
public string Direction { get; set; }

Property Value

string

Duration

The time elapsed for the call in seconds. Only present when status is "completed".

[JsonProperty("duration")]
public string Duration { get; set; }

Property Value

string

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

DateTime?

From

The endpoint the call originated from.

[JsonProperty("from")]
public CallEndpoint From { get; set; }

Property Value

CallEndpoint

HAL links for navigating to this call resource.

[JsonProperty("_links")]
public HALLinks Links { get; set; }

Property Value

HALLinks

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

string

Price

The total price charged for this call. Only present when status is "completed".

[JsonProperty("price")]
public string Price { get; set; }

Property Value

string

Rate

The price per minute for this call. Only present when status is "completed".

[JsonProperty("rate")]
public string Rate { get; set; }

Property Value

string

RecordingUrl

The URL to download a call or conversation recording from.

[JsonProperty("recording_url")]
public string RecordingUrl { get; set; }

Property Value

string

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

DateTime?

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

string

To

The destination endpoint the call was connected to (phone, SIP, WebSocket, or VBC extension).

[JsonProperty("to")]
public CallEndpoint To { get; set; }

Property Value

CallEndpoint

Uuid

The unique identifier (UUID) for this call leg.

[JsonProperty("uuid")]
public string Uuid { get; set; }

Property Value

string