1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
//! Runtime engine shared by scenarios: one baresip [`session::AgentSession`] per
//! agent, event-reduced [`state::AgentState`], audio analysis and reporting. The
//! Rhai host in [`crate::script`] drives these; this module has no scenario
//! language of its own.
pub
pub
pub
pub
pub use wait_holding;
use BackendOptions;
/// The backend options every ringo-flow agent runs with.
///
/// `aubridge` selects headless mode (no sound hardware, so calls establish in CI
/// — unlike auto-detected pipewire/pulse/alsa, which fail to open a device and
/// abort baresip). In that mode the backend routes both the audio source and
/// player through ringo's own in-process module (see `ringo_core` ausrc):
/// `send-audio` sets a per-agent tone/file/silence the source renders (surviving
/// re-INVITEs — transfer/hold/line switch), and the player captures received
/// audio for `verify-audio`/`--save-audio`. A silent call stays silent until
/// `send-audio` is called.
pub
/// How a run reports progress (set from the CLI).