record component wont record to file

Discussion in 'CRM / Helpdesk / App Integration' started by jamesdawson, Feb 10, 2014.

Thread Status:
Not open for further replies.
  1. jamesdawson

    Joined:
    Jan 30, 2014
    Messages:
    21
    Likes Received:
    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
     

    Attached Files:

  2. VAD_Support

    VAD_Support Active Member

    Joined:
    Aug 6, 2009
    Messages:
    690
    Likes Received:
    0
    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.
     
  3. jamesdawson

    Joined:
    Jan 30, 2014
    Messages:
    21
    Likes Received:
    0
    brilliant, it was the escaping back slashes, silly me!

    thanks!
     
Thread Status:
Not open for further replies.