Jan, Or you can use the wonderful ${direction} variable, which already does that, as inbound is a-leg and outbound is b-leg :) David Ponzone Direction Technique email: david.ponzone@ipeva.fr tel: 01 74 03 18 97 gsm: 06 66 98 76 34 Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr - www.ipeva-studio.com Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur. Le 15/10/2010 à 01:30, Jan Riedinger a écrit :
If you use FS for standard routing you can set for the inbound channel:
<action application="set" data="call_leg=aleg"/> <action application="export" data="nolocal:call_leg=bleg"/>
If you include "call_leg" in your cdr, you will know what leg it is.
BR Jan
Am 14.10.2010 22:13, schrieb Christian Hiller:
Hello,
A-leg and B-leg have the same channel variables. When enabling "ab" logging in cdr_csv, how can i distinguish the variables of both legs ?
Regards
Chris Powered by yellox.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
-- Jan Riedinger Phone : +49-30-39 73 19 66 Dipl.-Inf. | Managing Director Fax : +49-30-39 73 19 64 E-Mail: riedinger@sns.eu SNS Consult GmbH ICQ : 163-237-041 Südwestkorso 49a MSN : jan@sns-consult.de 14197 Berlin GERMANY Skype : Jan Riedinger
AG Charlottenburg - HRB 71973
_______________________________________________ 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