Summary:ASTERISK-14987: AMI input stream limit
Reporter:Jose P. Espinal (khratos)Labels:
Date Opened:2009-10-14 12:55:07Date Closed:2015-03-14 17:16:39
Versions:Frequency of
Description:Using a PHP script or Telnet, when using updateconfig to add entries to voicemail.conf, it stops at some point and does not continue writing to the file if the amount of entries exceeds about 19 lines. (If in a single 'updateconfig' you use more than 19 'append', in order to add entries).

How to reproduce:
Copy the text at this file ( http://slackware-es.com/ami-input.txt ) and send it to AMI, it will NOT report errors on CLI or AMI, but will only add about 19 entries to the file.


Tried with Telnet and PHP script
Comments:By: Leif Madsen (lmadsen) 2011-01-28 11:14:29.000-0600

Since this issue is old, it would be ideal for someone to reproduce and acknowledge this is still an issue.

By: Sean Bright (seanbright) 2011-01-28 11:35:54.000-0600

This is still an issue.  And the issue is simple:

#define AST_MAX_MANHEADERS 128</pre>
So after 128 headers, we stop reading.

By: Corey Farrell (coreyfarrell) 2015-03-14 17:16:39.964-0500

This was fixed by [~rmudgett] in 1.8+.  Commit 340279.