[SR-Users] Need to validate a IP address with subnet mask

Sunil More sunil.more64s at gmail.com
Wed Feb 10 06:40:49 CET 2016


Hi All,

I want to validate a IP address in kamailio for requests coming from
different IPs. I have browsed and found permissions module, however is
there a way where i can directly compare a source IP address to an address
stored in an avp and get a true or false value.

something like this

$si==192.168.2.0/24


Thanking You,
Sunil More
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160210/5c0c5360/attachment.html>


More information about the sr-users mailing list