asterisk/res/stasis_json
David M. Lee 10ba6bf8a8 This patch implements the REST API's for POST /channels/{channelId}/play
and GET /playback/{playbackId}.

This allows an external application to initiate playback of a sound on a
channel while the channel is in the Stasis application.

/play commands are issued asynchronously, and return immediately with
the URL of the associated /playback resource. Playback commands queue up,
playing in succession. The /playback resource shows the state of a
playback operation as enqueued, playing or complete. (Although the
operation will only be in the 'complete' state for a very short time,
since it is almost immediately freed up).

(closes issue ASTERISK-21283)
(closes issue ASTERISK-21586)
Review: https://reviewboard.asterisk.org/r/2531/



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@389587 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-05-23 20:11:35 +00:00
..
resource_asterisk.h Move JSON event generators into separate modules 2013-05-14 12:47:52 +00:00
resource_bridges.h Move JSON event generators into separate modules 2013-05-14 12:47:52 +00:00
resource_channels.h This patch implements the REST API's for POST /channels/{channelId}/play 2013-05-23 20:11:35 +00:00
resource_endpoints.h Move JSON event generators into separate modules 2013-05-14 12:47:52 +00:00
resource_events.h This patch implements the REST API's for POST /channels/{channelId}/play 2013-05-23 20:11:35 +00:00
resource_playback.h Move JSON event generators into separate modules 2013-05-14 12:47:52 +00:00
resource_recordings.h Move JSON event generators into separate modules 2013-05-14 12:47:52 +00:00
resource_sounds.h Move JSON event generators into separate modules 2013-05-14 12:47:52 +00:00