Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation  Back up to About Overview 
  
[+] Expand All
[-] Collapse All

Configuring Accounting Options with cdracct.acc

You can configure the available options for CDR accounting in the cdracct.acc [Settings] section.

[Bootstrap] Section of cdracct.acc

The [BootStrap] section of the cdracct.acc file contains the settings listed in Table 172.

Table 172: cdracct.acc [Bootstrap] Fields

Field

Description

LibraryName

Specifies the name of the executable binary. The default value is cdracct.so.

Enable

  • Set to 1 to enable this file.
  • Set to 0 to disable this file.

Default is 0.

InitializationString

The cdracct initialization string.

Default is CDRACCT.

Example

[Bootstrap]
LibraryName=cdracct.so
Enable=1
InitializationString=CDRACCT

[Settings] Section of cdracct.acc

The [Settings] section of the cdracct.acc file contains the settings listed in Table 173.

Table 173: cdracct.acc [Settings] Fields

[Settings] Field

Description

ConfigLog

Specifies the method for logging cdracct.acc configuration information:

  • None= Configuration information is not captured.
  • ConsoleAndLog= Log information is sent to both the console and the log.
  • Console= Log information is sent to the console only.
  • Log= Log information is sent to the log file only.

Default is ConsoleAndLog.

CDRDirectory

The directory where the CDR records are stored.

The default value is ./CDR under the Steel-Belted Radius Carrier install directory. If you modify this directory name, make sure it exists before you use the SIM authentication module in Steel-Belted Radius Carrier.

This parameter is reloaded every time that SBRC receives a SIGHUP (1) signal.

CDRNodeID

The name for the authentication server machine in the NodeID field of the generated CDR.

If CDRNodeID is omitted or commented out, the correct value is updated automatically by Steel-Belted Radius Carrier on system startup. This value is the Solaris system name for the machine on which Steel-Belted Radius Carrier is running.

This parameter is reloaded every time that SBRC receives a SIGHUP (1) signal.

UserPartialCdrEnable

Specifies whether or not partial CDRs are generated for the LDAP authentication plug-in: ldapauth.aut, or the SQL authentication plug-ins: radsql.aut or radsqljdbc.aut users.

  • 0—Partial CDRs are not generated.
  • 1—Partial CDRs are generated.

The default is 0.

If UserPartialCdrEnable=1, then UserSessionCdrEnable must be set to 0.

UserSessionCdrEnable

Specifies whether or not session CDRs are generated for the LDAP authentication plug-in: ldapauth.aut, or the SQL authentication plug-ins: radsql.aut or radsqljdbc.aut users.

  • 0—Session CDRs are not generated.
  • 1—Session CDRs are generated.

The default is 1.

If UserSessionCdrEnable=1, then UserPartialCdrEnable must be set to 0.

SIMPartialCdrEnable

Specifies whether or not partial CDRs are generated for SIMauth users.

  • 0—Partial CDRs are not generated.
  • 1—Partial CDRs are generated.

The default is 0.

Note: If SIMPartialCdrEnable=1, then SIMSessionCdrEnable must be set to 0.

This parameter is reloaded every time that SBRC receives a SIGHUP (1) signal.

SIMSessionCdrEnable

Specifies whether or not session CDRs are generated for SIMauth users.

  • 0—Session CDRs are not generated.
  • 1—Session CDRs are generated.

The default is 1.

Note: If SIMSessionCdrEnable=1, then SIMPartialCdrEnable must be set to 0.

VolumeThresholdMegaBytes

Specifies the threshold (in megabytes) for creating a partial CDR.

Default is 10 MB.

This parameter is reloaded every time that SBRC receives a SIGHUP (1) signal.

TimeThresholdSeconds

Specifies the threshold (in seconds) for creating a partial CDR.

Default is 600 seconds (10 minutes).

Note: The value entered for TimeThresholdSeconds must match the value specified for the Acct-Interim-Interval return list attribute for the user (or the profile assigned to the user) in Steel-Belted Radius Carrier.

This parameter is reloaded every time that SBRC receives a SIGHUP (1) signal.

VolumeThresholdEnable

Specifies whether partial CDRs are generated when the volume threshold is crossed.

  • 0—Partial CDRs are not generated.
  • 1—Partial CDRs are generated.

The default is 0.

This parameter is reloaded every time that SBRC receives a SIGHUP (1) signal.

TimeThresholdEnable

Specifies whether partial CDRs are generated when the time threshold is crossed.

  • 0—Partial CDRs are not generated.
  • 1—Partial CDRs are generated.

The default is 0.

This parameter is reloaded every time that SBRC receives a SIGHUP (1) signal.

CdrDownlink

Specifies the RADIUS attribute to which the CDR Downlink field is mapped. Options are:

  • Acct-Input-Octets
  • Acct-Output-Octets

The default is Acct-Input-Octets.

Note: The CDR Uplink field is automatically mapped to whichever attribute is not assigned to the Downlink field.

This parameter is reloaded every time that SBRC receives a SIGHUP (1) signal.

CdrType

Specifies the format for the CDR type.

  • BinaryV1—Version 1 type CDRs are generated with extension .cdr1.
  • BinaryV2—Version 2 type CDRs are generated with extension .cdr2.
  • Asn1V2—ASN.1 type CDRs are generated with extension .cdr2a.

If CdrType is not specified, Version 1 type CDRs are generated with extension .cdr. Files with both .cdr and .cdr1 extensions are identical (version 1). The .cdr extension is retained for backward compatibility.

This parameter is reloaded every time that SBRC receives a SIGHUP (1) signal.

DefaultCUIDType

Specifies the user id to be used when no CUID (ChargeableUserId) attribute is received with the accounting request. This setting applies only if CdrType is set to BinaryV2 or Asn1V2.

Allowed values are:

  • IMSI
  • MSISDN
  • NAI

The default value is NAI.

This parameter is reloaded every time that SBRC receives a SIGHUP (1) signal.

Example

[Settings]
ConfigLog=ConsoleAndLog
CDRDirectory=./CDR
CDRNodeID=
SIMPartialCdrEnable=0
SIMSessionCdrEnable=1
UserPartialCdrEnable=0
UserSessionCdrEnable=1
VolumeThresholdMegaBytes=10
TimeThresholdSeconds=600
VolumeThresholdEnable=0
TimeThresholdEnable=0
CdrDownlink=Acct-Input-Octets
CdrType=BinaryV2
DefaultCUIDType=NAI

Note: The radius.ini file installed with Steel-Belted Radius Carrier must contain the following lines to ensure that the MSISDN is transported to the cdracct.acc plug-in.

[EmbedInClass]
Funk-SS7-MSISDN=Encrypt,Remove

Modified: 2018-01-11