PBX · 3CX v18 / v20

Set up a SIP trunk in 3CX with DIDHub

3CX recognizes DIDHub via the generic SIP trunk template. This tutorial walks through the field values, DID inbound mapping, and outbound rule.

Step 1: Add the trunk

3CX Console → SIP Trunks → Add SIP Trunk.

FieldValue
CountryGeneric
ProviderGeneric SIP Trunk
Main Trunk No.+15551234567
Registrar / Serversip.didhub.io
Type of authenticationRegister / Account based
Authentication IDtrunk_xxxxx
Authentication password<from DIDHub>
3 simultaneous calls(based on plan)
SBC RequiredNo

Step 2: DID rule (inbound)

Trunk detail → DIDs tab → Add DID: +15551234567 → Destination: Extension 100 (or queue, or IVR).

Step 3: Outbound rule

Outbound Rules → Add
Name              : DIDHub-Outbound
Calls to numbers starting with : +
Make outbound calls on    : DIDHub
Strip digits      : 0
Prepend           : ""  (already E.164)

Step 4: Codec order

Trunk detail → Options tab → reorder codecs: ulaw, alaw, opus. Disable G.722 for compatibility.

Step 5: Test

Tips

Ready to get a number?

Pick a DID in 130+ countries from $1.99/month. Activates instantly on most numbers.