Forum Discussion
Evan_Champion_1
Cirrus
I had tried setting the RADIUS session variables, prior to the RADIUS Accounting block in VPE, e.g.:
session.radius.last.attr.calling-station-id session.radius.last.acct-called-station-id
but this did not result in setting those attributes. Is this something that is not possible so I should put in an enhancement request?
If one is not able to add additional attributes from APM VPE, I was thinking about a workaround, to hack the RADIUS request going out to add the data.
- create a virtual server for RADIUS with the RADIUS profile
-
create an iRule on the RADIUS virtual server for when CLIENT_DATA that calls:
- RADIUS::avp to read out the session number
- ACCESS::session to read the session variables for the RADIUS attributes I want to add
- RADIUS::avp to add the missing attributes
Would this work? I will give it a try when I have a spare moment and report back.
Evan
Evan_Champion_1
Jan 14, 2016Cirrus
This does not work because the RADIUS Acct-Session-ID only contains the last 8 characters of the session ID, where ACCESS::session sid requires the full sessionID. I will submit an enhancement request.