[OpenSER-Users] Loading user preferences using avp_load_radius

Juha Heinanen jh at tutpro.com
Sat Jun 21 09:16:18 CEST 2008


Ruchir writes:

 > I have a problem. I use avp_load_radius to load caller or callee preferences
 > and use them. But when I do call forwarding, it will load original caller's
 > preferences for further processing instead of the user who has configured
 > call forwarding. Ideally we should load the preferences of the user who
 > forwarded the call as caller preferences. We can do this using avp_db_load
 > but I think there should be provision in avp_load_radius as well. Currently
 > it supports "caller", "callee" & "digest". I think it should support
 > parameters same as avp_db_load. Let me know your thoughts about this.

i agree with you.  avp_load_radius should take a pvar param and load
avps of that user.  

also, i don't like prefixing of avp names with caller_ or callee_,
because that would mean that avp names must be strings.  because there
is two different service types (caller_service_type and
callee_service_type), radius server can take care of the prefixing if
some user wants that.

submit a feature request and i'll take care of it after 1.4 comes out.

-- juha




More information about the sr-users mailing list