cdrs

Reading Time: 2 minutes

Exports CDR logs.

Syntax

vccla-windows-386.exe cdrs --option1 value --option2 value ... 

Command Options

Option Description
–overwrite Overwrites existing files or folders.
–output value, -o value Sets output folder. If not defined, the output folder will be the one specified in the .env configuration file.
–projectid value, -p value Specifies which projects to download the CDR logs for. If null or not defined, the command applies to all projects. To mark more than one projects, use flags, for example: -p 395 -p 785
–from value Downloads CDRL logs from this date. If not defined, sets the previous day’s date. Format: YYYY/MM/DD
–to value Downloads CDR logs from this date. If not defined, sets today’s date. Format: YYYY/MM/DD
–format value, –fmt value, -f value Specifies the output file format. Values: csv, tsv. If not defined, the format will be csv.
–fields value Specifies the required records’ fields (columns), separated by comma. Overwrites CDR_HEADER_ORDER in the .env configuration file.
–filename value Specifies the output file name. If used, all CDR logs will be exported to a single file.

Note: You may use multiple command options followed by a command. Command options are optional.

Examples

To export CDR logs from all projects:

# ./vccla-windows-386.exe cdrs

To export CDR logs from projects with project ID 395 and project ID 785:

# ./vccla-windows-386.exe cdrs -p 395 -p 785

To export CDR logs from all projects to a file called “CDRlogs”:

# ./vccla-windows-386.exe cdrs --filename CDRlogs

To export CDR logs from the project with ID number 75, created between 2017-01-01 and 2017-01-31, to the path ‘C:Usersuser.nameDownloadscall_recordings’, in TSV format:

# ./vccla-windows-amd64.exe cdrs --from 2017/01/01 --to 2017/01/31 --output C:Usersuser.nameDownloadscall_recordings --projectid 75 --format tsv

There are no comments yet.
Subscribe to our newsletter
or Contact us!
Please note that by subscribing to our newsletter, you agree to receive regular email messages from VCC Live® about service related news and updates. By subscribing to our newsletter, you also agree that VCC Live® will use your data in accordance with the applicable Privacy Policy until you unsubscribe from the newsletter.