Skip to content
Browse files

Additional documentation

  • Loading branch information...
1 parent 2b79abd commit 9bfae176120c92426f1621ef48796e952eaf38a2 @Beans0063 committed Jun 16, 2011
Showing with 4 additions and 1 deletion.
  1. +3 −0 README.md
  2. +1 −1 include/config.php
View
3 README.md
@@ -20,6 +20,9 @@ writeable and editing the configuration file.
4. Access via browser `http://yourserver/call_tracking/index.php`
+5. You'll need an account at http://www.twilio.com. Set your Sandbox phone number or purchased number's Voice URL to http://www.yourserver.com/handle_incoming_call.php. If you have upgraded your Twilio account, you can use this application's UI to configure your numbers.
+
+
License
=======
View
2 include/config.php
@@ -1,7 +1,7 @@
<?php
require "twilio.php";
require "db.php";
- define('AGENT_NUMBER', '8583829141');
+ define('AGENT_NUMBER', '8583829141'); //set this to the phone number you'd like calls forwarded to
$ApiVersion = "2010-04-01";
$AccountSid = "ACxxxxx";
$AuthToken = "xxxxxxxx";

3 comments on commit 9bfae17

@rpope15

I am getting this error when viewing index.php in my browser. Any suggestions?

Warning: Invalid argument supplied for foreach() in /xxxx/xxxx/public_html/call_tracking/include/config.php on line 27

@Beans0063
Owner

Can you check to ensure you have set the correct values for $AccountSid and $AuthToken? Make sure there are no extra blank spaces before or after the values.

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