Manager API Closing Connection

Hi All,

Trying to integrate with a legacy piece of software and attempting to read callerID of ringing calls, extn’s answering calls and hangups from the Manager API.

The problem being that while this works fine some of the time, other times Asterisk appears to be closing the TCP connection halfway through sending me data.

I’ve attached an image of a putty telnet session to the management interface port so you can see what I mean.

Any ideas why it would be doing this and what I can do to stop it?

Thanks in Advance,

try to increment the writetimeout of AMI.


in manager.conf

It can also be a firewall setting on your box.