Asterisk - The Open Source Telephony Project
21.4.1
|
A supplement to SIP message processing. More...
#include <res_pjsip.h>
Data Fields | |
int(* | incoming_request )(struct ast_sip_endpoint *endpoint, struct pjsip_rx_data *rdata) |
Called on incoming SIP request This method can indicate a failure in processing in its return. If there is a failure, it is required that this method sends a response to the request. This method is always called from a SIP servant thread. More... | |
void(* | incoming_response )(struct ast_sip_endpoint *endpoint, struct pjsip_rx_data *rdata) |
Called on an incoming SIP response This method is always called from a SIP servant thread. More... | |
const char * | method |
struct { | |
struct ast_sip_supplement * next | |
} | next |
void(* | outgoing_request )(struct ast_sip_endpoint *endpoint, struct ast_sip_contact *contact, struct pjsip_tx_data *tdata) |
Called on an outgoing SIP request This method is always called from a SIP servant thread. | |
void(* | outgoing_response )(struct ast_sip_endpoint *endpoint, struct ast_sip_contact *contact, struct pjsip_tx_data *tdata) |
Called on an outgoing SIP response This method is always called from a SIP servant thread. | |
enum ast_sip_supplement_priority | priority |
A supplement to SIP message processing.
These can be registered by any module in order to add processing to incoming and outgoing SIP out of dialog requests and responses
Definition at line 3182 of file res_pjsip.h.
int(* incoming_request) (struct ast_sip_endpoint *endpoint, struct pjsip_rx_data *rdata) |
Called on incoming SIP request This method can indicate a failure in processing in its return. If there is a failure, it is required that this method sends a response to the request. This method is always called from a SIP servant thread.
Definition at line 3204 of file res_pjsip.h.
void(* incoming_response) (struct ast_sip_endpoint *endpoint, struct pjsip_rx_data *rdata) |
Called on an incoming SIP response This method is always called from a SIP servant thread.
Definition at line 3220 of file res_pjsip.h.
const char* method |
Method on which to call the callbacks. If NULL, call on all methods
Definition at line 3184 of file res_pjsip.h.
struct { ... } next |
Next item in the list
enum ast_sip_supplement_priority priority |
Priority for this supplement. Lower numbers are visited before higher numbers
Definition at line 3186 of file res_pjsip.h.