Level up your Twilio API skills in TwilioQuest, an educational game for Mac, Windows, and Linux. Download Now

Menu

Expand
Rate this page:

Thanks for rating this page!

We are always striving to improve our documentation quality, and your feedback is valuable to us. How could this documentation serve you better?

Forward Calls

The steps below work to update a few phone numbers manually. If you need to update many phone numbers, the API can be used to perform a bulk update.

If you already own landlines and wish to use those same phone numbers for SMS, Twilio currently offers Hosted SMS as a developer preview service. More information here.

Twilio for Salesforce currently offers only SMS messaging, but you can still configure Twilio to forward phone calls to your mobile or desk phone. For example, if you're texting with a contact in Salesforce and they request a phone call, call forwarding allows your contact to call the number they've been texting with and connect to your phone.

Setting up the call forwarder should take 5-10 minutes. Here are the steps to set up call forwarding:

Step 1: Go to the phone numbers page in the Twilio Console.

Step 2: Find any numbers that are associated with your messaging service and click on them to configure.

Screen Shot 2018-12-10 at 6.29.56 PM.png

Step 3: Under the "Voice & Fax" section, select TwiML as the option for "When a call comes in".

Screen Shot 2018-12-10 at 7.00.12 PM.png

Step 4: Click on the red "+" button to create a new TwiML Bin.

Screen Shot 2018-12-10 at 7.00.31 PM.png

Step 5: Enter the following snippet in the TwiML editor. Replace the phone number with the number you wish to connect to. Click "Create".

<Response>
     <Dial>+1234567890</Dial>
</Response>

TwiML Bin to forward incoming phone calls

Rate this page:

Need some help?

We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd browsing the Twilio tag on Stack Overflow.