(RADIATOR) radius accounting timestamp

Martin Koenig martin.koenig at toplink-plannet.de
Thu Aug 12 07:37:16 CDT 2004


Hi List,

I have a problem here with a VoIP gateway and it's radius accounting logs on 
a radiator.

Sample-Log:

Mon Aug  9 17:17:22 2004
	User-Name = "tpl-sip-gw1"
	Acct-Session-Id = "0"
	NAS-IP-Address = 195.2.12.82
	NAS-Port-Type = Async
	Acct-Status-Type = Start
	cisco-h323-gw-id = "h323-gw-id="
	cisco-avpair = "h323-incoming-conf-id=1669600617-432910a9 at 192.168.120.254"
	cisco-h323-call-type = "h323-call-type=VOIP"
	cisco-h323-call-origin = "h323-call-origin=Answer"
	Called-Station-Id = "01777354741"
	Calling-Station-Id = "451"
	cisco-h323-conf-id = "h323-conf-id=1669600617-432910a9 at 192.168.120.254"
	Timestamp = 1092064642

Mon Aug  9 17:17:27 2004
	User-Name = "tpl-sip-gw1"
	Acct-Session-Id = "0"
	NAS-IP-Address = 195.2.12.82
	NAS-Port-Type = Async
	Acct-Status-Type = Start
	cisco-h323-gw-id = "h323-gw-id="
	cisco-avpair = "h323-incoming-conf-id=1669600617-432910a9 at 192.168.120.254"
	cisco-h323-call-type = "h323-call-type=VOIP"
	cisco-h323-call-origin = "h323-call-origin=Answer"
	Called-Station-Id = "01777354741"
	Calling-Station-Id = "451"
	cisco-h323-conf-id = "h323-conf-id=1669600617-432910a9 at 192.168.120.254"
	Timestamp = 1092064647
	
Mon Aug  9 17:17:31 2004
	User-Name = "tpl-sip-gw1"
	Acct-Session-Id = "0"
	NAS-IP-Address = 195.2.12.82
	NAS-Port-Type = Async
	Acct-Status-Type = Stop
	Acct-Input-Octets = 67840
	Acct-Output-Octets = 81280
	Acct-Session-Time = 9
	Acct-Input-Packets = 424
	Acct-Output-Packets = 508
	Acct-Terminate-Cause = 0
	cisco-h323-gw-id = "h323-gw-id="
	cisco-h323-remote-address = "h323-remote-address=192.168.120.254"
	cisco-avpair = "h323-incoming-conf-id=1669600617-432910a9 at 192.168.120.254"
	cisco-h323-disconnect-cause = "h323-disconnect-cause=300"
	cisco-h323-call-type = "h323-call-type=VOIP"
	cisco-h323-call-origin = "h323-call-origin=Answer"
	Called-Station-Id = "01777354741"
	Calling-Station-Id = "451"
	cisco-h323-conf-id = "h323-conf-id=1669600617-432910a9 at 192.168.120.254"
	Timestamp = 1092064651
	
Mon Aug  9 17:17:36 2004
	User-Name = "tpl-sip-gw1"
	Acct-Session-Id = "0"
	NAS-IP-Address = 195.2.12.82
	NAS-Port-Type = Async
	Acct-Status-Type = Stop
	Acct-Input-Octets = 67840
	Acct-Output-Octets = 81280
	Acct-Session-Time = 9
	Acct-Input-Packets = 424
	Acct-Output-Packets = 508
	Acct-Terminate-Cause = 0
	cisco-h323-gw-id = "h323-gw-id="
	cisco-h323-remote-address = "h323-remote-address=192.168.120.254"
	cisco-avpair = "h323-incoming-conf-id=1669600617-432910a9 at 192.168.120.254"
	cisco-h323-disconnect-cause = "h323-disconnect-cause=300"
	cisco-h323-call-type = "h323-call-type=VOIP"
	cisco-h323-call-origin = "h323-call-origin=Answer"
	Called-Station-Id = "01777354741"
	Calling-Station-Id = "451"
	cisco-h323-conf-id = "h323-conf-id=1669600617-432910a9 at 192.168.120.254"
	Timestamp = 1092064656

As you can see, there is one retransmit per log entry. This is configured to 
be that way atm. The bigger problem is that the timestamp is also changed on 
every re-transmit. I don't find any hint on this timestamp field in rfc2866 
(radius accounting).

If it is default behaviour, also other hardware, that the timestamp changes 
on every retransmit, then shouldn't be there a Acct-Delay-Time field also to 
compensate the later timestamp?

The main questions are: How should this piece of hardware behave? Should the 
timestamp not be changed on every retransmit? Should retransmit be disabled 
because accounting logs are sure to be written to the server because there 
is also an accounting-response issued by the server? What records at all are 
set by the  radiator? My guess is that only the header "Mon Aug  9 17:17:36 
2004" is generated by radiator, the rest comes from the gateway. Is that 
correct?

Thank you very much,

regards,
Martin Koenig

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