Toolpack:RADIUS CDR attributes C

From TBwiki
(Difference between revisions)
Jump to: navigation, search
(update version)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{DISPLAYTITLE:Toolpack:RADIUS CDR attributes}}
 
{{DISPLAYTITLE:Toolpack:RADIUS CDR attributes}}
=== '''''Applies to version(s): v2.7''''' ===
+
=== '''''Applies to version(s): v2.7, v2.8, v2.9, v2.10''''' ===
 
This page contains the list of RADIUS attributes that are sent to a RADIUS accounting server.
 
This page contains the list of RADIUS attributes that are sent to a RADIUS accounting server.
  
Line 10: Line 10:
 
! width="210" style="background: none repeat scroll 0% 0% rgb(239, 239, 239);" | RADIUS IETF param name  
 
! width="210" style="background: none repeat scroll 0% 0% rgb(239, 239, 239);" | RADIUS IETF param name  
 
! width="210" style="background: none repeat scroll 0% 0% rgb(239, 239, 239);" | Type  
 
! width="210" style="background: none repeat scroll 0% 0% rgb(239, 239, 239);" | Type  
! width="210" style="background: none repeat scroll 0% 0% rgb(239, 239, 239);" | Toolpack CDR parameter
+
! width="210" style="background: none repeat scroll 0% 0% rgb(239, 239, 239);" | Text CDR variable
 
! width="610" style="background: none repeat scroll 0% 0% rgb(239, 239, 239);" | Description
 
! width="610" style="background: none repeat scroll 0% 0% rgb(239, 239, 239);" | Description
 
|-
 
|-
Line 16: Line 16:
 
| User-Name  
 
| User-Name  
 
| align="center" | string<br>  
 
| align="center" | string<br>  
| IncomingNAP
+
| @{IncomingNAP}
 
| Incoming NAP name
 
| Incoming NAP name
 
|-
 
|-
Line 28: Line 28:
 
| Called-Station-Id  
 
| Called-Station-Id  
 
| align="center" | string<br>  
 
| align="center" | string<br>  
| Called Number
+
| @{CalledNumber}
 
| Called party number
 
| Called party number
 
|-
 
|-
Line 34: Line 34:
 
| Calling-Station-Id  
 
| Calling-Station-Id  
 
| align="center" | string<br>  
 
| align="center" | string<br>  
| Calling Number
+
| @{CallingNumber}
 
| Calling party number
 
| Calling party number
 
|-
 
|-
Line 40: Line 40:
 
| NAS-Identifier  
 
| NAS-Identifier  
 
| align="center" | string<br>  
 
| align="center" | string<br>  
| Application Name
+
| @{CallingNumber}
 
| Application name of the CDR provider
 
| Application name of the CDR provider
 
|-
 
|-
Line 46: Line 46:
 
| Acct-Status-Type  
 
| Acct-Status-Type  
 
| align="center" | integer<br>  
 
| align="center" | integer<br>  
| -
+
| @{StatusType}
 
| Start or Stop
 
| Start or Stop
 
|-
 
|-
Line 52: Line 52:
 
| Acct-Session-Id  
 
| Acct-Session-Id  
 
| align="center" | integer<br>  
 
| align="center" | integer<br>  
| Leg Id
+
| @{LegId}
 
| Call Leg Identifier
 
| Call Leg Identifier
 
|-
 
|-
Line 58: Line 58:
 
| Acct-Session-Time
 
| Acct-Session-Time
 
| align="center" | integer<br>  
 
| align="center" | integer<br>  
| Session duration
+
| @{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.
 
|}
 
|}
Line 69: Line 69:
 
! width="210" style="background: none repeat scroll 0% 0% rgb(239, 239, 239);" | RADIUS IETF param name  
 
! width="210" style="background: none repeat scroll 0% 0% rgb(239, 239, 239);" | RADIUS IETF param name  
 
! width="210" style="background: none repeat scroll 0% 0% rgb(239, 239, 239);" | Type  
 
