A freeswitch module for uploading cdr entries directly to MySQL.
Following libraries are required for this to work.
- libmysqlclient-dev
- mysql-client
Make this with freeswitch source code. (Clone this in <freeswitch src>/src/mod/event_handlers/mod_cdr_sql
)
Add following line in your modules.conf (/modules.conf)
event_handlers/mod_cdr_sql
Run following commands from your freeswitch source directory
sudo make mod_cdr_sql sudo make mod_cdr_sql-install
This will install the mod on your freeswitch.
Copy conf/autoload_configs/cdr_sql_csv.conf.xml
to <freeswitch install dir>/conf/autoload_configs/cdr_sql_csv.conf.xml
- Ashwin Jain (ashwinrkjain@gmail.com)
- Arif Amirani