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

MWI state event interface. More...

#include <mwi.h>

Data Fields

void(* on_subscribe )(const char *mailbox, struct ast_mwi_subscriber *sub)
 Raised when MWI is being subscribed. More...
 
void(* on_unsubscribe )(const char *mailbox, struct ast_mwi_subscriber *sub)
 Raised when MWI is being unsubscribed. More...
 

Detailed Description

MWI state event interface.

Definition at line 248 of file mwi.h.

Field Documentation

◆ on_subscribe

void(* on_subscribe) (const char *mailbox, struct ast_mwi_subscriber *sub)

Raised when MWI is being subscribed.

Parameters
mailboxThe mailbox id subscribed
subThe subscriber subscribed

Definition at line 255 of file mwi.h.

◆ on_unsubscribe

void(* on_unsubscribe) (const char *mailbox, struct ast_mwi_subscriber *sub)

Raised when MWI is being unsubscribed.

Parameters
mailboxThe mailbox id being unsubscribed
subThe subscriber to unsubscribe

Definition at line 263 of file mwi.h.


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