Upgrade 3CX to v18 and get it hosted free!

OpenSER module avp_radius

Author image

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 the 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:[email protected]"     -> STRING NAME AVP (email) with STRING VALUE ([email protected])
"#14:[email protected]"       -> ID AVP (14) with STRING VALUE ([email protected])
"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.

Related Posts:

Get 3CX - Absolutely Free!
Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.