I am logging both legs. I believe the default behavior is to generate cdrs for b-leg as well. I tried by adding “log-b-leg” to true and also by commenting the entry. Neither seemed to matter. If I do see a CDR I only see 1 request. I thought by enabling both “a” and “b” legs I should see 2 cdr request correct ? Thank you Steven From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Steven Ayre Sent: Thursday, March 26, 2015 3:40 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] XML CDR unpredictable ? Are you logging b-leg CDRs as well as a-leg? On 26 March 2015 at 18:48, Sharath Kumar <Sharath.Kumar@mezocliq.com<mailto:Sharath.Kumar@mezocliq.com>> wrote: All, I use mod_cdr_xml with xml_curl and receive messages on the backend PHP for call control logic. I am a little mystified by the XML CDR requests. I see in the logs CS_HANGUP to CS_REPORTING but I don’t always see the XML requests but I do see for dialplan so the call does succeed. I don’t understand why the CDRs XML requests are intermittent? Also, I changed the config to log the b-leg cdr as well, it didn’t seem to make any impact. So for each leg do I expect a CDR ? Also,if I do a redirect and then a bridge I only see the redirect app’s cdr and not the bridge apps. I need the bridge app’s cdr since It contains QOS metrics for that call. A little help would be appreciated. Thank you Sharath _________________________________________________________________________ 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