Warning

DO NOT convert a codec entry from one type to another (e.g., AMR to G711). Each codec type includes many configuration options, which are not automatically reset when swapping between codecs. This can result in unexpected processing on the SBC and potential call failures. Thus, the best practice is to start with a new codec entry when a new codec is required.

Use the Codec Entry window to define entries for audio encoding methods (codecs) and their associated attributes for use when configuring codecs in a Packet Service Profile. Refer to Packet Service Profile - Codec. A set of default codec entries is provided. You can add custom codec entries which are then available to include when configuring codecs in a Packet Service Profile. When you add a codec entry the parameters available change, depending on the base codec you select.

In addition to the options set on this window, more options can be set or edited for a codec entry using windows that appear below the Codec Entry window in the navigation hierarchy. Refer to the following pages for more information on additional codec entry options.

To View the Codec Entry List

On the SBC main screen, go to Configuration > System Provisioning > Category: Call Routing > Entry or
Configuration > Profile Management > Media Profiles > Codec Entry or
All > Profiles > Media > Codec Entry

The Codec Entry window opens with the default codecs listed along with any custom codec entries that have been added.

Figure 1: Codec Entry Window

To Create a Codec Entry

To create a new Codec Entry:

  1. Click New Codec Entry. The Create New Codec Entry window opens. 

  2. Use the following table to configure the attributes for the Codec Entry. Depending on your choice in the Codec list, different attributes are available.
  3. Click Save to create the Codec Entry.

Table 1: Codec Entry Parameters

Parameter Description
Name

The name you want to assign to the Codec Entry. This name appears in the list of codec options when you configure a Packet Service Profile.

Codec

Select the Codec from the drop-down list (refer to Audio Codecs for additional information on supported codecs):

  • amrBandwidthEfficient
  • amrCrc
  • amrCrcInterleaving
  • amrCrcRobustSorting  
  • amrInterleaving
  • amrInterleavingRobustSorting
  • amrIuUP
  • amrOctetAligned  
  • amrRobustSorting
  • amrwbBandwithEfficient
  • amrwbCrc
  • amrwbCrcInterleaving
  • amrwbCrcRobustSorting
  • amrwbInterleaving
  • amrwbInterleavingRobustSorting
  • amrwbOctetAligned
  • bv16
  • bv32
  • bv32Fec
  • efr
  • evrc
  • evrc0
  • evrc1
  • evrc1Fr
  • evrcb
  • evrcb0
  • evrcb1
  • evrcb1Fr
  • evs
  • g711 (default)
  • g711ss
  • g722
  • g7221
  • g7221ss
  • g7231
  • g7231a  
  • g726
  • g726ss  
  • g728
  • g728ss
  • g7291
  • g729a
  • g729ab
  • gsm
  • ilbc  
  • ilbcss
  • isac
  • l16-16
  • msrta16
  • msrta8
  • opus
  • silk12
  • silk16
  • silk24
  • silk8
  • speex16
  • speex16Fec
  • speex32
  • speex8
  • speex8Fec
  • amrwbCrcInterleavingRobustSorting
<codec>Coding Rate

Specifies the coding rate for the codec entry, in Kbps. Codecs for which this option can be configured:

  • G726 (default 32)
  • G726ss (default 32)
  • G7231 (default 6.3)
  • G7231a (default 6.3)
  • Ilbc (default 13.3)
  • Ilbcss (default 13.3)
  • G722 (default 64)
  • G722ss (default 64)
  • G7221 (default 32)
  • G7221ss (default 32)
  • Evrcb0 (default 9.3)
Packet Size Generic Codecs

Specifies the packet size in milliseconds (ms). Options vary based on the type of codec chosen. Codecs for which this option can be configured:

  • bv16
  • bv32
  • bv32Fec
  • g7221-32
  • g728
  • g7291
  • gsm
  • isac
  • l16-16
  • msrta8
  • msrta16
  • silk8
  • silk12
  • silk16
  • silk24
  • speex8
  • speex8Fec
  • speex16
  • speex16Fec
  • speex32
Packet Size <codec>

Specifies the packet size in milliseconds (ms). Options vary based on the type of codec chosen. Codecs for which this option can be configured:

  • G711 (default 10)
  • G723 (default 30)
  • Ilbc133 (default 30)
  • Ilbc
  • G722 (default 20)
  • G728 (default 10)
  • G7221 (default 20)
  • Amrwb (default 20)
  • Evrc (default 20)
  • Amr (default 20)
  • Evrcb0Evrc0 (default 20)
  • G726 (default 20)
  • G729 (default 20)
  • OPUS (default 20)
  • EVS (default 20)
Active Codec Set 

The active code set is applicable to certain AMR narrow-band codecs. By default all options are selected. The options are are:

  • AMR-0-4.75kbps
  • AMR-1-5.15kbps
  • AMR-2-5.90kbps
  • AMR-3-6.70kbps
  • AMR-4-7.40kbps
  • AMR-5-7.950kbps
  • AMR-6-10.20kbps
  • AMR-7-12.20kbps
