pub enum VoiceCallEndReason {
HangupLocal,
HangupRemote,
RejectedLocal,
RejectedRemote,
Missed,
CancelledLocal,
TransferredLocal,
ConnectionLost,
Failed,
}Expand description
Finer-grained terminal reason — kept distinct from
VoiceCallDisposition because the disposition collapses
hangup_local and hangup_remote to Answered, losing the
“who hung up?” answer the row otherwise carries.
Wire-stable snake_case strings; the daemon’s matching enum is the canonical source.
Variants§
HangupLocal
HangupRemote
RejectedLocal
RejectedRemote
Missed
CancelledLocal
TransferredLocal
We blind-transferred the call to a third party (RFC 3515) and
dropped our own leg once the target answered. Distinct from
HangupLocal: the user didn’t hang up, they handed the call off.
The destination is carried alongside in
VoiceCallRecord::transfer_target. Rows with this reason still
carry VoiceCallDisposition::Answered.
ConnectionLost
An established call torn down because its connection died —
the daemon’s RFC 4028 session keepalive stopped getting
answers (peer crashed, NAT binding dropped). Distinct from
HangupLocal: the user didn’t end this call. Rows with this
reason still carry VoiceCallDisposition::Answered.
Failed
Trait Implementations§
Source§impl Clone for VoiceCallEndReason
impl Clone for VoiceCallEndReason
Source§fn clone(&self) -> VoiceCallEndReason
fn clone(&self) -> VoiceCallEndReason
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more