<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Actually , some user defined variables like huting attempt ,customer and
vendor names I define in dialplan. The solution to make join with uuid
is bit complicated and seem to require bit efforts like pushing in to
mysql and then make join. Even then the variables only appears according
to successful or last bridge attempt. <br><br>On Sun, Jun 17, 2012 at 10:15 PM, Avi Marcus <span dir="ltr"><<a href="mailto:avi@avimarcus.net" target="_blank">avi@avimarcus.net</a>></span> wrote:<br>Oh that's what you meant.<div>If it's in leg A, why do you expect it to be in Leg B CDR?</div><div><br></div><div>That said, there's an option to let you do that: <a href="http://wiki.freeswitch.org/wiki/Variable_copy_xml_cdr" target="_blank">http://wiki.freeswitch.o<wbr>rg/wiki/Variable_copy_xml_cdr</a> <wbr>but I've never tried it.</div><span><font color="#888888">
</font></span><span><font color="#888888"><br clear="all"><div dir="ltr"><span style="font-family:Verdana,Arial,Helvetica,sans-serif"><span style="font-size:small">-Avi</span></span></div>
<br><br></font></span><div><div>On Sun, Jun 17, 2012 at 7:27 PM, awais nazir <span dir="ltr"><<a href="mailto:awais-nazeer@hotmail.com" target="_blank">awais-nazeer@hotmail.com</a>></span> wrote:<br></div></div><div><div>
<div><div dir="ltr">
<br>I will attempt get reply again, the channel variable being set in dialplan are seen in A leg cdr but <b>not </b>in B leg cdr, can somebody help ?<br><div><br><br></div><div><div><div>
</div><hr>From: <a href="mailto:awais-nazeer@hotmail.com" target="_blank">awais-nazeer@hotmail.com</a><br>To: <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswi<wbr>tch.org</a><br>
Subject: Re: [Freeswitch-users] freeswitch to write cdr after every bridge attempt (failed or successful<br>Date: Sat, 16 Jun 2012 23:07:14 +0500</div><div><div><br><br>
<div dir="ltr">
Hello <br><br>Thanks enabling leg B is certainly giving expected results
but it's now showing up few variables including some user defined
variables defined in the dialplan being executed. This problem did not
exist in default enabled leg A.<br>
<br><br><br><div>On Fri, Jun 15, 2012 at 6:51 PM, Avi Marcus <span dir="ltr"><<a href="mailto:avi@avimarcus.net" target="_blank">avi@avimarcus.net</a>></span> wrote:<br><blockquote style="border-left:1px #ccc solid;padding-left:1ex">
By default, the modules for logging only log the A leg of the call.<br>
You can turn on b-leg logging in whichever module you are using for<br>
call logs. Do note you'll have to reconstruct the call then, based on<br>
which is the A-leg and which is B leg, and using bridge_uuid,<br>
signal_bond or last_bridge_to of the B leg (whichever is set) to see<br>
which A leg it came from.<br>
<br>
(Also note on enterprise originates: they are reported as leg A in<br>
xml_cdr and need to be tied using the variable:<br>
ent_originate_aleg_uuid)<br>
<br>
This kind of "advanced" CDR handling should probably be wikified...<br>
<br>
-Avi<br>
<div><div><br>
<br>
On Fri, Jun 15, 2012 at 4:17 PM, awais nazir <<a href="mailto:awais-nazeer@hotmail.com" target="_blank">awais-nazeer@hotmail.com</a>> wrote:<br>
> Hi<br>
><br>
> I am trying to use following context to get failover gateways working<br>
><br>
> <action application="set" data="hangup_after_bridge=true<wbr>"/><br>
> <action application="bridge"<br>
> data="sofia/local_profile/<a href="mailto:1111@example1.company.com" target="_blank">1111<wbr>@example1.company.com</a>" /><br>
> <action application="bridge"<br>
> data="sofia/local_profile/<a href="mailto:1111@example2.company.com" target="_blank">1111<wbr>@example2.company.com</a>" /><br>
><br>
> if call on first gateway fails , call connection is attempted on second<br>
> gateway but FS is writing only one CDR.How can it write CDR on every bridge<br>
> attempt.<br>
><br>
> BR<br>
> --waisee<br>
</div></div></blockquote></div>                                            </div></div></div></div>                                            </div></div>
<br></div></div>______________________________<div><wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions<wbr>.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
</div>                                            </div></body>
</html>