Asterisk - The Open Source Telephony Project GIT-master-f36a736
Data Fields
ast_sip_subscriber Struct Reference

#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...
 

Detailed Description

Definition at line 341 of file res_pjsip_pubsub.h.

Field Documentation

◆ state_change

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.

Parameters
subThe subscription on which the NOTIFY arrived
bodyThe body of the NOTIFY
stateThe subscription state

Definition at line 355 of file res_pjsip_pubsub.h.


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