(RADIATOR) attributes

Hugh Irvine hugh at open.com.au
Thu Aug 16 18:39:55 CDT 2001


Hello Dave, Hello Carlos -

Dave is correct, you could remove the VALUE definition from the dictionary.

However, you could also write a hook to do something more elegant, like 
adding a pseudo-attribute to the request with the numeric value, and use the 
pseudo-attribute in the AcctSQLStatement.

regards

Hugh


On Friday 17 August 2001 04:05, Kitabjian, Dave wrote:

> > I think I noticed once that if you take the appropriate VALUE entry out of
> the Radiator dictionary, Radiator will log the number rather than the
> label...
>
> Dave
>
> -----Original Message-----
> From: Sola, Carlos Alberto [mailto:CASola at prima.com.ar]
> Sent: Thursday, August 16, 2001 1:05 PM
> To: radiator at open.com.au
> Subject: (RADIATOR) attributes
>
>
>
> How can i call an attribute code instead of text value in AcctSQLStatement
> ?
>
>
> for example, i use %{Acct-Terminate-Cause} and i get 'Lost-Service' but i
> want a numeric code
>
>
> Thanks

----------------------------------------
Content-Type: text/html; name="Attachment: 1"
Content-Transfer-Encoding: 7bit
Content-Description: 
----------------------------------------

-- 
Radiator: the most portable, flexible and configurable RADIUS server 
anywhere. Available on *NIX, *BSD, Windows 95/98/2000, NT, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
===
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list