How to Connect an ElevenLabs Voice AI Agent to a Phone Number: 3 Methods, One Without Code
ElevenLabs has outlined three ways to put a voice AI agent on a regular phone number instead of an "press 1" menu. The fastest is importing a number from Twilio (a telephony service): no code is required, and calls work in both directions. If you need your own logic, your server can hand calls to the agent using register call. If you already have a PBX or carrier, you can connect via a SIP trunk, a phone channel over the internet, and you won't have to port your numbers.
AI-processed from ElevenLabs Blog; edited by Hamidun News
A voice AI agent that answers calls instead of a "press 1 to..." menu is no longer exotic. But teams immediately face a practical question: how do you put it on a real company phone number?
ElevenLabs has published a guide comparing three methods for its ElevenAgents platform. The first, importing a number from Twilio (a cloud telephony service), is done in the control panel without a single line of code. The second, register call, is when your own server receives the call from Twilio and passes it to the agent.
The third, a SIP trunk, connects an existing office PBX or carrier over an internet channel, so you don't have to move your numbers anywhere. This is vendor material: it contains no benchmarks, but it does offer a clear map of limitations that can save a day or two when choosing an architecture.
Method one: importing a number from Twilio
This option suits teams that want to launch quickly and without developers. If the number was purchased in Twilio, you can import it into the Phone Numbers section in ElevenLabs. You will need the number itself, your account SID or API key, and a token or secret. ElevenLabs recommends using a dedicated API key rather than the account's general credentials.
The platform detects the line's capabilities and configures webhooks (the addresses to which Twilio sends call notifications) on its own. Next, you assign an agent for incoming calls and, if you like, a different agent for outgoing calls. An important detail: on an outbound call, the agent starts the conversation, so the greeting message must be written in advance.
Verified caller IDs, meaning external verified numbers in Twilio, are a separate case. They work for outbound calls only: you cannot receive calls on them or attach an agent to them for inbound traffic. You can, however, call customers from your usual business number. The native import supports transfers to a human: both warm (the operator joins the conversation via a conference) and cold (the call is simply handed over).
Method two: register call for teams that want control
Here the logic is different. Twilio sends a webhook to your server, the server calls the register call endpoint in ElevenLabs with the agent ID and call data, receives TwiML (instructions for Twilio) in response, and returns it. After that, the call goes to the agent over WebSocket. This fits when you need your own logic before the connection to the agent, for example to verify the customer or route the call in a specific way, or when you want to embed the agent into existing telephony.
The flexibility comes with three limitations. First, you need code on your side. Second, these numbers are not visible in the ElevenLabs panel. Third, there are no transfers to a human: ElevenLabs does not have access to your Twilio credentials. There is also a trap in the settings: voice output (Agent Settings → Voice) and input format (Agent Settings → Advanced) must be set to μ-law 8000 Hz, otherwise the audio will not match the Twilio audio stream.
Method three: a SIP trunk for an existing PBX
A SIP trunk (Session Initiation Protocol) is a channel that carries voice calls over the internet between a telephone system, such as a PBX or carrier, and an external service. The main advantage: you don't need to change your telephony infrastructure or port your numbers. ElevenLabs names Twilio, Vonage, Sinch, Infobip, Telnyx, Exotel, Plivo and Bandwidth, along with Flowroute, DIDWW and Yeastar, as compatible providers. On the PBX side, FreePBX, Asterisk and 3CX are listed. A Twilio account is not required for this method.
For security, TLS 1.2 and above is supported for signaling, and SRTP for voice encryption. Enterprise customers can get static IP addresses: a /24 block (256 addresses) in the US, EU, India and Singapore, for allowlisting. Transfers to a human here are cold only: via SIP REFER or a cold conference.
How to test and where things usually break
ElevenLabs recommends three stages. First, a browser test right in the panel, before connecting a number: does the agent have enough context from the prompt, does it respond fast enough, does it handle pauses well. Then simulations with tool checks: password reset, booking, complaint, subscription cancellation, CRM and knowledge base queries. Finally, live calls, where audio quality and latency over the phone line are verified. For outbound calls with the native import, there is a Send Test Call button, and call history and transcripts can be viewed in Calls History.
There are three typical setup problems: incorrect Twilio credentials (Account SID or token), misconfigured webhooks, and a number without voice enabled.
What to do in practice
The selection rule is simple. If you need speed and transfers to a live operator, take the native Twilio import. If you need your own logic and can do without transfers, use register call. If you already have a PBX, an operator, or encryption requirements, use SIP. If your scenario hands complex cases to people, this limitation should decide the choice before anything else, so check it before integration, not after.
- Dec 1, 2026OpenCode Releases Free iOS App for Managing AI Agents from Your Phone
- Dec 1, 2026Meshy's Agent Turns One Sentence Into a 45-Part 3D-Printed Pelican Toy
- Dec 1, 2026Rival Raises $10M for AI Agents Paid Only on Results
- Dec 1, 2026Amazon Launches an Office Suite Competitor With an AI Agent That Has Its Own Cursor in the Document
Key Questions Answered
What are the key details on Method one: importing a number from Twilio?
This option suits teams that want to launch quickly and without developers. If the number was purchased in Twilio, you can import it into the Phone Numbers section in ElevenLabs. You will need the number itself, your account SID or API key, and a token or secret. ElevenLabs recommends using a dedicated API key rather than the account's general credentials. The platform detects the line's capabilities and configures webhooks (the addresses to which Twilio sends call notifications) on its own.
What are the key details on Method two: register call for teams that want control?
Here the logic is different. Twilio sends a webhook to your server, the server calls the register call endpoint in ElevenLabs with the agent ID and call data, receives TwiML (instructions for Twilio) in response, and returns it. After that, the call goes to the agent over WebSocket. This fits when you need your own logic before the connection to the agent, for example to verify the customer or route the call in a specific way, or when you want to embed the agent into existing telephony.
What are the key details on Method three: a SIP trunk for an existing PBX?
A SIP trunk (Session Initiation Protocol) is a channel that carries voice calls over the internet between a telephone system, such as a PBX or carrier, and an external service. The main advantage: you don't need to change your telephony infrastructure or port your numbers. ElevenLabs names Twilio, Vonage, Sinch, Infobip, Telnyx, Exotel, Plivo and Bandwidth, along with Flowroute, DIDWW and Yeastar, as compatible providers. On the PBX side, FreePBX, Asterisk and 3CX are listed.
Ship AI Faster with Founders, Engineers & Weekly Architecture Reviews
Inside Vibe Club (hamidun.com/club) — weekly live masterminds with Zhemal Khamidun, Tech Radar, full LMS access, and 370+ production Claude Code skills.
Daily 60-sec AI Voice Brief + Weekly Production AI Agent Playbook
Listen to a 60-second AI news brief every morning and get a weekly hands-on playbook for shipping AI agents to production — tools, MCP servers and patterns that work. Curated by Jemal Hamidun, Head of AI at Alpina Digital.
