Peaceful_Warrior
Peaceful_Warrior

Reputation: 59

Twilio - forward to different phone numbers per call not simultaneously

Is there a way in PHP to forward to multiple numbers in a rotation per call. I understand that you can use the verb to place multiple numbers to call at the same time.

How about?

Upvotes: 1

Views: 122

Answers (1)

Devin Rader
Devin Rader

Reputation: 10366

Twilio evangelist here.

I think you're best bet would be to maintain a counter that your PHP file increments each time it runs. When the counter gets to 4, the PHP page would simply reset it to 0.

If the list of numbers you need to call is static you could just put them into an array and the counter would serve as the array index.

Hope that helps.

Upvotes: 1

Related Questions