23 #ifndef _ASTERISK_MOH_H
24 #define _ASTERISK_MOH_H
26 #if defined(__cplusplus) || defined(c_plusplus)
48 void ast_install_music_functions(
int (*start_ptr)(
struct ast_channel *,
const char *,
const char *),
52 void ast_uninstall_music_functions(
void);
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.
int ast_moh_start(struct ast_channel *chan, const char *mclass, const char *interpclass)
Turn on music on hold on a given channel.