(RADIATOR) How can insert a TimeStamp?

Ricardo Martinez rmartinez at redvoiss.net
Wed Sep 8 15:34:20 CDT 2004


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.


More information about the radiator mailing list