Codec guide 8 min read Reviewed 9 September 2026

Which VoIP codec should a UK business use?

For most UK PSTN-facing SIP services, prefer G.711 A-law when it is enabled on the UKDDI account because it is widely interoperable and avoids unnecessary low-bitrate transcoding. Use G.722 for end-to-end HD voice and Opus for compatible WebRTC/softphone paths; keep G.729 for constrained links only when every required leg supports it.

Protect the service. Replace every placeholder with the value issued for your account. Never publish credentials, allow anonymous inbound SIP, or enable an unapproved caller ID.
Direct answer

For most UK PSTN-facing SIP services, prefer G.711 A-law when it is enabled on the UKDDI account because it is widely interoperable and avoids unnecessary low-bitrate transcoding. Use G.722 for end-to-end HD voice and Opus for compatible WebRTC/softphone paths; keep G.729 for constrained links only when every required leg supports it.

Settings used in this guide

These are public service values, not your password or account-specific authentication ID.

Approved codec orderConfirm in your UKDDI activation email
Media securitySRTP
DTMF methodConfirm in your UKDDI activation email

Start with interoperability, not the longest codec list

A codec converts audio into packets. Both endpoints must agree on one codec, and any network element forced to convert between codecs adds processing, delay and another possible quality loss.

The live UKDDI account setting is Confirm in your UKDDI activation email. Do not enable or prioritise a codec merely because the PBX lists it; it must be supported on the carrier path and appropriate to every endpoint that needs the call.

Default PSTN choice

G.711 A-law is usually the cleanest starting point for UK telephony where the carrier profile enables it.

HD internal/compatible calls

G.722 gives wideband speech at a 64 kbit/s encoded rate when the full path supports it.

Constrained bandwidth

G.729 reduces payload rate but trades quality and can trigger transcoding; use only when supported and justified.

WebRTC and modern apps

Opus adapts well across speech/audio and network conditions, but PSTN interworking usually needs another codec or transcoding.

Compare the four common choices

CodecEncoded rateBest fitMain caution
G.711 A-law64 kbit/s payloadUK PSTN and reliable business LAN/WAN pathsHigher total bandwidth than compressed codecs
G.72264 kbit/s payloadEnd-to-end wideband/HD speechFalls back or transcodes when a leg is narrowband
G.7298 kbit/s payloadGenuinely constrained compatible linksLower fidelity and more processing/transcoding risk
OpusVariable, 6–510 kbit/s in RFC 6716WebRTC, softphones and adaptive IP audioNot a universal PSTN trunk codec
Payload is not total bandwidth

IP, UDP, RTP, Ethernet/VLAN, TLS signalling and SRTP overhead are additional. Packet interval, IPv4/IPv6 and tunnel/VPN headers change the real per-call figure.

Choose a short, deliberate priority order

  1. 1
    Read the carrier profile

    Start with Confirm in your UKDDI activation email from the UKDDI activation details. Unsupported offers can cause rejection or unwanted transcoding.

  2. 2
    Map every call leg

    Include handset, PBX, SBC, WAN, UKDDI and the PSTN or application at the far end.

  3. 3
    Prefer the common codec

    Put the codec that can remain end-to-end near the top; for a UK PSTN-facing route that is commonly G.711 A-law when enabled.

  4. 4
    Keep fallbacks intentional

    A long offer can create inconsistent negotiations. Enable only tested codecs and document why each fallback exists.

  5. 5
    Test features as well as speech

    Verify Confirm in your UKDDI activation email, hold music, recording, voicemail, transfer, conferences and fax policy where used.

Plan bandwidth with headroom

Calculate simultaneous calls using the complete on-the-wire rate, not only the codec payload. Add headroom for bursts, other applications, VPN/tunnel overhead and both directions. Quality of Service cannot manufacture bandwidth on an already saturated access link.

  • Measure packet loss, latency and jitter during the busiest business period.
  • Avoid Wi-Fi for fixed desk phones where a stable wired path is available.
  • Use call admission limits so the next call does not degrade every existing call.
  • Check recording/transcoding CPU capacity separately from internet bandwidth.
TECHNICAL FAQ

Questions to check before raising a fault

Remove passwords from screenshots, configuration exports and packet captures before sharing them.

What is the best codec for UKDDI?

Use Confirm in your UKDDI activation email for the live account. Where enabled, G.711 A-law is normally the best first choice for UK PSTN interoperability.

Does G.729 always save bandwidth?

Its audio payload is much smaller, but headers still apply and transcoding/quality trade-offs can outweigh the saving. Use it only on a supported constrained path.

Will G.722 make every external call HD?

No. Every leg must support wideband audio. A PSTN or narrowband segment will constrain or transcode the call.

Should I enable every codec?

No. Offer a short, tested order matching the carrier and endpoint capabilities. More codecs can make negotiation less predictable.

OFFICIAL REFERENCES

Platform and standards documentation

Use the linked model and version documentation alongside this guide. Your UKDDI activation email takes priority for service-specific values.

NEXT TECHNICAL STEP

Related UKDDI guides

All technical guides →
STILL NOT REGISTERED?

Send the symptoms, not the secret.

Tell UKDDI the affected number, time of a test call, call direction, SIP response code and public PBX IP. Never send the SIP password.

Contact technical support