Asterisk - The Open Source Telephony Project  18.5.0
Data Fields
stasis_app_snoop Struct Reference

Structure which contains all of the snoop information. More...

Collaboration diagram for stasis_app_snoop:
Collaboration graph
[legend]

Data Fields

struct ast_strapp
 Stasis application and arguments. More...
 
struct ast_channelchan
 Snoop channel. More...
 
struct ast_frame silence
 A frame of silence to use when the audiohook returns null. More...
 
struct ast_audiohook spy
 Audiohook used to spy on the channel. More...
 
unsigned int spy_active:1
 Whether the spy capability is active or not. More...
 
enum ast_audiohook_direction spy_direction
 Direction for spying. More...
 
struct ast_formatspy_format
 Format in use by the spy audiohook. More...
 
unsigned int spy_samples
 Number of samples to be read in when spying. More...
 
struct ast_channelspyee_chan
 The channel that the Snoop channel is snooping on. More...
 
struct ast_timertimer
 Timer used for waking up Stasis thread. More...
 
struct ast_audiohook whisper
 Audiohook used to whisper on the channel. More...
 
unsigned int whisper_active:1
 Whether the whisper capability is active or not. More...
 
enum ast_audiohook_direction whisper_direction
 Direction for whispering. More...
 

Detailed Description

Structure which contains all of the snoop information.

Definition at line 50 of file res_stasis_snoop.c.

Field Documentation

◆ app

struct ast_str* app

Stasis application and arguments.

Definition at line 66 of file res_stasis_snoop.c.

Referenced by snoop_destroy().

◆ chan

struct ast_channel* chan

Snoop channel.

Definition at line 68 of file res_stasis_snoop.c.

Referenced by publish_chanspy_message(), snoop_destroy(), and snoop_fixup().

◆ silence

struct ast_frame silence

A frame of silence to use when the audiohook returns null.

Definition at line 76 of file res_stasis_snoop.c.

Referenced by snoop_destroy(), and snoop_read().

◆ spy

struct ast_audiohook spy

Audiohook used to spy on the channel.

Definition at line 54 of file res_stasis_snoop.c.

Referenced by snoop_destroy(), snoop_hangup(), and snoop_read().

◆ spy_active

unsigned int spy_active

Whether the spy capability is active or not.

Definition at line 72 of file res_stasis_snoop.c.

Referenced by snoop_destroy(), snoop_hangup(), and snoop_read().

◆ spy_direction

enum ast_audiohook_direction spy_direction

Direction for spying.

Definition at line 56 of file res_stasis_snoop.c.

Referenced by snoop_read().

◆ spy_format

struct ast_format* spy_format

Format in use by the spy audiohook.

Definition at line 60 of file res_stasis_snoop.c.

Referenced by snoop_determine_format(), and snoop_read().

◆ spy_samples

unsigned int spy_samples

Number of samples to be read in when spying.

Definition at line 58 of file res_stasis_snoop.c.

Referenced by snoop_read().

◆ spyee_chan

struct ast_channel* spyee_chan

The channel that the Snoop channel is snooping on.

Definition at line 70 of file res_stasis_snoop.c.

Referenced by publish_chanspy_message(), and snoop_destroy().

◆ timer

struct ast_timer* timer

Timer used for waking up Stasis thread.

Definition at line 52 of file res_stasis_snoop.c.

Referenced by snoop_destroy(), and snoop_read().

◆ whisper

struct ast_audiohook whisper

Audiohook used to whisper on the channel.

Definition at line 62 of file res_stasis_snoop.c.

Referenced by snoop_destroy(), snoop_hangup(), snoop_read(), and snoop_write().

◆ whisper_active

unsigned int whisper_active

Whether the whisper capability is active or not.

Definition at line 74 of file res_stasis_snoop.c.

Referenced by snoop_destroy(), snoop_hangup(), snoop_read(), and snoop_write().

◆ whisper_direction

enum ast_audiohook_direction whisper_direction

Direction for whispering.

Definition at line 64 of file res_stasis_snoop.c.

Referenced by snoop_write().


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