0

Call recording script ... where is my recorded audio file?

Trying to create a very simple test app that will begin recording immediately when I call it. Of course I want to access/download the audio file but I can't seem to save it somewhere accessible, either into my Tropo account or to a remote FTP server. What am I doing wrong?

Following are the 3 versions of code I've tried in my callRecording.php file with the same resulting error in my logs:

<?php

startCallRecording("ftp://tropotest:test@22.55.81.138:62335/ftp/incoming/recordingtest.wav");

?>

<?php

startCallRecording("ftp://:@ftp.tropo.com/recordings/audiotest.wav");

?>

<?php

startCallRecording("ftp://<myTropoUsername>:<myTropoPassword>@ftp.tropo.com/recordings/audiotest.wav");

?>

Above, I've tried saving the file to my Tropo FTP space and I've tried saving it to at least two external FTP accounts that I know are read/writable.

The logs seem to show that the call goes just fine in every aspect except that the recorded audio file doesn't seem to get temporarily saved on Tropo's system, therefore it's not available to transfer to my Tropo FTP space or an outside destination.

(I'm not sure what parts of my log files I can safely post here so I'm just posting what seems to be the relevant part of the error I'm getting:)

.... #TROPO#: Error post recording from \sopt\svoxeo\sprism\swork\ .... java.io.FileNotFoundException: \sopt\svoxeo\sprism\swork\s5041011\sfca175416763c4c691c4f44b76c9f60b2549488432799052960.wav (No such file or directory)\n  ...

 

1 comment

Please sign in to leave a comment.