No its not possibly to limit how many fields you are getting. The xml and json CDRs are dump of the full call stack at call completion… if you don’t want some of the data, eliminate it at CDR Processing time. Speaking as someone that has had to handle 100s of millions (if not billions of CDRs) per month its not that big of a deal and the additional data there really comes in handy if you are trying to track down a problem after the fact From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Jurijs Ivolga Sent: Monday, January 18, 2016 7:43 AM To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Subject: Re: [Freeswitch-users] mod_format_cdr and mod_json_cdr are writing too much data Hi, Thank you for your answer! Maybe you can provide more detailed info how I can decrease json cdr? Currently I'm getting way too much data and almost all of them are not needed. I need just regular cdr stuff: to, from, billsec, call length, disposition, start, end, uuid, bleg_uuid. Is it possible to limit json just to 10-15 fields, because currently I'm getting around 500 fields of data for each call? With kind regards, Jurijs 2016-01-18 15:34 GMT+02:00 Sergey Safarov <s.safarov@gmail.com <mailto:s.safarov@gmail.com> >: You can split sip call to two sip calls with different dialplan context. For one dialplan set variable process_cdr <https://freeswitch.org/confluence/display/FREESWITCH/Channel+Variables> - instruction for this dialplan will not writed to cdr On Mon, Jan 18, 2016 at 3:23 PM, Jurijs Ivolga <jurij.ivo@gmail.com <mailto:jurij.ivo@gmail.com> > wrote: Hi, It looks like mod_format_cdr & mod_json_cdr are saving too much data, I'm getting around 10-20K for each call. Is it possible somehow to limit what data we would like to save with this modules? Something similar to mod_cdr_csv? In mod_cdr_csv you can set in template what data to save. Thank you! With kind regards, Jurijs _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto: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 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto: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