Try:
avp_printf("$avp(i:20)", "$avp(prefix)$ru");
avp_pushto("$ru","$avp(i:20)");
regards
klaus
Cseke Tamas wrote:
Hello,
avp_printf(dest, format)
"Prints the formatted string 'format' in the AVP 'dest'."
This function is used to set an avp, isn't it?
But how can i rewrite the uri with this avp?
the parameter of prefix, rewriteuri, seturi can't include pseudo-variables
avp_printf("uri", "$avp(s:prefix)"); just create a new avp
Thanks,
Tamas
Use avp_printf to construct the new URI from the
prefix and the old URI.
regards
klaus
Cseke Tamas wrote:
Hello,
We 'd like to prefix something depend on some kind of group
membership of users.
During radius authorization radius set an avp e.g SIP-AVP prefix:123
I 'd like to set Request-URI according to this avp, but
prefix("$avp(prefix)") don't work
the uri will be sip:$avp(prefix)12233@... :)
as i read pseudo variables is only enabled in xlog and some avpops
functions.
How can i solve this problem,
Another question about acc module
loadmodule "acc.so"
modparam("acc", "radius_flag", 3)
modparam("acc", "radius_missed_flag", 4)
route{
#...
setflag(3);
setflag(4)
#...
}
don't send accounting messages to radius, i must use acc_rad_request?
Thanks any help,
Tamas
_______________________________________________
Users mailing list
Users(a)openser.org
http://openser.org/cgi-bin/mailman/listinfo/users