23 #ifndef _ASTERISK_MOH_H 24 #define _ASTERISK_MOH_H 26 #if defined(__cplusplus) || defined(c_plusplus) 56 #if defined(__cplusplus) || defined(c_plusplus) Main Channel structure associated with a channel.
void ast_moh_stop(struct ast_channel *chan)
Turn off music on hold on a given channel.
void ast_uninstall_music_functions(void)
void ast_moh_cleanup(struct ast_channel *chan)
int ast_moh_start(struct ast_channel *chan, const char *mclass, const char *interpclass)
Turn on music on hold on a given channel.
void ast_install_music_functions(int(*start_ptr)(struct ast_channel *, const char *, const char *), void(*stop_ptr)(struct ast_channel *), void(*cleanup_ptr)(struct ast_channel *))