I haven't mentioned this directly and to avoid any misunderstanding, my
suggestion means that $ will no longer be used to identify an avp alias.
On Saturday 11 February 2006 00:09, Dan Pascu wrote:
On Friday 10 February 2006 21:44, Daniel-Constantin
Mierla wrote:
What I have in mind is to use $something for pseudo variables like
before but unify the avp and avp alias notation, since an avp alias is
just another name for an existing avp. Thus we can have these:
$avp(i:nnn) - integer avp
$avp(s:some_name) - string avp with name 'some_name'
$avp(some_name) - if some_name is defined as an avp alias, use the
avp pointed by that alias, else lookup the string avp with the name
'some_name'
In short, anything not having a i: or s: in front of it should be first
looked up as an avp alias, but if that alias is not defined it should
be considered as the name of the string avp.
--
Dan