Twilio: Can I make OUTBOUND Conference Calls?

5.5k views Asked by At

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.

1

There are 1 answers

3
xmjw On

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!