Toolpack:RADIUS CDR attributes

From TBwiki
Jump to: navigation, search

Applies to version(s): v2.6

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

From RFC 2865 and RFC 2866 (Accounting) :

AVP Id Radius IETF param name Type Text CDR variable Description
1
User-Name string
- For now this value is hardcoded to "100"
4
NAS-IP-Address IP address
- IP address of the TMedia generating the CDR record
30
Called-Sation-Id string
@{CalledNumber} Called party number
31
Calling-Station-Id string
@{CallingNumber} Calling party number
32
NAS-Identifier string
@{ApplicationName} Application name of the CDR provider
40
Acct-Status-Type integer
- Start or Stop
44
Acct-Session-Id integer
@{LegId} Call Leg Identifier

AVP: 26 VendorID: 9 (Cisco)

VSA 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
25
h323-setup-time string
@{StartTime} Represent the call leg setup time - Coordinated Universal Time (UTC)
26
h323-call-origin string
@{OriginatorName} "answer" for an outgoing leg - "originate" 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
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

AVP: 26 VendorID: 21776 (TelcoBridges)

VSA 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-RemoteIP IP address
@{RemoteMediaIP} RemoteIP used for the media. This is only for VOIP.
13
Telcob-RemotePort 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 remote 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* String
- 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 String
@{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.

* = 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.

Personal tools