Table Of Contents
Accounting Services Record Attributes
Standard Attributes
Vendor-specific Attributes
Request-specific Attributes
Start Record
Stop Record
Accounting Services Record Attributes
This appendix describes the standard and request-specific attributes that are logged in the Call Detail Records generated by the Accounting Services module of the CSPS.
Standard Attributes
All requests contain the following standard radius attributes. For more details on standard Radius accounting attributes, refer to [RFC 2866] RADIUS Accounting.
Table C-1 Standard Radius Attributes
Radius Attributes
|
Values
|
4 NAS IP
|
IP of the proxy
|
5 NAS Port
|
5
|
1 Use
|
User part of the URL in the "From" SIP header or user in "Proxy-authorization" SIP header, if present. This is controlled by a configuration directive (OrigUserNameSource).
If the RadiusUserNameAttrAddDomain directive is On, the domain in the "From" header will be appended to the UserName and the User Name attribute will be in the Username@domain format.
The UserName can be expanded to a fully expanded E164 number.
If the user name is taken from the "From" header, the expansion is dependent on the user type and the NumericUserNameInterpretation directive.
If the user name is taken from the "Authorization" or "Proxy-authorization" header, the expansion is dependent on the NumExpandAuthUserName directive. Expansion is based on the number expansion rules which are defined in the number expansion module.
|
6 Service Type
|
1
|
44 Session Id
|
"callid" field of the request
|
30 Called Station
|
"to" field of the request
|
31 Calling Station
|
"from" field of the request
|
Vendor-specific Attributes
All requests contain the following vendor-specific attributes. For details on Cisco VSAs, refer to URL http://www.cisco.com/univercd/cc/td/doc/product/access/acs_serv/vapp_dev/vsaig3.htm#68597.
Table C-2 Vendor-specific Attributes
Vendor-specific Attributes
|
Values
|
24 h323-conf-id
Note: This attribute is only included if a cisco-GUID header is found in the received SIP message.
|
Value of cisco-GUID header (if present)
|
27 h323-call-type
|
VoIP
|
The following attributes are defined using the Cisco VSA 1 AVPair mechanism.
Table C-3 Vendor-specific Attributes—Cisco VSA 1 AVPair
Vendor-specific Attributes
|
Values
|
1 session-protocol
|
sip
|
1 call-id
|
Value of Call-Id header
|
1 method
|
Method name given in request line
|
1 incoming-req-uri
|
Request-URI given in incoming request-line
|
1 prev-hop-ip
|
Previous hop IP address as seen by the proxy
|
1 prev-hop-via
|
The "sent-by" portion of the topmost via when the request arrived at the proxy
|
1 outgoing-req-uri
|
Request-URI used in outgoing request-line
|
1 next-hop-ip
|
IP where the request is forwarded
|
1 next-hop-dn
|
Domain Name or Fully Qualified Domain Name where the request is forwarded
|
1 sip-hdr
|
An arbitrary message header that was found in the SIP message received by the proxy (complete header line). Inclusion of any given header is controlled by a configuration directive (AcctIncludeSIPHeader).
|

Note
When the sipd.conf directive StatefulServer is Off, these vendor specific attributes are logged in the following order: session-protocol, call-id, method, prev-hop-via, prev-hop-ip, sip-hdr. When the sipd.conf directive StatefulServer is On, these vendor specific attributes are logged in the following order: session-protocol, call-id, method, prev-hop-via, prev-hop-ip, incoming-req-uri, outgoing-req-uri, next-hop-ip, next-hop-fqdn, sip-hdr.
Request-specific Attributes
Start Record
The start record is sent to the radius server when a 200 is received by the CSPS.
Table C-4 Start Record Attributes
Start Record Attributes
|
Value
|
40 Status Type
|
start
|
26 h323-call-origin (VSA)
|
origin
|
25 h323-setup-time (VSA)
|
timestamp*
|
28 h323-connect-time (VSA)
|
timestamp*
|
Note
*Time Stamp format: 22:20:40.168 GMT Thu Dec 6 2001
Stop Record
The stop record is written when BYE is received by the CSPS.
Table C-5 Stop Record Attributes
Stop Record Attributes
|
Value
|
40 Status Type
|
stop
|
26 h323-call-origin (VSA)
|
answer
|
29 h323-disconnect-time (VSA)
|
timestamp*
|
Note
*Time Stamp format: 22:20:40.168 GMT Thu Dec 6 2001
The following section describes the disconnect cause attributes for the stop record.
Table C-6 Disconnect Cause Attributes
Disconnect Cause Attributes (VSA)
|
Value
|
30 BYE
|
normal
|
30 3xx responses
|
redirection
|
30 4xx responses
|
client error
|
30 5xx responses
|
network error
|
30 6xx responses
|
global error
|
30 proxy timeout
|
timeout
|
30 cancel (caller hung up)
|
user abandon
|