summaryrefslogtreecommitdiff
path: root/include/asterisk
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2004-12-09 19:55:01 +0000
committerMark Spencer <markster@digium.com>2004-12-09 19:55:01 +0000
commit5789ae4d1857140b7f070f39cffc78f6da09e222 (patch)
treeaba0dff96c3c1cc73c40a0810d4e465ad2b79d31 /include/asterisk
parent78642a3ed283a2fe21fac842e567fecfea1ad1d7 (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-xinclude/asterisk/musiconhold.h4
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