(RADIATOR) Failure reason accessibility

2003-10-22 Thread Jeremy Hinton
Is there any way inside a Handler clause to access the reason for the current requests failing, as it is accessible via %1 in an AuthLog clause? I would like to be able to pass back the actual failure reason to the client instead of the cryptic Reply-Message=Request Denied. Something along

Re: (RADIATOR) Failure reason accessibility

2003-10-22 Thread Hugh Irvine
Hello Jeremy - You could do something along the lines of what you show below by using an OSC-AVPAIR, but you will need to do some experiments as Reject handling is different and you may need to use a hook to manipulate the reply packet. There are some example hooks in the file