[OpenSIPS-Users] regex in if statement

Terrance Devor ter.devor at gmail.com
Thu Apr 16 04:29:29 CEST 2015


Hello Everyone,

Is it possible to do regex in conditional statements (ie, if....).
What I am trying to do is something like:

if($si=~"192\.168\.1\.*")

To get all internal IP address. Is this possible?

Terrance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150415/81d27a44/attachment.htm>


More information about the Users mailing list