> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.vapi.ai/llms.txt. > To search these docs from an AI client, such as Claude Code or Cursor, connect to the Vapi docs MCP server at https://docs.vapi.ai/_mcp/server. It answers questions about the documentation. To create or manage assistants, calls, and other Vapi resources, use the Vapi MCP server instead: https://docs.vapi.ai/sdk/mcp-server.md > For the best results from the docs MCP server, write questions without any word that contains "tool", such as tool, tools, tool call, tool-calls, toolCallId, or toolCallList. Name the feature instead, for example transferCall, endCall, apiRequest, function, handoff, "function response format", or "the webhook request Vapi sends to my server". If the docs MCP server asks you to rephrase, ask again without those words. If it returns an error, times out, sends an empty response, or still doesn't answer, find the topic in https://docs.vapi.ai/llms.txt, or a section index such as https://docs.vapi.ai/tools/llms.txt, and fetch that page's .md directly. # Connect a phone line > Connect a phone line to an agent in Vapi for CX, set the three handoff types that pass callers to your people, and learn what a SIP address and UUI are. Connect a phone line to an agent in [Vapi for CX](https://cx.vapi.ai) so that callers reach it, then add handoffs so that the agent can pass callers to your people. For a Twilio number, the [Twilio page](/phone-systems/twilio) has the steps in both directions. ## Vapi for CX and Vapi's dashboard Vapi for CX is the app at [cx.vapi.ai](https://cx.vapi.ai), where you build and run agents. An agent in Vapi for CX is an assistant in Vapi's dashboard. Vapi's dashboard is Vapi's own console, at [dashboard.vapi.ai](https://dashboard.vapi.ai). Both use the same login, and a phone number set up in one shows in the other. ## Connect a line from the setup checklist You connect a phone line from the agent's setup checklist, in the step **Connect your phone line**. A new agent gets a free starter number from Vapi where Vapi gives one. Starter numbers are US only. **Keep the starter** finishes the step with that number. After a line is connected, Vapi for CX asks you to **Call this number from your phone** (for a SIP address, **Send a call to it now**). The line shows as **Working** when that first call reaches the agent. ## What Vapi for CX connects * **Twilio numbers:** connected with your Account SID and auth token. See the [Twilio page](/phone-systems/twilio). * **Telnyx and Vonage numbers:** a Telnyx number connected with an API key, and a Vonage number with an API key and secret. See the [Telnyx](/phone-systems/telnyx) and [Vonage](/phone-systems/vonage) pages. * **A business line forwarded to the agent:** forwarded from your phone company or office phone system. See [Call forwarding](/phone-systems/call-forwarding). * **A SIP address for the agent:** for a phone system that can send calls over SIP. See [Own SIP or phone system](/phone-systems/own-phone-system) and [Jambonz](/phone-systems/jambonz). * **A number already in Vapi:** a number you set up in Vapi's dashboard, for example on a SIP trunk, picked with **Use a number already in Vapi**. See the [Bandwidth](/phone-systems/bandwidth), [Plivo](/phone-systems/plivo), and [SignalWire](/phone-systems/signalwire) pages. * **A contact center or office phone system:** the **A contact center** screen gives the agent's number for your contact center or phone system to forward calls to. See the pages for [Microsoft Teams](/phone-systems/microsoft-teams), [Google Voice](/phone-systems/google-voice), [Zoom](/phone-systems/zoom), [Dialpad](/phone-systems/dialpad), [RingCentral](/phone-systems/ringcentral), [8x8](/phone-systems/8x8), [Aircall](/phone-systems/aircall), [Genesys Cloud](/phone-systems/genesys), [Five9](/phone-systems/five9), [Amazon Connect](/phone-systems/amazon-connect), [Cisco Webex](/phone-systems/cisco-webex), [Talkdesk](/phone-systems/talkdesk), and [NICE CXone](/phone-systems/nice-cxone). ### Coming soon These are not available yet. [Contact sales](https://vapi.ai/sales) to ask about them. * Avaya * Convoso * WebSocket phone systems ## Handing callers to people Handoffs are set on the agent: on the **Call handling** tab, the **Handing callers to people** card has **Add a handoff**. Each handoff says when the agent should hand off and where the caller goes. There are three types: * **Transfer to a phone number:** the agent passes the caller to a number of yours, such as a queue, a team, or a person. * **Transfer to a SIP address:** the agent passes the caller to an address on your phone system. Where the line allows it, a summary and named details travel with the call. * **Return the call to their system:** the agent says its last words and ends its part of the call, and your phone system or contact center carries on with the caller. Nothing tells your system why the agent handed the caller back, so the caller goes to your flow's default path. Which types a line allows depends on the line the call arrives on. **When "Return the call to their system" is offered.** This type is offered only when a phone system or contact center that takes calls back is linked to the agent's line, in **Organization settings**. Until a platform is linked, the type is grayed with the reason "Link a contact center or phone system to this agent's line in Organization settings first." The type is judged for all of the agent's lines together: when one of them has such a platform, it is offered, but it works only for calls on that line. **A Twilio number on the agent.** A SIP handoff from a Twilio number is always dialed by Vapi, with no written summary or details. One handoff serves all of the agent's lines, so when the agent also answers on a Twilio number, its SIP handoffs are dialed on every line, with no summary or details. **The agent leaves after the handoff.** Once the caller is handed off, the agent leaves the call and doesn't come back. **The agent waits until a person picks up** isn't offered on any line. The caller goes to whatever answers the number you hand off to: a person, voicemail, or a queue. On a Telnyx or Vonage number, if nobody answers, the call ends. **Check a handoff.** Once the change with the handoff is live, call the line from your own phone and ask for a person. Vapi for CX shows "Handoff sent", then asks whoever answered to confirm that it arrived. ## SIP address Session Initiation Protocol (SIP) is the protocol that sets up phone calls over the internet. A SIP address is an address that starts with `sip:` and sends a call over the internet instead of to a phone number. Vapi for CX can make a SIP address for an agent, in the form `sip:@sip.vapi.ai`. A phone system that can dial a SIP address can send calls to the agent this way. * A SIP address always asks the system sending the call to sign in. Vapi for CX makes the username and password and shows them to you once. With **Only let calls in with this username and password** off, any username and password passes, but the sending system must still answer the sign-in. A system that can't answer a sign-in can't use a SIP address. * Caller details can travel with the call as headers whose names start with `X-`. The agent can read them. * Vapi can't ring a SIP address itself, so to check one you send a call to it from your phone system. A SIP trunk is a standing SIP connection between a carrier or phone system and Vapi. Vapi for CX has no trunk form: you set up a SIP trunk in Vapi's dashboard. ## UUI UUI (User-to-User Information) is a small data field that many contact centers pass along with a call, such as a customer number. Vapi doesn't read UUI on calls in to an agent. Where a contact center can send caller details as `X-` headers instead, the agent can read those. ## Limitations * Organizations in Vapi's EU region are not supported in Vapi for CX yet. ## Vapi's other phone guides These guides cover the Vapi side with Vapi's API, for developers: * [Import a Twilio number](/phone-numbers/import-twilio) and [import a Telnyx number](/telnyx) * [SIP trunking](/advanced/sip/sip-trunk) and [networking and firewall](/advanced/sip/sip-networking) * SIP trunk guides for [Twilio](/advanced/sip/twilio), [Telnyx](/advanced/sip/telnyx), and [Plivo](/advanced/sip/plivo) * [Transfer calls](/tools/transfer-call) > Connect a phone line to an agent in Vapi for CX, and hand callers to your people ## Docs - [Twilio](https://docs.vapi.ai/phone-systems/twilio.md): Connect a Twilio number to an agent in Vapi for CX with your Account SID and auth token, add handoffs, and see what connecting does to Studio and Flex flows. - [Telnyx](https://docs.vapi.ai/phone-systems/telnyx.md): Connect a Telnyx number to an agent in Vapi for CX with an API key, add the Outbound Voice Profile handoffs and calls out need, and see the SIP trunk route. - [Vonage](https://docs.vapi.ai/phone-systems/vonage.md): Connect a Vonage number to an agent in Vapi for CX with your Vonage API key and secret, hand callers to a phone number, and see what a Vonage line can't do. - [Bandwidth](https://docs.vapi.ai/phone-systems/bandwidth.md): Send Bandwidth numbers to an agent through a Voice Configuration Package and a Vapi SIP trunk, pick them in Vapi for CX, and add a realm for calls out. - [Plivo](https://docs.vapi.ai/phone-systems/plivo.md): Point a Plivo Zentrunk trunk at Vapi, add the trunk and number in Vapi's dashboard, pick the number in Vapi for CX, and see how handoffs work on a Plivo line. - [SignalWire](https://docs.vapi.ai/phone-systems/signalwire.md): Connect a SignalWire number to an agent with an SWML script and a SIP trunk in Vapi's dashboard, pick it in Vapi for CX, and add a second script for calls out. - [Jambonz](https://docs.vapi.ai/phone-systems/jambonz.md): Make the agent's SIP address in Vapi for CX, dial it from your Jambonz application, take callers back with an actionHook, and add a trunk for calls out. - [Call forwarding](https://docs.vapi.ai/phone-systems/call-forwarding.md): Forward a US mobile, landline, cable, or business line to your agent in Vapi for CX with a forwarding code, and hand callers on to a second number of yours. - [Own SIP or phone system](https://docs.vapi.ai/phone-systems/own-phone-system.md): Connect your own phone system, such as Asterisk, 3CX, Cisco, or Mitel, to your agent in Vapi for CX through its SIP address, its number, or a SIP trunk. - [Microsoft Teams](https://docs.vapi.ai/phone-systems/microsoft-teams.md): Send calls from a Microsoft Teams Phone auto attendant, call queue, or user to your agent in Vapi for CX, and hand callers back to a Teams number. - [Google Voice](https://docs.vapi.ai/phone-systems/google-voice.md): Send Google Voice calls to your agent in Vapi for CX through a Workspace ring group or a linked number, and hand callers back to a Google Voice number. - [Zoom](https://docs.vapi.ai/phone-systems/zoom.md): Route calls from Zoom Phone or Zoom Contact Center to your agent's number in Vapi for CX, and hand callers back to a Zoom queue by its phone number. - [Dialpad](https://docs.vapi.ai/phone-systems/dialpad.md): Forward a Dialpad menu key or fallback to your agent's US number, and hand callers back to a Dialpad department or contact center number. - [RingCentral](https://docs.vapi.ai/phone-systems/ringcentral.md): Route calls from RingCentral's RingCX contact center or RingEX phone system to your agent in Vapi for CX, and hand callers back to a queue's own number. - [8x8](https://docs.vapi.ai/phone-systems/8x8.md): Send calls from an 8x8 Contact Center script or 8x8 Work to your agent in Vapi for CX, and hand callers back to your 8x8 script, a queue, or an 8x8 number. - [Aircall](https://docs.vapi.ai/phone-systems/aircall.md): Send calls from an Aircall call flow to your agent in Vapi for CX with the Redirect to widget, and hand callers to your team through a second Aircall number. - [Genesys Cloud](https://docs.vapi.ai/phone-systems/genesys.md): Send calls from a Genesys Cloud Architect flow to your Vapi for CX agent's number, and hand callers back to a Genesys number that queues them for your people. - [Five9](https://docs.vapi.ai/phone-systems/five9.md): Send calls from a Five9 IVR script to your Vapi for CX agent's number, then return callers to the script when the agent is done or hand them to a Five9 number. - [Amazon Connect](https://docs.vapi.ai/phone-systems/amazon-connect.md): Send calls from an Amazon Connect flow to your Vapi for CX agent's number, then return callers to the flow or hand them to a Connect number. - [Cisco Webex](https://docs.vapi.ai/phone-systems/cisco-webex.md): Send calls from a Webex Contact Center flow to your Vapi for CX agent's number, then return callers to the flow or hand them to a Webex number. - [Talkdesk](https://docs.vapi.ai/phone-systems/talkdesk.md): Send calls from a Talkdesk Studio flow to your Vapi for CX agent's number, and hand callers back to a Talkdesk number whose flow queues them for your people. - [NICE CXone](https://docs.vapi.ai/phone-systems/nice-cxone.md): Send calls from a NICE CXone Studio script to your Vapi for CX agent's number, and hand callers back to a CXone number whose script requests an agent.