I am using SSL AMI connection with asterisk. AMI Connection is breaking if number of calls is more than 30/second. There is no impact if we use non-secure AMI connection.
The frequency of AMI disconnection increase if call volume increase per second. For example if number of call 30/second, disconnection frequency is 2 minute. If number calls 100/second then disconnection happen in every 30seconds.
The error I am getting following:
ERROR: utils.c:1234 ast_careful_fwrite: fwrite() returned error: Broken pipe
I have tested this using asterisk-1.6.2 and also in asterisk-13.9.
I am using CentOS-6.7
How to reproduce:
- Make AMI secure connection from java client.
- From java-client send Action: Originate for sip channels around 50 per second and redirect these call to another asterisk where it wait for few seconds and hangup.
Please help me to solve this problem.