Alan,
Thanks for your promptly response.
But it seems you misinterpreted my question.
As you probably already know, overloaded Acct-Session-Id fields bring valuable 
attributes separated with an "/" in it; for example:

Feb  5 18:58:57.661: RADIUS:  Acct-Session-Id     [44]  221 
"399466/13:58:57.609 est Sat Feb 5 2005/Barcelona5300./D228FDE7 76DE11D9 
91F0B0FA 276E5A02/answer/VoIP/13:58:57.645 est Sat Feb 5 2005/13:58:57.645 est 
Sat Feb 5 2005/22/62.175.181.172/D228FDE7 76DE11D9 91F0B0FA 276E5A02"

Attributes in it are:
SESSION-ID
SETUP-TIME
GATEWAY-ID
CALL-ORIGIN
CALL-TYPE
CONNECTION-ID
CONNECT-TIME
DISCONNECT-TIME
DISCONNECT-CAUSE
REMOTE-IP-ADDRESS

What I was looking for is a way to parse that info at "insert" time and load it 
into different fields in the radacct table.
Thanks again, Danny
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alan DeKok
Sent: Saturday, February 05, 2005 11:46 AM
To: [email protected]
Subject: Re: Overloaded Acct-Session-Id 

"Daniel Halle" <[EMAIL PROTECTED]> wrote:
> I have version 1.0.1 working on FreeBSD 5.3 and doing only
> accounting from CISCO voice gateways; capturing both on flat files
> and a remote MySQL 4.1 I had to modify the AcctSessionId field
> length on the radacct table since I'm getting overloaded
> Acct-Session-Id from the gateways.  Does anyone ever see a parse
> solution for overloaded acct-session-id fields

  Use rlm_acct_unique, which is in the default configuration.  "man
rlm_acct_unique"

  Alan DeKok.


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to