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: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)
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 Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users