<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>Hi, Dragomir!<br>
      <br>
      Currently async operations are only available for requests, not
      for replies. In the onreply_route you can only use synchronous
      operations for now.<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>
    <div class="moz-cite-prefix">On 01/18/2017 03:45 PM, Dragomir
      Haralambiev wrote:<br>
    </div>
    <blockquote
cite="mid:CADzurOLmPCGbo6n1fNNDLV-qi5rUWOncAXjs2bmAmP0amASJfw@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>Hello,</div>
        <div><br>
        </div>
        <div>I have problem with async radius implementation.</div>
        <div>OS - CEntOs 7</div>
        <div>Opensips 2.2.2 - git hub from 15.01.2017</div>
        <div><br>
        </div>
        <div>Here pasrt of srcipt:</div>
        <div><br>
        </div>
        <div>onreply_route[outgoing] {</div>
        <div><span class="gmail-Apple-tab-span" style="white-space:pre">        </span>.....</div>
        <div><span class="gmail-Apple-tab-span" style="white-space:pre">        </span>if
          (t_check_status("200")) {</div>
        <div><span class="gmail-Apple-tab-span" style="white-space:pre">                </span>async(
          radius_send_auth("prepayout","prepayin"), return_prepay );</div>
        <div><span class="gmail-Apple-tab-span" style="white-space:pre">        </span>}</div>
        <div>}</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>route[return_prepay] {</div>
        <div><span class="gmail-Apple-tab-span" style="white-space:pre">        </span>xlog("L_ERR",
          "Radius return $rc");</div>
        <div>} # end route return_prepay</div>
        <div><br>
        </div>
        <div>Here is part of Opensips log level 6:</div>
        <div><br>
        </div>
        <div> /usr/sbin/opensips[21026]: DBG:tm:update_totag_set: new
          totag</div>
        <div> /usr/sbin/opensips[21026]: DBG:tm:insert_timer_unsafe:
          [2]: 0x7fee75f19bd0 (36)</div>
        <div> /usr/sbin/opensips[21026]: DBG:tm:run_trans_callbacks:
          trans=0x7fee75f19b50, callback type 64, id 0 entered</div>
        <div> /usr/sbin/opensips[21005]: DBG:core:handle_sigs: status =
          11</div>
        <div> /usr/sbin/opensips[21005]: <a class="moz-txt-link-freetext" href="INFO:core:handle_sigs">INFO:core:handle_sigs</a>: child
          process 21026 exited by a signal 11</div>
        <div> /usr/sbin/opensips[21005]: <a class="moz-txt-link-freetext" href="INFO:core:handle_sigs">INFO:core:handle_sigs</a>: core was
          not generated</div>
        <div> /usr/sbin/opensips[21005]: <a class="moz-txt-link-freetext" href="INFO:core:handle_sigs">INFO:core:handle_sigs</a>:
          terminating due to SIGCHLD</div>
        <div> /usr/sbin/opensips[21024]: <a class="moz-txt-link-freetext" href="INFO:core:sig_usr">INFO:core:sig_usr</a>: signal 15
          received</div>
        <div> /usr/sbin/opensips[21011]: <a class="moz-txt-link-freetext" href="INFO:core:sig_usr">INFO:core:sig_usr</a>: signal 15
          received</div>
        <div> /usr/sbin/opensips[21018]: <a class="moz-txt-link-freetext" href="INFO:core:sig_usr">INFO:core:sig_usr</a>: signal 15
          received</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>Where is problem?</div>
        <div><br>
        </div>
        <div>Best regards,</div>
        <div>Dragomir</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>