<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hello,</p>
    <p>a rather safe bet is using auth_challenge() for any SIP request
      that you want to authenticate. For invite it will send 407:</p>
    <p>  -
<a class="moz-txt-link-freetext" href="https://kamailio.org/docs/modules/devel/modules/auth.html#auth.f.auth_challenge">https://kamailio.org/docs/modules/devel/modules/auth.html#auth.f.auth_challenge</a><br>
    </p>
    It is used also in the default kamailio.cfg, so that's a good
    example of how to use it.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 26.09.17 10:01, Logeshwaran G wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CALa2Qa8NNWzEfAq+smmHPr-oop0Pg8A6+Em51MNLsTOd7wBSzw@mail.gmail.com">
      <div dir="ltr">Got it, Thanks a lot<br>
      </div>
      <div class="gmail_extra"><br clear="all">
        <div>
          <div class="gmail_signature" data-smartmail="gmail_signature">
            <div dir="ltr">
              <div>
                <div dir="ltr">
                  <div>
                    <div dir="ltr">
                      <div><br>
                        <br>
                        Thanks & Kind Regards,<br>
                      </div>
                      <b>Logeshwaran G</b><br>
                      <br>
                    </div>
                    <div><b>"Be Hungry, Stay Foolish"</b><br>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
        <br>
        <div class="gmail_quote">On Tue, Sep 26, 2017 at 1:19 PM,
          Sebastian Damm <span dir="ltr"><<a
              href="mailto:damm@sipgate.de" target="_blank"
              moz-do-not-send="true">damm@sipgate.de</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
            <br>
            <a
              href="http://www.kamailio.net/docs/modules/5.0.x/modules/auth.html"
              rel="noreferrer" target="_blank" moz-do-not-send="true">http://www.kamailio.net/docs/<wbr>modules/5.0.x/modules/auth.<wbr>html</a><br>
            <br>
            Sebastian<br>
            <div>
              <div class="h5"><br>
                On Tue, Sep 26, 2017 at 9:28 AM, Logeshwaran G <<a
                  href="mailto:logeshwarangs@gmail.com"
                  moz-do-not-send="true">logeshwarangs@gmail.com</a>>
                wrote:<br>
                > Hi,<br>
                ><br>
                > How to send the 407 proxy authentication for Invite
                message?<br>
                ><br>
                > Input Please<br>
                ><br>
                > Thanks & Kind Regards,<br>
                > Logeshwaran G<br>
                ><br>
                > "Be Hungry, Stay Foolish"<br>
                ><br>
              </div>
            </div>
            > ______________________________<wbr>_________________<br>
            > Kamailio (SER) - Users Mailing List<br>
            > <a href="mailto:sr-users@lists.kamailio.org"
              moz-do-not-send="true">sr-users@lists.kamailio.org</a><br>
            > <a
              href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users"
              rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.kamailio.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
            ><br>
            <br>
            ______________________________<wbr>_________________<br>
            Kamailio (SER) - Users Mailing List<br>
            <a href="mailto:sr-users@lists.kamailio.org"
              moz-do-not-send="true">sr-users@lists.kamailio.org</a><br>
            <a
              href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users"
              rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.kamailio.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
          </blockquote>
        </div>
        <br>
      </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 - <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
Kamailio World Conference - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
  </body>
</html>