Toolpack:RADIUS CDR attributes D

From TBwiki
(Difference between revisions)
Jump to: navigation, search
(creation)
 
(update RFC 2865 elements)
Line 45: Line 45:
 
| align="center" | 5<br>  
 
| align="center" | 5<br>  
 
| NAS-Port
 
| NAS-Port
| align="center" | string<br>  
+
| align="center" | integer<br>  
 
|  
 
|  
 
|  
 
|  
Line 51: Line 51:
 
| align="center" | 6<br>  
 
| align="center" | 6<br>  
 
| Service-Type  
 
| Service-Type  
| align="center" | string<br>  
+
| align="center" | integer<br>  
 
|  
 
|  
 
|  
 
|  
Line 57: Line 57:
 
| align="center" | 7<br>  
 
| align="center" | 7<br>  
 
| Framed-Protocol  
 
| Framed-Protocol  
| align="center" | string<br>  
+
| align="center" | integer<br>  
 
|  
 
|  
 
|  
 
|  
Line 75: Line 75:
 
| align="center" | 10<br>  
 
| align="center" | 10<br>  
 
| Framed-Routing  
 
| Framed-Routing  
| align="center" | string<br>  
+
| align="center" | integer<br>  
 
|  
 
|  
 
|  
 
|  
Line 87: Line 87:
 
| align="center" | 12<br>  
 
| align="center" | 12<br>  
 
| Framed-MTU  
 
| Framed-MTU  
| align="center" | string<br>  
+
| align="center" | integer<br>  
 
|  
 
|  
 
|  
 
|  
Line 93: Line 93:
 
| align="center" | 13<br>  
 
| align="center" | 13<br>  
 
| Framed-Compression  
 
| Framed-Compression  
| align="center" | string<br>  
+
| align="center" | integer<br>  
 
|  
 
|  
 
|  
 
|  
Line 99: Line 99:
 
| align="center" | 14<br>  
 
| align="center" | 14<br>  
 
| Login-IP-Host  
 
| Login-IP-Host  
| align="center" | string<br>  
+
| align="center" | IP address<br>  
 
|  
 
|  
 
|  
 
|  
Line 105: Line 105:
 
| align="center" | 15<br>  
 
| align="center" | 15<br>  
 
| Login-Service
 
| Login-Service
| align="center" | string<br>  
+
| align="center" | integer<br>  
 
|  
 
|  
 
|  
 
|  
Line 111: Line 111:
 
| align="center" | 16<br>  
 
| align="center" | 16<br>  
 
| Login-TCP-Port  
 
| Login-TCP-Port  
| align="center" | string<br>  
+
| align="center" | integer<br>  
 
|  
 
|  
 
|  
 
|  
Line 134: Line 134:
 
|-
 
|-
 
| align="center" | 22<br>  
 
| align="center" | 22<br>  
| CHAP-Password
+
| Framed-Route
 
| align="center" | string<br>  
 
| align="center" | string<br>  
 
|  
 
|  
Line 140: Line 140:
 
|-
 
|-
 
| align="center" | 23<br>  
 
| align="center" | 23<br>  
| CHAP-Password
+
| Framed-IPX-Network
| align="center" | string<br>  
+
| align="center" | IP address<br>  
 
|  
 
|  
 
|  
 
|  
 
|-
 
|-
 
| align="center" | 24<br>  
 
| align="center" | 24<br>  
| CHAP-Password
+
| State
 
| align="center" | string<br>  
 
| align="center" | string<br>  
 
|  
 
|  
Line 152: Line 152:
 
|-
 
|-
 
| align="center" | 25<br>  
 
| align="center" | 25<br>  
| CHAP-Password
+
| Class
 
| align="center" | string<br>  
 
| align="center" | string<br>  
 
|  
 
|  
Line 158: Line 158:
 
|-
 
|-
 
| align="center" | 26<br>  
 
| align="center" | 26<br>  
| CHAP-Password
+
| Vendor-Specific
 
| align="center" | string<br>  
 
| align="center" | string<br>  
 
|  
 
|  
Line 164: Line 164:
 
|-
 
|-
 
| align="center" | 27<br>  
 
| align="center" | 27<br>  
| CHAP-Password
+
| Session-Timeout
| align="center" | string<br>  
+
| align="center" | integer<br>  
 
|  
 
|  
 
|  
 
|  
 
|-
 
|-
 
| align="center" | 28<br>  
 
| align="center" | 28<br>  
| CHAP-Password
+
| Idle-Timeout
| align="center" | string<br>  
+
| align="center" | integer<br>  
 
|  
 
|  
 
|  
 
|  
 
|-
 
|-
 
| align="center" | 29<br>  
 
| align="center" | 29<br>  
| CHAP-Password
+
| Termination-Action
| align="center" | string<br>  
+
| align="center" | integer<br>  
 
|  
 
|  
 
|  
 
|  
Line 198: Line 198:
 
| @{CallingNumber}  
 
| @{CallingNumber}  
 
| Application name of the CDR provider
 
| Application name of the CDR provider
 +
|-
 +
| align="center" | 33<br>
 +
| Proxy-State
 +
| align="center" | string<br>
 +
|
 +
|
 +
|-
 +
| align="center" | 34<br>
 +
