[Asterisk-code-review] ARI: Add the ability to download the media associated with a... (asterisk[master])

Matt Jordan asteriskteam at digium.com
Fri May 20 09:06:39 CDT 2016


Hello Kevin Harwell, Anonymous Coward #1000019,

I'd like you to reexamine a change.  Please visit

    https://gerrit.asterisk.org/2876

to look at the new patch set (#2).

Change subject: ARI: Add the ability to download the media associated with a stored recording
......................................................................

ARI: Add the ability to download the media associated with a stored recording

This patch adds a new feature to ARI that allows a client to download
the media associated with a stored recording. The new route is
/recordings/stored/{name}/file, and transmits the underlying binary file
using Asterisk's HTTP server's underlying file transfer facilities.

Because this REST route returns non-JSON, a few small enhancements had
to be made to the Python Swagger generation code, as well as the
mustache templates that generate the ARI bindings.

ASTERISK-26042 #close

Change-Id: I49ec5c4afdec30bb665d9c977ab423b5387e0181
---
M CHANGES
M include/asterisk/ari.h
M include/asterisk/stasis_app_recording.h
M res/ari/resource_recordings.c
M res/ari/resource_recordings.h
M res/res_ari.c
M res/res_ari_recordings.c
M res/stasis_recording/stored.c
M rest-api-templates/ari_resource.h.mustache
M rest-api-templates/res_ari_resource.c.mustache
M rest-api-templates/swagger_model.py
M rest-api/api-docs/recordings.json
12 files changed, 235 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/76/2876/2
-- 
To view, visit https://gerrit.asterisk.org/2876
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I49ec5c4afdec30bb665d9c977ab423b5387e0181
Gerrit-PatchSet: 2
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: Matt Jordan <mjordan at digium.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: Kevin Harwell <kharwell at digium.com>
Gerrit-Reviewer: Matt Jordan <mjordan at digium.com>



More information about the asterisk-code-review mailing list