Skip to content

Commit

Permalink
Additional documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Beans0063 committed Jun 16, 2011
1 parent 2b79abd commit 9bfae17
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Expand Up @@ -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
=======

Expand Down
2 changes: 1 addition & 1 deletion 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";
Expand Down

3 comments on commit 9bfae17

@rpope15
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
Copy link

@rpope15 rpope15 commented on 9bfae17 Jan 28, 2014 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.