CDR Record - Change file location

Discussion in '3CX Phone System - General' started by kmedri, Oct 29, 2014.

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

    Joined:
    Oct 29, 2014
    Messages:
    7
    Likes Received:
    0
    Hi,

    I am trying to save the cdr record to a folder on a different pc on the network to where 3cx is hosted.

    I have amended the xml file and set; Folder="\\PCC-1598666\Calls\"
    however it looks like the file path is being prefixed with C:\ProgramData

    Is there a way to prevent this from happenning
     
  2. NickD_3CX

    NickD_3CX Support Team
    Staff Member 3CX Support

    Joined:
    Jun 2, 2014
    Messages:
    1,283
    Likes Received:
    68
    Hello,

    You cannot change the file location to somewhere outside the ProgramData folder, but you do have other options:
    1) You can change the CDR Output method from file to socket, and the 3CX Phone System will send the information over the network to the specified IP and socket. Instruction on how to do this can be found here:
    http://www.3cx.com/blog/docs/cdr-call-data-records/

    2) If you want to keep things simple and just work with files, you could just write a script that copies the file from the default location every X minutes through the Windows Task Scheduler feature.
     
  3. kmedri

    Joined:
    Oct 29, 2014
    Messages:
    7
    Likes Received:
    0
    Thank you Nick.

    I added a task in the schedular to move the files across to may other software using:

    cmd /c move /Y C:\ProgramData\3CX\Data\Logs\cdrmulti\*.* \\mynetworklocation\Calls

    Set to do this every five minutes

    Works great
     
Thread Status:
Not open for further replies.