How do you connect an AI voice agent to Twilio?
You point a Twilio phone number at the agent. There are three ways: route the number over a SIP trunk to a voice agent platform, use Twilio's own ConversationRelay to connect the call to your code, or forward the number to another number the agent answers. For a finished agent, the SIP trunk is the usual choice: the number stays in your Twilio account and calls are delivered to the agent over the internet. The same approach works with Telnyx, Plivo and most carriers. Botcadence's AI voice agent connects to numbers in your own Twilio, Telnyx, Plivo, Exotel, FreJun or Acefone account, or to another carrier over a SIP trunk.
Key takeaways
- The number stays in your carrier account; the agent is where calls are sent.
- A SIP trunk needs an address, credentials or allowed addresses, and separate settings for inbound and outbound.
- Twilio's list prices, read November 12, 2026: a local number $1.15 a month, inbound local calls $0.0085 a minute, outbound $0.014, SIP trunking $0.0034 inbound and $0.0100 outbound.
- Telnyx lists numbers at $1.00 a month and SIP trunking from $0.0032 inbound and $0.005 outbound.
- Carrier charges are in addition to the voice agent's own price.
Three ways to connect a Twilio number
| Option | How it works | Who it suits | Twilio list price |
|---|
| SIP trunk to an agent platform | Twilio delivers calls for your number to the platform's SIP address, and the platform places outbound calls back through the trunk | Businesses using a finished agent or a hosted platform | $0.0034 a minute inbound local; $0.0100 outbound |
| ConversationRelay | Twilio handles speech recognition and voice and passes text to your own application | Developers writing their own agent logic | $0.07 a minute, plus the call |
| Forwarding | The Twilio number forwards to a different number that the agent answers | A quick test, or a number you do not want to re-route | Two call legs at normal rates |
Most finished agents use the first. The rest of this guide is about that.
What a SIP trunk needs
A SIP trunk has two halves, and they are set up separately.
| Setting | Inbound (calls to your number) | Outbound (calls from the agent) |
|---|
| What you configure at the carrier | An origination address: where the carrier sends calls for your numbers | A termination address and who may use it |
| Authentication | A list of allowed addresses, or a username and password | A username and password, or allowed addresses |
| What you give the agent platform | The phone numbers, and any inbound credentials | The trunk address, username and password |
| Result | Calls to the number reach the agent | The agent can call out showing your number |
On Botcadence, numbers are entered by carrier in the organization's settings, and a custom SIP connection asks for the address, the destination country, a username and password, the inbound allowed addresses and inbound credentials. Outbound calling and call transfers both need the outbound half, because a transfer is an outbound call to your team member.
What the carriers charge
List prices for the United States, read on each carrier's own page on November 12, 2026.
| Item | Twilio | Telnyx |
|---|
| Local number | $1.15 a month | $1.00 a month |
| Inbound local call (voice API) | $0.0085 a minute | $0.002 a minute plus a SIP fee |
| Outbound call (voice API) | $0.014 a minute | $0.002 a minute plus a SIP fee |
| SIP trunking, inbound local | $0.0034 a minute | From $0.0032 a minute |
| SIP trunking, outbound | $0.0100 a minute | From $0.005 a minute |
| Toll-free inbound | $0.0220 a minute | From $0.015 a minute |
| Answering machine detection | $0.0075 a call | $0.002 standard, $0.0065 premium |
For a line with 1,500 inbound minutes a month on a SIP trunk, Twilio's carrier charge is about $5.10 plus $1.15 for the number. Carrier cost is rarely the large part of a voice agent's bill.
A setup checklist
- Confirm the number is in your own carrier account, not a reseller's or the agent vendor's.
- Create the trunk and note the address the platform gives you for inbound calls.
- Restrict who can use it. Set allowed addresses or strong credentials on both halves; an open trunk can be used by others to place calls at your expense.
- Assign the number to the trunk.
- Enter the number and the outbound credentials in the agent platform.
- Make an inbound test call from a mobile phone.
- Make an outbound test call and check the caller ID your phone shows.
- Test a transfer to a team member.
- Check your carrier's concurrency setting for the trunk, and the agent's own limit.
- Register the number for texting if you will send texts, and with the Free Caller Registry if you will call out.
Common problems
| Symptom | Usual cause |
|---|
| Inbound calls ring and drop | The origination address is wrong, or the platform does not recognize the number |
| Calls connect with no audio, or one-way audio | A firewall or media setting between carrier and platform |
| Outbound calls fail | Credentials missing on the termination half, or the caller ID is not a number in your account |
| Outbound calls show as Spam Likely | The number is new or unregistered, or attestation is low; see how to reduce Spam Likely labels on AI calls |
| Transfers fail | No outbound trunk, or the destination is blocked |
| The second caller hears busy | The trunk's or the agent's concurrency limit |
| Echo, or the agent hears itself | Echo cancellation off, or a handset on speakerphone |
Keeping your current phone company
You do not have to move to Twilio or Telnyx. If your number is with a phone company that supports SIP trunking, the same settings apply. If it only supports call forwarding, forward your line to a number in a carrier account that the agent is connected to; phone numbers for AI voice agents compares forwarding, porting and a new number.
How Botcadence uses your carrier
Botcadence does not sell phone numbers or bill carrier minutes. You bring numbers from your own Twilio, Telnyx, Plivo, Exotel, FreJun or Acefone account, or another carrier over a SIP trunk, and pay that carrier directly. Calls run over SIP in both directions. The agent answers up to your account's concurrent-call limit, which starts at one call and is raised on request. Texts are sent through your own Twilio number. The Voice AI plan is $299 a month for 1,500 minutes. The glossary entry on SIP trunking explains the term, and the AI phone answering system page shows the agent on a small business line.