We’ve been using Asterisk AMI for years with no issues. Recently we spun up two new asterisk instances and are having issues with the AMI failing to work. It will suddenly stop working and stays down until an asterisk restart. It works as expected once asterisk is restarted.
Currently on the two servers AMI is down on one and up on the other. Asterisk is still fully functional aside from AMI from what I can tell.
(Working server):
telnet 127.0.0.1 5038
Trying 127.0.0.1…
Connected to 127.0.0.1.
Escape character is ‘^]’.
Asterisk Call Manager/2.9.0
(Failed server):
telnet 127.0.0.1 5038
Trying 127.0.0.1…
Connected to 127.0.0.1.
Escape character is ‘^]’.
The failed server is not presenting itself as ‘Asterisk Call Manager’ when attempting to telnet.
‘netstat -plnt’ on both has asterisk still listening on port 5038, the difference being the failed server has a number in the ‘Recv-Q’ column, succesfull server is 0.
I’ve tried ‘manager reload’ from the asterisk cli with no success.
Any suggestions or solutions are much appreciated.