[asterisk-dev] [Code Review] 2612: REST API - channel recording support
svnbot
reviewboard at asterisk.org
Wed Jul 3 12:58:54 CDT 2013
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/2612/
-----------------------------------------------------------
(Updated July 3, 2013, 12:58 p.m.)
Status
------
This change has been marked as submitted.
Review request for Asterisk Developers.
Changes
-------
Committed in revision 393550
Bugs: ASTERISK-21594
https://issues.asterisk.org/jira/browse/ASTERISK-21594
Repository: Asterisk
Description
-------
This patch is the first step in adding recording support to the
Asterisk REST Interface.
Recordings are stored in /var/spool/recording. Since recordings may be
destructive (overwriting existing files), the API rejects attempts to
escape the recording directory (avoiding issues if someone attempts to
record to ../../lib/sounds/greeting, for example).
Diffs
-----
/trunk/Makefile 392772
/trunk/apps/app_minivm.c 392772
/trunk/apps/app_voicemail.c 392772
/trunk/include/asterisk/app.h 392772
/trunk/include/asterisk/channel.h 392772
/trunk/include/asterisk/file.h 392772
/trunk/include/asterisk/paths.h 392772
/trunk/include/asterisk/stasis_app_recording.h PRE-CREATION
/trunk/include/asterisk/utils.h 392772
/trunk/main/app.c 392772
/trunk/main/asterisk.c 392772
/trunk/main/channel.c 392772
/trunk/main/file.c 392772
/trunk/main/utils.c 392772
/trunk/res/res_stasis_http_bridges.c 392772
/trunk/res/res_stasis_http_channels.c 392772
/trunk/res/res_stasis_http_recordings.c 392772
/trunk/res/res_stasis_playback.c 392772
/trunk/res/res_stasis_recording.c PRE-CREATION
/trunk/res/res_stasis_recording.exports.in PRE-CREATION
/trunk/res/stasis_http/resource_channels.h 392772
/trunk/res/stasis_http/resource_channels.c 392772
/trunk/res/stasis_http/resource_recordings.h 392772
/trunk/res/stasis_http/resource_recordings.c 392772
/trunk/res/stasis_json/resource_sounds.h 392772
/trunk/rest-api-templates/asterisk_processor.py 392772
/trunk/rest-api-templates/swagger_model.py 392772
/trunk/rest-api/api-docs/channels.json 392772
/trunk/rest-api/api-docs/recordings.json 392772
/trunk/tests/test_utils.c 392772
Diff: https://reviewboard.asterisk.org/r/2612/diff/
Testing
-------
Unit tests; swagger-ui for manual testing
Thanks,
David Lee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20130703/c8fcaa79/attachment.htm>
More information about the asterisk-dev
mailing list