pub struct BackendOptions {
pub audio_driver: Option<String>,
pub audio_player_device: Option<String>,
pub audio_source_device: Option<String>,
pub audio_alert_device: Option<String>,
pub sip_cafile: Option<String>,
pub sip_capath: Option<String>,
pub max_calls: Option<u32>,
pub hold_other_calls: Option<bool>,
pub local_timeout_s: Option<u32>,
pub user_agent: Option<String>,
pub extra: Vec<(String, String)>,
pub record_audio: bool,
}Expand description
Overrides for auto-detected backend settings. Any None/empty field
is auto-detected at spawn time.
Fields§
§audio_driver: Option<String>§audio_player_device: Option<String>§audio_source_device: Option<String>§audio_alert_device: Option<String>§sip_cafile: Option<String>§sip_capath: Option<String>None = auto-detect; Some("") = explicitly disable.
max_calls: Option<u32>Max simultaneous calls (call_max_calls). None = 4.
hold_other_calls: Option<bool>Auto-hold the active call when another comes up / the user switches
(call_hold_other_calls). None = on. The scenario runner turns this
off so a test keeps explicit control over hold/resume.
local_timeout_s: Option<u32>Outgoing-call ring timeout in seconds (call_local_timeout). None = 120.
user_agent: Option<String>SIP User-Agent string passed to ua_init (e.g. ringo-phone/0.11.0).
None = bare ringo. Set by the binary so it carries its own version.
extra: Vec<(String, String)>Arbitrary extra config lines appended at the end (key, value).
record_audio: boolCapture the full call’s sent + received audio in-process (for the
scenario runner’s --save-audio). When off, only a short rolling window
is retained for verify-audio. The softphone leaves this off.
Trait Implementations§
Source§impl Clone for BackendOptions
impl Clone for BackendOptions
Source§fn clone(&self) -> BackendOptions
fn clone(&self) -> BackendOptions
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more