Thanks for the help guys. I had 2 freeswitches being load balanced from a Kamailio sbc. 1 freeswitch was correctly configured while the other although had the right configuration in xmlcurl /xmlcdr did not load cdr module in module.conf!! From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Steven Ayre Sent: Friday, March 27, 2015 6:39 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] XML CDR unpredictable ? If you have submitting to a web server enabled you'll want to set log-http-and-disk to true (the default is false). On 26 March 2015 at 20:42, I put the Who? in Mishehu <mishehu@freeswitch.org<mailto:mishehu@freeswitch.org>> wrote: Ok, so if you set the log dir path, you are not seeing any actual files in that path? There should be 1 xml file for each call channel that made it all the way to the CS_REPORTING state. If you do not see that, then I'd have to guess that there is something else in your configuration that is impacting this. If I am correct, then it would help if you would provide the config and the debug logs from the FS console or fs_cli. -- Yossi Neiman On 03/26/2015 03:18 PM, Sharath Kumar wrote: Of course. I am only talking about successful calls and with the voice path present. From: freeswitch-users-bounces@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org> [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Anthony Minessale Sent: Thursday, March 26, 2015 4:07 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] XML CDR unpredictable ? Only if you actually have 2 legs, a failed call where the number is wrong etc will only have 1 On Thu, Mar 26, 2015 at 2:59 PM, Sharath Kumar <Sharath.Kumar@mezocliq.com<mailto:Sharath.Kumar@mezocliq.com>> wrote: 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> [mailto: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 _________________________________________________________________________ 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 -- Anthony Minessale II ♬ @anthmfs ♬ @FreeSWITCH ♬ ☞ http://freeswitch.org/ ☞ http://cluecon.com/ ☞ http://twitter.com/FreeSWITCH ☞ irc.freenode.net<http://irc.freenode.net> #freeswitch ☞ http://freeswitch.org/g+ ClueCon Weekly Development Call ☎ sip:888@conference.freeswitch.org<mailto:sip%3A888@conference.freeswitch.org> ☎ +19193869900<tel:%2B19193869900> _________________________________________________________________________ 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