Asterisk - The Open Source Telephony Project
21.4.1
|
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 169 of file res_musiconhold.c.
struct ast_vector_string* files |
An immutable vector of filenames in "files" mode
Definition at line 177 of file res_musiconhold.c.
struct ast_format* format |
The format from the MOH source, not applicable to "files" mode
Definition at line 180 of file res_musiconhold.c.
size_t kill_delay |
Millisecond delay between kill attempts
Definition at line 186 of file res_musiconhold.c.
enum kill_methods kill_method |
Kill method
Definition at line 188 of file res_musiconhold.c.
struct { ... } list |
Play the moh if the channel answered
int pid |
The pid of the external application delivering MOH
Definition at line 182 of file res_musiconhold.c.
unsigned int realtime |
Created on the fly, from RT engine
Definition at line 194 of file res_musiconhold.c.
Referenced by complete_mohclass_realtime().
int srcfd |
Source of audio
Definition at line 190 of file res_musiconhold.c.
struct ast_timer* timer |
Generic timer
Definition at line 192 of file res_musiconhold.c.