Add ControlPlayback manager action
authorMatthew Jordan <mjordan@digium.com>
Tue, 22 Jan 2013 15:16:20 +0000 (15:16 +0000)
committerMatthew Jordan <mjordan@digium.com>
Tue, 22 Jan 2013 15:16:20 +0000 (15:16 +0000)
commit7d9871b3940fa50e85039aef6a8fb9870a7615b9
tree05484de8505feb85d1e304b8868a87e29c0ca9f5
parent985ea8b2c96ff16b5cbe4cd102b9224e171b2984
Add ControlPlayback manager action

This patch adds the capability for asynchronous manipulation of audio being
played back to a channel though a new AMI action "ControlPlayback". The
ControlPlayback action supports a number of operations, the availability of
which depend on the application being used to send audio to the channel.
When the audio playback was initiated using the ControlPlayback application
or CONTROL STREAM FILE AGI command, the audio can be paused, stopped,
restarted, reversed, or skipped forward. When initiated by other mechanisms
(such as the Playback application), the audio can be stopped, reversed, or
skipped forward.

Review: https://reviewboard.asterisk.org/r/2265/

(closes issue ASTERISK-20882)
Reported by: mjordan

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@379830 65c4cc65-6c06-0410-ace0-fbb531ad65f3
CHANGES
apps/app_controlplayback.c
apps/app_playback.c
funcs/func_frame_trace.c
include/asterisk/file.h
include/asterisk/frame.h
main/app.c
main/channel.c
main/file.c
res/res_agi.c