mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-03 11:11:05 +00:00
ari: Add silence generator controls
This patch adds the ability to start a silence generator on a channel via ARI. This generator will play silence on the channel (avoiding audio timeouts on the peer) until it is stopped, or some other media operation is started (like playing media, starting music on hold, etc.). (closes issue ASTERISK-22514) Review: https://reviewboard.asterisk.org/r/3019/ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@402926 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -385,6 +385,18 @@ void stasis_app_control_moh_start(struct stasis_app_control *control, const char
|
||||
*/
|
||||
void stasis_app_control_moh_stop(struct stasis_app_control *control);
|
||||
|
||||
/*!
|
||||
* \brief Start playing silence to a channel.
|
||||
* \param control Control for \c res_stasis.
|
||||
*/
|
||||
void stasis_app_control_silence_start(struct stasis_app_control *control);
|
||||
|
||||
/*!
|
||||
* \brief Stop playing silence to a channel.
|
||||
* \param control Control for \c res_stasis.
|
||||
*/
|
||||
void stasis_app_control_silence_stop(struct stasis_app_control *control);
|
||||
|
||||
/*!
|
||||
* \brief Returns the most recent snapshot for the associated channel.
|
||||
*
|
||||
|
Reference in New Issue
Block a user