Hi Stefano,

Edit the pvar.c, line 4174:
   #define PV_PRINT_BUF_SIZE  1024
and put 2048.

Recompile, re-install, and it should work now.

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com


On 07/12/2012 06:04 PM, Stefano Pisani wrote:
Hello folks,
I get this error using avp_query. How I can increase the buffer size?

Jul 12 17:00:28 ks363596 opensips[24980]: ERROR:core:pv_printf: no more space for spec value [75][1192] Jul 12 17:00:28 ks363596 opensips[24980]: ERROR:core:pv_printf: buffer overflow -- increase the buffer size from [1023]... Jul 12 17:00:28 ks363596 opensips[24980]: ERROR:avpops:ops_dbquery_avps: cannot print the query

Thanks
s

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to