Skip to content

@RobSpectre /script.php
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Sequential dialing with Twilio
$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.