Created
August 9, 2010 21:45
-
-
Save eric/516186 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
default { | |
execute 'SendDTMF', '1111', '100' | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/php -q | |
<?php | |
# Cloudvox - answer and control a phone call using PHP | |
# Place and receive phone calls via open API: http://cloudvox.com/ | |
# Learn about call scripting, Asterisk/AGI, voice apps: http://help.cloudvox.com/ | |
require('phpagi-2.14/phpagi.php'); | |
$AGI = new AGI(); | |
$AGI->answer(); | |
$ext = "1111"; | |
$AGI->exec ( 'SendDTMF', $ext . '|100' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment