set rotate-on-hup to false in the cdr_csv config file
then it will only rotate when the file gets too big
and also you can get a cdr with
session.generateXmlCdr() and dig out what you need or get it from variables but it will not be nearly as reliable as using the C ones because you need low level access to make sure you write to the disk properly from many threads etc.
is it possible to run a javascript at the end of dialplan to generate cdrs? because (mod_cdr_csv) is giving me hard time as it rotates Master file on machine reboots or shutdown signals.
javascript or LUA for preferences?
thank you
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org