[OpenSIPS-Users] Destination IP in the Branch and Reply Routes
Răzvan Crainea
razvan at opensips.org
Mon Mar 9 09:09:25 CET 2015
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
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150309/1e2feb43/attachment.htm>
More information about the Users
mailing list