<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000">
<DIV>Hi,</DIV>
<DIV> </DIV>
<DIV>Thanks for your reply.</DIV>
<DIV> </DIV>
<DIV>I have already changed the parameter log-b-leg to true in xml_cdr.conf and
I am getting 2 records for the outbound calls and 1 for inbound. The issue is
that the app_log section in the a_leg cdr seems to be split across the a_leg cdr
and the b_leg cdr that “won” the race to be answered first. The second b_leg has
no duration as expected.</DIV>
<DIV> </DIV>
<DIV>Am I making sense?</DIV>
<DIV> </DIV>
<DIV>Regards,</DIV>
<DIV> </DIV>
<DIV>Stuart </DIV>
<DIV
style="FONT-SIZE: small; FONT-FAMILY: 'Calibri'; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; TEXT-DECORATION: none; DISPLAY: inline">
<DIV style="FONT: 10pt tahoma">
<DIV> </DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A
title=lloyd.aloysius@sunteltech.ca
href="mailto:lloyd.aloysius@sunteltech.ca">Lloyd Aloysius</A> </DIV>
<DIV><B>Sent:</B> Friday, August 02, 2013 5:45 PM</DIV>
<DIV><B>To:</B> <A title=freeswitch-users@lists.freeswitch.org
href="mailto:freeswitch-users@lists.freeswitch.org">FreeSWITCH Users Help</A>
</DIV>
<DIV><B>Subject:</B> Re: [Freeswitch-users] Call at once and
XML-CDR</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV
style="FONT-SIZE: small; FONT-FAMILY: 'Calibri'; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; TEXT-DECORATION: none; DISPLAY: inline"><FONT
face=verdana,sans-serif>Another note look into the caller_profile and
index. I think you have two indexes for this situation.In your logic insert the
records for the multiple indexes.</FONT>
<DIV><FONT face="verdana, sans-serif"><BR></FONT></DIV>
<DIV><FONT face="verdana, sans-serif">Lloyd<BR></FONT>
<DIV>
<DIV>
<DIV><FONT color=#cc6600 size=1
face="verdana, sans-serif"><B><BR></B></FONT></DIV>
<DIV><FONT color=#cc6600 size=1
face="verdana, sans-serif"><B></B></FONT> </DIV></DIV><BR><BR>
<DIV class=gmail_quote>On Fri, Aug 2, 2013 at 12:44 PM, Lloyd Aloysius <SPAN
dir=ltr><<A href="mailto:lloyd.aloysius@sunteltech.ca"
target=_blank>lloyd.aloysius@sunteltech.ca</A>></SPAN> wrote:<BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><FONT
face=verdana,sans-serif>With the default configuration switch only log a_leg.
</FONT>
<DIV><FONT face=verdana,sans-serif><BR></FONT></DIV>
<DIV><FONT face=verdana,sans-serif>You need to enable b_leg in
xml_cdr.conf.xml . Then you will see the two records in b_leg, with one get
billsec > 0 for the the answered call.</FONT><SPAN class=HOEnZb><FONT
color=#888888>
<DIV><FONT face=verdana,sans-serif><BR></FONT></DIV></FONT></SPAN>
<DIV><SPAN class=HOEnZb><FONT color=#888888><FONT
face=verdana,sans-serif>Lloyd<BR clear=all></FONT></FONT></SPAN>
<DIV>
<DIV class=h5>
<DIV><FONT face="verdana, sans-serif"><BR></FONT></DIV><BR><BR>
<DIV class=gmail_quote>On Fri, Aug 2, 2013 at 10:57 AM, Stuart Mills <SPAN
dir=ltr><<A href="mailto:stuart.mills3@btopenworld.com"
target=_blank>stuart.mills3@btopenworld.com</A>></SPAN> wrote:<BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<DIV dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'">
<DIV>Hi Avi,</DIV>
<DIV> </DIV>
<DIV>Thanks for your reply.</DIV>
<DIV> </DIV>
<DIV>Yeah I'm sure, I'm using ESL and if I dial a single number it performs
as expected, it’s literally only when I'm making 2 or more calls at once it
happens.</DIV>
<DIV> </DIV>
<DIV>Cheers,</DIV>
<DIV> </DIV>
<DIV>Stuart</DIV>
<DIV
style="FONT-SIZE: small; FONT-FAMILY: 'Calibri'; FONT-WEIGHT: normal; FONT-STYLE: normal; TEXT-DECORATION: none; DISPLAY: inline">
<DIV style="FONT: 10pt tahoma">
<DIV> </DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV><B>From:</B> <A title=avi@avimarcus.net href="mailto:avi@avimarcus.net"
target=_blank>Avi Marcus</A> </DIV>
<DIV><B>Sent:</B> Friday, August 02, 2013 3:24 PM</DIV>
<DIV><B>To:</B> <A title=freeswitch-users@lists.freeswitch.org
href="mailto:freeswitch-users@lists.freeswitch.org" target=_blank>FreeSWITCH
Users Help</A> </DIV>
<DIV><B>Subject:</B> Re: [Freeswitch-users] Call at once and
XML-CDR</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV
style="FONT-SIZE: small; FONT-FAMILY: 'Calibri'; FONT-WEIGHT: normal; FONT-STYLE: normal; TEXT-DECORATION: none; DISPLAY: inline">
<DIV>
<DIV>
<P>Are you sure these aren't b leg things?<BR>Do you have an example of your
dial plan and the logs?</P>
<P>-Avi</P>
<DIV class=gmail_quote>On Aug 2, 2013 5:09 PM, "Stuart Mills" <<A
href="mailto:stuart.mills3@btopenworld.com"
target=_blank>stuart.mills3@btopenworld.com</A>> wrote:<BR
type="attribution">
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<DIV dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'">
<DIV>Hi,</DIV>
<DIV> </DIV>
<DIV>Got a question regarding call at once combined with xml-cdr
logging.</DIV>
<DIV> </DIV>
<DIV>The problem I seem to get is when I try sending calls to 2
destinations and 1 call gets answered, so that wins the race, the xml-cdr
logging seems to be a little confused. In the app_log I’m getting logging
up to the point of the dial string, then nothing after that for the a-leg.
What seems to happen is the rest of the app_log gets written to the cdr
file of the bleg that answered the call first.</DIV>
<DIV> </DIV>
<DIV>Is this by design or a bug in the xml-cdr logging?</DIV>
<DIV> </DIV>
<DIV>Thanks,</DIV>
<DIV><BR>Stuart</DIV></DIV></DIV></DIV><BR>_________________________________________________________________________<BR>Professional
FreeSWITCH Consulting Services:<BR><A
href="mailto:consulting@freeswitch.org"
target=_blank>consulting@freeswitch.org</A><BR><A
href="http://www.freeswitchsolutions.com"
target=_blank>http://www.freeswitchsolutions.com</A><BR><BR>FreeSWITCH-powered
IP PBX: The CudaTel Communication Server<BR><A
href="http://www.cudatel.com"
target=_blank>http://www.cudatel.com</A><BR><BR>Official FreeSWITCH
Sites<BR><A href="http://www.freeswitch.org"
target=_blank>http://www.freeswitch.org</A><BR><A
href="http://wiki.freeswitch.org"
target=_blank>http://wiki.freeswitch.org</A><BR><A
href="http://www.cluecon.com"
target=_blank>http://www.cluecon.com</A><BR><BR>FreeSWITCH-users mailing
list<BR><A href="mailto:FreeSWITCH-users@lists.freeswitch.org"
target=_blank>FreeSWITCH-users@lists.freeswitch.org</A><BR><A
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target=_blank>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A><BR>UNSUBSCRIBE:<A
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target=_blank>http://lists.freeswitch.org/mailman/options/freeswitch-users</A><BR><A
href="http://www.freeswitch.org"
target=_blank>http://www.freeswitch.org</A><BR><BR></BLOCKQUOTE></DIV></DIV></DIV>
<HR>
<DIV>_________________________________________________________________________<BR>Professional
FreeSWITCH Consulting Services:<BR><A
href="mailto:consulting@freeswitch.org"
target=_blank>consulting@freeswitch.org</A><BR><A
href="http://www.freeswitchsolutions.com"
target=_blank>http://www.freeswitchsolutions.com</A><BR><BR>FreeSWITCH-powered
IP PBX: The CudaTel Communication Server<BR><A href="http://www.cudatel.com"
target=_blank>http://www.cudatel.com</A><BR><BR>Official FreeSWITCH
Sites<BR><A href="http://www.freeswitch.org"
target=_blank>http://www.freeswitch.org</A><BR><A
href="http://wiki.freeswitch.org"
target=_blank>http://wiki.freeswitch.org</A><BR><A
href="http://www.cluecon.com"
target=_blank>http://www.cluecon.com</A><BR><BR>FreeSWITCH-users mailing
list<BR><A href="mailto:FreeSWITCH-users@lists.freeswitch.org"
target=_blank>FreeSWITCH-users@lists.freeswitch.org</A><BR><A
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target=_blank>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A><BR>UNSUBSCRIBE:<A
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target=_blank>http://lists.freeswitch.org/mailman/options/freeswitch-users</A><BR><A
href="http://www.freeswitch.org"
target=_blank>http://www.freeswitch.org</A><BR></DIV></DIV></DIV></DIV></DIV><BR>_________________________________________________________________________<BR>Professional
FreeSWITCH Consulting Services:<BR><A
href="mailto:consulting@freeswitch.org"
target=_blank>consulting@freeswitch.org</A><BR><A
href="http://www.freeswitchsolutions.com"
target=_blank>http://www.freeswitchsolutions.com</A><BR><BR>FreeSWITCH-powered
IP PBX: The CudaTel Communication Server<BR><A href="http://www.cudatel.com"
target=_blank>http://www.cudatel.com</A><BR><BR>Official FreeSWITCH
Sites<BR><A href="http://www.freeswitch.org"
target=_blank>http://www.freeswitch.org</A><BR><A
href="http://wiki.freeswitch.org"
target=_blank>http://wiki.freeswitch.org</A><BR><A
href="http://www.cluecon.com"
target=_blank>http://www.cluecon.com</A><BR><BR>FreeSWITCH-users mailing
list<BR><A href="mailto:FreeSWITCH-users@lists.freeswitch.org"
target=_blank>FreeSWITCH-users@lists.freeswitch.org</A><BR><A
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target=_blank>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A><BR>UNSUBSCRIBE:<A
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target=_blank>http://lists.freeswitch.org/mailman/options/freeswitch-users</A><BR><A
href="http://www.freeswitch.org"
target=_blank>http://www.freeswitch.org</A><BR><BR></BLOCKQUOTE></DIV>
<DIV> </DIV></DIV></DIV></DIV></DIV></BLOCKQUOTE></DIV>
<DIV> </DIV></DIV></DIV>
<P>
<HR>
_________________________________________________________________________<BR>Professional
FreeSWITCH Consulting
Services:<BR>consulting@freeswitch.org<BR>http://www.freeswitchsolutions.com<BR><BR>FreeSWITCH-powered
IP PBX: The CudaTel Communication
Server<BR>http://www.cudatel.com<BR><BR>Official FreeSWITCH
Sites<BR>http://www.freeswitch.org<BR>http://wiki.freeswitch.org<BR>http://www.cluecon.com<BR><BR>FreeSWITCH-users
mailing
list<BR>FreeSWITCH-users@lists.freeswitch.org<BR>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<BR>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<BR>http://www.freeswitch.org<BR></DIV></DIV></DIV></BODY></HTML>