Skip to main content

freeswitch_types/sofia/
mod.rs

1//! Typed Sofia event subclasses and state enums.
2//!
3//! mod_sofia fires `CUSTOM` events with `Event-Subclass` headers like
4//! `sofia::register` and `sofia::gateway_state`. This module provides typed
5//! enums for those subclass values and for the structured state headers
6//! they carry.
7
8mod event_subclass;
9mod gateway;
10mod sip_user;
11
12pub use event_subclass::{ParseSofiaEventSubclassError, SofiaEventSubclass};
13pub use gateway::{
14    GatewayPingStatus, GatewayRegState, ParseGatewayPingStatusError, ParseGatewayRegStateError,
15};
16pub use sip_user::{ParseSipUserPingStatusError, SipUserPingStatus};