Menu

Basic PHPAGI

Anonymous
2011-09-19
2014-03-25
  • Anonymous

    Anonymous - 2011-09-19

    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");

    ??

     
  • El Alacrán Hernández

    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.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.