I use pagi framework for AGI application. The framework can be found here:
The problem is in my php code:
$agi = new AGI();
$IDuser = (string) $agi->parse_callerid()[‘username’];
$agi->stream_file(‘im-sorry’); // First stream_file that does not work
The stream_file(‘im-sorry’) does not work. I have tested this, whatever stream_file I put after “$agi->answer();”, it will not work. Immediately after this first stream file, everything works successfully. I have no idea why the first stream_file(iam sorry) after “$agi->answer();” does not work.
Thank you in advance.