pub struct Account {
pub username: String,
pub domain: String,
pub password: String,
pub display_name: Option<String>,
pub transport: Option<String>,
pub auth_user: Option<String>,
pub outbound: Option<String>,
pub stun_server: Option<String>,
pub media_enc: Option<String>,
pub regint: Option<u32>,
pub mwi: bool,
pub dtmf_mode: Option<String>,
}Expand description
A SIP account to register, independent of any ringo profile/config. Callers (the softphone or the scenario runner) build this from their own source.
Fields§
§username: String§domain: String§password: String§display_name: Option<String>§transport: Option<String>§auth_user: Option<String>§outbound: Option<String>§stun_server: Option<String>§media_enc: Option<String>§regint: Option<u32>§mwi: bool§dtmf_mode: Option<String>DTMF transmission mode (rtpevent / info / auto). info sends DTMF as
SIP INFO, independent of the RTP audio stream — needed where the audio TX
may be idle (e.g. headless with no clocked source). None keeps baresip’s
default.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Account
impl RefUnwindSafe for Account
impl Send for Account
impl Sync for Account
impl Unpin for Account
impl UnsafeUnpin for Account
impl UnwindSafe for Account
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more