You can use :
is_ip_rfc1918(variable)
--------------------------------
Ángel Elena Medina _o)
craem(a)craem.net / \\
http://diablo.craem.net _(___V
@craem_
www.linkedin.com/in/angel-elena-medina
--------------------------------
Kopano Webapp.
-----Original message-----
From: Juha Heinanen <jh(a)tutpro.com>
Sent: Wednesday 18th November 2020 10:34
To: miconda(a)gmail.com
Cc: Kamailio (SER) - Users Mailing List <sr-users(a)lists.kamailio.org>rg>;
users(a)lists.kamailio.org
Subject: Re: [SR-Users] utility function to check if ip address is private?
But these could be used:
detailed_ip_type (ip, result)
detailed_ipv4_type (ip, result)
detailed_ipv6_type (ip, result)
-- Juha
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users