The following table lists all sub-fields in Ingress and Egress Codec Type fields. A colon character (":") separates sub-field 1 from 2 and separates 2 from 3.
The Codec Type string is always six (6) characters, including both colons.
Codec Type Sub-fields
Table 9: Ingress and Egress Codec Type Sub-Field VariablesSub-Field | Description |
---|
Network Type (sub-field 1) | - C - Circuit Network
- P - Packet Network
|
Codec Type (sub-field 2) | - 0 - PKT_ENCODING_NULL
- 1 - PKT_ENCODING_G711
- 2 - PKT_ENCODING_G711_SILENCE_SUPPRESS
- 3 - PKT_ENCODING_G723
- 4 - PKT_ENCODING_G729A
- 5 - PKT_ENCODING_G729AB
- 6 - PKT_ENCODING_FAX_RELAY
- 7 - PKT_ENCODING_G723A
- 8 - PKT_ENCODING_G726
- 9 - PKT_ENCODING_ILBC
- 10 - PKT_ENCODING_ILBCSS
- 11 - PKT_ENCODING_G722
- 12 - PKT_ENCODING_G722_SILENCE_SUPPRESS
- 13 - PKT_ENCODING_G7221
- 14 - PKT_ENCODING_G7221SS
- 15 - PKT_ENCODING_G728
- 16 - PKT_ENCODING_G728SS
- 17 - PKT_ENCODING_AMR_BW_EFFICIENT
- 18 - PKT_ENCODING_AMR_OCTET_ALIGNED
- 19 - PKT_ENCODING_AMR_CRC
- 20 - PKT_ENCODING_AMR_CRC_INTERLEAVING
- 21 - PKT_ENCODING_AMR_CRC_ROBUST_SORTING
- 22 - PKT_ENCODING_AMR_CRC_INTERLEAVING_ROBUST_SORTING
- 23 - PKT_ENCODING_AMR_INTERLEAVING
- 24 - PKT_ENCODING_AMR_INTERLEAVING_ROBUST_SORTING
- 25 - PKT_ENCODING_AMR_ROBUST_SORTING
- 26 - PKT_ENCODING_AMRWB_BW_EFFICIENT
- 27 - PKT_ENCODING_AMRWB_OCTET_ALIGNED
- 28 - PKT_ENCODING_AMRWB_CRC
- 29 - PKT_ENCODING_AMRWB_CRC_INTERLEAVING
- 30 - PKT_ENCODING_AMRWB_CRC_ROBUST_SORTING
- 31 - PKT_ENCODING_AMRWB_CRC_INTERLEAVING_ROBUST_SORTING
- 32 - PKT_ENCODING_AMRWB_INTERLEAVING
- 33 - PKT_ENCODING_AMRWB_INTERLEAVING_ROBUST_SORTING
- 34 - PKT_ENCODING_AMRWB_ROBUST_SORTING
- 35 - PKT_ENCODING_EVRC (Interleaved/Bundled format)
- 36 - PKT_ENCODING_EVRC0 (Header-free format)
- 37 - PKT_ENCODING_EVRC1 (Compact-bundled format, Half-rate in single rate mode)
- 38 - PKT_ENCODING_EVRC1_FR (Compact-bundled format, Full-rate in single rate mode)
- 39 - PKT_ENCODING_EVRCB (Interleaved/Bundled format)
- 40 - PKT_ENCODING_EVRCB0 (Header-free format)
- 41 - PKT_ENCODING_EVRCB1 (Compact-bundled format, Half-rate in single rate operation)
- 42 - PKT_ENCODING_EVRCB1_FR (Compact-bundled format, Full-Rate in single rate operation)
- 43 - PKT_ENCODING_EFR
- 46 - PKT_ENCODING_G726SS
- 49 - PKT_ENCODING_SILK_8
- 50 - PKT_ENCODING_SILK_12
- 51 - PKT_ENCODING_SILK_16
- 52 - PKT_ENCODING_SILK_24
- 55 - PKT_ENCODING_G7291
- 56 - PKT_ENCODING_BV16
- 57 - PKT_ENCODING_BV32
- 58 - PKT_ENCODING_BV32_FEC
- 59 - PKT_ENCODING_SPEEX_8
- 60 - PKT_ENCODING_SPEEX_16
- 61 - PKT_ENCODING_SPEEX_32
- 62 - PKT_ENCODING_SPEEX_FEC_8
- 63 - PKT_ENCODING_SPEEX_FEC_16
- 64 - PKT_ENCODING_L16_16
- 65 - PKT_ENCODING_ISAC
- 69 - PKT_ENCODING_Opus
- 70 - PKT_ENCODING_EVS
|
Audio Encoding (sub-field 3) | G711 Audio Encoding Types (when Codec Type is PKT_ENCODING_G711 or PKT_ENCODING_G711_SILENCE_SUPPRESS): - 0 - CKT_ENCODING_NULL
- 1 - CKT_ENCODING_G711_ULAW
- 2 - CKT_ENCODING_G711_ALAW
G722 Audio Encoding Types (when the Codec Type is G722): - 0 - CPC_G722_CODING_RATE_48_KBPS
- 1 - CPC_G722_CODING_RATE_56_KBPS
- 2 - CPC_G722_CODING_RATE_64_KBPS
G.722.1 Audio Encoding Types (when the Codec Type is G7221): - 0 - CPC_G7221_CODING_RATE_24_KBPS
- 1 - CPC_G7221_CODING_RATE_32_KBPS
- 2 - CPC_G7221_CODING_RATE_16_KBPS
G723 Audio Encoding Types (when the Codec Type is PKT_ENCODING_G723 or PKT_ENCODING_G723A): - 0 - G723_CODING_RATE_5P3_KBPS (5.3K bits per second)
- 1 - G723_CODING_RATE_6P3_KBPS (6.3K bits per second)
G726 Audio Encoding Types (when the Codec Type is PKT_ENCODING_G726): - 0 - G726_CODING_RATE_16KBPS
- 1 - G726_CODING_RATE_24KBPS
- 2 - G726_CODING_RATE_32KBPS
- 3 - G726_CODING_RATE_48KBPS
ILBC Audio Encoding Types (when the Codec Type is PKT_ENCODING_ILBC and PKT_ENCODING_ILBCSS): - 0 - ILBC_CODING_RATE_13P3_KBPS
- 1 - ILBC_CODING_RATE_15P2_KBPS
T38 Audio Encoding Types (when the Codec Type is PKT_ENCODING_FAX_RELAY) - 0 - T38_VERSION_0
- 3 - T38_VERSION_3
AMR Audio Encoding Types (when the Codec Type is AMR) - 0 - CPC_AMR_CODING_RATE_4P75_KBPS
- 1 - CPC_AMR_CODING_RATE_5P15_KBPS
- 2 - CPC_AMR_CODING_RATE_5P9_KBPS
- 3 - CPC_AMR_CODING_RATE_6P7_KBPS
- 4 - CPC_AMR_CODING_RATE_7P4_KBPS
- 5 - CPC_AMR_CODING_RATE_7P95_KBPS
- 6 - CPC_AMR_CODING_RATE_10P2_KBPS
- 7 - CPC_AMR_CODING_RATE_12P2_KBPS
AMRWB Audio Encoding Types (when the Codec Type is AMRWB) - 0 - CPC_AMRWB_CODING_RATE_6P6_KBPS
- 1 - CPC_AMRWB_CODING_RATE_8P85_KBPS
- 2 - CPC_AMRWB_CODING_RATE_12P65_KBPS
- 3 - CPC_AMRWB_CODING_RATE_14P25_KBPS
- 4 - CPC_AMRWB_CODING_RATE_15P85_KBPS
- 5 - CPC_AMRWB_CODING_RATE_18P25_KBPS
- 6 - CPC_AMRWB_CODING_RATE_19P85_KBPS
- 7 - CPC_AMRWB_CODING_RATE_23P05_KBPS
- 8 - CPC_AMRWB_CODING_RATE_23P85_KBPS
EVRC Audio Encoding Types (when the Codec Type is EVRC or EVRCB0) - 0 - CPC_EVRCB_OP_POINT_0 (9.3 kbps)
- 1 - CPC_EVRCB_OP_POINT_1 (8.5 kbps)
- 2 - CPC_EVRCB_OP_POINT_2 (7.5 kbps)
- 3 - CPC_EVRCB_OP_POINT_3 (7.0 kbps)
- 4 - CPC_EVRCB_OP_POINT_4 (6.6 kbps)
- 5 - CPC_EVRCB_OP_POINT_5 (6.2 kbps)
- 6 - CPC_EVRCB_OP_POINT_6 (5.8 kbps)
- 7 - CPC_EVRCB_OP_POINT_7 (4.8 kbps)
NOTE (1): Audio Encoding Types are not applicable to Codec Types NULL, G729A, G729AB, and EVS. NOTE (2): 32 kbps is the only rate available for G726 at R4.0. NOTE (3): For Opus and T38 audio encodings, the modeset value negotiated in offer/answer is logged in the CDR as a decimal value
NOTE (4): Value for SILK and Opus indicates the max average bitrate |
Codec Type String Examples
Codec String | Description |
---|
P:4:1 | Ingress or egress leg is from a packet network with G.729A encoding. The Audio Encoding Type of "1" is meaningless for G.729A packet encoding. |
C:1:2 | Ingress or egress leg is from a circuit network with G.711 encoding and a Law audio encoding. |
P:1:2 | G.711 packet call with aLaw encoding. |
C:3:1 | G.723 circuit call a 6300 bits per second. |