mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-24 22:58:21 +00:00
ARI: MOH start and stop for a channel
(issue ASTERISK-21974) Reported by: Matt Jordan Review: https://reviewboard.asterisk.org/r/2680/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@394810 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -251,6 +251,19 @@ void stasis_app_control_hold(struct stasis_app_control *control);
|
||||
*/
|
||||
void stasis_app_control_unhold(struct stasis_app_control *control);
|
||||
|
||||
/*!
|
||||
* \brief Play music on hold to a channel (does not affect hold status)
|
||||
* \param control Control for \c res_stasis.
|
||||
* \param moh_class class of music on hold to play (NULL allowed)
|
||||
*/
|
||||
void stasis_app_control_moh_start(struct stasis_app_control *control, const char *moh_class);
|
||||
|
||||
/*!
|
||||
* \brief Stop playing music on hold to a channel (does not affect hold status)
|
||||
* \param control Control for \c res_stasis.
|
||||
*/
|
||||
void stasis_app_control_moh_stop(struct stasis_app_control *control);
|
||||
|
||||
/*!
|
||||
* \brief Returns the most recent snapshot for the associated channel.
|
||||
*
|
||||
|
Reference in New Issue
Block a user