Hi Klaus,

yes, it works for both avp_radius and auth_radius.

regards,
bogdan

Klaus Darilion wrote:

Bogdan-Andrei Iancu wrote:

Hi folks,

I extended the syntax of "SIP-AVP" RADIUS AVP to allow definition of any types of OpenSER AVP - ID / STRING AVP name, INTEGER / STRING AVP value . The new syntax is:

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


Does this also works with Radius-AVPs during RADIUS authentication (auth_radius)?

regards,
klaus

This syntax is backward compatible with the old one.

Examples:

"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)


RADIUS fans, please give it a try (if needed) and let me know if there are any issues.

regards,
bogdan

PS: it will take some hours to become available on the public CVS server (sourceforge policy).

_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users






_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users

Reply via email to