Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Codec Type string is always six (6) characters, including both colons.

note
Info
titleNote

Circuit calls are always codec type G.711.

 

Codec Type Sub-fields

Caption
0Table
1Sub-fields in Codec Type Fields

Sub-Field

Description

Sub-Field 1

Network Type (one character):

  • C – Circuit Network
  • P – Packet Network

Sub-Field 2

Codec Type (two numeric digits):

  • 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_G7221_SILENCE_SUPPRESS
  • 15 – PKT_ENCODING_G728
  • 16 – PKT_ENCODING_G728_SILENCE_SUPPRESS
  • 17 – PKT_ENCODING_AMR Bandwidth-efficient Mode
  • 18 – PKT_ENCODING_AMR Octet-align Mode
  • 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-align Mode
  • 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
  • 44 – PKT_ENCODING_REVERSE_OFFER_WILDCARD
  • 45 – (not used)
  • 46 – PKT_ENCODING_G726SS

Sub-Field 3

G711 Audio Encoding Types (these one digit values apply only when the Codec Type is G711 or G711_SILENCE_SUPPRESS):

  • 0 – CKT_ENCODING_NULL
  • 1 – CKT_ENCODING_G711_ULAW
  • 2 – CKT_ENCODING_G711_ALAW

    G723 Audio Encoding Type (these one digit values apply only when the Codec Type is G723 or 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 Type (this one digit value applies only when the Codec Type is G726 or G726SS):
  • 0 – G726_CODING_RATE_16KBPS
  • 1 – G726_CODING_RATE_24KBPS
  • 2 – G726_CODING_RATE_32KBPS
  • 3 – G726_CODING_RATE_48KBPS

    ILBC Audio Encoding Type (these one digit values apply only when the Codec Type is ILBC and ILBCSS):
  • 0 – ILBC_CODING_RATE_13P3_KBPS
  • 1 – ILBC_CODING_RATE_15P2_KBPS
    Sub-Field 3 is not applicable (treated as "don't care") for Code Types NULL, G729A, G729AB, and FAX_RELAY)

...