Avi, I read the docs several times, but it wasn't working as expected. Now I figure it out. 

Following sentences would be usefull in wiki:
"If log-b-leg is set to false, then b_only doesn't override logging of b leg."

Now it works as exptected.

Thank you for your help.

2017-11-29 17:21 GMT+01:00 Avi Marcus <avi@avimarcus.net>:
Please read the docs:

https://freeswitch.org/confluence/display/FREESWITCH/Channel+Variables#ChannelVariables-process_cdr

Can be undefined or set to "false", "true", "a_only", "b_only"
false - indicates to not process the record.
true - or undefined indicates the default behavior which is to process all CDR records.
a_only - indicates to only process CDR records on the inbound leg of a call.
b_only - indicates to only process CDR records on the outbound leg of a call.
Usage:
<action application="set" data="process_cdr=a_only"/>

If you do a_only or false, that is supposed to override also logging the B leg, even if you set it with mod_xml_cdr.

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



--
Gregor Nanger
 
CTO
t./f.: 00386 (0) 7 6000 308/309 • m:. 00386 (0)41 756485
• Infomedia d.o.o. • Jerebova 3, Novo mesto, Slovenia
• www.infomedia.si