pub struct CallRecord {Show 33 fields
pub _id: Option<String>,
pub account_id: Option<String>,
pub conversation_id: Option<Option<String>>,
pub contact_id: Option<Option<String>>,
pub channel: Option<Channel>,
pub direction: Option<Direction>,
pub from: Option<String>,
pub to: Option<String>,
pub forward_to: Option<Option<String>>,
pub greeting: Option<Option<String>>,
pub status: Option<Status>,
pub is_voicemail: Option<bool>,
pub amd: Option<bool>,
pub answered_machine: Option<Option<bool>>,
pub forward_caller_id: Option<ForwardCallerId>,
pub recording_enabled: Option<bool>,
pub transcription_enabled: Option<bool>,
pub transcription_language: Option<TranscriptionLanguage>,
pub started_at: Option<String>,
pub answered_at: Option<Option<String>>,
pub ended_at: Option<Option<String>>,
pub transferred_at: Option<Option<String>>,
pub duration_seconds: Option<i32>,
pub end_reason: Option<EndReason>,
pub hangup_cause: Option<Option<String>>,
pub sip_hangup_cause: Option<Option<String>>,
pub call_errors: Option<Vec<CallRecordCallErrorsInner>>,
pub recording_url: Option<Option<String>>,
pub last_transcript_snippet: Option<Option<String>>,
pub transcript: Option<Vec<CallRecordTranscriptInner>>,
pub billing: Option<Box<CallRecordBilling>>,
pub created_at: Option<String>,
pub updated_at: Option<String>,
}Expand description
CallRecord : One call on a number you own, either channel. channel tells you which lane it took: whatsapp (WhatsApp Business Calling) or pstn (a regular phone call). List endpoints omit transcript; use lastTranscriptSnippet for a preview and the detail endpoint for the full transcript.
Fields§
§_id: Option<String>§account_id: Option<String>Owning social account. The unified /v1/calls/{id} detail + recording endpoints work for any channel; the channel-specific endpoints remain for account-scoped access.
conversation_id: Option<Option<String>>Inbox conversation with the counterparty, when one exists.
contact_id: Option<Option<String>>CRM Contact for the counterparty, when resolved.
channel: Option<Channel>§direction: Option<Direction>§from: Option<String>Caller number (E.164).
to: Option<String>Callee number (E.164).
forward_to: Option<Option<String>>Destination the call was routed to (tel:/sip:/wss:), snapshotted at routing time.
greeting: Option<Option<String>>Outbound PSTN only. Message spoken to the callee on answer, before the bridge.
status: Option<Status>§is_voicemail: Option<bool>True when an inbound call went to voicemail.
amd: Option<bool>Outbound answering-machine detection was requested for this call.
answered_machine: Option<Option<bool>>With amd, whether a machine (vs a human) answered.
forward_caller_id: Option<ForwardCallerId>Caller ID presented on the forwarded leg.
recording_enabled: Option<bool>Effective flag for THIS call (number default + per-call override, resolved at create time).
transcription_enabled: Option<bool>§transcription_language: Option<TranscriptionLanguage>§started_at: Option<String>§answered_at: Option<Option<String>>§ended_at: Option<Option<String>>§transferred_at: Option<Option<String>>When the call was blind-transferred (POST /v1/voice/calls/{id}/transfer).
duration_seconds: Option<i32>§end_reason: Option<EndReason>§hangup_cause: Option<Option<String>>Raw carrier hangup cause behind endReason (e.g. normal_clearing, not_found, time_limit) — the actual motive when endReason is a coarse bucket.
sip_hangup_cause: Option<Option<String>>SIP response code that ended the call, when SIP-signalled (e.g. ‘403’, ‘488’). The real failure reason for SIP legs.
call_errors: Option<Vec<CallRecordCallErrorsInner>>Per-call failure log (dial failed, bridge failed, recording error).
recording_url: Option<Option<String>>May be expired. Resolve a fresh playable URL via GET /v1/calls/{id}/recording (any channel).
last_transcript_snippet: Option<Option<String>>Most recent transcript segment, for list previews.
transcript: Option<Vec<CallRecordTranscriptInner>>Full transcript segments (detail endpoint only; omitted from lists).
billing: Option<Box<CallRecordBilling>>§created_at: Option<String>§updated_at: Option<String>Implementations§
Source§impl CallRecord
impl CallRecord
Sourcepub fn new() -> CallRecord
pub fn new() -> CallRecord
One call on a number you own, either channel. channel tells you which lane it took: whatsapp (WhatsApp Business Calling) or pstn (a regular phone call). List endpoints omit transcript; use lastTranscriptSnippet for a preview and the detail endpoint for the full transcript.
Trait Implementations§
Source§impl Clone for CallRecord
impl Clone for CallRecord
Source§fn clone(&self) -> CallRecord
fn clone(&self) -> CallRecord
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more