Menu

PHPAGI problem

Anonymous
2011-09-18
2013-04-29
  • Anonymous

    Anonymous - 2011-09-18

    hi i want to log all incoming calls and have a scritp ready but when i activate the rows

    require('/opt/asterisk/phpagi/phpagi.php');
    $agi = new AGI();
    $caller = $agi->request;

    the php script dont run www-data owns phpagi.php what can it be that i have missed ??
    I have tried to move phpagi.php to the same folder as my php file.

     
  • josephtikva

    josephtikva - 2011-09-18

    /opt/asterisk

    ????

    sure this is the correct path that asterisk is expecting.

    (check /etc/asterisk/asterisk.conf)

    in most installations it is

    astagidir => /var/lib/asterisk/agi-bin
    

    also what's the output from the logfile

    (/var/log/asterisk/full)
    
     

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.