[Kamailio-Users] IP Authentication

Uriel Rozenbaum uriel.rozenbaum at gmail.com
Thu Mar 11 18:49:46 CET 2010


Joao,

If you are going to use many hosts/subnets you can use permissions module.

I use it to permit SIP traffic and to avoid auth.

Rgds,
Uriel

On Thu, Mar 11, 2010 at 1:46 PM, Henning Westerholt <
henning.westerholt at 1und1.de> wrote:

> On Thursday 11 March 2010, Joao Gomes Pereira wrote:
> > Is is possible to implement IP authentication in Kamailio?
> > Does Kamailio has a manual to do that?
>
> Hi Joao,
>
> you refer to allowing certain peers to bypass your authentification logic
> in
> the script and setting up calls? Sure, this is possible. Just add some
> logic
> that checks for a certain IP address and then route the call as you like.
>
> something like:
>
> if (src_ip!=1.2.3.4/24) {
>  # do routing..
> } else {
>  # do normal authentification
> }
>
> you could also use PVs to do this, i think the right one is $si.
>
> Cheers,
>
> Henning
>
> _______________________________________________
> Kamailio (OpenSER) - Users mailing list
> Users at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20100311/703b02ce/attachment.htm>


More information about the sr-users mailing list