BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJSIP Reference

#include <siptypes.hpp>

Public Member Functions

 SipEvent ()
 
void fromPj (const pjsip_event &ev)
 

Data Fields

pjsip_event_id_e type
 
SipEventBody body
 
void * pjEvent
 

Detailed Description

This structure describe event descriptor to fully identify a SIP event. It corresponds to the pjsip_event structure in PJSIP library.

Constructor & Destructor Documentation

◆ SipEvent()

pj::SipEvent::SipEvent ( )

Default constructor.

Member Function Documentation

◆ fromPj()

void pj::SipEvent::fromPj ( const pjsip_event ev)

Construct from PJSIP's pjsip_event

Field Documentation

◆ type

pjsip_event_id_e pj::SipEvent::type

The event type, can be any value of pjsip_event_id_e.

◆ body

SipEventBody pj::SipEvent::body

The event body, which fields depends on the event type.

◆ pjEvent

void* pj::SipEvent::pjEvent

Pointer to its original pjsip_event. Only valid when the struct is constructed from PJSIP's pjsip_event.


The documentation for this struct was generated from the following file:
  • siptypes.hpp

 


PJSIP Open Source, high performance, small footprint, and very very portable SIP stack
Copyright (C) 2006-2008 Teluu Inc.