Schedule a call to a friend where an MP3 is played using the Twilio API.
Andrew Tomaka
4a3749883b
Implement multicall support by using an sqlite database to store and retrieve calls. Two interfaces have been added: 1) add-call.php. Used to add calls. example: add-call.php 15555555555 '0 10-16 * * *' 'http://www.domain.com/xml.xml' 2) create-table.php. Creates the database file Created calls are retrieved in the caller.php file. Each call is run through the scheduler to verify if it is time for it to be made. |
||
---|---|---|
conf | ||
db | ||
files | ||
.gitignore | ||
add-call.php | ||
caller.php | ||
composer.json | ||
create-table.php | ||
README.md |
install
add cronjob to run master file
* * * * * cd /path/to/project && php caller.php 1>> /dev/null 2>&1
dependencies
php5-sqlite sqlite sqlite3
sql
create-table.php will create the table