Asterisk - The Open Source Telephony Project GIT-master-f36a736
Data Fields
mohclass Struct Reference
Collaboration diagram for mohclass:
Collaboration graph
[legend]

Data Fields

char announcement [256]
 
int answeredonly
 
char args [256]
 
unsigned int delete:1
 
char digit
 
char dir [256]
 
struct ast_vector_stringfiles
 
unsigned int flags
 
struct ast_formatformat
 
size_t kill_delay
 
enum kill_methods kill_method
 
struct {
   struct mohclass *   next
 
list
 
struct {
   struct mohdata *   first
 
   struct mohdata *   last
 
members
 
char mode [80]
 
char name [MAX_MUSICCLASS]
 
int pid
 
unsigned int realtime:1
 
int srcfd
 
time_t start
 
pthread_t thread
 
struct ast_timertimer
 

Detailed Description

Definition at line 169 of file res_musiconhold.c.

Field Documentation

◆ announcement

char announcement[256]

Definition at line 173 of file res_musiconhold.c.

Referenced by moh_parse_options().

◆ answeredonly

int answeredonly

Definition at line 199 of file res_musiconhold.c.

Referenced by local_ast_moh_start(), and moh_parse_options().

◆ args

char args[256]

Definition at line 172 of file res_musiconhold.c.

Referenced by local_ast_moh_start(), moh_diff(), and moh_parse_options().

◆ delete

unsigned int delete

Definition at line 195 of file res_musiconhold.c.

Referenced by moh_class_mark(), and moh_classes_delete_marked().

◆ digit

char digit

Definition at line 175 of file res_musiconhold.c.

Referenced by moh_parse_options().

◆ dir

char dir[256]

Definition at line 171 of file res_musiconhold.c.

Referenced by local_ast_moh_start(), moh_diff(), and moh_parse_options().

◆ files

struct ast_vector_string* files

An immutable vector of filenames in "files" mode

Definition at line 177 of file res_musiconhold.c.

Referenced by _moh_register(), local_ast_moh_start(), and moh_parse_options().

◆ first

struct mohdata* first

Definition at line 196 of file res_musiconhold.c.

◆ flags

unsigned int flags

Definition at line 178 of file res_musiconhold.c.

Referenced by _get_mohbyname(), and moh_diff().

◆ format

struct ast_format* format

The format from the MOH source, not applicable to "files" mode

Definition at line 180 of file res_musiconhold.c.

Referenced by moh_alloc(), moh_generate(), moh_parse_options(), and mohalloc().

◆ kill_delay

size_t kill_delay

Millisecond delay between kill attempts

Definition at line 186 of file res_musiconhold.c.

Referenced by moh_parse_options().

◆ kill_method

enum kill_methods kill_method

Kill method

Definition at line 188 of file res_musiconhold.c.

Referenced by moh_parse_options().

◆ last

struct mohdata* last

Definition at line 196 of file res_musiconhold.c.

◆ 

struct { ... } list

Play the moh if the channel answered

◆ 

struct { ... } members

Referenced by moh_release(), and mohalloc().

◆ mode

char mode[80]

Definition at line 174 of file res_musiconhold.c.

Referenced by _moh_register(), local_ast_moh_start(), moh_diff(), and moh_parse_options().

◆ name

char name[MAX_MUSICCLASS]

◆ next

struct mohclass* next

Definition at line 197 of file res_musiconhold.c.

◆ pid

int pid

The pid of the external application delivering MOH

Definition at line 182 of file res_musiconhold.c.

◆ realtime

unsigned int realtime

Created on the fly, from RT engine

Definition at line 194 of file res_musiconhold.c.

Referenced by complete_mohclass_realtime(), handle_cli_moh_unregister_class(), and local_ast_moh_start().

◆ srcfd

int srcfd

Source of audio

Definition at line 190 of file res_musiconhold.c.

Referenced by local_ast_moh_start().

◆ start

time_t start

Definition at line 183 of file res_musiconhold.c.

Referenced by _moh_register(), and local_ast_moh_start().

◆ thread

pthread_t thread

Definition at line 184 of file res_musiconhold.c.

Referenced by local_ast_moh_start().

◆ timer

struct ast_timer* timer

Generic timer

Definition at line 192 of file res_musiconhold.c.

Referenced by local_ast_moh_start().


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