diff options
author | Mark Spencer <markster@digium.com> | 2004-12-09 19:55:01 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2004-12-09 19:55:01 +0000 |
commit | 5789ae4d1857140b7f070f39cffc78f6da09e222 (patch) | |
tree | aba0dff96c3c1cc73c40a0810d4e465ad2b79d31 /include/asterisk | |
parent | 78642a3ed283a2fe21fac842e567fecfea1ad1d7 (diff) |
Make music on hold truly optional (bug #2998)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4411 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk')
-rwxr-xr-x | include/asterisk/musiconhold.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asterisk/musiconhold.h b/include/asterisk/musiconhold.h index ceef76cdf..39c90bd85 100755 --- a/include/asterisk/musiconhold.h +++ b/include/asterisk/musiconhold.h @@ -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 |