if i want to transfrom a value like this
$var(FROMIP) = "xxx.xxx.xxx.xxx"
some transformation to allow me to cut the ip after the 3rd "." (full stop)
im thinking something like {s.select,x,y}
but im not sure how to define i want to use the 3rd full stop instead of
the first,
if i say $(var(FROMIP){s.select,-1,.}) or $(var(FROMIP){s.select,0,.}) both
seperates at the first "."
the result should be something like
$var(SHORTIP) = "xxx.xxx.xxx"
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users