Mode Set

The mode set is applicable to AMR wide-band codecs. By default all options are selected. The options are are:

  • AMR-0-6.6
  • AMR-1-8.85
  • AMR-2-12.65
  • AMR-3-14.25
  • AMR-4-15.85
  • AMR-5-18.25
  • AMR-6-19.85
  • AMR-7-23.05
  • AMR-8-23.85
Fec Redundancy Sets the level for Forward-Error-Correction (FEC) redundancy [AMR only].  The default value of 0 means FEC redundancy is disabled. Options are 0, 1, or 2.
Static Preferred Rtp Payload TypeSpecifies the preferred static RTP payload type. The value ranges from 0 to 128 and the default value is 128.
Dynamic Preferred Rtp Payload TypeSpecifies the preferred dynamic RTP payload type. The value ranges from 0 to 127 and the default value is 96.
Max Interleave Depth

This parameter specifies the amount of interleaving an endpoint can deal with. The value ranges from 0 to 7 and the default value is 0. This option appears only when the codec selected is evrc or evrcb and when Packet Size is set to 40 or 60.

Note: Interleaving only applies to EVRC and EVRCB calls.

Mode Change Neighbor

Enable this option to force a mode change to neighboring modes in the active codec set as per RFC4867 (applies to AMR and AMRWB codecs).

  • Disable (default)
  • Enable
Initial Codec Mode

Use this option to determine the initial codec mode of an AMR/AMR-WB transcoded call once the call is established. This option applies to codec entries using amrBandwidthEfficient, amrOctetAligned, amrwbBandwidthEfficient, or amrwbOctetAligned codecs.

  • Disable (default) – AMR/AMR-WB call starts with the highest rate in the active mode set.
  • Enable – AMR/AMR-WB call starts with a rate determined by the following algorithm:
    1. If one codec mode is included in the mode-set, it is the initial codec mode.
    2. If two or three codec modes are included in the mode-set, the initial codec mode is the codec mode with the lowest rate.
    3. If four or more codec modes are included in the mode-set, the initial codec mode is the codec mode with the second lowest rate.
Law

Specifies the G711 law to use, values are:

  • A Law
  • U Law
  • Derive From Other Leg (default)

Note: Do not use Derive From Other Leg when configuring H.323 or SIP trunk groups to use INVITEs with no SDP.

Send SidUse this option to enable or disable sending silence insertion descriptor (SID) packets.

Max Average Bit Rate

The maximum Opus bit rate (in bits/second) used for the current session. The value ranges from 6000 to 510000 and the default value is 20000.

Use Cbr

Use this parameter to specify variable or constant bit rate. Applies to Opus only.

  • 0 – Use variable bit rate
  • 1 –  Use constant bit rate

Use Fec

Use this parameter to specify whether or not to use Forward Error Correction (FEC). Applies to Opus only.

  • 0 – Do not use FEC
  • 1 –  Use FEC

Use Dtx

Use this parameter to specify whether or not to use Discontinuous Transmission (DTX).
  • 0 – Do not use DTX (default)
  • 1 –  Use DTX
Min Bit RateSpecifies the minimum bit rate for the EVS codec. Default is 5.9 and the supported values are 5.9, 7.2, 8, 9.6, 13.2, 16.4, 24.4, 32, 48, 64, 96, or 128 Kbps. This value must be less than or equal to Max Bit Rate.
Max Bit RateSpecifies the maximum bit rate for the EVS codec. Default is 128 and the supported values are 5.9, 7.2, 8, 9.6, 13.2, 16.4, 24.4, 32, 48, 64, 96, or 128 Kbps. This value must be greater than or equal to Min Bit Rate.
Use Silk DTX

Specifies whether to use Discontinuous Transmission (DTX) for a Silk codec.

  • 0 – Do not use DTX (default)
  • 1 –  Use DTX

Max Average Bit Rate Silk8|Silk12|Silk16|Silk24


Specifies the maximum average bit rate (in bits/sec) for a Silk codec. Options are:

Silk8 (default 20000, range 6000 - 20000)
Silk12
(default 25000, range 7000 - 25000)
Silk16
(default 36000, range 8000 - 36000)
Silk24
(default 40000, range 12000 - 40000)

To Edit a Codec Entry

To edit a Codec Entry:

  1. Click the radio button next to the name of the Codec Entry you want to edit. The Edit Selected Codec Entry window opens.
  2. Make the required changes and click Save.

Note

Ribbon recommends against editing the default codec entries. Edit only user-defined codecs.

To Copy a Codec Entry

To copy a Codec Entry and make changes to the copy:

  1. Click the radio button next to the name of the Codec Entry you want to copy.

  2. Click Copy Codec Entry. The Copy Selected Codec Entry window opens.
  3. Make the required changes and click Save.

To Delete a Codec Entry

To delete a Codec Entry:

  1. Click the radio button next to the name of the Codec Entry you want to delete.
  2. Click the delete icon (X) at the end of the row.
  3. Confirm the deletion when prompted.
Note

Ribbon recommends against deleting the default codec entries.