I’m seeing weird behavior with AMI where no events are output until
some input is detected (can be an empty line), at which time all the
buffered output is spewed out at once.
I am maintaining multiple Asterisk installations, and with one
installation I have run into a weird buffering problem with AMI.
The version is 22.214.171.124 in this particular case, which I am running at
multiple locations, all without this problem. Additionally I have
tried version 126.96.36.199 and 188.8.131.52, and the problem is consistent
across these versions.
manager.conf is identical across all these installations.
The problem presents with a php script that opens a socket directly to
AMI, a telnet client from the local machine to the AMI, but not when I
telnet from the machine to a remote machine running AMI.
Does anyone have any input as to what I can try?