mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-09 14:36:48 +00:00
res_ari_channels: Add the ability to stop locally generated ringing on a channel.
Using the 'ring' operation it is possible to start locally generated ringback if the channel is answered. This change adds the ability to stop it by using DELETE. ........ Merged revisions 402804 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@402805 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -283,6 +283,16 @@ int stasis_app_control_continue(struct stasis_app_control *control, const char *
|
||||
*/
|
||||
int stasis_app_control_ring(struct stasis_app_control *control);
|
||||
|
||||
/*!
|
||||
* \brief Stop locally generated ringing on the channel associated with this control.
|
||||
*
|
||||
* \param control Control for \c res_stasis.
|
||||
*
|
||||
* \return 0 for success.
|
||||
* \return -1 for error.
|
||||
*/
|
||||
int stasis_app_control_ring_stop(struct stasis_app_control *control);
|
||||
|
||||
/*!
|
||||
* \brief Send DTMF to the channel associated with this control.
|
||||
*
|
||||
|
Reference in New Issue
Block a user