You have to read stdin to accept the data Asterisk sends when the AGI
starts before you can send any AGI commands to Asterisk. Also, "agi
set debug on".
On 6/30/23 21:52, TTT wrote:
I have an AGI script written in PHP that worked great with Asterisk 13.
I’m porting it to an Asterisk 20
I have an AGI script written in PHP that worked great with Asterisk 13. I'm
porting it to an Asterisk 20 site and have a strange problem. I tried
running the script from the command line and it works fine; I see the script
commands written to stdout like
VERBOSE "SmartScreen v1"
But