· 4 min read · Product details checked against Wixzel Voice 13.5

Running AI calls on your own SIP trunk, local numbers or PBX

To run an AI voice agent on your own phone numbers, connect it to a SIP trunk from a local carrier, or to your existing PBX, instead of buying numbers from Twilio. Callers see a local number, you pay local per-minute rates, and the agent can transfer calls to your own staff. In exchange, registration, codecs, number formats and carrier rules become your job.

When a SIP trunk is worth it

Twilio is the fastest way to start, and for US and UK numbers it's fine. A SIP trunk starts to pay off when:

  • You need numbers in a country Twilio doesn't cover well, or where local carriers are much cheaper. That includes India, the Gulf and much of Africa and Latin America.
  • The business already has numbers on its ads, vehicles and Google profile, and won't change them.
  • You want to transfer callers to staff on the business's own phone system.
  • Volume is high enough that the per-minute difference adds up.

On CodeCanyon, "can I use my own SIP / local numbers?" is tied for the most common pre-sales question we get about Wixzel Voice, mostly from buyers outside the US.

Three ways to connect

SetupHow it worksGood for
SIP trunk from a carrierThe carrier gives you a host, username, password and numbers. The AI platform registers with the carrier and places and receives callsNew numbers, outbound campaigns, most businesses
Existing PBXYour PBX (Asterisk, FreePBX, 3CX, Yeastar, a cloud PBX) gets a trunk to the AI platform, and routes some calls or extensions to itBusinesses with a phone system and staff on extensions
GSM gatewayA box with SIM cards turns mobile lines into SIPPlaces where only mobile numbers are trusted. Check your carrier's terms first, as many forbid it
New local numbers on a SIP trunk
Caller
Sees a local number
Local carrier
DIDs + SIP trunk
Your server
Asterisk + Wixzel Voice
Voice engine
Your own keys
The business's existing phone system
Caller
Rings the usual number
Your PBX
FreePBX, 3CX, Yeastar…
Your server
Asterisk + Wixzel Voice
Staff extensions
Transfers come back here
Simple call forwarding (avoid where you can)
Caller
Business mobile
Forwards every call
AI number
Often loses the caller's number; may be blocked
Two reliable ways to put an AI agent on your own numbers, and the shortcut that causes most problems.

Avoid simple call forwarding where you can

Forwarding a mobile or landline to the AI number looks easy, but it often causes trouble. Forwarding can:

  • Pass the business's number instead of the caller's, so the agent can't recognise returning callers or book against their number.
  • Make transferring back to staff awkward, since the call is now outside the business's phone system.
  • Run into blocks or restrictions from the carrier. In India, forwarding from Jio and Airtel to VoIP numbers is a common dead end. See AI voice agents in Indian languages.

Connecting the PBX to a trunk, or putting a new number on a trunk, avoids these problems.

What breaks, and how to see it

Builders on Reddit often describe telephony as a project of its own. A carrier failure can look like a normal call in the agent's own logs. Most failures come from one of these:

  1. Registration fails because of the username format (some carriers issue an email address as a username, which many SIP stacks reject), wrong host, or the carrier only accepts registration from a fixed IP.
  2. The number format is wrong. Some carriers want + and the country code, some want bare digits, some want a technical prefix in front.
  3. Caller ID is rejected. Carriers refuse outbound calls with a caller ID you haven't verified with them.
  4. Audio goes one way or not at all, usually because NAT or a firewall blocks the RTP ports.
  5. Channel limits. Your trunk allows only a set number of simultaneous calls, often fewer than you expect.

Make a test call after every change, from a phone that isn't on the same network, and keep the carrier's own reject reason (403, 404, 407, 503) visible.

Sizing the server

On self-hosted software, the server handles the calls' audio. For Wixzel Voice, our guidance to buyers is roughly 10 to 15 concurrent calls on 2 vCPU and 4 GB of RAM, 30 to 50 on 4 vCPU and 8 GB, and 50 or more on 8 vCPU and 16 GB. Each live call uses about 0.3 Mbps (up to 0.6 on Gemini Live), and recordings take about 1 MB per call minute. In practice the trunk's channel count or your AI provider's concurrency limit is often reached before the server's.

How Wixzel Voice connects to SIP

Wixzel Voice installs Asterisk during setup and connects to any SIP trunk you add in the dashboard: host, credentials and numbers, with registration where your carrier uses it. Options cover carriers that need a dial prefix or numbers without the +. Lead numbers saved in local format are converted to full international form before dialling. A SIP Debug panel shows health checks (Asterisk connection, trunk registration, provider reachability) and live logs, and Call Logs show the carrier's reason when a call is rejected. On SIP lines, agents can transfer callers to named destinations such as reception or sales, and hand them back to the agent if nobody answers. Gemini Live and Human Transfer need a SIP trunk. Setup is covered on the self-hosted and install pages.

Numbers on Twilio or your own SIP trunk, each answered by an agent (animated mockup).

Common questions

Do I need Twilio if I have a SIP trunk?

No. Twilio and a SIP trunk are two separate ways to get phone numbers, and calls on the trunk don't touch Twilio.

Can I connect my FreePBX or 3CX system to an AI voice agent?

Yes. Create a SIP trunk between the PBX and the AI platform, then route an extension, ring group or after-hours rule to it.

How many simultaneous AI calls can a SIP trunk carry?

As many channels as your carrier allows on the trunk, and as many as your server and AI provider plans can handle. Ask your carrier for the channel limit first.

Sources

More from the blog

Buy the source code

Regular License

One-time

$79

Run it for your own business or one client. End users are not charged for access.

$89 on CodeCanyon

Extended License

One-time

$169

Sell access to end users as a SaaS under your own brand, with plans and payments built in.

$299 on CodeCanyon