Asterisk - The Open Source Telephony Project
18.5.0
|
Data for responses to SUBSCRIBEs and NOTIFIEs. More...
#include <res_pjsip_pubsub.h>
Data Fields | |
struct ast_sip_body * | body |
struct ast_variable * | headers |
int | status_code |
const char * | status_text |
Data for responses to SUBSCRIBEs and NOTIFIEs.
Some of PJSIP's evsub callbacks expect us to provide them with data so that they can craft a response rather than have us create our own response.
Filling in the structure is optional, since the framework will automatically respond with a 200 OK response if we do not provide it with any additional data.
Definition at line 208 of file res_pjsip_pubsub.h.
struct ast_sip_body* body |
Optional body to add to the response
Definition at line 216 of file res_pjsip_pubsub.h.
struct ast_variable* headers |
Optional additional headers to add to the response
Definition at line 214 of file res_pjsip_pubsub.h.
int status_code |
Status code of the response
Definition at line 210 of file res_pjsip_pubsub.h.
const char* status_text |
Optional status text
Definition at line 212 of file res_pjsip_pubsub.h.