[OpenSIPS-Users] A few simple general question

Nick Khamis symack at gmail.com
Mon May 27 16:47:26 CEST 2013


Hello Bogdan

ru is exactly what I was looking for. Totally forgot about ru. What I
am trying to accomplish is the following:

if ru == local "domain name, cidr, or ip"
   set_advertised_address(local opensips ip address);
else
  set_advertised_address(pulibc opensips ip address);

Is there a core function in opensips that can return true or false for:
local cidr (192.168.2.0/24)
local domain names
local ip addresses

My last noob question for the day. After this, it's onto
"administrative" stuff.....

Kind Regards,

Nick.



More information about the Users mailing list