<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix"><tt>You can achieve this by using acc
        module and the CDR[1] flag, as well as setting the aaa_flag[2].<br>
        If you really want to send a message to the Radius server, see
        the acc_aaa_request() function[3].<br>
        <br>
        [1]
        <a class="moz-txt-link-freetext" href="http://www.opensips.org/html/docs/modules/1.12.x/acc#id295374">http://www.opensips.org/html/docs/modules/1.12.x/acc#id295374</a><br>
        [2]
        <a class="moz-txt-link-freetext" href="http://www.opensips.org/html/docs/modules/1.12.x/acc#id294452">http://www.opensips.org/html/docs/modules/1.12.x/acc#id294452</a><br>
        [3]
        <a class="moz-txt-link-freetext" href="http://www.opensips.org/html/docs/modules/1.12.x/acc#id295543">http://www.opensips.org/html/docs/modules/1.12.x/acc#id295543</a><br>
        <br>
        Best regards,<br>
      </tt>
      <pre class="moz-signature" cols="72">Răzvan Crainea
OpenSIPS Solutions
<a class="moz-txt-link-abbreviated" href="http://www.opensips-solutions.com">www.opensips-solutions.com</a></pre>
      On 12/18/2014 02:07 PM, Kalala Alexander wrote:<br>
    </div>
    <blockquote cite="mid:55331418904465@web3h.yandex.ru" type="cite">
      <div>Yes I can.</div>
      <div> </div>
      <div>if(is_method("INVITE")){<br>
        create_dialog("B"); <br>
        $DLG_timeout = 6;<br>
        xlog("L_NOTICE"," DIALOG $DLG_timeout sec\n"); <br>
        }<br>
        <br>
        <br>
        After the break (BYE) I need to send a packet to STOP Radius
        (Billing) server.<br>
        <br>
        radius_send_acct("stop");</div>
      <div> </div>
      <div>18.12.2014, 14:56, "Răzvan Crainea"
        <a class="moz-txt-link-rfc2396E" href="mailto:razvan@opensips.org">&lt;razvan@opensips.org&gt;</a>:</div>
      <blockquote type="cite">
        <div bgcolor="#FFFFFF">
          <div>Can you please tell us in words what you are trying to
            achieve?<br>
            <br>
            Best regards,<br>
            <pre>Răzvan Crainea
OpenSIPS Solutions
<a moz-do-not-send="true" href="http://www.opensips-solutions.com/">www.opensips-solutions.com</a></pre>
            On 12/18/2014 12:20 PM, Kalala Alexander wrote:</div>
          <blockquote cite="mid:2036511418898047@web29g.yandex.ru"
            type="cite">
            <div>How to implement this feature in openSIPS?</div>
            <div> </div>
            <div>event_route[tm:local-request] {<br>
              xlog("L_INFO", "event_route $rm\n");<br>
              if(is_method("BYE"))<br>
              {<br>
              # Account BYE transactions<br>
              xlog("L_INFO", "event_received_BYE from $fU to $tU\n\n");<br>
              acc_rad_request();<br>
              <br>
              };<br>
              }</div>
            <div> </div>
            <div> </div>
            <div><em>-- <br>
                С уважением</em></div>
            <div><em>Инженер по телекоммуникациям </em></div>
            <div><em>Калала Александр </em></div>
            <div><em>vel: <span>375291146285</span></em></div>
            <div><em>life: <span>375256819996</span></em><em><br>
              </em></div>
            <div><em>skype: klistrod<br>
              </em></div>
            <div><em> </em></div>
            <div><em>VoIP Network Engineer<br>
                dCAP, CCNAVoice<br>
                Kalala Alexander</em></div>
            <div><a moz-do-not-send="true" href="http://callcenters.by/">http://callcenters.by/</a>
              <em></em></div>
            <div><a moz-do-not-send="true" href="http://skytel.by/">http://skytel.by/</a></div>
            <div><a moz-do-not-send="true" href="http://voiplab.by/">http://voiplab.by/</a></div>
            <div><a moz-do-not-send="true"
                href="http://asterisk-pbx.by/">http://asterisk-pbx.by/</a></div>
            <div> </div>
            <div><img moz-do-not-send="true"
                src="http://skytel.by/images/overview/logo.png"></div>
            <div> </div>
            <div> </div>
            <div> </div>
            <div> </div>
            <div> </div>
            <br>
            <br>
            <pre>_______________________________________________
Users mailing list
<a moz-do-not-send="true" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a moz-do-not-send="true" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
          </blockquote>
        </div>
        ,
        <p>_______________________________________________<br>
          Users mailing list<br>
          <a moz-do-not-send="true"
            href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
          <a moz-do-not-send="true"
            href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a></p>
      </blockquote>
      <div> </div>
      <div> </div>
      <div><em>-- <br>
          С уважением</em></div>
      <div><em>Инженер по телекоммуникациям </em></div>
      <div><em>Калала Александр </em></div>
      <div><em>vel: 375291146285</em></div>
      <div><em>life: 375256819996</em><em><br>
        </em></div>
      <div><em>skype: klistrod<br>
        </em></div>
      <div><em> </em></div>
      <div><em>VoIP Network Engineer<br>
          dCAP, CCNAVoice<br>
          Kalala Alexander</em></div>
      <div><a moz-do-not-send="true" href="http://callcenters.by/">http://callcenters.by/</a>
        <em></em></div>
      <div><a moz-do-not-send="true" href="http://skytel.by/">http://skytel.by/</a></div>
      <div><a moz-do-not-send="true" href="http://voiplab.by/">http://voiplab.by/</a></div>
      <div><a moz-do-not-send="true" href="http://asterisk-pbx.by/">http://asterisk-pbx.by/</a></div>
      <div> </div>
      <div><img moz-do-not-send="true"
          src="http://skytel.by/images/overview/logo.png"></div>
      <div> </div>
      <div> </div>
      <div> </div>
      <div> </div>
      <div> </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>