Brett Nemeroff wrote:
> Hey All,
> I can't seem to get the format right here:
> $rU = $(rU{s.substr,$avp(s:nprefixlen),0});
This is possible with $var(...)s. Not sure about AVPs. I use it, it
works for me.
Now, what doesn't work is using nested transformations or arithmetical
operations on numerical transformation values. They won't be evaluated
properly. Have to assign them to an outside variable first. For
instance, can't do something like:
$(fU{s.substr,fU{s.len} - 10,10})
--
Alex Balashov
Evariste Systems
Web : http://www.evaristesys.com/
Tel : (+1) (678) 954-0670
Direct : (+1) (678) 954-0671
Mobile : (+1) (678) 237-1775
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users