Asterisk - The Open Source Telephony Project
18.5.0
|
#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 297 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 311 of file res_pjsip_pubsub.h.
Referenced by pubsub_on_rx_notify().