send .wav file back via api

Questions and answers about Plum Fuse+

Moderators: admin, support

  • Author
  • Message


  • Posts: 46
  • Joined: Thu Apr 27, 2017 11:29 am

send .wav file back via api

PostTue Aug 08, 2017 2:54 pm

do you have documentation to support how we would send a .wav file back to our endpoint from what we have recorded using the record module?


  • Posts: 3367
  • Joined: Mon Jun 02, 2003 3:47 pm
  • Location: Boston, MA

Re: send .wav file back via api

PostWed Aug 09, 2017 10:43 am

Audio files from the record module are already in .WAV format. Call recordings are in .UL format.

Here is an example of how you would send it to your webservice. ... FzRXc/view

In PHP, you can access files via $_FILES like so:

Code: Select all
if (isset($_FILES['recording'])) {
  rename($_FILES['recording']['tmp_name'], 'my_recording.wav');

This renames your recording to "my_recording.wav"

Return to Fuse+

Who is online

Users browsing this forum: No registered users and 1 guest