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.

Detailed Description

Definition at line 283 of file res_pjsip_pubsub.h.

Field Documentation

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

Referenced by pubsub_on_rx_notify().

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