<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    So there is not solution to fire additional custom CDR event? Ok,
    I'll look at XML CDR.<br>
    <br>
    <blockquote
      cite="mid:BANLkTi=gmgg-CJVJVNrK75QYWHWd7Md+rw@mail.gmail.com"
      type="cite">The XML CDR contains a history of the call, which
      might be more suited to you. One CDR but it'll contain everything
      you need. You can then choose to create 2 DB records if that's
      what you wish to do.<br>
      <br>
      Otherwise write all relevant variables to a CDR (if you're
      overwriting one in the dialplan set it to another variable first
      otherwise it won't be available any more when mod_cdr_csv writes
      it).<br>
      <br>
      -Steve<br>
      <br>
      <br>
      <div class="gmail_quote">On 19 May 2011 08:54, 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;">
          <div text="#000000" bgcolor="#ffffff"> Hello!<br>
            <br>
                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
            <div>
              <div class="h5"><br>
                 <br>
                <blockquote 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" target="_blank">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>
                          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><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"
                            target="_blank">boris@tagnet.ru</a>&gt;
                           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"
                            target="_blank">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"
                            target="_blank">boris@tagnet.ru</a>&gt;  
                           wrote:<br>
                          &gt;&gt;&gt;&gt;&gt; Hello!<br>
                          &gt;&gt;&gt;&gt;&gt;<br>
                          &gt;&gt;&gt;&gt;&gt;       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"
                            target="_blank">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"
                            target="_blank">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"
                            target="_blank">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;    Борис Коваленко<br>
                          &gt;&gt;    ЗАО "Тагнет"<br>
                          &gt;&gt;    тел. +7 (3435) 230001<br>
                          &gt;&gt;    факс +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"
                            target="_blank">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"
                            target="_blank">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>
                            Борис Коваленко<br>
                            ЗАО "Тагнет"<br>
                            тел. +7 (3435) 230001<br>
                            факс +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"
                            target="_blank">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><fieldset></fieldset>
_______________________________________________
FreeSWITCH-users mailing list
<a moz-do-not-send="true" href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<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>
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>
<a moz-do-not-send="true" href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
</pre>
                </blockquote>
                <br>
                <br>
                <pre cols="72">-- 
С уважением,
  Борис Коваленко
  ЗАО "Тагнет"
  тел. +7 (3435) 230001
  факс +7 (3435) 230005
</pre>
              </div>
            </div>
          </div>
          <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>
          <br>
        </blockquote>
      </div>
      <br>
      <div style="visibility: hidden; left: -5000px; position: absolute;
        z-index: 9999; padding: 0px; margin-left: 0px; margin-top: 0px;
        overflow: hidden; word-wrap: break-word; color: black;
        font-size: 10px; text-align: left; line-height: 130%;"
        id="avg_ls_inline_popup">
      </div>
      <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>
  </body>
</html>