freeswitch-types 1.0.0-rc.1

FreeSWITCH ESL protocol types: channel state, events, headers, commands, and variables
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Typed Sofia event subclasses and state enums.
//!
//! mod_sofia fires `CUSTOM` events with `Event-Subclass` headers like
//! `sofia::register` and `sofia::gateway_state`. This module provides typed
//! enums for those subclass values and for the structured state headers
//! they carry.

mod event_subclass;
mod gateway;
mod sip_user;

pub use event_subclass::{ParseSofiaEventSubclassError, SofiaEventSubclass};
pub use gateway::{
    GatewayPingStatus, GatewayRegState, ParseGatewayPingStatusError, ParseGatewayRegStateError,
};
pub use sip_user::{ParseSipUserPingStatusError, SipUserPingStatus};