It's easy to forward your Twilio calls anywhere in the world. Whether you're an experienced developer, or have never written a line of code, we have a number of versatile products to help you get up and running quickly. Read on for more details and instructions to get your Twilio phone number configured.
Call Forwarding with Twilio Studio (Beta)
Twilio Studio provides a visual interface to drag and drop widgets, with no programming experience required. For more information on Twilio Studio, please see our landing page here: www.twilio.com/studio.
Recommended for: Twilio users who aren't familiar with code, don't have their own web hosting, or want to get up and running as quickly as possible.
Set up: Setting up Twilio Studio to forward calls only requires a Connect Call To widget, and a bit of configuration. For a full walkthrough, please see our article for Forwarding Incoming Calls with Twilio Studio.
Call Forwarding with TwiML Bins
TwiML Bins allow for simple XML scripting with little to no programming experience needed! For more information on TwiML Bins, please see our blog post here: TwiML Bins: A Serverless and Codeless Way to Try Twilio
Recommended for: Twilio users who want a bit more customization options, but don't have their own web hosting.
Set up: Setting up a TwiML Bin only requires creating the bin, adding a few lines of code, and then configuring it on your number. Here are the instructions:
Login to your account at www.twilio.com.
Click TwiML Bins, and then select Create New TwiML Bin, or the red plus + sign button.
Add a Friendly Name and some TwiML, and then click Create.
Friendly Name: This is up to you - we select using something that gives an idea of what the TwiML Bin will do like “Forward calls”.
TwiML: For the code, you will use the <Dial> Verb. Take the sample code below, and update the phone number nested within the
<Dial> to your target phone number for receiving forwarded calls. You should end up with something like this:
<Response> <Dial> +13105555555 </Dial> </Response>
Configure this TwiML bin on your Twilio number by following the steps here: Configuring phone numbers to receive calls or SMS messages.
Call Forwarding with Twilio Functions (Beta)
Twilio Functions provide a Twilio-hosted webhook event responder, with limited programming experience required. For more information on Twilio Functions, please see our landing page here:www.twilio.com/functions.
Recommended for: Twilio users who don't have their own web hosting, and want a versatile solution that can be as simple or complex as needed.
Setup: Setting up a Twilio Function is easy with the Call Forward template. Here are the instructions:
Login to your account at www.twilio.com.
Click Functions, and then select Create a Function, or the red plus + sign button.
Select the Call Forward template, and then click Create.
Add a Path and update the CODE field, and then click Save.
Path: This is up to you - we select using something that gives an idea of what the Function will do like “forwardCalls”.
CODE: In this field, find and update line 13. At the end of this line,
"NUMBER TO FORWARD To" should be changed to your target phone number for receiving forwarded calls,
"+13105555555" for example.
Configure this Function on your Twilio number by following the steps here: Configuring phone numbers to receive calls or SMS messages.
Call Forwarding with Webhooks
Webhooks allow you to host your own TwiML from a simple XML script or one of our Helper Libraries. For more information on Webhooks, please see our page here: What is a Webhook.
Recommended for: Twilio users who want a completely customizable Twilio application.
Set up: Setting up a Webhook requires you to create your code with the <Dial> Verb, and then posting it to your own server. You’ll then need to update your Twilio Phone number with the Webhook URL for handling incoming calls. You can find instructions for updating your phone number here: Configuring phone numbers to receive calls or SMS messages.
Call Forwarding with Twilio Partners
Twilio Partners provide easy-to-access interfaces for call forwarding, tracking, and other use cases.
Recommended for: Twilio users who do not have their own engineering resources, or are looking for an integrated Twilio Solution.
Set up: Connect with one of our partners for more information.
How Much Does this Cost?
For complete details, please see our article How much am I charged for call forwarding?