A SIP trunk is the connection between your VOS3000 VoIP switch and a carrier. Setting it up correctly — and understanding the SIP call flow through the switch — is what lets you add new vendors in minutes and fix failed calls quickly.
How a SIP call flows through VOS3000
- Client sends an INVITE. Your client’s dialer or switch sends a SIP INVITE to your VOS3000 server with the dialled number.
- Authentication. VOS3000 matches the call to a mapping gateway by the source IP (or by registration) and checks the client’s account and balance.
- Number rules. Any caller or callee rewrite rules are applied — for example removing a prefix the client adds. See callee rewrite rules.
- Routing. The switch looks up which routing gateways (vendors) may carry that prefix and picks one by priority, cost or quality.
- INVITE to the vendor. VOS3000 sends a new INVITE to the carrier, with the carrier’s tech prefix if required.
- Answer and media. The carrier answers (200 OK), and audio flows — directly or through the switch’s media proxy, depending on your settings.
- Billing. When the call ends (BYE), VOS3000 writes a CDR and bills the client and the vendor by their rate tables.
If the first vendor rejects the call, VOS3000 can try the next routing gateway — this failover is what keeps ASR high. The configuration guide explains gateways and rate tables in detail.
Setting up a carrier SIP trunk in VOS3000
1. Collect the carrier’s details
- SIP IP address(es) and port
- Authentication: IP whitelist or username/password
- Tech prefix, if any
- Supported codecs (for example G.729, G.711)
- Rate sheet by prefix
2. Send them your server IP
For IP-authenticated trunks, the carrier must whitelist your VOS3000 server’s public IP before any call will pass.
3. Create the routing gateway
Add a routing gateway with the carrier’s IP and port, the prefixes it can terminate, and a number rewrite for the tech prefix if required. Link it to the vendor’s rate table so costs are calculated per call.
4. Allow it in your routing
Give your clients’ mapping gateways permission to use the new routing gateway, and set its priority against your other vendors.
5. Test before live traffic
Make a few test calls to each important prefix, check the CDR shows the right vendor and cost, and listen for two-way audio.
SIP response codes you will see
| Code | Meaning | Usual cause |
|---|---|---|
| 200 OK | Call answered | Normal |
| 403 Forbidden | Rejected | IP not whitelisted, wrong prefix or no balance |
| 404 Not Found | Number unknown | Wrong number format after rewrite rules |
| 480 / 486 | Unavailable / busy | Normal for the called party |
| 503 Service Unavailable | Vendor can’t take the call | Route down or capacity limit reached |
For deeper troubleshooting, see VOS3000 SIP registration failure and call test guide.
Need a hand?
Our engineers add and test carrier trunks for customers every day. If you rent a VOS3000 server from us, ask our 24/7 support team on WhatsApp +1 (626) 977-8241.
Frequently asked questions
What do I need from a carrier to set up a SIP trunk in VOS3000?
Their SIP IP address and port, any tech prefix they require, the codecs they support, whether they authenticate you by IP or by username and password, and their rate sheet.
Should I use IP authentication or registration for a carrier trunk?
Most wholesale carriers use IP authentication: they whitelist your VOS3000 server IP. Registration is used when the carrier requires a username and password.
Why does my call get 403 Forbidden from the carrier?
Usually the carrier has not whitelisted your server IP yet, or the number format or tech prefix is wrong. Check the SIP trace for the exact number you sent and compare it with what the carrier expects.
What is a tech prefix?
A short code a carrier asks you to add in front of every dialled number, so it can identify your traffic or a route quality. You add it with a number rewrite on the routing gateway.
Need a VOS3000 or Sippy server?
Talk to our team — we'll recommend the right plan for your traffic.