DO NOT SHARE THESE DOCS WITH CUSTOMERS!
This is an LA release that will only be provided to a select number of PLM-sanctioned customers (PDFs only). Contact PLM for details.
In this section:
By default, the SBC Core generates CDRs in the standard SBC Core (former Sonus) format. For deployments that require it, users with admin privileges can configure the SBC Core to generate CDRs in the format of the (former GENBAND) Q-series SBC. Similar to SBC Core CDRs, the Q-SBC format is an ASCII-format text file with multiple records per file. When you enable the Q-SBC format, the SBC Core populates CDR log files according to the mapping shown in the Q-SBC to SBC Core CDR Mapping table. The field delimiter in the generated CDRs is the semi-colon (;) as in the Q-SBC CDR format.
Both the SBC Core and Q-SBC generate different CDR types based on SBC configuration and the characteristics of the specific call to which the CDR applies. When you enable generating CDRs in Q-SBC format, the SBC Core generates different Q-SBC types based on the types (START, STOP, INTERMEDIATE, ATTEMPT) the SBC Core would create during its standard CDR processing. The following table shows the mapping between SBC Core CDR types and Q-SBC CDR types.
SBC Core logs all types of Q-SBC CDR records (start1, end1, interim, hunt) in the same file. CDR field 39 identifies the specific type of CDR record.
The SBC Core supports two options for closing CDR files when you are generating CDRs in Q-SBC format. The SBC supports either file-size based CDR closure, or an option to close the CDR files at configured intervals. In the interval case, the CDR file name indicates the closure date and time.
The SBC closes the current CDR file when one of the following events occur:
fileSize
configuration)rolloverInterval
is configured)rolloverLogNow
CLI command)When the SBC closes CDR files because the maximum file size was reached, it uses a sequential naming convention. The SBC assigns the CDR file a name that follows the pattern: S<xxxx>.CDR
where <xxxx>
specifies a sequence number in the range 0001 to 9999.
The SBC opens a new file, using the next sequence number, when it closes the current file. The SBC restarts numbering at 0001 once it reaches the maximum sequence number (9999).
When the SBC closes CDR files because the rollover time interval elapsed, it uses a time-based naming convention. The SBC assigns the CDR file a name that follows the pattern: T<yyyymmddhhmmss>.CDR
where <yyyymmddhhmmss>
is the date and time that the SBC closed the file.
To configure the SBC to name Q-SBC format CDR files with a name that incorporates the file closing time, you must set oam eventLog typeAdmin acct
options as follows:
rolloverInterval
to the length of time (in seconds) that you want individual CDR files to remain openrolloverType
to repetitive
rolloverAction
to start
The rollover time starts based on the current system time and zone.
For both types of closing file naming conventions, the file extension given to a CDR file while it is open is determined by the setting of the renameOpenFiles
option. If you enable renameOpenFiles
, the SBC Core assigns the file extension .CDT
to files while they are open but then renames them with the .CDR
extension when closing the file.
Examples:
Sequential naming convention: S0004.CDT
(open) becomes S0004.CDR
(closed)
Time-based naming convention:
(open) becomes S0005.CDT
T20200315092011.CDR
(closed)
Using SBC Core CDR Configuration Options
When you enable the use of the Q-SBC CDR format, you can use existing CDR-related configuration options on the SBC Core to influence how it generates Q-SBC CDR format files. The following table summarizes this processing.
To verify CDR data integrity and authenticity when transmitting Q-SBC format CDR files to another system, you can configure the SBC Core to generate an HMAC-MD5 (Hash-Based Message Authentication Code - Message Digest algorithm 5) checksum and include it in each Q-SBC CDR log file. A receiving system uses the checksum to verify the file transmitted correctly and that there was no data tampering during transmission. When you enable checksum generation, the SBC inserts a file header into each CDR log file it generates that contains identifying information about the source network and file contents. When it executes the HMAC-MD5 hashing algorithm to generate the checksum, the SBC uses an operator-configured, private shared key. The SBC converts the resulting binary output from the algorithm to a text format that is consistent with the rest of the CDR file and appends it as the last line in the CDR log file. The processing system that receives these CDR log files must be equipped with the private shared key to be able to verify that the file is valid. The fields in the following table comprise the header added to CDR files when checksum validation is enabled. A semicolon (;) separates each header field and the SBC adds a carriage return at the end of the header.
By default, if a call duration includes a fraction of a second, the SBC calculates the call duration values by rounding down to the nearest second if the partial second duration is below 500 milliseconds, and rounds up when the fraction is 500 milliseconds or greater. You have the option to configure the SBC to round up to the next second if the call duration includes any part of a second. This process applies to the values shown in Q-SBC CDR fields 3 and 36. CDR field 47 shows call duration to the millisecond and is not impacted by this configuration.
The SBC Core provides global configurations to enable generating CDRs in Q-SBC format, to enable checksum validation of the CDR files, and to specify call duration rounding policy. A user must have admin privileges to configure these options.
The Q-SBC CDR format configuration options have the following syntax.
% set oam accounting qSbcCdr admin addChecksum < disabled | enabled > callDurationRoundUp <enabled | disabled> checksumKey <key> state <disabled | enabled>
The following series of commands enables generating CDRs in Q-SBC format and enables checksum validation.
% set oam accounting qSbcCdr admin state enabled % set oam accounting qSbcCdr admin addChecksum enabled % set oam accounting qSbcCdr admin checksumKey Qwer12Asdf09Zxcv34 % commit