[Users] Re: [Devel] avpops updates
Dan Pascu
dan at ag-projects.com
Fri Feb 10 23:14:43 CET 2006
On Friday 10 February 2006 21:44, Daniel-Constantin Mierla wrote:
> - avps and hdrs pseudo-variables can have dynamic names:
> -$avp($pvar) refers to the avp having the name the value of $pvar
> -$hdr($pvar) refers to the hdr having the name the value of $pvar
It's not clear from this description, but can we now have something like
$avp($avp(s:myavp)) or $hdr($avp(i:615)) or is this limited to pseudo
variables?
For example would this work?
avp_write("foo", "$avp(s:myavp)");
avp_write("777", "$avp(s:foo)");
now would $avp($avp(s:myavp)) yield 777 ?
--
Dan
More information about the sr-users
mailing list