<p>The Authentication-Info header is already supported by the ims_auth module. This pull requsts proposes an implementation for auth module.<br>
The Authentication-Info header is added in the function "post_auth" (if "add_authinfo_hdr" is configured.)<br>
Modules depending on "auth" are adapted slightly to offer the ha1 value to the function "post_auth".</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/kamailio/kamailio/pull/639'>https://github.com/kamailio/kamailio/pull/639</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>auth: add support for Authentication-Info header</li>
  <li>auth_db: add ha1 parameter in auth_api.post_auth</li>
  <li>auth_ephemeral: add ha1 parameter in auth_api.post_auth</li>
  <li>uid_auth_db: add ha1 parameter in auth_api.post_auth</li>
  <li>auth_radius: add NULL for ha1 parameter in auth_api.post_auth</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/kamailio/kamailio/pull/639/files#diff-0">modules/auth/api.c</a>
    (90)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/kamailio/kamailio/pull/639/files#diff-1">modules/auth/api.h</a>
    (4)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/kamailio/kamailio/pull/639/files#diff-2">modules/auth/auth_mod.c</a>
    (4)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/kamailio/kamailio/pull/639/files#diff-3">modules/auth/auth_mod.h</a>
    (1)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/kamailio/kamailio/pull/639/files#diff-4">modules/auth/challenge.c</a>
    (107)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/kamailio/kamailio/pull/639/files#diff-5">modules/auth/challenge.h</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/kamailio/kamailio/pull/639/files#diff-6">modules/auth/doc/auth_params.xml</a>
    (66)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/kamailio/kamailio/pull/639/files#diff-7">modules/auth/nonce.c</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/kamailio/kamailio/pull/639/files#diff-8">modules/auth/rfc2617.c</a>
    (4)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/kamailio/kamailio/pull/639/files#diff-9">modules/auth/rfc2617_sha256.c</a>
    (4)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/kamailio/kamailio/pull/639/files#diff-10">modules/auth_db/authorize.c</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/kamailio/kamailio/pull/639/files#diff-11">modules/auth_ephemeral/authorize.c</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/kamailio/kamailio/pull/639/files#diff-12">modules/auth_radius/authorize.c</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/kamailio/kamailio/pull/639/files#diff-13">modules/uid_auth_db/authorize.c</a>
    (4)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/kamailio/kamailio/pull/639.patch'>https://github.com/kamailio/kamailio/pull/639.patch</a></li>
  <li><a href='https://github.com/kamailio/kamailio/pull/639.diff'>https://github.com/kamailio/kamailio/pull/639.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly or <a href="https://github.com/kamailio/kamailio/pull/639">view it on GitHub</a><img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZW0d6zshN2FwHay3KjafljRnZ8e7ks5qFFWxgaJpZM4ImkRp.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/kamailio/kamailio/pull/639"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>