Hi Victor,
I'm afraid it is not possible like that. But there is a bit ugly way to
do it :D :
$var(tmp) = $ru;
$ru = $avp(s:var_name);
if (uri==myself)
setsflag(20);
$ru = $var(tmp);
if (issflagset(20)) {
# do something
}
ugly, isn't it ? :(
regards,
bogdan
Victor Gamov wrote:
hi
is it possible to do following in config
if ( $avp(s:var_name) != myself ) {
# do something
}
var_name is AVP looking like "192.168.0.1"
If not -- how I can check that $avp(s:var_name) is not one of my
IP-address (without using DOMAIN or other module but by core only) ?
Thanks!