Choosing a SIP Trunk Provider
Local Cambodian Providers
These carriers offer SIP trunk services within Cambodia and are the recommended choice for businesses that primarily make local and national calls. Using a local provider typically delivers lower latency, better regulatory compliance, and local DID (Direct Inward Dialing) numbers.International Providers
If your business makes frequent international calls or needs numbers in multiple countries, supplement your local trunk with an international carrier.Adding a SIP Trunk in 3CX
1
Open the SIP Trunk Configuration
In the 3CX Management Console, navigate to SIP Trunks in the left sidebar, then click Add SIP Trunk.
2
Select Your Provider Template
3CX includes pre-built templates for many common providers. Select your provider from the list. If your Cambodian provider is not listed, choose Generic SIP Trunk — the settings below apply universally.
3
Enter Trunk Credentials
Fill in the fields provided by your carrier:
Some Cambodian carriers require the Auth ID field to differ from the Username. Check your provider’s welcome letter for a separate Authentication ID entry.
4
Set Codec Preferences
Navigate to the Codecs tab within your trunk configuration and prioritize:
- G.729 — Compressed codec, ideal for lower-bandwidth connections. Recommended for VPS deployments where upstream bandwidth may be shared.
- G.711 (alaw/ulaw) — Uncompressed, highest audio quality. Use this when bandwidth is plentiful and you want the best voice clarity.
G.729 uses approximately 8 kbps per call channel, while G.711 uses approximately 64 kbps. For a system handling 10 simultaneous calls, the difference is 560 kbps — significant on constrained links.
Outbound Routing Rules
Outbound rules tell 3CX which trunk to use based on the number being dialed. Configure these under Outbound Rules in the Management Console.Example: Emergency Numbers
Add a dedicated rule for Cambodia emergency services to ensure they always route correctly regardless of trunk load:Inbound Routing Rules
Inbound rules map incoming DID numbers to destinations inside your 3CX system — an extension, a queue, a digital receptionist, or a ring group. Navigate to Inbound Rules and click Add DID Rule:Your SIP trunk provider must configure each DID number to forward to your 3CX server’s public IP on port 5060. Provide them with your server’s FQDN or static IP when requesting DID activation.
Verifying Your Trunk
After saving your configuration:- Check the SIP Trunks dashboard — the trunk status indicator should turn green (Registered).
- Dial an external number from a registered extension to test outbound calls.
- Call one of your DID numbers from an external phone to test inbound routing.