Hello,

a rather safe bet is using auth_challenge() for any SIP request that you want to authenticate. For invite it will send 407:

  - https://kamailio.org/docs/modules/devel/modules/auth.html#auth.f.auth_challenge

It is used also in the default kamailio.cfg, so that's a good example of how to use it.

Cheers,
Daniel

On 26.09.17 10:01, Logeshwaran G wrote:
Got it, Thanks a lot



Thanks & Kind Regards,
Logeshwaran G

"Be Hungry, Stay Foolish"

On Tue, Sep 26, 2017 at 1:19 PM, Sebastian Damm <damm@sipgate.de> wrote:
Hello,

http://www.kamailio.net/docs/modules/5.0.x/modules/auth.html

Sebastian

On Tue, Sep 26, 2017 at 9:28 AM, Logeshwaran G <logeshwarangs@gmail.com> wrote:
> Hi,
>
> How to send the 407 proxy authentication for Invite message?
>
> Input Please
>
> Thanks & Kind Regards,
> Logeshwaran G
>
> "Be Hungry, Stay Foolish"
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users



_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - www.asipto.com
Kamailio World Conference - www.kamailioworld.com