mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-02 11:58:40 +00:00
ARI: Add command to indicate progress to a channel
Adds an ARI command to send a progress indication to a channel.
DeveloperNote: A new ARI endpoint is available at `/channels/{channelId}/progress` to indicate progress to a channel.
(cherry picked from commit f9ab56b1d8)
This commit is contained in:
@@ -568,6 +568,16 @@ int stasis_app_control_ring(struct stasis_app_control *control);
|
||||
*/
|
||||
int stasis_app_control_ring_stop(struct stasis_app_control *control);
|
||||
|
||||
/*!
|
||||
* \brief Indicate progress to 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_progress(struct stasis_app_control *control);
|
||||
|
||||
/*!
|
||||
* \brief Send DTMF to the channel associated with this control.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user