nik, <br><br>please try the &quot;legs&quot; variable  <a href="http://www.nabble.com/CDR-accounting-question-td19212516.html">http://www.nabble.com/CDR-accounting-question-td19212516.html</a><br><br>/nandy<br>
<br><br><div class="gmail_quote">On Sun, Sep 6, 2009 at 6:40 PM, Nikolai Geordzhev <span dir="ltr">&lt;<a href="mailto:n.geordzhev@gmail.com">n.geordzhev@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi, <br>I`m trying to implement Call Forwarding in my FS setup. I set a user variable managing the type of forwarding (busy,no answer,unconditional) and the destination the phone is forwarded to:<br><br>&lt;user id=&#39;102&#39;&gt;<br>


     &lt;variables&gt;<br>     &lt;variable name=&#39;fwd_type&#39; value=&#39;unconditional&#39;/&gt;<br>     &lt;variable name=&#39;fwd_unconditional_number&#39; value=&#39;103&quot;/&gt;<br>     &lt;/variables&gt;<br>

&lt;/user&gt;<br>
<br>Then in my dialplan I check if the called user has ${fwd_type} set and if so I set the destination_number to ${fwd_unconditional_number}. After this operation I bridge the call to the new destination_number.<br>The issue in this scenario is that I get a cdr in which A (101) calls C(103) and I need to have two cdrs, one from A(101) to B(102) and one from B(102) to C(103).<br>


Does anyone know how can this be implemented.<br><br>10x,<br><font color="#888888">NG<br>
</font><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>