record component wont record to file

Status
Not open for further replies.

jamesdawson

Joined
Jan 30, 2014
Messages
21
Reaction score
0
Hi I am trying to save a recording to file from VAD.

I have a prompt to play when audio is recorded and a prompt after the record component has finished. both prompts play so I would expect the recording to be saved, but it is not.

I have sent SaveToFile to true and 'true' I have set a valid path. ihave given everyone full permissions to the folder.

what am I doing wrong?

settings can be seen int eh attached image
 

Attachments

  • Capture.PNG
    Capture.PNG
    63.9 KB · Views: 3,525
Hi James,

In first place, you need to escape the back slash, because it is a special character in javascript. So instead of:
'C:\announcement\pb.wav'

You need to use:
'C:\\announcement\\pb.wav'

Also, depending on the web server used, you may not have permissions to write to a different folder than the application folder. This usually happens in IIS. If you use Abyss, it may work. So you may need to change the destination folder to be under "C:\ProgramData\3CX\Data\Http\Interface\ivr".

Hope the information helps.

Kind regards.
 
brilliant, it was the escaping back slashes, silly me!

thanks!
 
Status
Not open for further replies.

Latest Posts

Forum statistics

Threads
112,322
Messages
591,882
Members
165,469
Latest member
footandankle.my3fcx.us