pub enum VoiceCallFlowOutcome {
Answered,
MessageLeft,
Transferred,
HungUp,
Aborted,
Defect,
}Expand description
How a call flow’s (“receptionist”) run ended, folded by the daemon
from the run’s terminal trace step. Wire-stable snake_case strings
matching wavekat_flow::trace::FlowOutcome — declared here rather
than re-exported so this crate stays free of a wavekat-flow
dependency; the two lists must be kept in step.
Consumers prefer this over VoiceCallEndReason when rendering a
flow-answered call’s outcome: the flow’s own goodbye sends the BYE,
so the SIP-level reason reads HangupLocal (“you hung up”) for a
call the user never touched.
Variants§
Answered
A ring node was answered by a human; the engine stepped out.
MessageLeft
A message node recorded a voicemail.
Transferred
A transfer node handed the call to an external number.
HungUp
A hangup node ended the call.
Aborted
An effect failed mid-run (the call likely dropped).
Defect
The flow reached an impossible state. Validation is meant to prevent this, so it signals a defect worth alerting on.
Trait Implementations§
Source§impl Clone for VoiceCallFlowOutcome
impl Clone for VoiceCallFlowOutcome
Source§fn clone(&self) -> VoiceCallFlowOutcome
fn clone(&self) -> VoiceCallFlowOutcome
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more