3CX SIP Trunk Setup: Connect a Generic Wholesale Trunk
Step-by-step 3CX SIP trunk setup with a generic provider: server, authentication, caller ID, outbound rules with route prefixes, DIDs and SIP error fixes.
Step-by-step 3CX SIP trunk setup with a generic provider: server, authentication, caller ID, outbound rules with route prefixes, DIDs and SIP error fixes.

To connect 3CX to a wholesale SIP trunk, add a generic SIP trunk, enter the provider's registrar/proxy, authentication and caller ID, then create an outbound rule that adds any route prefix. Menu names differ between 3CX versions, so this guide focuses on the values each field needs rather than exact screen labels.
Collect from your VoxioTelecom portal:
New to the portal? Follow how to create a SIP trunk first.
In the 3CX admin console, open the trunks section and add a new trunk. Choose your country and the generic SIP trunk (or "generic provider") template rather than a named carrier template.
| 3CX field (typical label) | Value |
|---|---|
| Registrar / Server / Proxy | SIP host from the portal |
| Port | Port from the portal (commonly 5060 for UDP/TCP) |
| Main trunk number | Your DID or caller ID number |
| Number of simultaneous calls | Your approved channel limit |
Do not set the simultaneous call count higher than your approved account limit; extra attempts will be rejected (channels vs CPS).
Never share credentials in tickets or screenshots, and rotate them if exposed.
Set the outbound caller ID on the trunk (or per extension) to a number you are authorised to use. Check the format required — usually full international format without "+" or "00". Learn the difference between a DID and caller ID and how to test CLI delivery.
Create an outbound rule that sends international calls to the new trunk. If you want a specific route class (for example Premium CLI), use the rule's "prepend" option to add the technical prefix before the international number. Strip local access codes such as "00" if your users dial them.
If you have a DID routed to this trunk, add it to the trunk's DID list and set the inbound destination (extension, ring group or IVR). See route a DID number to a SIP trunk.
Place a test call and check the 3CX event log or a SIP capture:
Restrict outbound rules to the countries you call, set strong extension passwords, keep 3CX updated and use a prepaid balance as a spending cap. More in our SIP trunk security guide.
Can I use any SIP trunk with 3CX? Most standards-based SIP trunks work through the generic SIP trunk template, as long as you have the server, authentication and caller ID details.
Should I use registration or IP authentication with 3CX? Registration is simpler behind dynamic IPs. IP authentication suits a fixed public IP and avoids credential exposure; restrict it to that IP.
Why does my 3CX trunk register but calls fail? Registration only proves the credentials. Calls can still fail because of caller ID format, balance, destination rules, route prefixes or capacity; check the SIP response code.
How do I dial a route prefix from 3CX? Use an outbound rule that prepends the prefix to the dialled international number, so users dial normally.
Create an account to browse the full A-Z deck in your portal — Premium CLI and Standard clearly labelled, searchable by prefix or destination.