Hello Steinar -

On Tuesday 02 January 2001 08:02, [EMAIL PROTECTED] wrote:
> We have a number of boxes (Ascend MAX 4000, Nortel CVX 1800) that show
> session termination cause using the Ascend-Disconnect-Cause attribute -
> and we have some (Cisco 7140 used as LNS) that use Acct-Terminate-Cause.
> We would like to log both of these in the same SQL table column, if
> possible - for instance by logging one of them using positive integers
> and the other as negative integers.
>
> Is this a reasonable solution? Would you suggest a different way of
> logging both of these?
>

The simplest thing to do is just define multiple AcctColumnDef's for the same 
SQL field. As there will only ever be one of the possible attributes you will 
never get a collision.

        AcctColumnDef TERMINATE_CAUSE, Ascend-Disconnect-Cause, ...
        AcctColumnDef TERMINATE_CAUSE, Acct-Terminate-Cause, ...
        .....

Have a look at section 6.26.12 in the Radiator 2.17.1 reference manual.

hth

Hugh

-- 
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.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to