<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Hi, Patrick!<br>
<br>
You should increase the avpops buffer size by using the buf_size
parameter[1].<br>
<br>
[1]
<a class="moz-txt-link-freetext" href="http://www.opensips.org/html/docs/modules/1.11.x/avpops.html#id293698">http://www.opensips.org/html/docs/modules/1.11.x/avpops.html#id293698</a><br>
<br>
Best regards,<br>
</tt>
<pre class="moz-signature" cols="72">Răzvan Crainea
OpenSIPS Solutions
<a class="moz-txt-link-abbreviated" href="http://www.opensips-solutions.com">www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 07/13/2015 09:50 PM, Patrick Wakano
wrote:<br>
</div>
<blockquote
cite="mid:CAPu3kNWA4N7NZhYN8xSYdBT=YLMgnQno7YbsoknNYsrf4t9GnQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<pre><font face="arial, helvetica, sans-serif">Hello List,</font></pre>
<pre><font face="arial, helvetica, sans-serif">In my script I am doing a very huge SQL query using avp_db_query() which is causing me this error:</font></pre>
<pre><font face="monospace, monospace">ERROR:core:pv_printf: no more space for spec value
ERROR:core:pv_printf: buffer overflow -- increase the buffer size from [1023]...
ERROR:avpops:ops_dbquery_avps: cannot print the query</font></pre>
<pre><font face="arial, helvetica, sans-serif">I already tried what was pointed in this tread (<a moz-do-not-send="true" href="http://opensips.org/pipermail/devel/2008-January/011344.html">http://opensips.org/pipermail/devel/2008-January/011344.html</a>) but with no luck... The problem remains....</font></pre>
<pre><font face="arial, helvetica, sans-serif">Is there any other place where I should increase some buffer?</font></pre>
<pre><font face="arial, helvetica, sans-serif">I am using version 1.11.3</font></pre>
<pre><font face="arial, helvetica, sans-serif">Regards,</font></pre>
<pre><font face="arial, helvetica, sans-serif">Patrick</font></pre>
<pre><span style="font-family:arial,sans-serif">
</span></pre>
<pre><span style="font-family:arial,sans-serif">
</span></pre>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>