! width="210" style="background: none repeat scroll 0% 0% rgb(239, 239, 239);" | Type  
! width="210" style="background: none repeat scroll 0% 0% rgb(239, 239, 239);" | Toolpack param
+
! width="210" style="background: none repeat scroll 0% 0% rgb(239, 239, 239);" | Text CDR variable
 
! width="610" style="background: none repeat scroll 0% 0% rgb(239, 239, 239);" | Description
 
! width="610" style="background: none repeat scroll 0% 0% rgb(239, 239, 239);" | Description
 
|-
 
|-
Line 75: Line 75:
 
| Cisco-NAS-Port  
 
| Cisco-NAS-Port  
 
| align="center" | string<br>  
 
| align="center" | string<br>  
| NAP name
+
| @{NAP}
 
| Network Access Point name for the call leg
 
| Network Access Point name for the call leg
 
|-
 
|-
Line 81: Line 81:
 
| h323-conf-id  
 
| h323-conf-id  
 
| align="center" | string<br>  
 
| align="center" | string<br>  
| Unique Id
+
| @{SessionId}
 
| Unique call identifier for the two initial legs (incoming and outgoing) - 128 bits integer formated as xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx.<br>Note: Starting with Toolpack 2.9, this id is now globally unique (unique across different TMedia systems).
 
| Unique call identifier for the two initial legs (incoming and outgoing) - 128 bits integer formated as xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx.<br>Note: Starting with Toolpack 2.9, this id is now globally unique (unique across different TMedia systems).
 
|-
 
|-
Line 87: Line 87:
 
| h323-setup-time  
 
| h323-setup-time  
 
| align="center" | string<br>  
 
| align="center" | string<br>  
| Start Time
+
| @{StartTime}
 
| Represent the call leg setup time - Coordinated Universal Time (UTC)
 
| Represent the call leg setup time - Coordinated Universal Time (UTC)
 
|-
 
|-
Line 93: Line 93:
 
| h323-call-origin  
 
| h323-call-origin  
 
| align="center" | string<br>  
 
| align="center" | string<br>  
| Originator Name
+
| @{OriginatorName}
 
| "originate" for an outgoing leg - "answer" for an incoming leg
 
| "originate" for an outgoing leg - "answer" for an incoming leg
 
|-
 
|-
Line 99: Line 99:
 
| h323-call-type  
 
| h323-call-type  
 
| align="center" | string<br>  
 
| align="center" | string<br>  
| Protocol Type
+
| @{CallType}
 
| If protocol is SIP the value is "VOIP", otherwise it is "Telephony"
 
| If protocol is SIP the value is "VOIP", otherwise it is "Telephony"
 
|-
 
|-
Line 105: Line 105:
 
| h323-connect-time  
 
| h323-connect-time  
 
| align="center" | string<br>  
 
| align="center" | string<br>  
| Connected Time
+
| @{ConnectedTime}
 
| Represent the call leg answer time (connect time) - Coordinated Universal Time (UTC)
 
| Represent the call leg answer time (connect time) - Coordinated Universal Time (UTC)
 
|-
 
|-
Line 111: Line 111:
 
| h323-disconnect-time  
 
| h323-disconnect-time  
 
| align="center" | string<br>  
 
| align="center" | string<br>  
| EndTime  
+
| @{EndTime}
 
| Represent the call leg disconnect time - Coordinated Universal Time (UTC)
 
| Represent the call leg disconnect time - Coordinated Universal Time (UTC)
 
|-
 
|-
Line 117: Line 117:
 
| h323-disconnect-cause  
 
| h323-disconnect-cause  
 
| align="center" | string<br>  
 
| align="center" | string<br>  
| Termination Reason
+
| @{TerminationCause}
 
| Q.931 disconnect (1 to 160) cause, TB Toolpack system cause (200 to 300) and SIP cause (400 to 600)
 
| Q.931 disconnect (1 to 160) cause, TB Toolpack system cause (200 to 300) and SIP cause (400 to 600)
 
