Go to the source code of this file.
Functions | |
void | ast_install_music_functions (int(*start_ptr)(struct ast_channel *, char *), void(*stop_ptr)(struct ast_channel *), void(*cleanup_ptr)(struct ast_channel *)) |
void | ast_moh_cleanup (struct ast_channel *chan) |
int | ast_moh_start (struct ast_channel *chan, char *mclass) |
void | ast_moh_stop (struct ast_channel *chan) |
void | ast_uninstall_music_functions (void) |
Definition in file musiconhold.h.
int ast_moh_start | ( | struct ast_channel * | chan, | |
char * | mclass | |||
) |
Turn on music on hold on a given channel
void ast_moh_stop | ( | struct ast_channel * | chan | ) |
Turn off music on hold on a given channel