Hi,  

I been trying to find this in documentation but didn't mange. Sorry if I ask a 
question already answered.


I would like to have something like a static variable / define that is 
accessible outside and inside route{} allowing for having my IP's written only 
once in .cfg.

Something like this:
myIP="1.2.3.4"
listen=udp:<myIP>:5060


route{
…
if(dst_ip==<myIP>){
...  
}


...
}


Anything like this possible?

Thanks
Daniel Nihlen

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to