|-
 
|-
Line 123: Line 123:
 
| h323-incoming-conf-id  
 
| h323-incoming-conf-id  
 
| align="center" | string<br>  
 
| align="center" | string<br>  
| Unique Id
+
| @{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.<br>Note: Starting with Toolpack 2.9, this id is now globally unique (unique across different TMedia systems).
 
| Contains the original h323-conf-id in case of call transfer for subsequent outgoing legs - 128 bits integer formated as xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx.<br>Note: Starting with Toolpack 2.9, this id is now globally unique (unique across different TMedia systems).
 
|-
 
|-
Line 129: Line 129:
 
| release-source  
 
| release-source  
 
| align="center" | string<br>  
 
| align="center" | string<br>  
| Termination Source
+
| @{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
 
| "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
 
|-
 
|-
Line 135: Line 135:
 
| call-id
 
| call-id
 
| align="center" | String<br>  
 
| align="center" | String<br>  
| SipCallId
+
| @{SipCallId}
 
| Content of the "call-id" SIP header
 
| Content of the "call-id" SIP header
 
|}
 
|}
Line 146: Line 146:
 
! width="210" style="background: none repeat scroll 0% 0% rgb(239, 239, 239);" | RADIUS IETF param name  
 
! width="210" style="background: none repeat scroll 0% 0% rgb(239, 239, 239);" | RADIUS IETF param name  
 
! width="210" style="background: none repeat scroll 0% 0% rgb(239, 239, 239);" | Type  
 
! width="210" style="background: none repeat scroll 0% 0% rgb(239, 239, 239);" | Type  
! width="210" style="background: none repeat scroll 0% 0% rgb(239, 239, 239);" | Toolpack param
+
! width="210" style="background: none repeat scroll 0% 0% rgb(239, 239, 239);" | Text CDR variable
 
! width="610" style="background: none repeat scroll 0% 0% rgb(239, 239, 239);" | Description
 
! width="610" style="background: none repeat scroll 0% 0% rgb(239, 239, 239);" | Description
 
|-
 
|-
Line 152: Line 152:
 
| Telcob-ChargeIndicator
 
| Telcob-ChargeIndicator
 
| align="center" | String<br>  
 
| align="center" | String<br>  
| ChargeIndicator
+
| @{ChargeIndicator}
 
| Represent the charge indicator value
 
| Represent the charge indicator value
 
|-
 
|-
Line 158: Line 158:
 
| Telcob-Protocol  
 
| Telcob-Protocol  
 
| align="center" | String<br>  
 
| align="center" | String<br>  
| Protocol
+
| @{Protocol}
 
| Protocol used for this LegID. Ex. SIP, ISDN, etc.
 
| Protocol used for this LegID. Ex. SIP, ISDN, etc.
 
|-
 
|-
Line 164: Line 164:
 
| Telcob-Codec  
 
| Telcob-Codec  
 
| align="center" | String<br>  
 
