
Cut your business phone bills to just 1¢ per minute. Read my step-by-step guide on configuring VoiceTail SIP trunk in FusionPBX, plus tips to avoid common pitfalls.
I Cut My Phone Bills to 1¢/Minute: How I Set Up VoiceTail on FusionPBX
Published by Brav
Table of Contents
TL;DR
- Add a SIP trunk gateway in FusionPBX and route outbound calls to VoiceTail.
- Keep registration healthy with regged status, and use correct expire/retry values.
- Order your outbound route (100) and inbound route (999) to avoid conflicts.
- Open firewall port 5080 (or adjust) to keep the gateway alive.
- Test with a softphone; troubleshoot with logs and status pages.
Why this matters
PBX admins and small-business owners often wrestle with adding outbound calls to external numbers. My own firm needed a cheap, reliable trunk for sales and support. After a few failed attempts, I discovered that a mis-configured gateway can bring the whole system to a halt. Multi-tenant domains mean that only a super administrator can switch contexts; forgetting to set the right domain leads to calls falling through or hitting the wrong route. VoiceTail’s cost-effective pricing (≈$0.01/min) makes it attractive, but only if you get the setup right.
Core concepts
- FusionPBX is an open-source GUI built on FreeSWITCH. It supports multi-tenant architectures via domains FusionPBX — Official Docs (2023).
- A SIP trunk is a virtual line that connects your PBX to the PSTN or another VoIP provider. Think of it as a highway for voice traffic FreeSWITCH — Configuration Guide (2023).
- The gateway in FusionPBX stores the provider credentials (username, password) and tells FreeSWITCH how to register. The registration status must show regged – otherwise the trunk never talks.
- Outbound routes decide which gateway a call uses. The order number tells the PBX which route to try first; 100 is a safe default.
- Inbound routes map incoming numbers (DIDs) to destinations such as an extension, a softphone, or a desk phone. The highest order (999) ensures they don’t pre-empt outbound logic.
How to apply it
1 – Login and switch domain
- Log into FusionPBX at https://your-pbx:8443.
- In the top-right, click the domain selector and pick the domain you want to work on. If you’re a super administrator, you can switch between domains; otherwise you’ll be stuck in the default domain.
- Verify you’re in the correct context by looking at the header – it should show the domain name.
2 – Add the VoiceTail gateway
- In the left menu, go to Account → Gateways → Add.
- Fill in the form:
- Gateway: VoiceTail (this name appears in logs and the status page).
- Username: your VoiceTail account username.
- Password: your VoiceTail password.
- Proxy: voice.tail.com (the host you were given).
- From User: same as the username – this is what the gateway will register as.
- From Domain: set to the same value as the proxy (voice.tail.com).
- Enabled: checked.
- Expire Seconds: 300 (as specified by VoiceTail).
- Retry Seconds: 600.
- Click Save and watch the status turn to regged. If it stays unreg or error, double-check the credentials and ensure your PBX can reach port 5080 on the provider side.
- In FusionPBX, the status page (under System → System Log → Gateway or the Dashboard widget) will confirm the registration.
3 – Open firewall port 5080
- If your PBX is behind a router or firewall, open TCP/UDP 5080 inbound to the PBX.
- If VoiceTail used a different port, you’d need to open that instead and adjust the gateway’s Proxy field accordingly.
- For a Raspberry Pi 3B running FusionPBX, the default ufw command is:
sudo ufw allow 5080/tcp sudo ufw allow 5080/udp
4 – Create the outbound route
- Go to Account → Routes → Outbound.
- Add a new route named VoiceTail Out.
- Under Gateways, check VoiceTail.
- Set Order to 100.
- Leave the Match fields blank so that all outbound calls go through this route.
- Save.
5 – Create the inbound route
- Navigate to Account → Routes → Inbound.
- Add a new route named VoiceTail In.
- In Destination, pick the extension or softphone that should receive calls.
- Set Order to 999.
- In the Match section, you can either leave blank to accept all DIDs or specify a particular DID if you have one.
- Save.
6 – Test the trunk
- Open a softphone (e.g., Linphone, Zoiper) on the same network.
- Register it to your FusionPBX domain (sip:ext1@your-pbx:5060).
- Dial an external number (e.g., a mobile).
- If the call rings and the audio is clear, you’re good. If the call fails, check:
- Gateway status – must be regged.
- Firewall – ensure port 5080 is reachable.
- Credentials – correct username/password.
- Logs – look under System → System Log → Debug for SIP errors.
7 – Set up billing in VoiceTail
- Log into your VoiceTail account.
- Verify that the PayPal link is active.
- Check the billing history; you should see a line item for each outbound minute.
- For recurring usage, set up a subscription plan or enable auto-recharge.
Pitfalls & edge cases
| Pitfall | What to watch for | Quick fix |
|---|---|---|
| Gateway not regged | Wrong username/password, firewall block, wrong port | Double-check credentials; open port 5080; confirm proxy address |
| Outbound route out of order | Multiple routes cause unexpected gateway usage | Keep the VoiceTail route at order 100 and test with a simple route |
| Inbound calls dropped | Inbound route order too high, wrong destination | Set inbound order to 999; use a valid extension or ring group |
| Domain mismatch | Super admin forgot to switch domains | Always confirm the domain in the header before editing |
| Provider port change | VoiceTail switches from 5080 to another port | Update gateway proxy and firewall accordingly |
| Multi-tenant conflicts | Two domains share the same gateway name | Use unique gateway names per domain or rename on the provider side |
Quick FAQ
What is a SIP trunk?
A SIP trunk is a virtual telephone line that lets your PBX talk to the public telephone network (PSTN) or another VoIP provider over IP. Think of it as a highway for voice traffic.How do I confirm the VoiceTail gateway is registered?
In FusionPBX, look at the Gateway status widget or run freeswitch -u -x “sofia status gateway VoiceTail”. The output should contain status: regged.Which firewall ports do I need?
VoiceTail uses port 5080 by default. Open both TCP and UDP 5080. If the provider switches ports, open the new one.Can I use VoiceTail for inbound calls?
Yes. Create an inbound route pointing to an extension or softphone. VoiceTail will forward calls that match the DID you configure.How does VoiceTail billing work?
VoiceTail charges about $0.01 per minute. Billing is processed via PayPal; you can set up recurring payments or pay per use.Will adding a SIP trunk break my existing PBX?
It can if you mis-configure the gateway or firewall. Always test in a staging environment and keep your existing routes intact until you’re sure.How to handle multi-tenant domains in FusionPBX?
Only a super administrator can switch domains. Use the domain selector in the top-right corner. Each domain gets its own set of extensions, gateways, and routes.
Conclusion
With a clear roadmap, the VoiceTail gateway can be added to FusionPBX in less than an hour. The key is to keep the registration healthy, honor the correct port, and order your routes properly. Once in place, your small business can dial out for just a penny a minute while enjoying the full flexibility of a multi-tenant PBX.
Who should try this?
- Small business owners who need a cheap, scalable trunk.
- PBX admins managing a multi-tenant deployment.
- Engineers looking to test VoIP costs on a Raspberry Pi or home lab.
Who shouldn’t?
- Users who lack root access to modify firewall rules.
- Teams that rely on legacy PSTN lines and cannot accept SIP registration.
Give it a shot, tweak the order numbers to match your traffic patterns, and watch the cost drop.
References
- FusionPBX — Official Docs (2023) (https://docs.fusionpbx.com/en/latest/)
- FreeSWITCH — Configuration Guide (2023) (https://developer.signalwire.com/freeswitch/FreeSWITCH-Explained/Configuration/Configuring-FreeSWITCH/)
- VoIPCloud — Configuring SIP Trunks on FusionPBX (2023) (https://support.voipcloud.online/hc/en-us/articles/115003694383-Configuring-SIP-Trunks-on-FusionPBX)
- Twilio — Voice Pricing (2023) (https://twilio.com/pricing)
- OnSIP — Pricing (2023) (https://getvoip.com/blog/onsip-pricing/)
- Forbes — Best SIP Trunk Providers (2025) (https://www.forbes.com/advisor/business/software/best-sip-trunk-providers/)