[Users] avp concat
vallimamod abdullah
vabdulla at gmail.com
Sun Dec 17 23:43:06 CET 2006
Hello list,
I have 2 avps containing a username ($avp(s:usr))and a domain
($avp(s:domain)) retrieved from db and I would like to build an uri by
joining this 2 avps with an '@' in the middle.
I have checked avp_subst and avp_printf but it doesn't work as, for
what I have understood, they only accept pseudo variables (and not
other avps) for the replacement. For example,
avp_printf("$avp(s:uri)", "$avp(s:usr)@$avp(s:domain)")
is not valid.
Is there a (simple) way to achieve what I want (I am using version
1.1.0-notls) ?
Thank you,
-vma
.
More information about the sr-users
mailing list