OpenSER module avp_radius

avp_radius module allows loading of user's attributes into AVPs from RADIUS server. User's name and domain can be based on From URI, Request URI, or authenticated credentials.

The module assumes that Radius returns the AVPs as values of reply attribute SIP-AVP. Its value must be a string of form:

  • value = SIP_AVP_NAME SIP_AVP_VALUE
  • SIP_AVP_NAME = STRING_NAME | '#'ID_NUMBER
  • SIP_AVP_VALUE = ':'STRING_VALUE | '#'NUMBER_VALUE

"SIP-AVP" RADIUS AVP examples for OpenSER 1.2.0:


"email:joe@yahoo.com"     -> STRING NAME AVP (email) with STRING VALUE (joe@yahoo.com)
"#14:joe@yahoo.com"       -> ID AVP (14) with STRING VALUE (joe@yahoo.com)
"age#28"                  -> STRING NAME AVP (age) with INTEGER VALUE (28)
"#14#28"                  -> ID AVP (14) with INTEGER VALUE (28)


For AVP with STRING NAME, the module prefixes each attribute name as returned from RADIUS server by string "caller_" or "callee_" depending if caller's or callee's attributes are loaded.

Links to documentation of avp_radius module:

See also

avp_radius module allows loading of user's attributes into AVPs from RADIUS server. User's name and domain can be based on From URI, Request URI, or authenticated credentials.

The module assumes that Radius returns the AVPs as values of reply attribute SIP-AVP. Its value must be a string of form:

  • value = SIP_AVP_NAME SIP_AVP_VALUE
  • SIP_AVP_NAME = STRING_NAME | '#'ID_NUMBER
  • SIP_AVP_VALUE = ':'STRING_VALUE | '#'NUMBER_VALUE

"SIP-AVP" RADIUS AVP examples for OpenSER 1.2.0:


"email:joe@yahoo.com"     -> STRING NAME AVP (email) with STRING VALUE (joe@yahoo.com)
"#14:joe@yahoo.com"       -> ID AVP (14) with STRING VALUE (joe@yahoo.com)
"age#28"                  -> STRING NAME AVP (age) with INTEGER VALUE (28)
"#14#28"                  -> ID AVP (14) with INTEGER VALUE (28)


For AVP with STRING NAME, the module prefixes each attribute name as returned from RADIUS server by string "caller_" or "callee_" depending if caller's or callee's attributes are loaded.

Links to documentation of avp_radius module:

See also

Created by: miconda, Last modification: Thu 15 of Feb, 2007 (10:38 UTC)
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+