I’m trying to create csv files and email them via a cronjob. I’ve posted at the PIAF forum, but didn’t get any responses (http://pbxinaflash.com/community/index.php?threads/scheduled-cdr-reports-with-cronjob.13839/).
I’ve read up on http://pbxinaflash.com/community/index.php?threads/email-incoming-cdr-report-daily.12907/ but that sends the cdr info in the body of the email, not as a csv.
I’ve also read up on http://www.transnexus.com/index.php/how-to-push-cdr-files-from-asterisk-to-sdreporter
but loading Master-*.csv isn’t a solution because I need to collect all calls from the 14th of the previous month to the 13th of the current month and nothing more.