"ab" logging in cdr_csv
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
Christian, I am not sure I get your question perfectly. But when you enable "ab" loggin in CSV, you get one line per leg. If you use the default CSV format, it's not that obvious to distinguish both lines. The A-leg line will carry a value in ${uuid} and ${bleg_uuid} (this allows to know which B-leg was bridged to that A-leg). The B-leg line will carry a value in ${uuid} only. This mean if you want to locate the 2 lines corresponding to the same call, you have to find the lines with: ${bleg_uuid} of line 1 = ${uuid} of line 2 I hope this will clear things a bit for you. 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 14/10/2010 à 22:13, Christian Hiller a écrit :
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
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
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
participants (3)
-
Christian Hiller
-
David Ponzone
-
Jan Riedinger