<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>
<div>Thanks Razvan,</div>
<div>It worked after modifying the <span style="font-family: Verdana; font-size: 12px; line-height: 19.200000762939453px;">PV_PRINT_BUF_SIZE.</span></div>
<div> </div>
<div><span style="font-family: Verdana; font-size: 12px; line-height: 19.200000762939453px;">BR</span></div>
<div><span style="font-family: Verdana; font-size: 12px; line-height: 19.200000762939453px;">-Gary</span></div>
<div> </div>
<div>
<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Sent:</b> Friday, July 04, 2014 at 4:17 AM<br/>
<b>From:</b> "Răzvan Crainea" <razvan@opensips.org><br/>
<b>To:</b> users@lists.opensips.org<br/>
<b>Subject:</b> Re: [OpenSIPS-Users] avpops buf_size</div>
<div name="quoted-content">Hi, Gary!<br/>
<br/>
There's no way to tune the add_body() function buffer in the script. You<br/>
have to modify the PV_PRINT_BUF_SIZE (from pvar.c) variable and then<br/>
recompile opensips to make it work.<br/>
<br/>
Best regards,<br/>
<br/>
Razvan Crainea<br/>
OpenSIPS Core Developer<br/>
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a><br/>
<br/>
On 07/04/2014 12:17 AM, Gary Nyquist wrote:<br/>
><br/>
> I am sorry... Please ignore the below email.<br/>
> The 'buf_size' setting is working fine.<br/>
><br/>
> I am using "add_body()" function like this:<br/>
><br/>
> add_body($avp(s), "text/plain");<br/>
><br/>
> It is adding/replacing the body only if the length of $avp(s) is less than 1024.<br/>
> How to make it work for 'longer than 1024'?<br/>
> My transport is TCP (not UDP).<br/>
><br/>
> Any advice?<br/>
><br/>
> BR<br/>
> -Gary<br/>
><br/>
><br/>
><br/>
><br/>
><br/>
> Hi,<br/>
><br/>
> I am trying to increase the avpops buf_size to 4096:<br/>
><br/>
> modparam("avpops", "buf_size", 4096)<br/>
><br/>
><br/>
> But it seems to be set to 1024.<br/>
> I am using opensips-1.11.2<br/>
><br/>
> Is there something else to be done to increase the buf_size?<br/>
><br/>
> BR<br/>
> -Gary<br/>
><br/>
> _______________________________________________<br/>
> Users mailing list<br/>
> Users@lists.opensips.org<br/>
> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br/>
><br/>
<br/>
_______________________________________________<br/>
Users mailing list<br/>
Users@lists.opensips.org<br/>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a></div>
</div>
</div>
</div></div></body></html>