Audio Codecs and Network Requirements
Use this page when connecting a SIP carrier or planning firewall rules for SessionPBX.
Audio codecs
SessionPBX supports these audio codecs:
| Codec | Audio bandwidth | RTP mapping |
|---|---|---|
| G.711 A-law | Narrowband, 8 kHz audio | PCMA/8000, payload type 8 |
| G.711 µ-law | Narrowband, 8 kHz audio | PCMU/8000, payload type 0 |
| G.722 | Wideband, 16 kHz audio | G722/8000, payload type 9 |
| Opus | Negotiated with the endpoint | opus/48000/2, negotiated dynamic payload type |
G.722 uses an 8 kHz RTP timestamp clock, despite carrying 16 kHz audio. This is the standard mapping required by RFC 3551 . Do not configure it as G722/16000.
G.722 is available in all three shared hosted regions. On a self-hosted node, install the voice-node release that includes G.722 and check that the administrator has enabled it before testing G.722-only calls.
Codec preference
For ordinary calls, SessionPBX preserves the caller’s order among supported codecs in the SDP offer. The answering endpoint or carrier selects a compatible codec. There is no single fixed preference order applied to every call or a separate codec-priority setting on each SIP trunk.
For example, a phone offering G.722 → G.711 A-law → G.711 µ-law retains that order. A carrier offering A-law first can negotiate A-law. Configure the phone or softphone’s codec order to match your carrier’s requirements and keep at least one common codec enabled. SessionPBX does not provide arbitrary transcoding between two incompatible ordinary call legs.
Automatically generated campaign dialler offers currently list G.711 µ-law before G.711 A-law. Conference invitations use the codec selected for that invitation.
Recording, hold music and conferences
Ordinary G.722 calls preserve the wideband encoded audio. G.722 also works with recording, voicemail prompts, hold music, supervision and conferences. These features use the existing 8 kHz processing path, so their processed audio is narrowband even when delivered as G.722. Mixed G.722/G.711 conference participants are supported.
G.722 packets at 10, 20, 40 and 60 ms are supported by the processing path; generated audio uses 20 ms packets. DTMF uses RTP telephone events, negotiated separately from the voice codec.
Hosted regions and addresses
For the shared hosted platform, SIP signalling and anchored RTP/RTCP media use the same public IPv4 address in each region. There is no separate hosted media subnet to allowlist.
| Region | Location | Regional SIP host | Signalling and media IPv4 |
|---|---|---|---|
| Europe | London | uk.sip.sessiontalk.io | 206.189.121.32 |
| Americas | New York | us.sip.sessiontalk.io | 134.122.14.236 |
| Asia | Singapore | asia.sip.sessiontalk.io | 152.42.251.112 |
Use the workspace’s assigned SIP domain when configuring an account or trunk destination. Tenant SIP domains resolve to the appropriate regional node. The regional addresses above are useful for carrier allowlists and firewall rules; an IP address does not identify an individual customer on the shared platform.
Allow SIP on the agreed transport, normally UDP 5060 or TLS 5061, and UDP 28000–29998 for RTP/RTCP, in both directions as required by your firewall. Use the ports advertised in SDP within that range. SRTP uses the same media port range. Confirm TCP 5060 availability before choosing it; it is not enabled on every hosted node.
These addresses and ports describe the current shared hosted regions. A self-hosted or partner-managed installation uses its own public address and configured media range.
Australian deployments
Singapore is currently the closest shared hosted region to Australia. There is no announced launch date for an Australian shared region.
A partner-managed SessionPBX installation can run on infrastructure in Australia. Local hosting can reduce the network distance between Australian users, the PBX and the carrier. Discuss the deployment requirements with SessionTalk and test latency, jitter and packet loss on the intended paths.
One registered carrier account per customer
Username/password authentication with SIP registration is supported. Create a separate credential trunk in each customer’s workspace and enable Register to this carrier. Each customer can have its own carrier username and password even when customers share a regional SessionPBX IP address.
Provide the carrier host, port, transport and credentials, plus any required authentication realm, registration identity and expiry. Configure that customer’s inbound numbers and routes on its own trunk. Do not use the shared node IP as the customer’s authentication identity.
See Connect a SIP Trunk, Registration-based Carriers and SRTP Media Encryption.