Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Twilio: Can I make OUTBOUND Conference Calls?

The Twilio markup language clearly defines how INCOMING calls can be joined to a common conference room.

But I want to dial several calls simultaneously and join those. If I use the "dial" verb within the markup language, I get several consecutive calls, but I'd like them in parallel.

The basic operation of my application is to receive a call from the conference leader and actively connect all parties to the conference.

like image 571
user3167195 Avatar asked Jan 07 '14 16:01

user3167195


People also ask

How do I make a conference call on Twilio?

Go to manage phone numbers, and click on the number you purchased recently. Scroll down to the “When a call comes in field” and select your TwiML Bin “My Conference Line” Hit save and you're done. You built your first conference line! Give it a call and take it for a spin the next time you're on a conference call.

What is Twilio conference?

Twilio's Voice Conference is a flexible way for developers to manage multi party calls from 2 participants to 250 participants.


1 Answers

Twilio Developer Evangelist here.

This is very easy to achieve using the REST API instead of using the TwiML verb dial to call each attendee. First of all, you put the conference leader into the conference room:

<Response>
  <Dial>
    <Conference>my room</Conference>
  </Dial>
<Response>

(Note that you may want hold music, or other instructions etc..)

Next, you use the REST API and dial in the other participants. There is a quick start to help you get going with outbound calls, this one is in PHP but you can use the language switcher on the page for whatever your need. Then you can just use the URL for the above TwiML to connect those calls to the same conference room. You can also use other TwiML documents, the important factor here is that Conference room name matches. Then everyone will be on the same call.

Helper libraries are available in Ruby, PHP, Python, C#, Java and Node to help you with the REST API.

Hope this help!

like image 174
xmjw Avatar answered Nov 04 '22 19:11

xmjw