-
- Downloads
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
Showing
- CHANGES 4 additions, 0 deletionsCHANGES
- include/asterisk/ari.h 2 additions, 0 deletionsinclude/asterisk/ari.h
- include/asterisk/stasis_app_recording.h 24 additions, 0 deletionsinclude/asterisk/stasis_app_recording.h
- res/ari/resource_recordings.c 44 additions, 0 deletionsres/ari/resource_recordings.c
- res/ari/resource_recordings.h 14 additions, 0 deletionsres/ari/resource_recordings.h
- res/res_ari.c 5 additions, 3 deletionsres/res_ari.c
- res/res_ari_recordings.c 70 additions, 2 deletionsres/res_ari_recordings.c
- res/stasis_recording/stored.c 18 additions, 0 deletionsres/stasis_recording/stored.c
- rest-api-templates/ari_resource.h.mustache 8 additions, 0 deletionsrest-api-templates/ari_resource.h.mustache
- rest-api-templates/res_ari_resource.c.mustache 11 additions, 0 deletionsrest-api-templates/res_ari_resource.c.mustache
- rest-api-templates/swagger_model.py 3 additions, 0 deletionsrest-api-templates/swagger_model.py
- rest-api/api-docs/recordings.json 32 additions, 0 deletionsrest-api/api-docs/recordings.json
Loading
Please register or sign in to comment