<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>
<div>Thanks Razvan,</div>

<div>It worked after modifying the&nbsp;<span style="font-family: Verdana; font-size: 12px; line-height: 19.200000762939453px;">PV_PRINT_BUF_SIZE.</span></div>

<div>&nbsp;</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>&nbsp;</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>&nbsp;Friday, July 04, 2014 at 4:17 AM<br/>
<b>From:</b>&nbsp;&quot;R&#259;zvan Crainea&quot; &lt;razvan@opensips.org&gt;<br/>
<b>To:</b>&nbsp;users@lists.opensips.org<br/>
<b>Subject:</b>&nbsp;Re: [OpenSIPS-Users] avpops buf_size</div>

<div name="quoted-content">Hi, Gary!<br/>
<br/>
There&#39;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/>
&gt;<br/>
&gt; I am sorry... Please ignore the below email.<br/>
&gt; The &#39;buf_size&#39; setting is working fine.<br/>
&gt;<br/>
&gt; I am using &quot;add_body()&quot; function like this:<br/>
&gt;<br/>
&gt; add_body(&#36;avp(s), &quot;text/plain&quot;);<br/>
&gt;<br/>
&gt; It is adding/replacing the body only if the length of &#36;avp(s) is less than 1024.<br/>
&gt; How to make it work for &#39;longer than 1024&#39;?<br/>
&gt; My transport is TCP (not UDP).<br/>
&gt;<br/>
&gt; Any advice?<br/>
&gt;<br/>
&gt; BR<br/>
&gt; -Gary<br/>
&gt;<br/>
&gt;<br/>
&gt;<br/>
&gt;<br/>
&gt;<br/>
&gt; Hi,<br/>
&gt;<br/>
&gt; I am trying to increase the avpops buf_size to 4096:<br/>
&gt;<br/>
&gt; modparam(&quot;avpops&quot;, &quot;buf_size&quot;, 4096)<br/>
&gt;<br/>
&gt;<br/>
&gt; But it seems to be set to 1024.<br/>
&gt; I am using opensips-1.11.2<br/>
&gt;<br/>
&gt; Is there something else to be done to increase the buf_size?<br/>
&gt;<br/>
&gt; BR<br/>
&gt; -Gary<br/>
&gt;<br/>
&gt; _______________________________________________<br/>
&gt; Users mailing list<br/>
&gt; Users@lists.opensips.org<br/>
&gt; <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br/>
&gt;<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>