RADIUS CDR attributes
Applies to version(s): v3.0, v3.1, v3.2 This page contains the list of RADIUS attributes that are sent to a RADIUS accounting server.
From RFC 2865 and RFC 2866 (Accounting) :
1
User-Name
string
@{IncomingNAP}
Incoming NAP name
2
User-Password
string
3
CHAP-Password
string
4
NAS-IP-Address
ipaddr
IP address of the TMedia generating the CDR record
3
CHAP-Password
string
5
NAS-Port
integer
6
Service-Type
integer
7
Framed-Protocol
integer
8
Framed-IP-Address
string
9
Framed-IP-Netmask
string
10
Framed-Routing
integer
11
Filter-Id
string
12
Framed-MTU
integer
13
Framed-Compression
integer
14
Login-IP-Host
ipaddr
15
Login-Service
integer
16
Login-TCP-Port
integer
18
Reply-Message
string
19
Callback-Number
string
20
Callback-Id
string
22
Framed-Route
string
23
Framed-IPX-Network
ipaddr
24
State
string
25
Class
string
26
Vendor-Specific
string
27
Session-Timeout
integer
28
Idle-Timeout
integer
29
Termination-Action
integer
30
Called-Station-Id
string
@{CalledNumber}
Called party number
31
Calling-Station-Id
string
@{CallingNumber}
Calling party number
32
NAS-Identifier
string
@{CallingNumber}
Application name of the CDR provider
33
Proxy-State
string
34
Login-LAT-Service
string
35
Login-LAT-Node
string
36
Login-LAT-Group
string
37
Framed-AppleTalk-Link
integer
38
Framed-AppleTalk-Network
integer
39
Framed-AppleTalk-Zone
string
40
Acct-Status-Type
integer
@{StatusType}
Start or Stop
41
Acct-Delay-Time
integer
42
Acct-Input-Octets
integer
43
Acct-Output-Octets
integer
44
Acct-Session-Id
string
@{LegId}
Call Leg Identifier
45
Acct-Authentic
integer
46
Acct-Session-Time
integer
@{CallDuration}
Duration of the call, in seconds. Corresponds to h323-disconnect-time minus h323-connect-time.
47
Acct-Input-Packets
integer
48
Acct-Output-Packets
integer
49
Acct-Terminate-Cause
integer
50
Acct-Multi-Session-Id
string
51
Acct-Link-Count
integer
Attribute ID 26, Vendor ID: 9 (Cisco)
1
Cisco-AVPair
string
2
Cisco-NAS-Port
string
@{NAP}
Network Access Point name for the call leg
3
Cisco-Fax-Account-Id-Origin
string
4
Cisco-Fax-Msg-Id
string
5
Cisco-Fax-Pages
string
6
Cisco-Fax-Coverpage-Flag
string
7
Cisco-Fax-Modem-Time
string
8
Cisco-Fax-Connect-Speed
string
9
Cisco-Fax-Recipient-Count
string
10
Cisco-Fax-Process-Abort-Flag
string
11
Cisco-Fax-Dsn-Address
string
12
Cisco-Fax-Dsn-Flag
string
13
Cisco-Fax-Mdn-Address
string
14
Cisco-Fax-Mdn-Flag
string
15
Cisco-Fax-Auth-Status
string
16
Cisco-Email-Server-Address
string
17
Cisco-Email-Server-Ack-Flag
string
18
Cisco-Gateway-Id
string
19
Cisco-Call-Type
string
20
Cisco-Port-Used
string
21
Cisco-Abort-Cause
string
23
h323-remote-address
string
24
h323-conf-id
string
@{SessionId}
Unique call identifier for the two initial legs (incoming and outgoing) - 128 bits integer formated as xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx. Note: Starting with Toolpack 2.9, this id is now globally unique (unique across different TMedia systems).
25
h323-setup-time
string
@{StartTime}
Represent the call leg setup time - Coordinated Universal Time (UTC)
26
h323-call-origin
string
@{OriginatorName}
"originate" for an outgoing leg - "answer" for an incoming leg
27
h323-call-type
string
@{CallType}
If protocol is SIP the value is "VOIP", otherwise it is "Telephony"
28
h323-connect-time
string
@{ConnectedTime}
Represent the call leg answer time (connect time) - Coordinated Universal Time (UTC)
29
h323-disconnect-time
string
@{EndTime}
Represent the call leg disconnect time - Coordinated Universal Time (UTC)
30
h323-disconnect-cause
string
@{TerminationCause}
Q.931 disconnect (1 to 160) cause, TB Toolpack system cause (200 to 300) and SIP cause (400 to 600)
31
h323-voice-quality
string
33
h323-gw-id
string
35
h323-incoming-conf-id
string
@{OriginalSessionId}
Contains the original h323-conf-id in case of call transfer for subsequent outgoing legs - 128 bits integer formated as xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx. Note: Starting with Toolpack 2.9, this id is now globally unique (unique across different TMedia systems).
101
h323-credit-amount
string
102
h323-credit-time
string
103
h323-return-code
string
104
h323-prompt-id
string
105
h323-time-and-day
string
106
h323-redirect-number
string
107
h323-preferred-lang
string
108
h323-redirect-ip-address
string
109
h323-billing-model
string
110
h323-currency
string
111
subscriber
string
112
gw-rxd-cdn
string
113
gw-final-xlated-cdn
string
114
remote-media-address
string
115
release-source
string
@{TerminationSource}
"localLeg" if this leg terminate the call or "connectedLeg" if its the connected leg - We use a Cisco string field with our own value definition
116
gw-rxd-cgn
string
117
gw-final-xlated-cgn
string
141
call-id
String
@{SipCallId}
Content of the "call-id" SIP header
142
session-protocol
string
143
method
string
144
prev-hop-via
string
145
prev-hop-ip
string
146
incoming-req-uri
string
147
outgoing-req-uri
string
148
next-hop-ip
string
149
next-hop-dn
string
150
sip-hdr
string
187
Cisco-Multilink-ID
integer
188
Cisco-Num-In-Multilink
integer
190
Cisco-Pre-Input-Octets
integer
191
Cisco-Pre-Output-Octets
integer
192
Cisco-Pre-Input-Packets
integer
193
Cisco-Pre-Output-Packets
integer
194
Cisco-Maximum-Time
integer
195
Cisco-Disconnect-Cause
integer
197
Cisco-Data-Rate
integer
198
CCisco-PreSession-Time
integer
208
Cisco-PW-Lifetime
integer
209
Cisco-IP-Direct
integer
210
Cisco-PPP-VJ-Slot-Comp
integer
212
Cisco-PPP-Async-Map
integer
217
Cisco-IP-Pool-Definition
string
218
Cisco-Assign-IP-Pool
integer
228
Cisco-Route-IP
integer
233
Cisco-Link-Compression
integer
234
Cisco-Target-Util
integer
235
Cisco-Maximum-Channels
integer
242
Cisco-Data-Filter
integer
243
Cisco-Call-Filter
integer
244
Cisco-Idle-Limit
integer
250
Cisco-Account-Info
string
251
Cisco-Service-Info
string
252
Cisco-Command-Code
string
253
Cisco-Control-Info
string
255
Cisco-Xmit-Rate
integer
Attribute ID 26, Vendor ID: 21776 (TelcoBridges)
1
Telcob-Timestamp
string
@{Timestamp}
Time when this CDR log entry was created. Should not be used for billing purposes. Use @{EndTime} for billing @{EndTime} reports the time where the call has started terminating (hangup), while @{Timestamp} the time where signaling confirmed the termination.
2
Telcob-LegId
integer
@{LegId}
Unique Id for this leg (32 bits value).
3
Telcob-LinkId
integer
@{LinkId}
Same meaning as @{OriginalSessionId}, but presented as a 32 bits integer value.
4
Telcob-ApplicationName
string
@{ApplicationName}
Name of the application that has written this log ("Gateway")
5
Telcob-NAP
string
@{NAP}
Name of the NAP this call leg is from
6
Telcob-CallingNumber
string
@{CallingNumber}
Calling number
7
Telcob-CalledNumber
string
@{CalledNumber}
Called number
8
Telcob-OrginatorName
string
@{OriginatorName}
Direction of the call: "answer" (incoming call leg), "originate" (outgoing call leg)
9
Telcob-ChargeIndicator
String
@{ChargeIndicator}
For TDM (SS7 and CAS R2); received charge indicator in Alert message.
10
Telcob-Protocol
String
@{Protocol}
Protocol used for this LegID. Ex. SIP, ISDN, etc.
11
Telcob-Codec
String
@{Codec}
Codec used for this LegID
12
Telcob-RemoteMediaIP
ipaddr
@{RemoteMediaIP}
RemoteIP used for the media. This is only for VOIP.
13
Telcob-RemoteMediaPort
Integer
@{RemoteMediaPort}
RTP Port of the remote peer. This is only for VOIP.
14
Telcob-TrunkName
String
@{TrunkName}
Name of the trunk (ex. "LS004400E1_0_00").
This attribute is only for non-VOIP.
15
Telcob-TimeslotNumber
Integer
@{TimeslotNumber}
This is the Timeslot Number.
This attribute is only for non-VOIP.
16
Telcob-MediaInfo
String
@{RemoteMediaInfo}
Deprecated: use Telcob-RemoteMediaInfo
17
Telcob-StartTime
String
@{StartTime}
String that represents the StartTime of the call.
18
Telcob-ConnectedTime
String
@{ConnectedTime}
String that represents the time when the call was connected
19
Telcob-EndTime
String
@{EndTime}
String that represents when the call was completed.
20
Telcob-TerminationCause
Integer
@{TerminationCause}
Integer that represents the Termination Cause
21
Telcob-Other-Leg-Id
Integer
@{OtherLegId}
Integer that represents the other LegID bridged for this call
22
Telcob-TerminationCauseString
String
@{TerminationCauseString}
String that represents the TerminationCause, but in a String format.
23
Telcob-TerminationSource
String
@{TerminationSource}
String that represents the Termination Source
24
Telcob-LocalSipIP*
ipaddr
@{LocalSipIP}
IP Address that represents the Local IP used for SIP.
25
Telcob-LocalSipPort*
Integer
@{LocalSipPort}
Integer that represents the Local port used for SIP.
26
Telcob-LocalMediaIP
ipaddr
@{LocalMediaIP}
IP Address that represents the Local IP used for the media.
27
Telcob-LocalMediaPort
Integer
@{LocalMediaPort}
Integer that represents the Local port used for the media.
28
Telcob-LocalMediaInfo
String
@{LocalMediaInfo}
String that represents the Local Media Info.(ex. VOIP: "PCMU@10.3.10.124:20054" TDM: LS_T1_TRK_00:1)
29
Telcob-RemoteMediaInfo
String
@{RemoteMediaInfo}
String that represents the Remote Media Info.(ex. VOIP: "PCMU@10.3.10.124:20054" TDM: LS_T1_TRK_00:1)
30
Telcob-Alert-Time
String
@{AlertTime}
Time where the call has started ringing.
31
Telcob-Redirecting-Number
String
@{RedirectingNumber}
Redirecting number
32
Telcob-Original-Called-Number
String
@{OriginalCalledNumber}
Original called number
33
Telcob-Calling-Presentation
String
@{CallingPresentation}
Calling presentation: "Unspecified", "NotAvailable", "Allowed", "Restricted", "AddressRestricted" or "NameRestricted"
34
Telcob-CallingSubscriberNumber
String
@{CallingSubscriberNumber}
Second calling number (ISDN), Generic number of type additional calling party number (SS7) and SIP P-asserted-identity, userinfo
35
Telcob-OriginalCause
String
@{OriginalCause}
String that represents the Original Termination Cause in a String format.
36
Telcob-CustomCdrValue
String
In routing script: params[:bridge][:CustomCdrValue] or routes[0..X][:CustomCdrValue]
String that needs to appear in CDR. If you want to have the same string in all legs, set params[:bridge][:CustomCdrValue] to the value required. If you want to have a custom string for each route, set routes[0..X][:CustomCdrValue]
37
Telcob-CollectedDigits
string
@{CollectedDigits}
38
Telcob-MosIngress
string
@{Stat:MOS:Ingress}
Calculated MOS value using RTP RX statistics
39
Telcob-MosEgress
string
@{Stat:MOS:Egress}
Calculated MOS value using RTCP statistics (available only when RTCP is enable)
40
Telcob-RemoteSipIP
ipaddr
@{RemoteSipIP}
For SIP calls, IP address of the remote peer for this call leg
41
Telcob-RemoteSipPort
integer
@{RemoteSipPort}
For SIP calls, UDP port of the remote peer for this call leg
100
Telcob-RtpRxPackets
Integer
@{Stat:Rtp:Rx:Packets}
Number of packets received from the IP network (audio + comfort noise + signaling)
101
Telcob-RtpRxVoiceBytes
Integer
@{Stat:Rtp:Rx:Packets}
Number of payload bytes from voice (audio) packets received from the IP network
102
Telcob-RtpRxVoiceDuration
Integer
@{Stat:Rtp:Rx:VoiceDuration}
Duration (in seconds) of voice (audio), from IP to TDM direction
103
Telcob-RtpRxMaxPlayoutDelay
Integer
@{Stat:Rtp:Rx:VoiceDuration}
Maximum (for the whole call) IP to TDM audio delay in millisecond (adaptive jitter buffer delay)
120
Telcob-RtpRxErrors
Integer
@{Stat:Rtp:Rx:Errors}
Total of all detected errors in the 'Rx' direction
121
Telcob-RtpRxLostPackets
Integer
@{Stat:Rtp:Rx:Error:LostPackets}
Number of packets lost (never received for play-out to TDM)
130
Telcob-RtpTxPackets
Integer
@{Stat:Rtp:Tx:Packets}
Number of packets sent to the IP network (audio + comfort noise + signaling)
132
Telcob-RtpTxVoiceDuration
Integer
@{Stat:Rtp:Tx:VoiceDuration}
Duration (in seconds) of voice (audio), from TDM to IP direction
150
Telcob-RtpTxErrors
Integer
@{Stat:Rtp:Tx:Errors}
Total of all detected errors in the 'Tx' direction
151
Telcob-RtpTxLostPackets
Integer
@{Stat:Rtp:Tx:Error:LostPackets}
Number of packets considered "lost" by remote side (only available if RTCP is used)
152
Telcob-RtpTxArpFailure
Integer
@{Stat:Rtp:Tx:Error:ArpFailure}
Number of failures to ARP remote IP address to send RTP packets to (preventing sending any packets)
160
Telcob-RtcpJitter
Integer
@{Stat:Rtcp:Jitter}
Inter-packet interval jitter, in millisecond
The column Text CDR Variable provide the reference to the corresponding variable in the text CDRs. See the Text-based call detail records.
Radius Accounting dictionary
The Radius accounting dictionary is located on the TMG or SBC unit's filesystem at this location:
For example:
If you do not have access, please contact TelcoBridges support to get a copy.
Radius AAA sample
Last updated
Was this helpful?