I have a program that connects to the Asterisk Manager Interface through port 5038 on a remote machine. Suppose I get a TCP disconnection on my program. The program will then attempt to reconnect to the AMI and will eventually succeed. Is there a way to
check whether the disconnection was caused
From AMI you can get uptime. If the uptime is short likely Asterisk restarted.
--
Jim Dickenson
mailto:dicken...@cfmc.com
CfMC
http://www.cfmc.com/
On Oct 19, 2012, at 10:31 AM, Alex Villacís Lasso wrote:
I have a program that connects to the Asterisk Manager Interface through port
5038
On Fri, Oct 19, 2012 at 12:31 PM, Alex Villacís Lasso
a_villa...@palosanto.com wrote:
I have a program that connects to the Asterisk Manager Interface through
port 5038 on a remote machine. Suppose I get a TCP disconnection on my
program. The program will then attempt to reconnect to the AMI