CDRs contain two sub-fields to convey the audio encoding values used for the codecs used on the ingress and egress legs. For pass-through calls, the most preferred codec in the SDP answer is logged in the CDR, for a transcoded call, the selected codec is logged in the CDR. The following table shows details for the sub-fields. See CDR Field Descriptions for the full list of additional media stream statistics sub-fields.
The two sub-fields include the following information:
network type
(P for packet, C for circuit)codec type
(numeric codec value, refer to Codec Type Descriptions)mode-set/bit rate
For most codecs the data appears in the format <packet_type>:<codec_type>:<mode-set/bit rate>
. If more than one mode-set or bit rate value applies the values for the third component are separated by semi-colons.
For the EVS codec, only the primary mode rate is captured in CDRs and the following format applies for the sub-fields:
<packet_type>:<codec_type>:<bit-rate;mode
set>
where bit-rate
can be specified as a range (for example: 5.9-24.4) and mode
set
can contain multiple values separated by semi-colons (for example: 0-8).
For the SILK codec, the following format applies:
<packet_type>:<codec_type>:<maxaveragebitrate
>
where maxaveragebitrate
can be in the range 6000 to 40000.
Supported Codecs
The data applies to the following codecs/coding rates:
In the example, the first and the second columns are for illustration only, and not part of the actual decoded CDR.
The ";
" (semicolon) character is used as a delimiter if more than one value applies.