[Freeswitch-users] xml cdr help
Lloyd Aloysius
lloyd.aloysius at gmail.com
Sat Oct 6 21:48:50 MSD 2012
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
* <http://www.sunteltech.ca/blog/>*
On Sat, Oct 6, 2012 at 1:03 PM, Avi Marcus <avi at 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 at 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 at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>>
>>
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.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://wiki.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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121006/219d0d95/attachment-0001.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list