Asterisk - The Open Source Telephony Project
18.5.0
|
Data Fields | |
char | announcement [256] |
char | args [256] |
unsigned int | delete:1 |
char | digit |
char | dir [256] |
struct ast_vector_string * | files |
unsigned int | flags |
struct ast_format * | format |
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_timer * | timer |
Definition at line 167 of file res_musiconhold.c.
char announcement[256] |
Definition at line 171 of file res_musiconhold.c.
Referenced by ast_moh_files_next(), handle_cli_moh_show_classes(), and moh_parse_options().
char args[256] |
Definition at line 170 of file res_musiconhold.c.
Referenced by handle_cli_moh_show_classes(), load_moh_classes(), local_ast_moh_start(), moh_diff(), moh_parse_options(), and spawn_mp3().
unsigned int delete |
Definition at line 193 of file res_musiconhold.c.
Referenced by moh_class_cmp(), moh_class_mark(), and moh_classes_delete_marked().
char digit |
Definition at line 173 of file res_musiconhold.c.
Referenced by moh_digit_match(), and moh_parse_options().
char dir[256] |
Definition at line 169 of file res_musiconhold.c.
Referenced by handle_cli_moh_show_classes(), init_files_class(), load_moh_classes(), local_ast_moh_start(), moh_diff(), moh_parse_options(), moh_scan_files(), monmp3thread(), and spawn_mp3().
struct ast_vector_string* files |
An immutable vector of filenames in "files" mode
Definition at line 175 of file res_musiconhold.c.
Referenced by _moh_class_malloc(), _moh_register(), ast_moh_files_next(), handle_cli_moh_show_files(), local_ast_moh_start(), moh_class_destructor(), moh_files_alloc(), moh_parse_options(), and moh_scan_files().
struct mohdata* first |
Definition at line 194 of file res_musiconhold.c.
unsigned int flags |
Definition at line 176 of file res_musiconhold.c.
Referenced by _get_mohbyname(), and moh_diff().
struct ast_format* format |
The format from the MOH source, not applicable to "files" mode
Definition at line 178 of file res_musiconhold.c.
Referenced by handle_cli_moh_show_classes(), moh_alloc(), moh_class_destructor(), moh_generate(), moh_parse_options(), mohalloc(), and monmp3thread().
size_t kill_delay |
Millisecond delay between kill attempts
Definition at line 184 of file res_musiconhold.c.
Referenced by handle_cli_moh_show_classes(), moh_class_destructor(), moh_parse_options(), and monmp3thread().
enum kill_methods kill_method |
Kill method
Definition at line 186 of file res_musiconhold.c.
Referenced by handle_cli_moh_show_classes(), moh_class_destructor(), moh_parse_options(), and monmp3thread().
struct mohdata* last |
Definition at line 194 of file res_musiconhold.c.
struct { ... } list |
struct { ... } members |
Referenced by moh_class_destructor(), moh_class_inuse(), moh_release(), mohalloc(), and monmp3thread().
char mode[80] |
Definition at line 172 of file res_musiconhold.c.
Referenced by _moh_register(), handle_cli_moh_show_classes(), init_app_class(), load_moh_classes(), local_ast_moh_start(), moh_diff(), moh_parse_options(), and moh_rescan_files().
char name[MAX_MUSICCLASS] |
Definition at line 168 of file res_musiconhold.c.
Referenced by _get_mohbyname(), _moh_register(), _mohclass_unref(), ast_moh_files_next(), complete_mohclass_realtime(), PathSegment::get_child(), handle_cli_moh_show_classes(), handle_cli_moh_show_files(), handle_cli_moh_unregister_class(), init_files_class(), Parameter::load(), SwaggerType::load(), Property::load(), load_moh_classes(), local_ast_moh_start(), moh_alloc(), moh_class_cmp(), moh_class_destructor(), moh_class_hash(), moh_files_alloc(), moh_handle_digit(), moh_parse_options(), and moh_scan_files().
struct mohclass* next |
Definition at line 195 of file res_musiconhold.c.
int pid |
The pid of the external application delivering MOH
Definition at line 180 of file res_musiconhold.c.
Referenced by moh_class_destructor(), monmp3thread(), and spawn_mp3().
unsigned int realtime |
Created on the fly, from RT engine
Definition at line 192 of file res_musiconhold.c.
Referenced by complete_mohclass_realtime(), handle_cli_moh_unregister_class(), local_ast_moh_start(), and moh_class_mark().
int srcfd |
Source of audio
Definition at line 188 of file res_musiconhold.c.
Referenced by local_ast_moh_start(), moh_class_destructor(), and monmp3thread().
time_t start |
Definition at line 181 of file res_musiconhold.c.
Referenced by _moh_register(), local_ast_moh_start(), and spawn_mp3().
pthread_t thread |
Definition at line 182 of file res_musiconhold.c.
Referenced by init_app_class(), local_ast_moh_start(), and moh_class_destructor().
struct ast_timer* timer |
Generic timer
Definition at line 190 of file res_musiconhold.c.
Referenced by init_app_class(), local_ast_moh_start(), moh_class_destructor(), and monmp3thread().