[Freeswitch-users] Generate cdrs

Mouncif Benniane mouncifbb at gmail.com
Wed Dec 9 20:06:02 PST 2009


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 <
anthony.minessale at gmail.com> 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 <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>
> pstn:213-799-1400
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20091209/700ffd8d/attachment-0002.html 


More information about the FreeSWITCH-users mailing list