- group PJSIP_EVENT
Representation of events as they are distributed among modules.
Init timer event.
PJSIP_EVENT_INIT_TSX_STATE(event, ptsx, ptype, pdata, prev)
Init tsx state event.
Init tx msg event.
Init rx msg event.
PJSIP_EVENT_INIT_TRANSPORT_ERROR(event, ptsx, ptdata)
Init transport error event.
PJSIP_EVENT_INIT_USER(event, u1, u2, u3, u4)
Init user event.
Timer event, normally only used internally in transaction.
Message transmission event.
Message received event.
Transport error event.
Transaction state changed event.
Indicates that the event was triggered by user action.
- enumerator PJSIP_EVENT_UNKNOWN
- #include <sip_event.h>
This structure describe event descriptor to fully identify a SIP event.
Events are the only way for a lower layer object to inform something to higher layer objects. Normally this is achieved by means of callback, i.e. the higher layer objects register a callback to handle the event on the lower layer objects.
This event descriptor is used for example by transactions, to inform endpoint about events, and by transports, to inform endpoint about unexpected transport error.
Forward declaration for events (sip_event.h).
The event type, can be any value of pjsip_event_id_e.
Type of event source:
User data 1.
User data 2.
User data 3.
User data 4.
- pjsip_event_id_e type
- PJSIP_EVENT_INIT_TIMER(event, pentry)