[SR-Users] Kamailio 1.5.4 - IP addresses WhiteList

Juha Heinanen jh at tutpro.com
Wed Nov 17 11:45:59 CET 2010


Miguel Baptista writes:

> I want to enable pike module based on IP addresses. I mean ... I don't
> want to check if requests from some specific IP addresses trigged the
> Pike's threshold. but for all other IP addresses I want to check it.
> I was thinking about using some kind of IP addresses' whitelist. The
> userblacklist module has some whitelist but it's based on
> username/domain not IP addresses.
> 
> Can someone please give me some advice how to implement it properly. Is
> there any module that will allow me to do it properly?

for example, you can use permission module allow_source_address()
function (or something like that name) to check if the address is in
the set you don't want to pike on.

-- juha



More information about the sr-users mailing list