Asterisk - The Open Source Telephony Project  21.4.1
Data Fields
ast_bridge_hook Struct Reference

Structure that is the essence of a feature hook. More...

#include <bridge_features.h>

Data Fields

ast_bridge_hook_callback callback
 
ast_bridge_hook_pvt_destructor destructor
 
void * hook_pvt
 
struct ast_flags remove_flags
 
enum ast_bridge_hook_type type
 

Detailed Description

Structure that is the essence of a feature hook.

Definition at line 192 of file bridge_features.h.

Field Documentation

Callback that is called when hook is tripped

Definition at line 194 of file bridge_features.h.

Referenced by ast_bridge_channel_feature_digit(), ast_bridge_channel_kick(), interval_wrapper_cb(), and wrap_hook().

Callback to destroy hook_pvt data right before destruction.

Definition at line 196 of file bridge_features.h.

Referenced by ast_bridge_dtmf_hook(), and ast_bridge_interval_hook().

void* hook_pvt

Unique data that was passed into us

Definition at line 198 of file bridge_features.h.

Referenced by ast_bridge_channel_feature_digit(), ast_bridge_channel_kick(), interval_wrapper_cb(), and wrap_hook().

struct ast_flags remove_flags

Flags determining when hooks should be removed from a bridge channel

Definition at line 200 of file bridge_features.h.

Referenced by wrap_hook().

What kind of hook this is.

Definition at line 202 of file bridge_features.h.

Referenced by ast_bridge_channel_kick(), ast_bridge_dtmf_hook(), and ast_bridge_interval_hook().


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