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 SBCs. 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 closes and names Q-SBC format CDR files similar to the type referred to as “sequential” on the Q-SBC. Sequential CDR files close when they reach a specific size. The Q-SBC format CDR file names follow the pattern: S<xxxx>.CDR
where <xxxx>
specifies a sequence number in the range 0001 to 9999.
SBC Core restarts numbering at 0001 once it reaches the maximum sequence number (9999). 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.
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