<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <tt>Hi Aleksey,<br>
      <br>
      Try do the a manual comparison:<br>
          if ($au != $fU)<br>
      <br>
      see <a class="moz-txt-link-freetext" href="http://www.opensips.org/Documentation/Script-CoreVar-1-11#toc7">http://www.opensips.org/Documentation/Script-CoreVar-1-11#toc7</a>
      <br>
      <br>
      <br>
      Regards,<br>
    </tt>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
    <div class="moz-cite-prefix">On 24.04.2015 17:35, Aleksey Fedorov
      wrote:<br>
    </div>
    <blockquote
cite="mid:CABCAhMG4vD-8J7zj+9t83K_ZS-19zASAa+ZQHKGn=8KcUTJ88g@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div><br>
          </div>
          Hi!<br>
          <br>
        </div>
        How to check To/From username against digest credentials if
        radius_send_auth() used instead of
        aaa_www_authorize/aaa_proxy_authorize.<br>
        <div><br>
          If I call db_check_to() after successful radius_send_auth()
          call I get this errors:<br>
          <br>
          Apr 24 14:02:28 sip-node1 /sbin/opensips[2653]:
          ERROR:uri:check_username: No authorized credentials found
          (error in scripts)<br>
          Apr 24 14:02:28 sip-node1 /sbin/opensips[2653]:
          ERROR:uri:check_username: Call {www,proxy}_authorize before
          calling check_* functions!<br>
          <br>
        </div>
        <div>When aaa_www_authorize/aaa_proxy_authorize is used all is
          OK.<br>
          But I need custom attributes send to RADIUS <span
            id="result_box" class="" lang="en"><span class="">therefore
              I need to use </span></span>radius_send_auth().<br>
          <br>
          --<br>
          <br>
        </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>