Skip to content

Instantly share code, notes, and snippets.

@eric
Created August 9, 2010 21:45
Show Gist options
  • Save eric/516186 to your computer and use it in GitHub Desktop.
Save eric/516186 to your computer and use it in GitHub Desktop.
default {
execute 'SendDTMF', '1111', '100'
}
#!/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