Skip to contentSkip to navigationSkip to topbar
Rate this page:

How to Forward Calls from an SMS Number to a Voice Line


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.

(information)

Info

Follow the steps below to learn how to update phone numbers manually. You'll use this workflow if you have just a small quanity of numbers to change. If you need to change many phone numbers, use the API to perform a bulk update.

(information)

Info

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.

Setting up the call forwarder should take 5-10 minutes. This is what you need to do:

  1. Go to the TwiML section of the Console.
  2. Click on the blue + button:

    Twilio for Salesforce call forwarding create TwiML Bin.
  3. Add the following snippet in the TwiML editor, below the line placed there for you. Replace the phone number with the number you wish to connect to:


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

    Twilio for Salesforce call forwarding add TwiML.
  4. Give the TwiML Bin a friendly name — you'll need this later on.
  5. Click Create .
  6. Go to the phone numbers page in the Twilio Console(link takes you to an external page) .
  7. Find any number that is associated with your messaging service and click on it. This is the number your contact might usually reach you by SMS:

    Twilio for Salesforce call forwarding find a number.
  8. Scroll down to the Voice & Fax section and select TwiML Bin as the action that will occur for when a call comes in:

    Twilio for Salesforce call forwarding forward to the TwiML Bin.
  9. Click the pop-up menu to the right of TwiML Bin and locate then select the TwiML you entered in Step 3-4:

    Twilio for Salesforce call forwarding choose the Bin.
  10. Click Save .

Rate this page: