ast_sip_subscription_response_data Struct Reference

Data for responses to SUBSCRIBEs and NOTIFIEs. More...

#include <res_pjsip_pubsub.h>

Collaboration diagram for ast_sip_subscription_response_data:

Collaboration graph
[legend]

Data Fields

struct ast_sip_bodybody
struct ast_variableheaders
int status_code
const char * status_text

Detailed Description

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 194 of file res_pjsip_pubsub.h.


Field Documentation

struct ast_sip_body* body [read]

Optional body to add to the response

Definition at line 202 of file res_pjsip_pubsub.h.

struct ast_variable* headers [read]

Optional additional headers to add to the response

Definition at line 200 of file res_pjsip_pubsub.h.

Status code of the response

Definition at line 196 of file res_pjsip_pubsub.h.

const char* status_text

Optional status text

Definition at line 198 of file res_pjsip_pubsub.h.


The documentation for this struct was generated from the following file:

Generated on Thu Apr 16 06:35:38 2015 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.6