<font face="verdana,sans-serif">Avi, Thank you for the info. Here is my xml cdr.conf</font><div><font face="verdana, sans-serif"><br></font></div><div><br></div><div><div><font face="verdana, sans-serif"><div><configuration name="xml_cdr.conf" description="CDRs via XML Post"></div>
<div><settings></div></font></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><font face="verdana, sans-serif"><div><b><param name="prefix-a-leg" value="true"/></b></div>
</font></div><div><font face="verdana, sans-serif"><div><b><param name="log-b-leg" value="false"/></b></div></font></div><div><font face="verdana, sans-serif"><div><param name="url" value="<a href="http://A.B.C.D/ml_curl/index.php">http://A.B.C.D/ml_curl/index.php</a>"/></div>
</font></div><div><font face="verdana, sans-serif"><div><param name="encode" value="true"/></div></font></div><div><font face="verdana, sans-serif"><div><param name="cred" value="U:P"/></div>
</font></div><div><font face="verdana, sans-serif"><div><param name="retries" value="2"/></div></font></div><div><font face="verdana, sans-serif"><div><param name="delay" value="10"/></div>
</font></div><div><font face="verdana, sans-serif"><div><param name="ignore-cacert-check" value="true"/></div></font></div></blockquote><div><font face="verdana, sans-serif"><div></settings></div>
<div></configuration></div><div><br></div><div>But cdr always processing for the b-leg. Do you know why ? I have the <b><param name="log-b-leg" value="false"/></b></div><div><b><br></b></div>
<div><b>-</b>Lloyd</div></font><font face="verdana, sans-serif"><div><br></div></font><div><font face="verdana,sans-serif"><br></font></div><div><font face="verdana,sans-serif"><br clear="all"></font><font face="verdana, sans-serif"><div>
<br></div></font><div><font face="verdana, sans-serif" color="#cc6600" size="1"><b> <a href="http://www.sunteltech.ca/blog/" target="_blank"></a></b></font></div><br>
<br><br><div class="gmail_quote">On Sat, Oct 6, 2012 at 1:03 PM, Avi Marcus <span dir="ltr"><<a href="mailto:avi@avimarcus.net" target="_blank">avi@avimarcus.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Is it for enterprise originates :_: in the bridge? That marks them all as A-legs.<div><br></div><div>Otherwise, to mark things as A leg, modify the conf file for this option.</div><div><pre style="padding-top:1em;padding-right:1em;padding-bottom:1em;padding-left:1em;border-top-width:1px;border-right-width:1px;border-bottom-width:1px;border-left-width:1px;border-top-style:dashed;border-right-style:dashed;border-bottom-style:dashed;border-left-style:dashed;border-top-color:rgb(47,111,171);border-right-color:rgb(47,111,171);border-bottom-color:rgb(47,111,171);border-left-color:rgb(47,111,171);background-color:rgb(249,249,249);line-height:1.1em">
<!-- optional: if not present, all filenames are the uuid of the call -->
<!-- true or false if a leg files are prefixed "a_" -->
<param name="prefix-a-leg" value="true"/></pre><div dir="ltr"><span style="font-family:Verdana,Arial,Helvetica,sans-serif;font-size:small">-Avi<br></span></div><br>
<br><br><div class="gmail_quote"><div><div class="h5">On Sat, Oct 6, 2012 at 12:08 AM, Lloyd Aloysius <span dir="ltr"><<a href="mailto:lloyd.aloysius@gmail.com" target="_blank">lloyd.aloysius@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<font face="verdana,sans-serif">Hi,</font><div><font face="verdana,sans-serif"><br></font></div><div><font face="verdana,sans-serif">I am directly writing xml cdr into the database. In my configuration </font></div><div>
<font face="verdana,sans-serif"><br>
</font></div><div><font face="verdana,sans-serif"><param name="log-b-leg" value="false"/></font></div><div><font face="verdana,sans-serif"><br></font></div><div><font face="verdana,sans-serif">But freeswitch post 2 cdr records into the database.</font></div>
<div><font face="verdana,sans-serif"><br></font></div><div><font face="verdana,sans-serif">1. How to avoid the b-leg</font></div><div><font face="verdana,sans-serif"><br></font></div><div><font face="verdana,sans-serif">2. Is there a way to flag the records for a-leg or b-leg</font></div>
<div><font face="verdana,sans-serif"><br></font></div><div><font face="verdana,sans-serif">Thanks in advanced.</font></div><span><font color="#888888"><div><font face="verdana,sans-serif"><br></font></div>
<div><font face="verdana,sans-serif">Lloyd</font></div>
<div><br><font face="verdana, sans-serif"><div><span style="font-family:arial"><div><font face="verdana, sans-serif" color="#cc6600" size="1"><b><br></b></font></div></span></div></font><br>
</div>
</font></span><br></div></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>
<br></blockquote></div><br></div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">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">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><br></div></div></div>