mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-09 22:45:49 +00:00
This patch adds support for controlling a playback operation from the
Asterisk REST interface. This adds the /playback/{playbackId}/control resource, which may be POSTed to to pause, unpause, reverse, forward or restart the media playback. Attempts to control a playback that is not currently playing will either return a 404 Not Found (because the playback object no longer exists) or a 409 Conflict (because the playback object is still in the queue to be played). This patch also adds skipms and offsetms parameters to the /channels/{channelId}/play resource. (closes issue ASTERISK-21587) Review: https://reviewboard.asterisk.org/r/2559 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@389603 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1203,7 +1203,7 @@ int ast_queue_hangup(struct ast_channel *chan);
|
||||
int ast_queue_hangup_with_cause(struct ast_channel *chan, int cause);
|
||||
|
||||
/*!
|
||||
* \brief Queue a control frame with payload
|
||||
* \brief Queue a control frame without payload
|
||||
*
|
||||
* \param chan channel to queue frame onto
|
||||
* \param control type of control frame
|
||||
|
Reference in New Issue
Block a user