<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Boris,<div><br></div><div>so basically, you just need the second CDR to bill the customer, don't you ?</div><div>I suppose you don't bill for incoming calls, so the redirected call is the only one you care about, or am I missing something ?</div><div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><font class="Apple-style-span" face="'Helvetica Neue'"><font class="Apple-style-span" color="#1C00FF">David Ponzone &nbsp;</font><font class="Apple-style-span" color="#000000" size="3"><span class="Apple-style-span" style="font-size: 12px; ">Direction Technique</span></font></font></div><div><font class="Apple-style-span" face="'Helvetica Neue'"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 13px; ">email: <a href="mailto:david.ponzone@ipeva.fr">david.ponzone@ipeva.fr</a></span></font></font></div><div><font class="Apple-style-span" face="'Helvetica Neue'"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 13px; ">tel: &nbsp; &nbsp; &nbsp;01 74 03 18 97</span></font></font></div><div><font class="Apple-style-span" face="'Helvetica Neue'"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 13px; ">gsm: &nbsp; 06 66 98 76 34</span></font></font></div><div><font class="Apple-style-span" face="'Helvetica Neue'"><br></font></div><div><font class="Apple-style-span" color="#1C00FF" face="'Helvetica Neue'">Service Client<span class="Apple-converted-space">&nbsp;</span></font><font class="Apple-style-span" face="'Helvetica Neue'"><font class="Apple-style-span" color="#FF0000">IP</font></font><font class="Apple-style-span" color="#1C00FF" face="'Helvetica Neue'">eva</font></div><div><font class="Apple-style-span" color="#1C00FF" face="'Helvetica Neue'"><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: Helvetica; "><div><font class="Apple-style-span" face="'Helvetica Neue'"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 13px; ">tel: &nbsp; &nbsp; &nbsp;0811 46 26 26</span></font></font></div><div><font class="Apple-style-span" face="'Helvetica Neue'" size="3"><span class="Apple-style-span" style="font-size: 13px; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Arial; color: rgb(0, 34, 243); "><span style="text-decoration: underline; "><a href="BLOCKED::http://www.ipeva.fr/">www.ipeva.fr</a></span><span style="color: rgb(101, 104, 149); ">&nbsp; -&nbsp; &nbsp;<span style="color: rgb(0, 34, 243); text-decoration: underline; "><a href="BLOCKED::http://www.ipeva-studio.com/">www.ipeva-studio.com</a></span></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Arial; color: rgb(0, 34, 243); "><span class="Apple-style-span" style="text-decoration: underline; "><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Arial; color: rgb(0, 34, 243); "><span class="Apple-style-span"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-align: justify; font: normal normal normal 10px/normal Arial; color: rgb(192, 192, 192); "><i>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.&nbsp;</i><b><i>IPeva</i></b><i>&nbsp;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.</i></div><div style="text-decoration: underline; text-align: justify; "><font class="Apple-style-span" color="#C0C0C0"><i><br></i></font></div></span></div></span></font></div></span></font></div></div></span><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline">
</div>
<br><div><div>Le 19/05/2011 à 09:54, Boris Kovalenko a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite">
<div text="#000000" bgcolor="#ffffff">
    Hello!<br>
    <br>
    &nbsp;&nbsp;&nbsp; It is the way I try to do manual redirect. May be I do it wrong,
    so may be somebody tell me another way. So... I use only A-leg
    accounting records. One of my users set the redirect from its phone
    to cellular phone (PAP2T device). So, when call is arrived from PBX<br>
    and redirected by user, in A-leg CDR record I see only _original_
    information: pbx_caller_id_number and local_destination_number. And
    this is wrong for billing. With help of CDR I want to emulate two
    calls scenario:<br>
    First CDR record - PBX -&gt; user number<br>
    Second CDR record - user number -&gt; redirected number<br>
    &nbsp;<br>
    <blockquote cite="mid:BANLkTimPS=J5LdTWnrqDe7xqBBNvdo+53Q@mail.gmail.com" type="cite">I don't understand why you would need this.<br>
      <br>
      What would the difference between the variables be?<br>
      <br>
      -Steve<br>
      <br>
      <br>
      <br>
      <div class="gmail_quote">On 19 May 2011 04:12, Boris Kovalenko <span dir="ltr">&lt;<a moz-do-not-send="true" href="mailto:boris@tagnet.ru">boris@tagnet.ru</a>&gt;</span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
          0.8ex; border-left: 1px solid rgb(204, 204, 204);
          padding-left: 1ex;">Hello!<br>
          <br>
          &nbsp; &nbsp; I know :) But with one call I get only one CDR record for
          A leg and<br>
          one record for B leg. I need to get 2 records for A leg with
          two<br>
          different sets of variables. Is this possible?<br>
          <div>
            <div class="h5"><br>
              &gt; There's no 'standard' CDR. The XML CDR will contain
              everything,<br>
              &gt; including all variables. If you mean the default
              mod_cdr_csv, you can<br>
              &gt; customise which variables are saved in its
              configuration.<br>
              &gt;<br>
              &gt; -Steve<br>
              &gt;<br>
              &gt;<br>
              &gt;<br>
              &gt; On 18 May 2011 09:34, Boris Kovalenko&lt;<a moz-do-not-send="true" href="mailto:boris@tagnet.ru">boris@tagnet.ru</a>&gt;
              &nbsp;wrote:<br>
              &gt;&gt; Hello!<br>
              &gt;&gt;<br>
              &gt;&gt; I don't know what is asterisk fork_cdr :) I want
              to bridge two calls and<br>
              &gt;&gt; get 2 cdr records for A leg: one the standard
              cdr, and another with<br>
              &gt;&gt; variables I need.<br>
              &gt;&gt;<br>
              &gt;&gt;&gt; I suppose he's asking for asterisk analog of
              fork_cdr<br>
              &gt;&gt;&gt;<br>
              &gt;&gt;&gt; 2011/5/17 Michael Collins&lt;<a moz-do-not-send="true" href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>&gt;:<br>
              &gt;&gt;&gt;&gt; You want your Lua script to *send* an
              event? It most certainly can fire<br>
              &gt;&gt;&gt;&gt; events:<br>
              &gt;&gt;&gt;&gt; <a moz-do-not-send="true" href="http://wiki.freeswitch.org/wiki/Lua#Sending_an_Event" target="_blank">http://wiki.freeswitch.org/wiki/Lua#Sending_an_Event</a><br>
              &gt;&gt;&gt;&gt; I suppose the question is: what do you
              want to have happen when you fire an<br>
              &gt;&gt;&gt;&gt; event? What will receive this event?<br>
              &gt;&gt;&gt;&gt; -MC<br>
              &gt;&gt;&gt;&gt;<br>
              &gt;&gt;&gt;&gt; On Sat, May 14, 2011 at 12:59 AM, Boris
              Kovalenko&lt;<a moz-do-not-send="true" href="mailto:boris@tagnet.ru">boris@tagnet.ru</a>&gt; &nbsp;
              &nbsp;wrote:<br>
              &gt;&gt;&gt;&gt;&gt; Hello!<br>
              &gt;&gt;&gt;&gt;&gt;<br>
              &gt;&gt;&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; May I fire custom cdr event for
              a LUA script? I've read<br>
              &gt;&gt;&gt;&gt;&gt; <a moz-do-not-send="true" href="http://wiki.freeswitch.org/wiki/Event_list" target="_blank">http://wiki.freeswitch.org/wiki/Event_list</a>
              but haven't found cdr events.<br>
              &gt;&gt;&gt;&gt;&gt; Would You please point me to proper
              documentation or give an example?<br>
              &gt;&gt;&gt;&gt;&gt;<br>
              &gt;&gt;&gt;&gt;&gt; --<br>
              &gt;&gt;&gt;&gt;&gt; Regards,<br>
              &gt;&gt;&gt;&gt;&gt; Boris<br>
              &gt;&gt;&gt;&gt;&gt;<br>
              &gt;&gt;&gt;&gt;&gt;<br>
              &gt;&gt;&gt;&gt;&gt;<br>
              &gt;&gt;&gt;&gt;&gt;
              _______________________________________________<br>
              &gt;&gt;&gt;&gt;&gt; FreeSWITCH-users mailing list<br>
              &gt;&gt;&gt;&gt;&gt; <a moz-do-not-send="true" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
              &gt;&gt;&gt;&gt;&gt; <a moz-do-not-send="true" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
              &gt;&gt;&gt;&gt;&gt; UNSUBSCRIBE:<a moz-do-not-send="true" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
              &gt;&gt;&gt;&gt;&gt; <a moz-do-not-send="true" href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
              &gt;&gt;&gt;&gt;
              _______________________________________________<br>
              &gt;&gt;&gt;&gt; FreeSWITCH-users mailing list<br>
              &gt;&gt;&gt;&gt; <a moz-do-not-send="true" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
              &gt;&gt;&gt;&gt; <a moz-do-not-send="true" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
              &gt;&gt;&gt;&gt; UNSUBSCRIBE:<a moz-do-not-send="true" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
              &gt;&gt;&gt;&gt; <a moz-do-not-send="true" href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
              &gt;&gt;&gt;&gt;<br>
              &gt;&gt;&gt;&gt;<br>
              &gt;&gt;&gt;
              _______________________________________________<br>
              &gt;&gt;&gt; FreeSWITCH-users mailing list<br>
              &gt;&gt;&gt; <a moz-do-not-send="true" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
              &gt;&gt;&gt; <a moz-do-not-send="true" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
              &gt;&gt;&gt; UNSUBSCRIBE:<a moz-do-not-send="true" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
              &gt;&gt;&gt; <a moz-do-not-send="true" href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
              &gt;&gt;<br>
              &gt;&gt; --<br>
              &gt;&gt; С уважением,<br>
              &gt;&gt; &nbsp; &nbsp;Борис Коваленко<br>
              &gt;&gt; &nbsp; &nbsp;ЗАО "Тагнет"<br>
              &gt;&gt; &nbsp; &nbsp;тел. +7 (3435) 230001<br>
              &gt;&gt; &nbsp; &nbsp;факс +7 (3435) 230005<br>
              &gt;&gt;<br>
              &gt;&gt;<br>
              &gt;&gt; _______________________________________________<br>
              &gt;&gt; FreeSWITCH-users mailing list<br>
              &gt;&gt; <a moz-do-not-send="true" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
              &gt;&gt; <a moz-do-not-send="true" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
              &gt;&gt; UNSUBSCRIBE:<a moz-do-not-send="true" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
              &gt;&gt; <a moz-do-not-send="true" href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
              &gt;&gt;<br>
              &gt; _______________________________________________<br>
              &gt; FreeSWITCH-users mailing list<br>
              &gt; <a moz-do-not-send="true" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
              &gt; <a moz-do-not-send="true" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
              &gt; UNSUBSCRIBE:<a moz-do-not-send="true" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
              &gt; <a moz-do-not-send="true" href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
              <br>
              <br>
              --<br>
              С уважением,<br>
              &nbsp; Борис Коваленко<br>
              &nbsp; ЗАО "Тагнет"<br>
              &nbsp; тел. +7 (3435) 230001<br>
              &nbsp; факс +7 (3435) 230005<br>
              <br>
              <br>
              _______________________________________________<br>
              FreeSWITCH-users mailing list<br>
              <a moz-do-not-send="true" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
              <a moz-do-not-send="true" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
              UNSUBSCRIBE:<a moz-do-not-send="true" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
              <a moz-do-not-send="true" href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
            </div>
          </div>
        </blockquote>
      </div>
      <br>
      <pre wrap=""><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org/">http://www.freeswitch.org</a>
</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
С уважением,
  Борис Коваленко
  ЗАО "Тагнет"
  тел. +7 (3435) 230001
  факс +7 (3435) 230005
</pre>
  </div>

_______________________________________________<br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>http://www.freeswitch.org<br></blockquote></div><br></div></body></html>