Well,
you can use eval module for that (until the function will be in the
core).
eval_push("$avp"); or eval_push("@select");
eval_oper("strlen");
eval_pop("$result"); or $result=(a)eval.pop[-1]
Beware UNTESTED :-D
Michal
Bogdan Pintea píše v Pá 29. 02. 2008 v 18:42 +0100:
Neither is supported, afaik. I've coded a function
to return the length
of string AVPs, but this kind of basic functionality should probably go
into core, along with the AVP overhaul.
Regards,
Bogdan.
Mike Trest - Personal wrote:
Hi,
How can I reference the type and length attributes of a variable (
@set or $avp) ? ? ?
..mike..
_______________________________________________
Serusers mailing list
Serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers