Hi, Gary!

There's no way to tune the add_body() function buffer in the script. You have to modify the PV_PRINT_BUF_SIZE (from pvar.c) variable and then recompile opensips to make it work.

Best regards,

Razvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com

On 07/04/2014 12:17 AM, Gary Nyquist wrote:

I am sorry... Please ignore the below email.
The 'buf_size' setting is working fine.

I am using "add_body()" function like this:

add_body($avp(s), "text/plain");

It is adding/replacing the body only if the length of $avp(s) is less than 1024.
How to make it work for 'longer than 1024'?
My transport is TCP (not UDP).

Any advice?

BR
-Gary





Hi,

I am trying to increase the avpops buf_size to 4096:

modparam("avpops", "buf_size", 4096)


But it seems to be set to 1024.
I am using opensips-1.11.2

Is there something else to be done to increase the buf_size?

BR
-Gary

_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to