Skip to main content

Module sofia

Module sofia 

Source
Expand description

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.

Structs§

ParseGatewayPingStatusError
Error returned when parsing an unrecognized gateway ping status.
ParseGatewayRegStateError
Error returned when parsing an unrecognized gateway registration state.
ParseSipUserPingStatusError
Error returned when parsing an unrecognized SIP user ping status.
ParseSofiaEventSubclassError
Error returned when parsing an unrecognized Sofia event subclass.

Enums§

GatewayPingStatus
Gateway ping status from sofia::gateway_state events.
GatewayRegState
Gateway registration state from sofia::gateway_state events.
SipUserPingStatus
SIP user ping status from sofia::sip_user_state events.
SofiaEventSubclass
Sofia event subclass values from mod_sofia.h MY_EVENT_* defines.