BLOG | DOCUMENTATION | TRAC

Home --> Documentations --> PJSIP Reference

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. More...

Data Structures

struct  pjsip_module
 

Enumerations

enum  pjsip_module_priority {
  PJSIP_MOD_PRIORITY_TRANSPORT_LAYER = 8, PJSIP_MOD_PRIORITY_TSX_LAYER = 16, PJSIP_MOD_PRIORITY_UA_PROXY_LAYER = 32, PJSIP_MOD_PRIORITY_DIALOG_USAGE = 48,
  PJSIP_MOD_PRIORITY_APPLICATION = 64
}
 

Detailed Description

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.

Enumeration Type Documentation

◆ pjsip_module_priority

Module priority guidelines.

Enumerator
PJSIP_MOD_PRIORITY_TRANSPORT_LAYER 

This is the priority used by transport layer.

PJSIP_MOD_PRIORITY_TSX_LAYER 

This is the priority used by transaction layer.

PJSIP_MOD_PRIORITY_UA_PROXY_LAYER 

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

PJSIP_MOD_PRIORITY_DIALOG_USAGE 

This is the priority used by the dialog usages.

PJSIP_MOD_PRIORITY_APPLICATION 

This is the recommended priority to be used by applications.

 


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