| Asterisk - The Open Source Telephony Project GIT-master-27fb039
    | 

| Data Fields | ||
| char | announcement [256] | |
| int | answeredonly | |
| 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 179 of file res_musiconhold.c.
| char announcement[256] | 
Definition at line 183 of file res_musiconhold.c.
Referenced by moh_parse_options().
| int answeredonly | 
Definition at line 209 of file res_musiconhold.c.
Referenced by local_ast_moh_start(), and moh_parse_options().
| char args[256] | 
Definition at line 182 of file res_musiconhold.c.
Referenced by local_ast_moh_start(), moh_diff(), and moh_parse_options().
Definition at line 205 of file res_musiconhold.c.
Referenced by moh_class_mark(), and moh_classes_delete_marked().
| char digit | 
Definition at line 185 of file res_musiconhold.c.
Referenced by moh_parse_options().
| char dir[256] | 
Definition at line 181 of file res_musiconhold.c.
Referenced by local_ast_moh_start(), moh_diff(), and moh_parse_options().
| struct ast_vector_string* files | 
An immutable vector of filenames in "files" mode
Definition at line 187 of file res_musiconhold.c.
Referenced by _moh_register(), local_ast_moh_start(), and moh_parse_options().
Definition at line 206 of file res_musiconhold.c.
Definition at line 188 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 190 of file res_musiconhold.c.
Referenced by _moh_class_malloc(), moh_alloc(), moh_generate(), moh_parse_options(), and mohalloc().
| size_t kill_delay | 
Millisecond delay between kill attempts
Definition at line 196 of file res_musiconhold.c.
Referenced by moh_parse_options().
| enum kill_methods kill_method | 
Definition at line 206 of file res_musiconhold.c.
| struct { ... } list | 
Play the moh if the channel answered
| struct { ... } members | 
Referenced by moh_release(), and mohalloc().
| char mode[80] | 
Definition at line 184 of file res_musiconhold.c.
Referenced by _moh_register(), local_ast_moh_start(), moh_diff(), and moh_parse_options().
| char name[MAX_MUSICCLASS] | 
Definition at line 180 of file res_musiconhold.c.
Referenced by _moh_register(), complete_mohclass_realtime(), PathSegment::get_child(), handle_cli_moh_unregister_class(), SwaggerType::load(), local_ast_moh_start(), moh_alloc(), and moh_parse_options().
Definition at line 207 of file res_musiconhold.c.
| int pid | 
The pid of the external application delivering MOH
Definition at line 192 of file res_musiconhold.c.
Created on the fly, from RT engine
Definition at line 204 of file res_musiconhold.c.
Referenced by complete_mohclass_realtime(), handle_cli_moh_unregister_class(), and local_ast_moh_start().
| int srcfd | 
Source of audio
Definition at line 200 of file res_musiconhold.c.
Referenced by local_ast_moh_start().
| time_t start | 
Definition at line 193 of file res_musiconhold.c.
Referenced by _get_mohbyname(), _moh_register(), complete_mohclass_realtime(), init_app_class(), load_moh_classes(), local_ast_moh_start(), moh_diff(), moh_handle_digit(), and moh_rescan_files().
| pthread_t thread | 
Definition at line 194 of file res_musiconhold.c.
Referenced by local_ast_moh_start().
Generic timer
Definition at line 202 of file res_musiconhold.c.
Referenced by local_ast_moh_start().