<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    maybe some other IMS guys are able to help more, but in general the
    authentication in handled in the configuration file of Kamailio by
    calling various auth functions. You have to spot where those are
    used and why is responding with 401. Eventually run it with debug=3
    in kamailio.cfg to get more verbosity of what it is done in the
    code.<br>
    <br>
    Also, it may help to check the emails from Franz Edler during
    January and February on this list, he provided configs and many
    details about building a prototype IMS platform. See next link and
    follow up discussion:<br>
    <br>
      -
    <a class="moz-txt-link-freetext" href="http://lists.sip-router.org/pipermail/sr-users/2016-January/091204.html">http://lists.sip-router.org/pipermail/sr-users/2016-January/091204.html</a><br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 03/02/16 11:58, Cristina Caridi
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAApim89h8Ty6jytWxy72saj6xoCc7DcVnUvdZPAtiEoDSbP2-A@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hello, 
        <div><br>
        </div>
        <div>I'm a new starter of Kamailio (SER). I am using the version
          4.4.0-dev6 in a Debian machine. </div>
        <div>I've configured all the IMS network elements, the FHoSS and
          also Boghe IMS/RCS client in a Windows machine. </div>
        <div><br>
        </div>
        <div>When an IMS user belonging to my network tries to register
          and IP SEC mechanism is enabled, the registration flow stops
          at 401 Unauthorized from S-CSCF -> I-CSCF -> P-CSCF
          -> client.</div>
        <div>The problem is that the HSS in MAA message does not send
          the SIP-Auth-Data-item that should be cointain the
          Confidentiality Key and the Integrity Key; so the client is
          not able to challenge the S-CSCF sending another REGISTER
          message. </div>
        <div><br>
        </div>
        <div>Do you have any suggestions about this? When IP SEC is
          disabled (by managing client options), the registration works
          well.</div>
        <div>Maybe is there any configuration at HSS level that i'm not
          considering?</div>
        <div><br>
        </div>
        <div>Thank you in advance for your help, </div>
        <div>Cristina  <br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.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-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Book: SIP Routing With Kamailio - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://miconda.eu">http://miconda.eu</a></pre>
  </body>
</html>