[Freeswitch-users] XML CDR unpredictable ?

Brian West brian at freeswitch.org
Tue Mar 31 17:20:17 MSD 2015


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 at 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 at lists.freeswitch.org [mailto:
> freeswitch-users-bounces at 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 at 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 at lists.freeswitch.org [
> mailto:freeswitch-users-bounces at lists.freeswitch.org
> <freeswitch-users-bounces at 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 at 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 at lists.freeswitch.org [mailto:
> freeswitch-users-bounces at 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 at 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 at 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 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
>
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at 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 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       ♬ @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 at conference.freeswitch.org  ☎ +19193869900
>
>
>
>
>
> _________________________________________________________________________
>
> Professional FreeSWITCH Consulting Services:
>
> consulting at 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 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
>
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at 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 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
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at 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 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
>



-- 

*Brian West*
brian at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150331/b73b3784/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list