<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hello,</p>
    <p>which modules are you using for authentication? auth_db (and
      auth)?</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 13.02.18 12:34, Aidar Kamalov wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAPXdxKi+XXLT7eWWNeMyN7Z2YyDdr3+2Hebb5bLWFxCCdxxTig@mail.gmail.com">
      <div dir="ltr">Hello!
        <div>I have kamailio 5.0.5 and some cisco spa 50x phones.</div>
        <div>Sometime phone can't register to kamailio. REGISTER packets
          with right nonce,reponse, etc gets to kamailio but it
          response 401 Unauthorized with code -3 (user not found). After
          some attempts(or time, phone send register every 1200 seconds)
          or after reboot phone it register succesfully</div>
        <div><br>
        </div>
        <div>
          <div><br>
          </div>
          <div>
            <div>Feb 13 11:20:02 sipchel /usr/sbin/kamailio[110432]:
              NOTICE: <script>: AUTH: REGISTER [<a
                href="mailto:a470211a-b7d8faa5@172.16.3.1"
                moz-do-not-send="true">a470211a-b7d8faa5@172.16.3.1</a>]</div>
            <div>Feb 13 11:20:02 sipchel /usr/sbin/kamailio[110432]:
              NOTICE: <script>: AUTH: REGISTER FAILED (code: -5)
              fd=<a href="http://voip.xxxx.org" moz-do-not-send="true">voip.xxxx.org</a>,
              adu=<null>, aa=<null>, ar=<null>,
              au=<null>, ad=<null>, aU=<null>, Au=<a
                href="mailto:33855@voip.xxxx.org" moz-do-not-send="true">33855@voip.xxxx.org</a>
              [<a href="mailto:a470211a-b7d8faa5@172.16.3.1"
                moz-do-not-send="true">a470211a-b7d8faa5@172.16.3.1</a>]</div>
            <div>Feb 13 11:20:02 sipchel /usr/sbin/kamailio[110433]:
              NOTICE: <script>: AUTH: REGISTER [<a
                href="mailto:a470211a-b7d8faa5@172.16.3.1"
                moz-do-not-send="true">a470211a-b7d8faa5@172.16.3.1</a>]</div>
            <div>Feb 13 11:20:02 sipchel /usr/sbin/kamailio[110433]:
              NOTICE: <script>: AUTH: REGISTER FAILED (code: -3)
              fd=<a href="http://voip.xxxx.org" moz-do-not-send="true">voip.xxxx.org</a>,
              adu=sip:<a href="http://voip.xxxx.org"
                moz-do-not-send="true">voip.xxxx.org</a>, aa=MD5, ar=<a
                href="http://voip.xxxx.org" moz-do-not-send="true">voip.xxxx.org</a>,
              au=33855, ad=, aU=33855, Au=<a
                href="mailto:33855@voip.xxxx.org" moz-do-not-send="true">33855@voip.xxxx.org</a>
              [<a href="mailto:a470211a-b7d8faa5@172.16.3.1"
                moz-do-not-send="true">a470211a-b7d8faa5@172.16.3.1</a>]</div>
            <div>Feb 13 11:20:02 sipchel /usr/sbin/kamailio[110431]:
              NOTICE: <script>: AUTH: REGISTER [<a
                href="mailto:a470211a-b7d8faa5@172.16.3.1"
                moz-do-not-send="true">a470211a-b7d8faa5@172.16.3.1</a>]</div>
            <div>Feb 13 11:20:02 sipchel /usr/sbin/kamailio[110431]:
              NOTICE: <script>: AUTH: REGISTER FAILED (code: -3)
              fd=<a href="http://voip.xxxx.org" moz-do-not-send="true">voip.xxxx.org</a>,
              adu=sip:<a href="http://voip.xxxx.org"
                moz-do-not-send="true">voip.xxxx.org</a>, aa=MD5, ar=<a
                href="http://voip.xxxx.org" moz-do-not-send="true">voip.xxxx.org</a>,
              au=33855, ad=, aU=33855, Au=<a
                href="mailto:33855@voip.xxxx.org" moz-do-not-send="true">33855@voip.xxxx.org</a>
              [<a href="mailto:a470211a-b7d8faa5@172.16.3.1"
                moz-do-not-send="true">a470211a-b7d8faa5@172.16.3.1</a>]</div>
          </div>
          <div><br>
          </div>
          -- <br>
          <div class="gmail_signature">Aydar A. Kamalov</div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - March 5-7, 2018, Berlin - <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
Kamailio World Conference - May 14-16, 2018 - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
  </body>
</html>