freeswitch_types/sofia/sip_user.rs
1//! SIP user ping status enum.
2
3wire_enum! {
4 /// SIP user ping status from `sofia::sip_user_state` events.
5 ///
6 /// The `Ping-Status` header value, mapping to `sofia_sip_user_status_name()`.
7 #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
8 pub enum SipUserPingStatus {
9 Unreachable => "UNREACHABLE",
10 Reachable => "REACHABLE",
11 Invalid => "INVALID",
12 }
13 error ParseSipUserPingStatusError("sip user ping status");
14 tests: sip_user_ping_status_wire_tests;
15}