CDR Record - Change file location

Status
Not open for further replies.

kmedri

Joined
Oct 29, 2014
Messages
8
Reaction score
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
 
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.
 
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
 
Status
Not open for further replies.

Members Online Now

Forum statistics

Threads
111,835
Messages
589,289
Members
164,665
Latest member
dominik.pepel