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