Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

Sequential dialing with Twilio

View script.php
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
$arr = array('416...','647...','905..');
if (isset($_REQUEST['index'])) {
$index = $_REQUEST['index'];
} else {
$index = 0;
}
$next = $index + 1;
$call = $client->account->calls->create(
$from,
$arr[$index],
'http://path/to/your/script?index=' . $next,
array('Timeout' => 1)
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.