twilio / voice-quickstart-server-node

voice quickstart server example in node
MIT License
26 stars 38 forks source link

Voice call to multiple phone numbers at a single API call #21

Open tobslob opened 3 years ago

tobslob commented 3 years ago

Do Twilio voice call API support multiple voice calls at the same time or map concurrently through the API to send out multiple calls?

bobiechen-twilio commented 3 years ago

Hi @tobslob

Thanks for reaching out. Trying to understand your question correctly - are you trying to set up and have multiple concurrent calls at the same time? It would be great if you could share more detail about your use case (also the platform, e.g. mobile or JS, rtc.

tobslob commented 3 years ago

Yes, I want to able to call 10, 000 phone numbers at the same time or concurrently, and they should able to pick up the calls and listen to the TwiML.

bobiechen-twilio commented 3 years ago

Thanks @tobslob. Both Conference and Call APIs (or TwiML verbs) allow reaching to multiple clients at the same time. For Conference, check out the Participant Resource API. As for the Call API, Twilio Programmable Voice allows applications to setup multiple client device (JS) or register mobile client push notification bindings with the same identity. All devices will ringing when a Call is made to this client identity, but only one of them can answer/reject the call.

For detailed help to set up your application logic, please contact Twilio Support.

tobslob commented 3 years ago

What's the best option to explore if I want to able to send out multiple calls up to 10,000 and I want them to listen to the same TwiML verbs?

bobiechen-twilio commented 3 years ago

The best way for all clients be able to join (listen) to the same TwiML would be to create a room and send the conference SID to the clients via whichever communication channels that work for your application logic, e.g. regular push notification or websocket.