25 February 2017, AvayaCDR 1.5.15 just released. This version
1. Archive the last working copy of CDR file when AvayaCDR restarted and advance the sequence number instead starting from zero.
2. Align the sequence number for CDR file and CSV file.
25 February 2017, AvayaCDR 1.5.15 just released. This version
1. Archive the last working copy of CDR file when AvayaCDR restarted and advance the sequence number instead starting from zero.
2. Align the sequence number for CDR file and CSV file.
14 January 2017, CloudCDR just released. This version
1. Supports other PBX CDR such as Cisco. A parameter called “cdr_systemothers” is added for this purpose.
2. Recompile the program due to base class AvayaCDR supports Multiple Active Result Sets (MARS) for MSSQL.
14 January 2017, AvayaCDR 1.5.14 just released. This version
1. Supports Multiple Active Result Sets (MARS) for remote database MSSQL. A parameter cdr_remotedb_mars is defined. Set it to true if this feature is enabled for MSSQL.
2. Fixed bug in commands “import cdrdir” and “import cdrfile” which the directory name and filename contains whitespace and the execution of the command is not successful.
23 Jun 2016, AvayaCDR 1.5.13 just released. This version
1. Supports archiving to a single file on monthly basis.
2. Concatenates to the same archived file when working filename is same as archived one.
3. Sends alert emails when CDR records are received during non-office hour. Parameters cdr_nonofficehouralert, cdr_officehourstart and cdr_officehourend are defined for this purpose.
Introduction

The CloudCDR tool inherits all functions from AvayaCDR, it also has some specific features for cloud based CDR applications. For example, a cloud based CDR accounting software hosted on the internet, it accepts CDR data from different customers around the globe. Once the data for a customer is imported to the accounting software, the software can provide personalized functions and features for that particular customer. The CloudCDR tool enables this kind of application by the following features:
Testing using Docker Image
Please follow this guide to test CloudCDR using Docker container.
Windows Installation
Upload Local CDR files to Cloud Server
Delete CDR Files over Retention Period
Import CDR files on Cloud Server
CentOS 6.x Installation Guide
yum install mysql-server mysql libssh2
yum install mysql-connector-odbc unixODBC
chkconfig mysqld on
service mysqld start
mysql -u root -p
create database cloudcdr;
create user 'tcpgate'@'localhost' identified by 'tcpgate';
grant all on cloudcdr.* to 'tcpgate'@'localhost';
flush privileges;
quit
mysql -h localhost -u tcpgate -p cloudcdr < cloudcdr.sql
useradd cloudcdr
mkdir /usr/local/cloudcdr
cp cloudcdr /usr/local/cloudcdr
chmod +x /usr/local/cloudcdr/cloudcdr
chown -R cloudcdr.cloudcdr /usr/local/cloudcdr
mkdir -p /var/log/avayacdr/archive/sftp
chown -R cloudcdr.cloudcdr /var/log/avayacdr
echo "rm -f /tmp/cloudcdr.log" >> /etc/rc.local
echo "su cloudcdr -c '/usr/local/cloudcdr/cloudcdr'" >> /etc/rc.local
CentOS 7.x Installation Notes
Ubuntu 14.04 Installation Guide
sudo apt-get install mysql-server mysql-client
sudo apt-get install libmyodbc unixodbc unixodbc-bin
sudo apt-get install libssh2-1 openssl unrar
mysql -u root -p
create database cloudcdr;
create user 'tcpgate'@'localhost' identified by 'tcpgate';
grant all on cloudcdr.* to 'tcpgate'@'localhost';
flush privileges;
quit
mysql -h localhost -u tcpgate -p cloudcdr < cloudcdr.sql
sudo odbcinst -i -d -f /etc/odbcinst.ini
sudo odbcinst -i -s -l -f /etc/odbc.ini
sudo useradd cloudcdr
sudo mkdir /usr/local/cloudcdr
sudo cp cloudcdr /usr/local/cloudcdr
sudo chmod +x /usr/local/cloudcdr/cloudcdr
sudo chown -R cloudcdr.cloudcdr /usr/local/cloudcdr
sudo mkdir -p /var/log/avayacdr/archive/sfp
sudo chown -R cloudcdr.cloudcdr /var/log/avayacdr
rm -f /tmp/cloudcdr.log
su cloudcdr -c '/usr/local/cloudcdr/cloudcdr'
Ubuntu 16.04 Installation Notes
Ubuntu 18.04 Installation Notes
Scans and Import CDR files by Linux Cloud Server
Support and License
AvayaCDR 1.5.11 just released. This version supports IP Office and MariaDB. It also supports extended logging of data that related to the connected PBX. For example, time zone of the connected PBX can be logged into Splunk and database.
I just completed the implementation of AvayaCDR to support IP Office. If you are interested to have a trial, please download the latest version here. IP Office CDR data is a comma separated string, it is quite easy to parse it and send the data to database and Splunk. You are not required to type “add paramcdr” command one by one because I have prepared the command “import paramcdr ipoffice” for you. To configure the tool works with IP Office, please set the following parameters in the program console:
1 Feb 2015, AvayaCDR 1.5.10 just released. This version supports extended logging which IP address of the PBX and timestamp can be logged in database and Splunk. Moreover, backup Splunk logging is supported. For more information, please refer to the support page.
30 Nov 2014, AvayaCDR 1.5.7 just released. This version better support of Charge Logging. Moreover, Names Lookup feature is supported so the extension name or caller name can be mapped and logged into database and Splunk. This version also fixed some minor bugs, please refer the Readme.txt and support page for detail information.
Because the date of the two release is too close, I place the two release notes together.
7 Nov 2014, AvayaCDR 1.5.6 just released. This version supports multiple combination of patter and matching value definition in the charge rate table, it allows call rate definition for same calling pattern but on different outgoing trunks. Moreover, this release fixed conversion 5 bytes sec-dur to seconds problem. For details, please refer to the support page.
4 Nov 2014, AvayaCDR 1.5.5 just released. This version can import archived cdr data to database and Splunk. Moreover, this release change the license module so that temp license can be arranged. For details, please refer to the support page.