[SR-Users] Send 407 for Invite

Daniel-Constantin Mierla miconda at gmail.com
Tue Sep 26 10:12:25 CEST 2017


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 at sipgate.de
> <mailto:damm at sipgate.de>> wrote:
>
>     Hello,
>
>     http://www.kamailio.net/docs/modules/5.0.x/modules/auth.html
>     <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 at gmail.com <mailto:logeshwarangs at 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 at lists.kamailio.org <mailto:sr-users at lists.kamailio.org>
>     > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>     <https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users>
>     >
>
>     _______________________________________________
>     Kamailio (SER) - Users Mailing List
>     sr-users at lists.kamailio.org <mailto:sr-users at lists.kamailio.org>
>     https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>     <https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users>
>
>
>
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20170926/37c87777/attachment.html>


More information about the sr-users mailing list