mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-03 11:11:05 +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 a0b36f8099
)
This commit is contained in:
committed by
Asterisk Development Team
parent
7255de7cd7
commit
d8dd7e3c85
@@ -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