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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
/opt/asterisk
????
sure this is the correct path that asterisk is expecting.
(check /etc/asterisk/asterisk.conf)
in most installations it is
also what's the output from the logfile