how big does need to get before it rotates, what's the size exactly? also how do I do it through dialplan via javascript?
On Fri, Dec 4, 2009 at 6:48 PM, Anthony Minessale < [email protected]> wrote: > 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 <[email protected]>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 >> [email protected] >> 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:[email protected] <msn%[email protected]> > GTALK/JABBER/PAYPAL:[email protected]<paypal%[email protected]> > IRC: irc.freenode.net #freeswitch > > FreeSWITCH Developer Conference > sip:[email protected] <sip%[email protected]> > iax:[email protected]/888 > googletalk:[email protected]<googletalk%3aconf%[email protected]> > pstn:213-799-1400 > > _______________________________________________ > FreeSWITCH-users mailing list > [email protected] > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > >
_______________________________________________ FreeSWITCH-users mailing list [email protected] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
