Paul_70551
Mar 18, 2011Nimbostratus
RADIUS::avp insert is not working
I am looking at a radius issue at the moment and it seemed prudent to use the RADIUS profile with its access to the AVP's directly and not needing to do a UDP decode.
I can successfully pull out, parse and log the AVP's i am interested in but when i try to insert a custom AVP it insert the attribute but not its value.
The vip is a standard UDP vip with a RADIUS profile attached.
The rule is simply doing this:
when CLIENT_DATA {
switch [RADIUS::avp 87] {
"case1" {
RADIUS::avp insert 108 "value" string
log local0. "inserting value"
return
}
"case2" {
RADIUS::avp 108 "value2" string
log local0. "inserting value2"
return
}
default {
log local0. "No match found no avp inserted"
return
}
}
I get the log for case2 and i can see the attribute arrive on the radius server with no value.
The doco around the RADIUS profile is sparse to say the least, any one else used it with success?
Paul