[Freeswitch-users] Generate cdrs

Anthony Minessale anthony.minessale at gmail.com
Fri Dec 4 15:48:21 PST 2009

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.

On Thu, Dec 3, 2009 at 4:33 PM, Mouncif Benniane <mouncifbb at gmail.com>wrote:

> 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20091204/98c28996/attachment-0002.html 

More information about the FreeSWITCH-users mailing list