Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #1 from jpf/master

Updates to README
  • Loading branch information...
commit d9f4aac013773cf00555943b95f28e8a0ea2654b 2 parents 2c1da19 + cdd5ca7
@Beans0063 authored
Showing with 1 addition and 2 deletions.
  1. +1 −2 
3 
@@ -3,8 +3,7 @@ Twilio Call Tracking Demo
Call tracking works with the Twilio API, so you'll need an account and phone
number at Twilio before you can get started. Twilio sells simple, pay as you
-go phone services, and you can sign up for a free account with $30 of free
-credits at [](
+go phone services, sign up at [](

1 comment on commit d9f4aac


Warning: Invalid argument supplied for foreach() in /home/*******/****/call/call_tracking/include/config.php on line 27
Not sure what needs to be in the ( ) after foreach I've had a twilio account for over a year now but I'd really like to get this working. I'm directly hitting the Index.php and the above error is what I'm getting. Any suggestion would be helpful Thanks. If i open the index in an editor it's totally different? I just need some specific instructions here. Thanks again.

LINE 21 thru 35: class Util {
public static function get_all_twilio_numbers() {
global $ApiVersion, $AccountSid, $AuthToken;
$client = new TwilioRestClient($AccountSid, $AuthToken);
$response = $client->request("/$ApiVersion/Accounts/$AccountSid/IncomingPhoneNumbers", "GET"); // Get all twilio phone numbers
foreach($response->ResponseXml->IncomingPhoneNumbers->IncomingPhoneNumber AS $number){
return $twilio_numbers;


Please sign in to comment.
Something went wrong with that request. Please try again.