Basic PHPAGI questions.
to place a call inside my php script do i write $agi->exec('Dial', "SIP/2000,25,r");
how do i playback in my phpscritp ?? $agi-exec('Playback',"/thepath/thefile");
??
Hi, try with this one:
$agi->stream_file('custom/Folder_With_Playable_Sounds/Sound','#');
*Where '#' is the "scape key", for caller to skip the current recording.
Log in to post a comment.
Basic PHPAGI questions.
to place a call inside my php script do i write
$agi->exec('Dial', "SIP/2000,25,r");
how do i playback in my phpscritp ??
$agi-exec('Playback',"/thepath/thefile");
??
Hi, try with this one:
$agi->stream_file('custom/Folder_With_Playable_Sounds/Sound','#');
*Where '#' is the "scape key", for caller to skip the current recording.