[OpenSIPS-Users] $fd core variable in 1.5

Alex G greekman0000 at gmail.com
Fri May 8 22:43:47 CEST 2009


can u check an ip based from domain in this variable? when I try to
match a fqdn in this variable with an if statement, I get the proper
result. If it try to match an ip, I do not get a result


if($fd == "XXX.XXX.XXX.XXX") { do this;}    does not work

if($fd == "abc.com") {do this;}  does work

any thoughts?



More information about the Users mailing list