Group PJSIP_MOD

group PJSIP_MOD

Modules are the primary means to extend PJSIP!

Modules are the primary means to extend PJSIP. Without modules, PJSIP would not know how to handle messages, and will simply discard all incoming messages.

Modules are registered by creating and initializing pjsip_module structure, and register the structure to PJSIP with pjsip_endpt_register_module().

The PJSIP Developer’s Guide has a thorough discussion on this subject, and readers are encouraged to read the document for more information.

Enums

enum pjsip_module_priority

Module priority guidelines.

Values:

enumerator PJSIP_MOD_PRIORITY_TRANSPORT_LAYER

This is the priority used by transport layer.

enumerator PJSIP_MOD_PRIORITY_TSX_LAYER

This is the priority used by transaction layer.

enumerator PJSIP_MOD_PRIORITY_UA_PROXY_LAYER

This is the priority used by the user agent and proxy layer.

enumerator PJSIP_MOD_PRIORITY_DIALOG_USAGE

This is the priority used by the dialog usages.

enumerator PJSIP_MOD_PRIORITY_APPLICATION

This is the recommended priority to be used by applications.

struct pjsip_module
#include <sip_module.h>

The declaration for SIP module. This structure would be passed to pjsip_endpt_register_module() to register the module to PJSIP.

Forward declaration for module (sip_module.h).