Asterisk - The Open Source Telephony Project GIT-master-f36a736
|
#include <res_pjsip_pubsub.h>
Data Fields | |
void(* | state_change )(struct ast_sip_subscription *sub, pjsip_msg_body *body, enum pjsip_evsub_state state) |
A NOTIFY has been received. More... | |
Definition at line 341 of file res_pjsip_pubsub.h.
void(* state_change) (struct ast_sip_subscription *sub, pjsip_msg_body *body, enum pjsip_evsub_state state) |
A NOTIFY has been received.
The body of the NOTIFY is provided so that it may be parsed and appropriate internal state change may be generated.
The state can be used to determine if the subscription has been terminated by the far end or if this is just a typical resource state change.
sub | The subscription on which the NOTIFY arrived |
body | The body of the NOTIFY |
state | The subscription state |
Definition at line 355 of file res_pjsip_pubsub.h.