Hi All, I have solved that... I have located the json_cdr.conf.xml file from below path /usr/local/src/freeswitch/src/mod/event_handlers/mod_json_cdr/conf/autoload_configs/json_cdr.conf.xml and copied that to the INSTALLED_LOCATION/conf/autoload_configs/json_cdr.conf.xml after that load mod_json_cdr went successfull. Many thanks Bilal Abbasi On Tue, Dec 16, 2014 at 4:25 PM, Bilal Abbasi <bilaln018@gmail.com> wrote:
Hi All, I have successfully compiled mod_json_cdr but when i go to fs_cli and load mod_json_cdr i get the below error please help. Plus there is no file named json_cdr.conf in autoconfig directory. I think FS is unable to locate that file.
freeswitch@internal> load mod_json_cdr +OK Reloading XML -ERR [module load file routine returned an error]
freeswitch@internal> 2014-12-16 06:37:25.377189 [INFO] switch_time.c:1369 Timezone reloaded 530 definitions 2014-12-16 06:37:25.377189 [ERR] mod_json_cdr.c:598 Open of json_cdr.conf failed 2014-12-16 06:37:25.377189 [CRIT] switch_loadable_module.c:1447 Error Loading module /usr/local/freeswitch/mod/mod_json_cdr.so **Module load routine returned an error**
Regards Bilal Abbasi