23#ifndef _ASTERISK_MOH_H
24#define _ASTERISK_MOH_H
26#if defined(__cplusplus) || defined(c_plusplus)
64#if defined(__cplusplus) || defined(c_plusplus)
#define attribute_deprecated
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_moh_stop(struct ast_channel *chan)
Turn off 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 *))
void ast_uninstall_music_functions(void)
void ast_moh_cleanup(struct ast_channel *chan) attribute_deprecated
Clean up music on hold state on a given channel.
Main Channel structure associated with a channel.