--- title: "Configure Codec" slug: "codec-configuration" updated: 2025-08-26T06:44:09Z published: 2025-08-26T06:44:09Z canonical: "kb.connecttoteams.com/codec-configuration" --- > ## Documentation Index > Fetch the complete documentation index at: https://kb.connecttoteams.com/llms.txt > Use this file to discover all available pages before exploring further. # Configure Codec Starting in ConnecttoTeams Service Portal release 1.6, service providers can select a codec to assign at the **PBX level.** Starting in ConnecttoTeams Enterprise Portal release 1.6, enterprise admins can select a codec to assign at the **PBX level.** When creating or editing the PBX, you may set the **Codec** field in the PBX Settings so that the users provisioned on the PBX will inherit these values. ![](https://cdn.us.document360.io/312e5ae5-e3c1-465d-8e37-f253a7ba8eee/Images/Documentation/image-4VZRI7WS.png?sv=2026-02-06&spr=https&st=2026-10-29T18%3A23%3A58Z&se=2026-10-29T19%3A23%3A58Z&sr=c&sp=r&sig=AGv3p2eD8kq%2FufvtNQF%2BxjrgorcodVQBEjeiqilwT00%3D) The **Enforce Codecs on Inbound** checkbox limits codecs on inbound calls. This forces inbound calls to use only the specified codecs. > [!NOTE] > Reference > > For the full instruction on configuring the PBX, check [PBX Configuration Guide](/v1/docs/pbx-configuration-guide). ## Codecs Supported by ConnecttoTeams: The PBX Connector supports the following codecs: | Codec | Supported | Note | | --- | --- | --- | | G.711 | Yes | Both A-law and U-law are supported | | Silk | Yes | Both NB and WB are supported | | G.729 | Yes | | | G.722 | Yes | | > [!NOTE] > Recommendation > > The recommended packetization interval is 20 milleseconds. ## **Setting the Preferred Order of Codecs** The default codes is G.711 A-law followed by G.711 U-law. It is possible to configure which codecs ConnecttoTeams will attempt to use and the order in which they will be attempted. Where-ever codec management is available whether in the PBX or User screens, click the Codecs box as seen below and the list of available codecs will appear. ![](https://cdn.us.document360.io/312e5ae5-e3c1-465d-8e37-f253a7ba8eee/Images/Documentation/image(436).png?sv=2026-02-06&spr=https&st=2026-10-29T18%3A23%3A58Z&se=2026-10-29T19%3A23%3A58Z&sr=c&sp=r&sig=AGv3p2eD8kq%2FufvtNQF%2BxjrgorcodVQBEjeiqilwT00%3D) Click each codec you wish to enable, in the order you wish to attempt. There must be at least one codec enabled or the system will revert to a default of G.711 A-law. Normal use might involve the following scenario: If you use one codec for 80% of calls another for 15% and a third for 5% you would want to put the 80% codec first, 15% second and 5% last to help improve processing time. An example of multiple codecs being enabled would look like this: ![](https://cdn.us.document360.io/312e5ae5-e3c1-465d-8e37-f253a7ba8eee/Images/Documentation/image(437).png?sv=2026-02-06&spr=https&st=2026-10-29T18%3A23%3A58Z&se=2026-10-29T19%3A23%3A58Z&sr=c&sp=r&sig=AGv3p2eD8kq%2FufvtNQF%2BxjrgorcodVQBEjeiqilwT00%3D) G.711: Industry standard for phone calls; most common. U-law is more typical in North America while A-law is more common in the rest of the world. G.729: Lower bitrate. G722: For HD phone calls. SILK: Best for mobile calls. NB is 8khz. WB is 16khz and therefore has clearer audio, albeit higher networking requirements. ## Suggested Further Reading - For the full instruction on configuring the PBX, check [PBX Configuration Guide](/v1/docs/pbx-configuration-guide). - For full instruction on using the PBX Connector app, check [PBX Configuration Guide](/v1/docs/pbx-configuration-guide).