| align="center" | String<br>  
| Codec  
+
| @{Codec
 
| Codec used for this LegID
 
| Codec used for this LegID
 
|-
 
|-
Line 170: Line 170:
 
| Telcob-RemoteMediaIP  
 
| Telcob-RemoteMediaIP  
 
| align="center" | IP address<br>  
 
| align="center" | IP address<br>  
| RemoteIP
+
| @{RemoteMediaIP}
 
| RemoteIP used for the media. This is only for VOIP.
 
| RemoteIP used for the media. This is only for VOIP.
 
|-
 
|-
Line 176: Line 176:
 
| Telcob-RemoteMediaPort  
 
| Telcob-RemoteMediaPort  
 
| align="center" | Integer<br>  
 
| align="center" | Integer<br>  
| RemotePort
+
| @{RemoteMediaPort}
 
| RTP Port of the remote peer. This is only for VOIP.
 
| RTP Port of the remote peer. This is only for VOIP.
 
|-
 
|-
Line 182: Line 182:
 
| Telcob-TrunkName  
 
| Telcob-TrunkName  
 
| align="center" | String<br>  
 
| align="center" | String<br>  
| TrunkName
+
| @{TrunkName}
 
| Name of the trunk (ex. "LS004400E1_0_00").<br/>
 
| Name of the trunk (ex. "LS004400E1_0_00").<br/>
 
This attribute is only for non-VOIP.
 
This attribute is only for non-VOIP.
Line 189: Line 189:
 
| Telcob-TimeslotNumber
 
| Telcob-TimeslotNumber
 
| align="center" | Integer<br>  
 
| align="center" | Integer<br>  
| TimeslotNumber
+
| @{TimeslotNumber}
 
| This is the Timeslot Number.<br/>
 
| This is the Timeslot Number.<br/>
 
This attribute is only for non-VOIP.
 
This attribute is only for non-VOIP.
Line 196: Line 196:
 
| Telcob-MediaInfo  
 
| Telcob-MediaInfo  
 
| align="center" | String<br>  
 
| align="center" | String<br>  
| MediaInfo
+
| @{RemoteMediaInfo}
 
| String that represents the MediaInfo (ex. "PCMU@10.3.10.124:20054" for SIP and "LS_T1_BITS_00:1" for ISDN)
 
| String that represents the MediaInfo (ex. "PCMU@10.3.10.124:20054" for SIP and "LS_T1_BITS_00:1" for ISDN)
 
|-
 
|-
Line 202: Line 202:
 
| Telcob-StartTime
 
| Telcob-StartTime
 
| align="center" | String<br>  
 
| align="center" | String<br>  
| StartTime
+
| @{StartTime}
 
| String that represents the StartTime of the call.
 
| String that represents the StartTime of the call.
 
|-
 
|-
Line 208: Line 208:
 
| Telcob-ConnectedTime  
 
| Telcob-ConnectedTime  
 
| align="center" | String<br>  
 
| align="center" | String<br>  
| ConnectedTime
+
| @{ConnectedTime}
 
| String that represents the time when the call was connected  
 
| String that represents the time when the call was connected  
 
|-
 
|-
Line 214: Line 214:
 
| Telcob-EndTime
 
| Telcob-EndTime
 
| align="center" | String<br>  
 
| align="center" | String<br>  
| EndTime
+
| @{EndTime}
 
| String that represents when the call was completed.
 
| String that represents when the call was completed.
 
|-
 
|-
Line 220: Line 220:
 
| Telcob-TerminationCause
 
| Telcob-TerminationCause
 
| align="center" | Integer<br>  
 
| align="center" | Integer<br>  
| TerminationCause
+
| @{TerminationCause}
 
| Integer that represents the Termination Cause
 
| Integer that represents the Termination Cause
 
|-
 
|-
Line 226: Line 226:
 
| Telcob-Other-Leg-Id
 
| Telcob-Other-Leg-Id
 
| align="center" | Integer<br>  
 
| align="center" | Integer<br>  
| Other-Leg-Id
+
| @{OtherLegId}
 
| Integer that represents the other LegID bridged for this call  
 
| Integer that represents the other LegID bridged for this call  
 
|-
 
|-
Line 232: Line 232:
 
| Telcob-TerminationCauseString
 
| Telcob-TerminationCauseString
 
| align="center" | String<br>  
 
| align="center" | String<br>  
| TerminationCauseString
+
| @{TerminationCauseString}
 
| String that represents the TerminationCause, but in a String format.
 
| String that represents the TerminationCause, but in a String format.
 
|-
 
|-
Line 238: Line 238:
 
| Telcob-TerminationSource
 
| Telcob-TerminationSource
 
| align="center" | String<br>  
 
| align="center" | String<br>  
| TerminationSource
+
| @{TerminationSource}
 
| String that represents the Termination Source
 
| String that represents the Termination Source
 
|-
 
|-
Line 244: Line 244:
 
| Telcob-LocalSipIP*
 
| Telcob-LocalSipIP*
 
| align="center" | IPAddr<br>  
 
| align="center" | IPAddr<br>  
| LocalSipIP
+
| -
 
| IP Address that represents the Local IP used for SIP.
 
| IP Address that represents the Local IP used for SIP.
 
|-
 
|-
Line 250: Line 250:
 
| Telcob-LocalSipPort*
 
| Telcob-LocalSipPort*
 
| align="center" | Integer<br>  
 
| align="center" | Integer<br>  
| LocalSipPort
+
| -
 
| Integer that represents the Local port used for SIP.
 
| Integer that represents the Local port used for SIP.
 
|-
 
|-
Line 256: Line 256:
 
| Telcob-LocalMediaIP
 
| Telcob-LocalMediaIP
 
| align="center" | IPAddr<br>  
 
| align="center" | IPAddr<br>  
| LocalMediaIP
+
| @{LocalMediaIP}
 
| IP Address that represents the Local IP used for the media.
 
| IP Address that represents the Local IP used for the media.
 
|-
 
|-
Line 262: Line 262:
 
| Telcob-LocalMediaPort
 
| Telcob-LocalMediaPort
 
| align="center" | Integer<br>  
 
| align="center" | Integer<br>  
| LocalMediaPort
+
| @{LocalMediaPort}
 
| Integer that represents the Local port used for the media.
 
| Integer that represents the Local port used for the media.
 
|-
 
|-
Line 268: Line 268:
 
| Telcob-LocalMediaInfo
 
| Telcob-LocalMediaInfo
 
| align="center" | String<br>  
 
| align="center" | String<br>  
| LocalMediaInfo
+
| @{LocalMediaInfo}
 
| String that represents the Local Media Info.(ex. "PCMU@10.3.10.124:20054")
 
| String that represents the Local Media Info.(ex. "PCMU@10.3.10.124:20054")
 
Only for VOIP calls.
 
Only for VOIP calls.
Line 275: Line 275:
 
| Telcob-RemoteMediaInfo
 
| Telcob-RemoteMediaInfo
 
| align="center" | String<br>  
 
| align="center" | String<br>  
| RemoteMediaInfo
+
| @{RemoteMediaInfo}
 
| String that represents the Remote Media Info.(ex. "PCMU@10.3.10.124:20054")
 
| 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.
 
This is the same as Telcob-MediaInfo. Only for VOIP calls.
Line 282: Line 282:
 
| Telcob-Alert-Time
 
| Telcob-Alert-Time
 
| align="center" | String<br>  
 
| align="center" | String<br>  
| AlertTime
+
| @{AlertTime}
 
| Time where the call has started ringing.
 
| Time where the call has started ringing.
 
|-
 
|-
Line 288: Line 288:
 
| Telcob-Redirecting-Number
 
| Telcob-Redirecting-Number
 
| align="center" | String<br>  
 
| align="center" | String<br>  
| RedirectingNumber
+
| @{RedirectingNumber}
 
| Redirecting number
 
| Redirecting number
 
|-
 
|-
Line 294: Line 294:
 
| Telcob-Original-Called-Number
 
| Telcob-Original-Called-Number
 
| align="center" | String<br>  
 
| align="center" | String<br>  
| OriginalCalledNumber
+
| @{OriginalCalledNumber}
 
| Original called number
 
| Original called number
 
|-
 
|-
Line 300: Line 300:
 
| Telcob-Calling-Presentation
 
| Telcob-Calling-Presentation
 
| align="center" | String<br>  
 
| align="center" | String<br>  
| CallingPresentation
+
| @{CallingPresentation}
 
| Calling presentation: "Unspecified", "NotAvailable", "Allowed", "Restricted", "AddressRestricted" or "NameRestricted"
 
| Calling presentation: "Unspecified", "NotAvailable", "Allowed", "Restricted", "AddressRestricted" or "NameRestricted"
 
|-
 
|-
Line 306: Line 306:
 
| Telcob-CallingSubscriberNumber
 
| Telcob-CallingSubscriberNumber
 
| align="center" | String<br>  
 
| align="center" | String<br>  
| CallingSubscriberNumber
+
| @{CallingSubscriberNumber}
 
| Second calling number (ISDN) or Generic number of type additional calling party number (SS7)
 
| Second calling number (ISDN) or Generic number of type additional calling party number (SS7)
 
|-
 
|-
Line 312: Line 312:
 
| Telcob-OriginalCause
 
| Telcob-OriginalCause
 
| align="center" | String<br>  
 
| align="center" | String<br>  
| OriginalCause
+
| @{OriginalCause}
 
| String that represents the Original Termination Cause in a String format.
 
| String that represents the Original Termination Cause in a String format.
 
|-
 
|-
Line 324: Line 324:
 
| Telcob-RtpRxPackets
 
| Telcob-RtpRxPackets
 
| align="center" | Integer<br>  
 
| align="center" | Integer<br>  
| From TBCMC_LEG_STATS
+
| @{Stat:Rtp:Rx:Packets}
 
| Number of packets received from the IP network (audio + comfort noise + signaling)
 
| Number of packets received from the IP network (audio + comfort noise + signaling)
 
|-
 
|-
Line 330: Line 330:
 
| Telcob-RtpRxVoiceBytes
 
| Telcob-RtpRxVoiceBytes
 
| align="center" | Integer<br>  
 
| align="center" | Integer<br>  
| From TBCMC_LEG_STATS
+
| @{Stat:Rtp:Rx:Packets}
 
| Number of payload bytes from voice (audio) packets received from the IP network
 
| Number of payload bytes from voice (audio) packets received from the IP network
 
|-
 
|-
Line 336: Line 336:
 
| Telcob-RtpRxVoiceDuration
 
| Telcob-RtpRxVoiceDuration
 
| align="center" | Integer<br>  
 
| align="center" | Integer<br>  
| From TBCMC_LEG_STATS
+
| @{Stat:Rtp:Rx:VoiceDuration}
 
| Duration (in seconds) of voice (audio), from IP to TDM direction
 
| Duration (in seconds) of voice (audio), from IP to TDM direction
 
|-
 
|-
Line 342: Line 342:
 
| Telcob-RtpRxMaxPlayoutDelay
 
| Telcob-RtpRxMaxPlayoutDelay
 
| align="center" | Integer<br>  
 
| align="center" | Integer<br>  
| From TBCMC_LEG_STATS
+
| @{Stat:Rtp:Rx:VoiceDuration}
 
| Maximum (for the whole call) IP to TDM audio delay in millisecond (adaptive jitter buffer delay)  
 
| Maximum (for the whole call) IP to TDM audio delay in millisecond (adaptive jitter buffer delay)  
 
|-
 
|-
Line 348: Line 348:
 
| Telcob-RtpRxErrors
 
| Telcob-RtpRxErrors
 
| align="center" | Integer<br>  
 
| align="center" | Integer<br>  
| From TBCMC_LEG_STATS
+
| @{Stat:Rtp:Rx:Errors}
 
| Total of all detected errors in the 'Rx' direction
 
| Total of all detected errors in the 'Rx' direction
 
|-
 
|-
Line 354: Line 354:
 
| Telcob-RtpRxLostPackets
 
| Telcob-RtpRxLostPackets
 
| align="center" | Integer<br>  
 
| align="center" | Integer<br>  
| From TBCMC_LEG_STATS
+
| @{Stat:Rtp:Rx:Error:LostPackets}
 
| Number of packets lost (never received for play-out to TDM)
 
| Number of packets lost (never received for play-out to TDM)
 
|-
 
|-
Line 360: Line 360:
 
| Telcob-RtpTxPackets
 
| Telcob-RtpTxPackets
 
| align="center" | Integer<br>  
 
| align="center" | Integer<br>  
| From TBCMC_LEG_STATS
+
| @{Stat:Rtp:Tx:Packets}
 
| Number of packets sent to the IP network (audio + comfort noise + signaling)
 
| Number of packets sent to the IP network (audio + comfort noise + signaling)
 
|-
 
|-
Line 366: Line 366:
 
| Telcob-RtpTxVoiceDuration
 
| Telcob-RtpTxVoiceDuration
 
| align="center" | Integer<br>  
 
| align="center" | Integer<br>  
| From TBCMC_LEG_STATS
+
| @{Stat:Rtp:Tx:VoiceDuration}
 
| Duration (in seconds) of voice (audio), from TDM to IP direction
 
| Duration (in seconds) of voice (audio), from TDM to IP direction
 
|-
 
|-
Line 372: Line 372:
 
| Telcob-RtpTxErrors
 
| Telcob-RtpTxErrors
 
| align="center" | Integer<br>  
 
| align="center" | Integer<br>  
| From TBCMC_LEG_STATS
+
| @{Stat:Rtp:Tx:Errors}
 
| Total of all detected errors in the 'Tx' direction
 
| Total of all detected errors in the 'Tx' direction
 
|-
 
|-
Line 378: Line 378:
 
| Telcob-RtpTxLostPackets
 
| Telcob-RtpTxLostPackets
 
| align="center" | Integer<br>  
 
| align="center" | Integer<br>  
| From TBCMC_LEG_STATS
+
| @{Stat:Rtp:Tx:Error:LostPackets}
 
| Number of packets considered "lost" by remote side (only available if RTCP is used)
 
| Number of packets considered "lost" by remote side (only available if RTCP is used)
 
|-
 
|-
Line 384: Line 384:
 
| Telcob-RtpTxArpFailure
 
| Telcob-RtpTxArpFailure
 
| align="center" | Integer<br>  
 
| align="center" | Integer<br>  
| From TBCMC_LEG_STATS
+
| @{Stat:Rtp:Tx:Error:ArpFailure}
 
| Number of failures to ARP remote IP address to send RTP packets to (preventing sending any packets)
 
| Number of failures to ARP remote IP address to send RTP packets to (preventing sending any packets)
 
|-
 
|-
Line 390: Line 390:
 
| Telcob-RtcpJitter
 
| Telcob-RtcpJitter
 
| align="center" | Integer<br>  
 
| align="center" | Integer<br>  
| From TBCMC_LEG_STATS
+
| @{Stat:Rtcp:Jitter}
 
| Inter-packet interval jitter, in millisecond
 
| Inter-packet interval jitter, in millisecond
 
|}
 
