Initiate A Call To Multiple Numbers Simultaneously with Twilio

Viewed 203

I'm trying to call multiple numbers at the same time right from the start, if someone pickup others will be automatically hang up.

The issue is I can only see that feature under TWIML>Dail and to use that feature you need to initiate a call first.

How do I initiate a call immediately to multiple parties?

I tried:

twilio_client.client.calls.create(
    twiml=twiml,
    to=["+10000000","+10000000"],
    from_="+10000000"
    )
1 Answers

You are on the right path. Calls Per Second (CPS) is 1, so it will have to be increased if you require the calls go out at or around the same time.

You need to loop through that resource you documented and handle the logic to cancel the other calls if one answers.

Related