Make music on hold truly optional (bug #2998)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4411 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2004-12-09 19:55:01 +00:00
parent 78642a3ed2
commit 5789ae4d18
3 changed files with 45 additions and 2 deletions

View File

@@ -24,6 +24,10 @@ extern int ast_moh_start(struct ast_channel *chan, char *mclass);
/*! Turn off music on hold on a given channel */
extern void ast_moh_stop(struct ast_channel *chan);
extern void ast_install_music_functions(int (*start_ptr)(struct ast_channel *, char *),
void (*stop_ptr)(struct ast_channel *));
extern void ast_uninstall_music_functions(void);
#if defined(__cplusplus) || defined(c_plusplus)
}
#endif