(RADIATOR) How can insert a TimeStamp?

Hugh Irvine hugh at open.com.au
Wed Sep 8 21:12:46 CDT 2004


Hello Ricardo -

Radiator already adds a "Timestamp" attribute to all accounting 
requests.

See section 6.28.14 in the Radiator 3.9 reference manual 
("doc/ref.html").

regards

Hugh


On 9 Sep 2004, at 06:34, Ricardo Martinez wrote:

> Hi.
> 	I'm using Radiator for accounting.  The Radius incoming message for
> accounting that i'm receiving does not have any "time" in his 
> attributes.  I
> would like to know how to insert a timestamp (maybe in some formated 
> type),
> as an attribute, before i send it to my Oracle Database.   Is this 
> possible?
> how can i do this?.
>
> I would like something like this :
>
> Attributes:
> 		User-Name = "ricardo at XX.XX.148.246"
> 		Digest-Attributes = "<10><9>ricardo"
> 		Digest-Attributes = "<1><15>XX.XX.148.246"
> 		Digest-Attributes =
> "<2>*4140c9ddcc415f2605b3750c53da2c6778fafa96"
> 		Digest-Attributes = "<4><19>sip:XX.XX.148.246"
> 		Digest-Attributes = "<3><10>REGISTER"
> 		Digest-Attributes = "<5><6>auth"
> 		Digest-Attributes = "<9><10>00000001"
> 		Digest-Attributes = "<8><10>1689cec2"
> 		Digest-Response = "604440d9ff5a6e769d494739ddd4c688"
> 		Service-Type = Sip-Session
> 		Sip-Uri-User = "5552203290"
> 		NAS-IP-Address = 127.0.0.1
> 		NAS-Port = 5060
> --New ATTR---	TimeStamp = "123456789"
>
> Thanks in advance.
> Best Regards
>
>
> Ricardo Martinez
>
> --
> 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.
>
>

NB: have you included a copy of your configuration file (no secrets),
together with a trace 4 debug showing what is happening?

-- 
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
-
CATool: Private Certificate Authority for Unix and Unix-like systems.

--
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