|}
 
  * = Not implemented.
 
  * = Not implemented.
 +
 +
The column '''Text CDR Variable''' provide the reference to the corresponding variable in the text CDRs. See the [[Text Call Detail Records (CDR)|Text-based call detail records]].
  
 
=== Radius Accounting dictionary ===
 
=== Radius Accounting dictionary ===
Line 405: Line 407:
  
 
=== Radius AAA sample ===
 
=== Radius AAA sample ===
* [[File:TelcoBridges_RADIUS_Auth&Acct.pcap|TelcoBridges_RADIUS_Auth&Acct.pcap]]
+
* [[Media:TelcoBridges_RADIUS_Auth&Acct.pcap|TelcoBridges_RADIUS_Auth&Acct.pcap]]
* [[File:TelcoBridges_RADIUS_Auth&Acct.txt|TelcoBridges_RADIUS_Auth&Acct.txt]]
+
* [[Media:TelcoBridges_RADIUS_Auth&Acct.txt|TelcoBridges_RADIUS_Auth&Acct.txt]]

Latest revision as of 13:22, 16 January 2018

Applies to version(s): v2.7, v2.8, v2.9, v2.10

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
4
NAS-IP-Address IP address
- IP address of the TMedia generating the CDR record
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
40
Acct-Status-Type integer
@{StatusType} Start or Stop
44
Acct-Session-Id integer
@{LegId} Call Leg Identifier
46
Acct-Session-Time integer
@{CallDuration} Duration of the call, in seconds. Corresponds to h323-disconnect-time minus h323-connect-time.


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