A voice agent AI cannot answer or place a single call without a phone number, and VoIP numbers are the usual way to give it one. A VoIP number is a normal phone number delivered over the internet and routed to software instead of a person. You can connect VoIP numbers to a voice agent AI three ways: buy the number inside your AI platform, rent it from a CPaaS carrier and connect it by webhook, or point a SIP trunk from your existing VoIP provider at the agent.
This guide compares those paths, walks through setup, adds up the real costs, and covers the US rules (TCPA, STIR/SHAKEN) that most vendor pages skip. Pricing and platform menus change often, so check current rates before you commit.
Key takeaways
- The FCC's February 8, 2024 Declaratory Ruling treats AI-generated voices as "artificial" under the TCPA, so outbound AI calls need prior express consent.
- There are three connection paths: a native number from the AI platform, a CPaaS number with a webhook, or a SIP trunk from your current VoIP provider.
- An open SIP trunk can be abused for toll fraud quickly, so IP allowlisting, strong credentials and spend caps belong in the launch checklist.
- Transport settings (such as TLS) must match on both ends of a trunk, or calls can fail silently.
- Google Voice is a poor fit because it has no API access, no SLA and no AI agent integration.
What is a VoIP number for an AI voice agent?
A VoIP number for an AI voice agent is a phone number that reaches your agent over the internet rather than a desk phone. Callers dial it like any other number. The difference is on the receiving end, where speech-to-text, a language model and text-to-speech handle the conversation.
Four terms come up in every setup:
- DID (direct inward dialing): a phone number that routes inbound calls to a specific destination.
- SIP trunk: a virtual connection that carries voice calls between a carrier and a system over the internet.
- Webhook: a URL your carrier calls when a number rings, telling your software how to handle the call.
- CPaaS: a communications platform as a service, meaning a carrier that exposes numbers and calls through an API.
How the number, the carrier and the agent fit together
The call path is short, but each hop can add delay or break:
Caller -> phone network -> your number (DID) -> SIP trunk or webhook
-> AI platform (speech-to-text -> LLM -> text-to-speech)
-> optional transfer to a human, queue or voicemail
Outbound works in reverse. The agent asks the carrier to dial, and the carrier presents your number as caller ID.
Why it is not the same as a consumer VoIP line
A consumer VoIP app is built for a person with a headset. An agent needs programmatic control: an API or SIP endpoint, predictable audio codecs, concurrent call capacity, and logs when something fails. If you want background on the basics, see our guide to what a VoIP phone is and the VoIP call guide.
How can you connect a VoIP number to an AI voice agent?
You can connect a number three ways: buy it inside the AI platform, rent it from a CPaaS carrier and use a webhook, or run a SIP trunk from an existing VoIP provider. The right path depends on how much control, portability and existing phone infrastructure you have.
| Path | Setup effort | Control | Portability | Best for |
|---|---|---|---|---|
| Native number from the AI platform | Lowest, often a few clicks | Limited to what the platform exposes | Lower, you may need to port out later | Pilots and single-use agents |
| CPaaS number with webhook | Moderate, needs some developer time | High: routing, recording, failover | Good, numbers can be ported or reused | Custom builds and outbound programs |
| SIP trunk from existing VoIP provider | Moderate, needs trunk and security setup | High, but depends on the provider | Best, number stays where it is | Teams with a live phone system |
Numbers bought inside the AI platform
This is the fastest route. The platform provisions the number, handles carrier details and maps it to an agent. The trade-off is lock-in: moving the number later means a port, and you rely on the platform's carrier quality and reporting.
CPaaS numbers with webhooks (Twilio, Telnyx, Plivo, Bandwidth)
You rent the number from a carrier API and tell it where to send calls. Many platforms document the same pattern: create an Elastic SIP Trunk at the carrier, add an origination URI pointing at the AI platform, then assign the number to the agent. This gives the most control over routing, recording and failover.
SIP trunk from your existing VoIP provider
If your team already has business numbers, a trunk lets the agent sit behind them without porting. Your provider forwards selected numbers or extensions to the agent. This is the lowest-risk option for established teams, but confirm your provider supports SIP trunking to third parties. Our VoIP service providers guide covers what to ask.
How do you set up a VoIP number for your voice agent?
Setting up a number takes five steps: pick the number type, buy or port it, create the trunk, map the number to the agent, then test inbound and outbound calls. Exact screens differ by platform, but the sequence stays the same across carriers and AI vendors.
Choose a number type: local, toll-free or both
Local numbers usually get better answer rates on outbound calls because they look familiar to the recipient. Toll-free numbers suit inbound support lines and signal a national business. Many teams use both: toll-free on the website, local numbers for outbound.
Buy a new number or port an existing one
Buy a new number if you are piloting or running outbound at volume. Port an existing number if customers already know it. A port moves the number to a new carrier, so it carries real risk.
- Get a firm port date in writing.
- Keep the old service active until the port completes.
- Avoid porting during a busy sales or support period.
- Match the account name and address exactly, since mismatches are a common cause of rejection.
If you plan to move a number into a business phone system, see how number porting works.
Create the SIP trunk and set the origination URI
At the carrier, create the trunk and add the origination URI, which is the SIP address of your AI platform. Then set authentication, allowed IPs and the audio codecs both sides support. Transport must match: if the trunk requires secure signaling, the platform side must use the same setting, or calls can fail without a clear error.
Map the number to the agent and test inbound and outbound
Assign the number to the agent in the platform, then run a test plan before any customer sees it:
- Call from a mobile phone and a landline. Confirm the agent answers within a few rings.
- Check audio both ways, including after a transfer.
- Place an outbound test and verify the caller ID shown.
- Trigger a human handoff and confirm the transfer connects.
- Let a call go unanswered or fail, and confirm it reaches the fallback queue or voicemail.
- Place a few calls at once to check concurrent capacity.
Common faults: one-way audio, TLS mismatch, codec issues
- Silent calls or instant drops: check that transport and secure-trunking settings match on both sides.
- One-way audio: usually a firewall, NAT or media routing issue.
- Garbled or robotic audio: a codec mismatch or packet loss. Our choppy audio fix guide walks through symptoms.
- Slow responses: extra carrier hops add delay. Choose a carrier region close to your AI platform.
How much does a VoIP number for an AI voice agent cost?
The number is the smallest cost. Your real monthly bill is number rental, carrier per-minute charges and the AI platform's per-minute fee for speech recognition, the language model and the synthesized voice. Prices change often, so build a formula and refresh the inputs from current quotes.
Number rental and porting fees
One number vendor claims prices run from about $0.50 a month in the cheapest markets to $5 to $15 a month in regulated ones. That is a vendor claim, so verify current rates. Porting may carry a one-time fee, and some carriers charge extra for toll-free numbers or number reservation.
Carrier minutes
Carriers bill inbound and outbound minutes separately, and toll-free inbound usually costs more than local. Ask whether billing is per second or rounded up per minute, since rounding adds up across thousands of short calls.
AI platform per-minute fees
Platforms either charge a bundled per-minute rate or bill speech-to-text, the language model and text-to-speech separately. A bundled rate is easier to forecast. Separate billing can be cheaper but varies with call length and model choice.
A worked example for 1,000 calls a month
The rates below are placeholders for illustration only. Swap in your own quotes.
| Input | Assumption | Result |
|---|---|---|
| Calls per month | 1,000 | |
| Average call length | 4 minutes | 4,000 minutes |
| Carrier rate | $0.01 per minute (placeholder) | $40 |
| AI platform rate | $0.10 per minute (placeholder) | $400 |
| Two numbers | $2 each per month (placeholder) | $4 |
| Estimated monthly total | $444 |
The formula: (minutes x carrier rate) + (minutes x platform rate) + number fees + one-time porting. Platform minutes dominate, so shortening average call length saves more than shopping for a cheaper number.
Is it legal to use AI voice agents for phone calls in the US?
Yes, but outbound AI calls face tighter rules. The FCC's February 8, 2024 Declaratory Ruling treats AI-generated voices as "artificial" under the TCPA, so these calls need prior express consent, like prerecorded-voice calls. This section is informational, not legal advice.
FCC 2024 ruling and TCPA consent
According to Wilson Sonsini's summary of the ruling, the decision restricts these calls rather than banning them outright. The ruling also covers voice cloning, and Akin Gump notes it was backed by a coalition of 26 state attorneys general, giving states more tools against AI-voice robocall operators.
One gap matters for builders. McDermott Will & Schulte points out that the ruling does not say how express consent can be obtained for these calls, including whether AI tools can collect it. Collect consent through a clear web form, text opt-in or recorded human interaction, and keep the records.
Caller ID, STIR/SHAKEN and spam labeling
STIR/SHAKEN is a framework that lets carriers verify a caller's number is legitimately theirs, with attestation levels A, B and C. Full (A) attestation requires that the carrier knows the customer and that the customer is authorized to use the number. Use numbers registered to your business, and never spoof caller ID.
Disclosure, recording and state laws
Inbound agents raise different questions than outbound ones. Callers reach you on their own, so the focus shifts to disclosure and recording. Tell callers they are talking to an AI, announce recording at the start of the call, and check state rules. Some states require all-party consent to record, and calling-hour limits and state telemarketing laws can apply to outbound programs.
How do you keep an AI voice agent's number secure and out of spam folders?
Secure the trunk first, then protect the number's reputation. An open SIP trunk can be abused for toll fraud quickly, so lock down IPs, credentials and spend. Spam labeling depends on attestation, calling behavior and consent, so manage volume and monitor labels.
Prevent toll fraud: IP allowlists, credentials, spend caps
- Allowlist only the IP addresses of your AI platform and carrier.
- Use unique, strong credentials and rotate them.
- Set daily spend caps and alerts at the carrier.
- Block international destinations you never call.
- Review call logs weekly for unusual destinations or off-hours spikes.
Our encrypted VoIP guide explains what encryption protects and how to check your setup.
Latency and failover
Each hop between caller, carrier and AI platform adds delay, and delay makes an agent feel slow and interruptible. Keep the carrier and platform in nearby regions, and test during peak hours. Configure failover so that if the agent is unreachable, calls route to a human queue or voicemail rather than ringing out.
Number reputation and rotation
Spam-likely labels follow bad behavior: high volume from one number, many short or unanswered calls, and complaints. Spread outbound volume across several numbers, keep calling lists consent-based, and check labels regularly. Retire a flagged number and replace it rather than hammering it. Rotating numbers to evade blocking is a compliance risk, not a fix.
Where does the AI agent fit in your business phone system?
An AI voice agent should sit in front of your team's phone system, not replace it. The agent handles routine calls, then hands off to people through menus, queues and voicemail. Your business numbers, routing and records still need a home that humans can use.
Routing the agent ahead of phone menus and queues
Decide what the agent owns: after-hours calls, appointment booking, order status, or lead qualification. Everything else should route to a person. A virtual phone system with IVR menus and call routing can send the right calls to the agent and the rest to the right team. For selecting a system, see our business VoIP buyer's guide.
Handoff to a human with context
A warm transfer means the agent stays on the line, briefs the human, then connects the caller. A cold transfer drops the caller into a queue with no context. Pass the caller's name, reason for calling and what the agent already tried, so customers do not repeat themselves.
Voicemail, call summaries and CRM sync
When nobody is available, send the call to voicemail with a transcript. Afterward, AI call summaries help reps and support agents see what happened, and syncing notes to your CRM keeps the record in one place. Voicalyst is the human-facing layer for this: business numbers, menus, queues, voicemail, summaries and HubSpot sync in the browser.
How do you choose a provider for AI voice agent numbers?
Choose by asking each provider the same questions and watching for red flags. The best provider for an AI voice agent is the one that gives you control of the number, clear billing, security controls and a firm answer on compliance, not the one with the lowest monthly number fee.
Questions to ask a provider
- Can I port the number out later, and what does it cost?
- Do you support SIP trunking, webhooks, or both?
- What security controls are available: IP allowlisting, spend caps, TLS?
- How do you handle STIR/SHAKEN attestation for outbound?
- What is the billing increment, per second or per minute?
- What happens if the agent is unreachable: failover, voicemail, queue?
- Where do you document supported codecs and regions?
- What support and SLA do you offer?
Red flags
- Only the number fee is quoted, with no per-minute detail.
- No API access, SLA or support path, as with consumer apps such as Google Voice.
- No spend caps or IP controls on trunks.
- Vague answers on consent and caller ID.
- Pressure to port a number without a written date.
If you are comparing business VoIP options for the human side, our best VoIP service checklist is a good next step. To see how Voicalyst handles numbers, routing and call summaries for your team, visit voicalyst.com.
Frequently Asked Questions
Can I use my existing business number with an AI voice agent?
Yes. You can port the number to your AI platform or a CPaaS carrier, or keep it with your current VoIP provider and send calls to the agent over a SIP trunk or forwarding rule. Keeping the number where it is carries less risk than porting during a busy period.
Can I use Google Voice with an AI voice agent?
Not reliably. Google Voice is a consumer service with no API access, no SLA and no AI agent integration, so you cannot route calls programmatically or get support when something breaks. Use a CPaaS number, a platform number or a business VoIP line instead.
Is it legal to use AI voice agents to make phone calls in the US?
Generally yes, with restrictions. The FCC's February 8, 2024 ruling treats AI-generated voices as artificial voices under the TCPA, so outbound calls need prior express consent. This is not legal advice, so confirm your consent process and state rules with counsel.
How long does porting a number to an AI voice platform take?
Timelines depend on the number type and the losing carrier, and can run from a few days to several weeks. Toll-free and multi-line numbers tend to take longer. Ask for a firm port date in writing, and keep the old service active until the port completes.
How do I stop AI agent calls from being marked as spam?
Use numbers registered to your business with full STIR/SHAKEN attestation, call only people who gave consent, keep call volume per number modest and avoid high abandon rates. Check your numbers periodically for spam-likely labels, and replace a flagged number instead of repeatedly redialing from it.