Call Forward to Multiple Numbers using Twilio

Call Forward to Multiple Numbers using Twilio

In this post, I'm going to share a small snippet on how you can easily forward incoming calls to multiple phone numbers using your Twilio number. There are multiple ways you can do this. For our situation, I am using Twilio TwiML Bin to make the code.

Diagram

image.png

Code

<?xml version="1.0" encoding="UTF-8"?>
<Response>
  <Dial>
    <Number>+1-416808XXXX</Number>
    <Number>+1-437702XXXX</Number>
  </Dial>
</Response>

Here, when a call get's to your Twilio Number, Twilio invokes a function to dial provided numbers.

Steps

As you can see I used the name: Call Forwarder

image.png

  • Copy & paste the above code to your new TwiML Bin.

  • Copy the URL from the TwiML Bin page.

image.png

  • After that, click on Phone Numbers->Active Numbers and select Call Forwarder from the A CALL COMES IN field

  • Select HTTP GET from the drop down.

  • SAVE

image.png

Voila. That's it!

Now, when you ring your Twilio Number you'll get incoming calls to other numbers.

Please share this post if you think it's going to help someone.

Let's connect,

Did you find this article valuable?

Support Dorothi Viki by becoming a sponsor. Any amount is appreciated!