Hi, Terrance!
No, OpenSIPS does not provide such function or variable afaik.
However, probably you need to test against a limited range of private
addresses, so you can simply check a subclass, something like $dd =~
"192\.168\."
Best regards,
Răzvan Crainea
OpenSIPS Solutions
www.opensips-solutions.com
On 03/08/2015 03:25 AM, Terrance Devor wrote:
Hello Everyone,
Our opensips is in a nat'ed environment , and we need a way to test if the
destination ip (ie, where the next message is going to be sent) is
public or
private. Is there a variable, or even better a function that can test
for this.
Kind Regards,
Terrance
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users