XML CDR unpredictable ?
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
Did you try just having mod_xml_cdr log out to files on the local system to see if you are experiencing the same issues or not? -- Yossi Neiman On 03/26/2015 01:48 PM, Sharath Kumar 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 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 http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Okay I tried doing that. It did not create log file though. I assume you enable it by adding "log-dir" value="/var/log/freeswitch" in the xml_cdr.conf file. Or is there any other way to achieve this ? Thank you Yossi From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of I put the Who? in Mishehu Sent: Thursday, March 26, 2015 3:16 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] XML CDR unpredictable ? Did you try just having mod_xml_cdr log out to files on the local system to see if you are experiencing the same issues or not? -- Yossi Neiman On 03/26/2015 01:48 PM, Sharath Kumar 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
Are you logging b-leg CDRs as well as a-leg? On 26 March 2015 at 18:48, Sharath Kumar <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 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 http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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
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> 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] *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> 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 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 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 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 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 #freeswitch ☞ *http://freeswitch.org/g+ <http://freeswitch.org/g+>* ClueCon Weekly Development Call ☎ sip:888@conference.freeswitch.org ☎ +19193869900
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] 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
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] *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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: 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 http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Thanks Yossi. I will dig a little deeper and let you know. From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of I put the Who? in Mishehu Sent: Thursday, March 26, 2015 4:43 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] XML CDR unpredictable ? 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 _________________________________________________________________________ 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
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
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 <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> 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] *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> 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 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 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 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 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 #freeswitch ☞ *http://freeswitch.org/g+ <http://freeswitch.org/g+>*
ClueCon Weekly Development Call
☎ sip:888@conference.freeswitch.org ☎ +19193869900
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.orghttp://www.freeswitchsolutions.com
Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon....
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: 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 http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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
That sounds like a fun one to debug! Glad you found out what was up, has us all scratching our heads on this one. On Mon, Mar 30, 2015 at 4:21 PM, Sharath Kumar <Sharath.Kumar@mezocliq.com> wrote:
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> 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 <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> 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] *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> 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 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 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 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 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 #freeswitch ☞ *http://freeswitch.org/g+ <http://freeswitch.org/g+>*
ClueCon Weekly Development Call
☎ sip:888@conference.freeswitch.org ☎ +19193869900
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://confluence.freeswitch.org
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: 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 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 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 http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- *Brian West* brian@freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com ClueCon 2015 Call for Speakers <https://www.cluecon.com/call-for-speakers/> | Register <https://freeswitch.com/cart.php?gid=1> TODAY! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
participants (5)
-
Anthony Minessale
-
Brian West
-
I put the Who? in Mishehu
-
Sharath Kumar
-
Steven Ayre