Avi, Thank you for the info.  Here is my xml cdr.conf


<configuration name="xml_cdr.conf" description="CDRs via XML Post">
<settings>
<param name="prefix-a-leg" value="true"/>
<param name="log-b-leg" value="false"/>
<param name="url" value="http://A.B.C.D/ml_curl/index.php"/>
<param name="encode" value="true"/>
<param name="cred" value="U:P"/>
<param name="retries" value="2"/>
<param name="delay" value="10"/>
<param name="ignore-cacert-check" value="true"/>
</settings>
</configuration>

But cdr always processing for the b-leg. Do you know why ? I have the <param name="log-b-leg" value="false"/>

-Lloyd




 



On Sat, Oct 6, 2012 at 1:03 PM, Avi Marcus <avi@avimarcus.net> wrote:
Is it for enterprise originates :_: in the bridge? That marks them all as A-legs.

Otherwise, to mark things as A leg, modify the conf file for this option.

<!-- 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"/>
-Avi



On Sat, Oct 6, 2012 at 12:08 AM, Lloyd Aloysius <lloyd.aloysius@gmail.com> wrote:
Hi,

I am directly writing xml cdr into the database. In my configuration 

<param name="log-b-leg" value="false"/>

But freeswitch post 2 cdr records into the database.

1. How to avoid the b-leg

2. Is there a way to flag the records for a-leg or b-leg

Thanks in advanced.

Lloyd




_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.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

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.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