[asterisk-users] [asterisk-app-dev] ARI-client Node.js objects

Matt Riddell lists at venturevoip.com
Sat Jan 12 07:21:43 CST 2019



> On Jan 11, 2019, at 10:46, Gilles VERRIEZ (SERENEO) <gilles.verriez at sereneo.com> wrote:
> 
> Hi,
> 
> I would like to get the audio resource from a record in order to send it threw AJAX request with my ARI-client Node JS source. I thought Playback.media_uri could help me but it's value is undefined. Any ideas?
> 
> 
I think you’re probably going to be looking for:

ari.recordings.getStoredFile(
  {recordingName: val},
  function (err, binary) {}
);

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20190112/27963f4f/attachment.html>
-------------- next part --------------
_______________________________________________
asterisk-app-dev mailing list
asterisk-app-dev at lists.digium.com
http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev


More information about the asterisk-users mailing list