[asterisk-dev] [Code Review] 2697: ARI: Add recording controls
David Lee
reviewboard at asterisk.org
Wed Jul 24 21:19:50 CDT 2013
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/2697/
-----------------------------------------------------------
Review request for Asterisk Developers.
Bugs: ASTERISK-22181
https://issues.asterisk.org/jira/browse/ASTERISK-22181
Repository: Asterisk
Description
-------
This patch implements the controls from ARI recordings. The controls
are:
* DELETE /recordings/live/{recordingName} - stop recording and
discard it
* POST /recordings/live/{recordingName}/stop - stop recording
* POST /recordings/live/{recordingName}/pause - pause recording
* POST /recordings/live/{recordingName}/unpause - resume recording
* POST /recordings/live/{recordingName}/mute - mute recording (record
silence to the file)
* POST /recordings/live/{recordingName}/unmute - unmute recording.
Since this underlying functionality did not already exist, is was
added to app.c by a set of control frames, similar to how playback
control works. The pause/mute control frames are toggles, even though
the ARI controls are idempotent, to be consistent with the playback
control frames.
Diffs
-----
/trunk/apps/app_minivm.c 395366
/trunk/apps/app_voicemail.c 395366
/trunk/funcs/func_frame_trace.c 395366
/trunk/include/asterisk/app.h 395366
/trunk/include/asterisk/frame.h 395366
/trunk/include/asterisk/stasis_app_recording.h 395366
/trunk/main/app.c 395366
/trunk/main/channel.c 395366
/trunk/res/res_stasis_http_recordings.c 395366
/trunk/res/res_stasis_recording.c 395366
/trunk/res/stasis_http/resource_recordings.c 395366
/trunk/rest-api/api-docs/recordings.json 395366
Diff: https://reviewboard.asterisk.org/r/2697/diff/
Testing
-------
Soooo many recordings.
Thanks,
David Lee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20130725/cc8e7459/attachment-0001.htm>
More information about the asterisk-dev
mailing list