Vapi Alternative: Bring Your Own Voice Agent to the Phone Over SIP
Keep the voice stack you already built on Vapi, Retell, LiveKit or ElevenLabs, and let AgentPhone supply the phone numbers and the SIP trunk underneath it.

Most people searching for a Vapi alternative or a Retell alternative do not want to rebuild their voice agent. They have prompts, tools, a voice they like and latency they have tuned. What they want is better phone numbers underneath it: numbers that also text, that work for inbound and outbound, and that live in the same account as their messaging. SIP trunking for AI voice agents is how you get that without touching the agent. This post explains how it works on AgentPhone and when it is the right call.
Two ways to put an agent on a phone number
AgentPhone gives each number one voice route. You choose per number:
- 1AgentPhone runs the call. Either hosted mode (we run the model from your system prompt) or webhook mode (we transcribe the caller, your server returns text, we speak it).
- 2Your voice platform runs the call, over SIP. AgentPhone supplies the number and carries the call over a SIP trunk to whatever you already use: LiveKit, Vapi, Retell, ElevenLabs, Pipecat or your own media server.
Option 1 is the simplest path if you are starting fresh. Option 2 is for teams who already have a voice stack they like. Both live in the same account, so you can run some numbers each way.
How SIP trunking works on AgentPhone
A SIP trunk is a connection between our phone network and your voice platform. Calls flow in both directions:
- Inbound (origination). Someone dials your AgentPhone number. We send the call to the SIP URI you set for origination, and your platform answers it.
- Outbound (termination). Your platform places a call through our termination URI. The person you call sees your AgentPhone number as caller ID.
These two directions are easy to mix up, so label them clearly in your own config.
A trunk on AgentPhone supports what production voice agents need:
- Digest authentication with a username and password, plus allowed source IP ranges (CIDR) for your platform.
- TLS for SIP signaling, with encrypted media.
- G.711 audio, which every major voice platform speaks.
- SIP REFER transfers, so your agent can hand a live call to a person or another number mid-conversation.
- Multiple origination URIs with priority and weight, so you can fail over between regions or spread load across servers.
Trunks are managed under /v1/sip-trunks (create, list, get, update, delete). The response gives your platform everything it needs: the termination SIP URI, your origination URIs, transport, media encryption, transfer settings and credentials. Use the returned values rather than guessing a hostname.
Setting it up
SIP trunking is enabled per account. Open SIP Trunks in the dashboard and request access. Until it is on, POST /v1/sip-trunks returns 403.
Once enabled:
- 1Create a trunk in the dashboard or with
POST /v1/sip-trunks, and save the connection details and credentials. - 2Configure your platform. Add the credentials and allowed IPs. Point origination (where we send inbound calls) at your platform's SIP endpoint, and point your platform's outbound at our termination URI.
- 3Route a number to the trunk in that number's voice routing settings (
PATCH /v1/numbers/{id}/voice-routingin the API). - 4Test both directions with a phone you control. Call the number to check inbound audio, then place a call from your platform to check outbound audio and caller ID.
One rule to know: a number routed to a SIP trunk cannot also start calls with POST /v1/calls, because the call now belongs to your platform. Originate from your SIP platform, or switch the route back to the AgentPhone agent. Texting from that number is unaffected and still goes through the normal messaging API.
Pricing
SIP minutes are much cheaper than full voice, because your platform does the AI work:
| Rate | |
|---|---|
| SIP trunk, inbound | $0.00374 per minute |
| SIP trunk, outbound | $0.0198 per minute |
| Number (US or Canada) | $3.00 per month |
| SMS on the same number | $0.02 per segment |
For comparison, a call AgentPhone handles through your webhook is 13¢ a minute, and a fully hosted call is 22¢. With SIP you pay your voice platform for the model and voice, and AgentPhone for the number and the minutes.
iMessage lines can route voice too
Most voice stacks cannot do this one. An iMessage line on AgentPhone is a real number, and its voice side can be routed to a SIP trunk as well (iMessage trunking has separate eligibility, so mention it when you request access). One number can text in blue bubbles through the AgentPhone API and take calls on your existing voice agent. Customers only have to know one number.
Moving the numbers, keeping the agent
Here is how the phone side compares with Vapi, using each platform's docs as of September 22, 2026:
| AgentPhone | Vapi | |
|---|---|---|
| Calling numbers | Managed US and Canada numbers for inbound and outbound | Free US inbound number, import a number for outbound or international |
| SMS | Text from the same number you call from (registration applies) | Import an approved Twilio number for SMS chat |
| Connecting your own AI | HTTP transcript in and text out, or SIP to your platform | Custom LLM server with an OpenAI-style interface |
| Conversation state | Message threads with your custom metadata | Chats with sessions and previousChatId |
| Phone tools for agents | MCP actions for calling, messaging and history | MCP actions for assistants, calls and numbers |
Where Vapi and Retell still win
If you want a full hosted voice-agent builder with a visual editor, lots of model and voice choices and fine control over every stage of the voice pipeline, Vapi and Retell are strong products. That is exactly why SIP is useful: keep them for the voice, and use AgentPhone for numbers, texting and iMessage. The Vapi alternative and Retell alternative pages go deeper, and migration help is free.
FAQ
Can I use AgentPhone numbers with Vapi or Retell? Yes. Route the number to a SIP trunk pointed at your platform, and your agent keeps running there.
What does SIP trunking cost? $0.00374 per minute inbound and $0.0198 per minute outbound, plus $3 per month for the number.
Can my agent transfer calls over SIP? Yes, with SIP REFER, so it can hand a call to a person mid-conversation.
Is SIP trunking self-serve? You request access from the SIP Trunks page in the dashboard. Once it is on, trunks are fully managed through the API.
Can the same number still send texts? Yes. Voice routing and messaging are separate, so the number keeps texting through the AgentPhone API.
Read the SIP trunking docs or request access from your dashboard.