| Login-LAT-Service
 +
| align="center" | string<br>
 +
|
 +
|
 +
|-
 +
| align="center" | 35<br>
 +
| Login-LAT-Node
 +
| align="center" | string<br>
 +
|
 +
|
 +
|-
 +
| align="center" | 36<br>
 +
| Login-LAT-Group
 +
| align="center" | string<br>
 +
|
 +
|
 +
|-
 +
| align="center" | 37<br>
 +
| Framed-AppleTalk-Link
 +
| align="center" | integer<br>
 +
|
 +
|
 +
|-
 +
| align="center" | 38<br>
 +
| Framed-AppleTalk-Network
 +
| align="center" | integer<br>
 +
|
 +
|
 +
|-
 +
| align="center" | 39<br>
 +
| Framed-AppleTalk-Zone
 +
| align="center" | string<br>
 +
|
 +
|
 
|-
 
|-
 
| align="center" | 40<br>  
 
| align="center" | 40<br>  
Line 204: Line 246:
 
| @{StatusType}
 
| @{StatusType}
 
| Start or Stop
 
| Start or Stop
 +
|-
 +
| align="center" | 41<br>
 +
| Acct-Delay-Time
 +
| align="center" | integer<br>
 +
|
 +
|
 +
|-
 +
| align="center" | 42<br>
 +
| Acct-Input-Octets
 +
| align="center" | integer<br>
 +
|
 +
|
 +
|-
 +
| align="center" | 43<br>
 +
| Acct-Output-Octets
 +
| align="center" | integer<br>
 +
|
 +
|
 
|-
 
|-
 
| align="center" | 44<br>  
 
| align="center" | 44<br>  
 
| Acct-Session-Id  
 
| Acct-Session-Id  
| align="center" | integer<br>  
+
| align="center" | string<br>  
 
| @{LegId}  
 
| @{LegId}  
 
| Call Leg Identifier
 
| Call Leg Identifier
 +
|-
 +
| align="center" | 45<br>
 +
| Acct-Authentic
 +
| align="center" | integer<br>
 +
|
 +
|
 
|-
 
|-
 
| align="center" | 46<br>  
 
| align="center" | 46<br>  
Line 216: Line 282:
 
| @{CallDuration}
 
| @{CallDuration}
 
| Duration of the call, in seconds. Corresponds to h323-disconnect-time minus h323-connect-time.
 
| Duration of the call, in seconds. Corresponds to h323-disconnect-time minus h323-connect-time.
 +
|-
 +
| align="center" | 47<br>
 +
| Acct-Input-Packets
 +
| align="center" | integer<br>
 +
|
 +
|
 +
|-
 +
| align="center" | 48<br>
 +
| Acct-Output-Packets
 +
| align="center" | integer<br>
 +
|
 +
|
 +
|-
 +
| align="center" | 49<br>
 +
| Acct-Terminate-Cause
 +
| align="center" | integer<br>
 +
|
 +
|
 +
|-
 +
| align="center" | 50<br>
 +
| Acct-Multi-Session-Id
 +
| align="center" | string<br>
 +
|
 +
|
 +
|-
 +
| align="center" | 51<br>
 +
| Acct-Link-Count
 +
| align="center" | integer<br>
 +
|
 +
|
 
|}
 
|}
  

Revision as of 19:48, 16 January 2018

Applies to version(s): v3.0

This page contains the list of RADIUS attributes that are sent to a RADIUS accounting server.


From RFC 2865 and RFC 2866 (Accounting) :

Attribute ID RADIUS IETF param name Type Text CDR variable Description
1
User-Name string
@{IncomingNAP} Incoming NAP name
2
User-Password string
3
CHAP-Password string
4
NAS-IP-Address IP address
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 IP address
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 IP address
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)

Vendor specific attribute ID RADIUS IETF param name Type Text CDR variable Description
2
Cisco-NAS-Port string
@{NAP} Network Access Point name for the call leg
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)
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).
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
141
call-id String
@{SipCallId} Content of the "call-id" SIP header


Attribute ID 26, Vendor ID: 21776 (TelcoBridges)

Vendor specific attribute ID RADIUS IETF param name Type Text CDR variable Description
9
Telcob-ChargeIndicator String
@{ChargeIndicator} Represent the charge indicator value
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 IP address
@{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} String that represents the MediaInfo (ex. "PCMU@10.3.10.124:20054" for SIP and "LS_T1_BITS_00:1" for ISDN)
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
- IP Address that represents the Local IP used for SIP.
25
Telcob-LocalSipPort* Integer
- 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. "PCMU@10.3.10.124:20054")

Only for VOIP calls.

29
Telcob-RemoteMediaInfo String
@{RemoteMediaInfo} String that represents the Remote Media Info.(ex. "PCMU@10.3.10.124:20054")

This is the same as Telcob-MediaInfo. Only for VOIP calls.

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) or Generic number of type additional calling party number (SS7)
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]
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
* = Not implemented.

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 unit's filesystem at this location:

/lib/tb/toolpack/pkg/[version]/web/radius_dictionary

For example:

 /lib/tb/toolpack/pkg/2.7.148/web/radius_dictionary

If you do not have access, please contact TelcoBridges support to get a copy.

Radius AAA sample

Personal tools